SecretReference
Handle
Represents a reference to a secret within a Docker service configuration.
type SecretReference interface{}5 members
Properties
property
Gid*float64get · setRepresents the group ID (GID) associated with the secret reference in a Docker service node.
Gid() (*float64, error)SetGid(value *float64) SecretReferenceproperty
Mode*float64get · setGets or sets the file mode for the secret reference. The mode defines the file permissions that will be applied to the secret when mounted. This is represented as an integer value.
Mode() (*float64, error)SetMode(value *float64) SecretReferenceproperty
Source*stringget · setGets or sets the name of the source secret reference. This property is used to specify the source from which a secret or configuration is derived.
Source() (*string, error)SetSource(value *string) SecretReferenceproperty
Target*stringget · setGets or sets the target path where the secret will be mounted within the container. This path is used to specify the destination location of the secret in the container's file system.
Target() (*string, error)SetTarget(value *string) SecretReferenceproperty
Uid*float64get · setGets or sets the user ID (UID) associated with the secret reference. This property allows specifying the UID that will be assigned to the secret when it is mounted within a container.
Uid() (*float64, error)SetUid(value *float64) SecretReference