options

package
v0.135.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Composefiles      []string
	SkipInterpolation bool
}

Config holds docker stack config options.

type Deploy

type Deploy struct {
	Composefiles     []string
	Namespace        string
	ResolveImage     string
	SendRegistryAuth bool
	Prune            bool
	Detach           bool
	Quiet            bool
	Environment      map[string]string
	Timeout          time.Duration
	Logger           *slog.Logger
	// ForceUpdateServices names the services whose unchanged tasks must be recreated.
	ForceUpdateServices []string
	// SelfService is this instance's full Swarm service name. An accepted update
	// can replace this process, so later cancellation is a handover.
	SelfService string
	// PrepareSelfUpdate persists reporting metadata before the manager can replace this task.
	PrepareSelfUpdate func(context.Context, swarm.Service, *swarm.ServiceSpec, []string) error
}

Deploy holds docker stack deploy options.

type List

type List struct {
	Format        string
	AllNamespaces bool
}

List holds docker stack ls options.

type PS

type PS struct {
	Filter    opts.FilterOpt
	Namespace string
	Format    string
	NoTrunc   bool
	NoResolve bool
	Quiet     bool
}

PS holds docker stack ps options.

type Remove

type Remove struct {
	Namespaces []string
	Detach     bool
	Logger     *slog.Logger
}

Remove holds docker stack remove options.

type Services

type Services struct {
	Quiet     bool
	Format    string
	Filter    opts.FilterOpt
	Namespace string
}

Services holds docker stack services options.

Jump to

Keyboard shortcuts

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