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