Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrContainerNotFound = errors.New("container not found")
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { WatchEvents(ctx context.Context, types ...v1.ContainerEventType) (EventsChannel, error) GetContainers(ctx context.Context) ([]*v1.ContainerInfo, error) GetContainer(ctx context.Context, name string) (*v1.ContainerInfo, error) }
type EventsChannel ¶
type EventsChannel interface { GetChannel() <-chan *v1.ContainerEvent Close() error }
Click to show internal directories.
Click to hide internal directories.