dockerswarm

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

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) GetGroups

func (provider *DockerSwarmProvider) GetGroups(ctx context.Context) (map[string][]string, error)

func (*DockerSwarmProvider) GetState

func (provider *DockerSwarmProvider) GetState(ctx context.Context, name string) (instance.State, 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)

func (*DockerSwarmProvider) Start

func (provider *DockerSwarmProvider) Start(ctx context.Context, name string) error

func (*DockerSwarmProvider) Stop

func (provider *DockerSwarmProvider) Stop(ctx context.Context, name string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL