Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPortToPortConfig ¶
func ConvertPortToPortConfig( port nat.Port, portBindings map[nat.Port][]nat.PortBinding, ) ([]swarm.PortConfig, error)
ConvertPortToPortConfig converts ports to the swarm type
Types ¶
type ConfigOpt ¶
type ConfigOpt struct {
// contains filtered or unexported fields
}
ConfigOpt is a Value type for parsing configs
func (*ConfigOpt) Value ¶
func (o *ConfigOpt) Value() []*swarm.ConfigReference
Value returns the config requests
type PortOpt ¶
type PortOpt struct {
// contains filtered or unexported fields
}
PortOpt represents a port config in swarm mode.
type SecretOpt ¶
type SecretOpt struct {
// contains filtered or unexported fields
}
SecretOpt is a Value type for parsing secrets
func (*SecretOpt) Value ¶
func (o *SecretOpt) Value() []*swarm.SecretReference
Value returns the secret requests
Click to show internal directories.
Click to hide internal directories.