This prevents users of the CLI that don't implement swarm-related features from depending on the swarm API types. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
19 lines
450 B
Go
19 lines
450 B
Go
package opts
|
|
|
|
import "github.com/docker/cli/opts/swarmopts"
|
|
|
|
// PortOpt represents a port config in swarm mode.
|
|
//
|
|
// Deprecated: use [swarmopts.PortOpt]
|
|
type PortOpt = swarmopts.PortOpt
|
|
|
|
// ConfigOpt is a Value type for parsing configs.
|
|
//
|
|
// Deprecated: use [swarmopts.ConfigOpt]
|
|
type ConfigOpt = swarmopts.ConfigOpt
|
|
|
|
// SecretOpt is a Value type for parsing secrets
|
|
//
|
|
// Deprecated: use [swarmopts.SecretOpt]
|
|
type SecretOpt = swarmopts.SecretOpt
|