Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deploy ¶
type Deploy struct {
Namespace string
ResolveImage string
SendRegistryAuth bool
Prune bool
Detach bool
Quiet bool
// SecretValues holds the values of secrets with an `environment` or `content`
// source, by secret key. doco-cd creates these secrets from memory.
// Never log these values.
SecretValues map[string][]byte
// ConfigValues holds the values of configs with an `environment` or `content`
// source, by config key. doco-cd creates these configs from memory.
// Never log these values.
ConfigValues map[string][]byte
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 PS ¶
type PS struct {
Filter opts.FilterOpt
Namespace string
Format string
NoTrunc bool
NoResolve bool
Quiet bool
}
PS holds docker stack ps options.
Click to show internal directories.
Click to hide internal directories.