Documentation ¶
Index ¶
- type DockerClassicProvider
- func (provider *DockerClassicProvider) GetGroups(ctx context.Context) (map[string][]string, error)
- func (provider *DockerClassicProvider) GetState(ctx context.Context, name string) (instance.State, error)
- func (provider *DockerClassicProvider) InstanceList(ctx context.Context, options providers.InstanceListOptions) ([]types.Instance, error)
- func (provider *DockerClassicProvider) NotifyInstanceStopped(ctx context.Context, instance chan<- string)
- func (provider *DockerClassicProvider) Start(ctx context.Context, name string) error
- func (provider *DockerClassicProvider) Stop(ctx context.Context, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerClassicProvider ¶
type DockerClassicProvider struct { Client client.APIClient // contains filtered or unexported fields }
func NewDockerClassicProvider ¶
func NewDockerClassicProvider() (*DockerClassicProvider, error)
func (*DockerClassicProvider) InstanceList ¶
func (provider *DockerClassicProvider) InstanceList(ctx context.Context, options providers.InstanceListOptions) ([]types.Instance, error)
func (*DockerClassicProvider) NotifyInstanceStopped ¶
func (provider *DockerClassicProvider) NotifyInstanceStopped(ctx context.Context, instance chan<- string)
Click to show internal directories.
Click to hide internal directories.