Documentation ¶
Index ¶
- Constants
- func GetServices(ctx context.Context, dockerCli command.Cli, opts options.Services) ([]swarm.Service, error)
- func GetStacks(ctx context.Context, dockerCli command.Cli) ([]*formatter.Stack, error)
- func RunDeploy(ctx context.Context, dockerCli command.Cli, opts options.Deploy, ...) error
- func RunPS(ctx context.Context, dockerCli command.Cli, opts options.PS) error
- func RunRemove(ctx context.Context, dockerCli command.Cli, opts options.Remove) error
Constants ¶
View Source
const ( ResolveImageAlways = "always" ResolveImageChanged = "changed" ResolveImageNever = "never" )
Resolve image constants
Variables ¶
This section is empty.
Functions ¶
func GetServices ¶
func GetServices(ctx context.Context, dockerCli command.Cli, opts options.Services) ([]swarm.Service, error)
GetServices is the swarm implementation of listing stack services
func RunDeploy ¶
func RunDeploy(ctx context.Context, dockerCli command.Cli, opts options.Deploy, cfg *composetypes.Config) error
RunDeploy is the swarm implementation of docker stack deploy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.