Task Spec
@Serializable
User modifiable task configuration.
Parameters
plugin Spec
container Spec
network Attachment Spec
resources
restart Policy
placement
force Update
A counter that triggers an update even if no relevant parameters have been changed.
runtime
Runtime is the type of runtime specified for the task executor.
networks
Specifies which networks the service should attach to.
log Driver
Constructors
Link copied to clipboard
constructor(pluginSpec: TaskSpecPluginSpec? = null, containerSpec: TaskSpecContainerSpec? = null, networkAttachmentSpec: TaskSpecNetworkAttachmentSpec? = null, resources: TaskSpecResources? = null, restartPolicy: TaskSpecRestartPolicy? = null, placement: TaskSpecPlacement? = null, forceUpdate: Int? = null, runtime: String? = null, networks: List<NetworkAttachmentConfig>? = null, logDriver: TaskSpecLogDriver? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "NetworkAttachmentSpec" )
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard