SwarmSpecTaskDefaultsLogDriver

@Serializable
data class SwarmSpecTaskDefaultsLogDriver(val name: String? = null, val options: Map<String, String>? = null)

The log driver to use for tasks created in the orchestrator if unspecified by a service. Updating this value only affects new tasks. Existing tasks continue to use their previously configured log driver until recreated.

Parameters

name

The log driver to use as a default for new tasks.

options

Driver-specific options for the selected log driver, specified as key/value pairs.

Constructors

Link copied to clipboard
constructor(name: String? = null, options: Map<String, String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "Name")
val name: String?
Link copied to clipboard
@SerialName(value = "Options")
val options: Map<String, String>?