package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/docker-archive/docker-ce.git
Documentation: pkg.go.dev

# Functions

Autolock set the swarm into autolock mode.
Config creates a config with default values.
ConfigCreatedAt sets the creation time for the config.
ConfigData sets the config payload.
ConfigID sets the config's ID.
ConfigLabels sets the config's labels.
ConfigName sets the config's name.
ConfigUpdatedAt sets the update time for the config.
ConfigVersion sets the version for the config.
Hostname sets the node hostname.
Leader sets the current node as a leader.
Manager set the current node as a manager.
ManagerStatus create a ManageStatus with default values.
NetworkResource creates a network resource with default values.
NetworkResourceDriver sets the driver of the resource network.
NetworkResourceID sets the ID of the resource network.
NetworkResourceName sets the name of the resource network.
NetworkResourceScope sets the Scope of the resource network.
Node creates a node with default values.
NodeID sets the node id.
NodeLabels sets the node labels.
NodeName sets the node name.
PortStatus sets the tasks port config status FIXME(vdemeester) should be a sub builder 👼.
ReplicatedService sets the number of replicas for the service.
Secret creates a secret with default values.
SecretCreatedAt sets the creation time for the secret.
SecretDriver sets the secret's driver name.
SecretID sets the secret's ID.
SecretLabels sets the secret's labels.
SecretName sets the secret's name.
SecretUpdatedAt sets the update time for the secret.
SecretVersion sets the version for the secret.
Service creates a service with default values.
ServiceID sets the service ID.
ServiceImage sets the service's image.
ServiceLabels sets the service's labels.
ServiceName sets the service name.
ServicePort sets the service's port.
StatusErr sets the tasks status error.
Swarm creates a swarm with default values.
Task creates a task with default values .
TaskDesiredState sets the task's desired state.
TaskID sets the task ID.
TaskImage sets the task's image.
TaskName sets the task name.
TaskNodeID sets the task's node id.
TaskServiceID sets the task service's ID.
TaskSlot sets the task's slot.
TaskSpec creates a task spec with default values .
TaskState sets the task's current state.
TaskStatus creates a task status with default values .
Timestamp sets the task status timestamp.
Volume creates a volume with default values.
VolumeDriver sets the volume driver.
VolumeLabels sets the volume labels.
VolumeName sets the volume labels.
WithStatus sets the task status.
WithTaskSpec sets the task spec.