mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 10:34:24 +01:00
Vendor in all firecracker dependencies. This allows virtcontainers to pull call the firecracker REST API. Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
10 lines
337 B
Go
10 lines
337 B
Go
package runtime
|
|
|
|
import "io"
|
|
|
|
// DiscardConsumer does absolutely nothing, it's a black hole.
|
|
var DiscardConsumer = ConsumerFunc(func(_ io.Reader, _ interface{}) error { return nil })
|
|
|
|
// DiscardProducer does absolutely nothing, it's a black hole.
|
|
var DiscardProducer = ProducerFunc(func(_ io.Writer, _ interface{}) error { return nil })
|