ContainerMountAnnotation Constructors
ClassConstructors1 member
Represents a mount annotation for a container resource.
Constructor(string?, string, ContainerMountType, bool)Section titled Constructor(string?, string, ContainerMountType, bool) Instantiates a mount annotation that specifies the details for a container mount.
public sealed class ContainerMountAnnotation{ public ContainerMountAnnotation( string? source, string target, ContainerMountType type, bool isReadOnly) { // ... }}Parameters
sourcestring?The source path if a bind mount or name if a volume. Can be null if the mount is an anonymous volume.targetstringThe target path of the mount.typeContainerMountTypeThe type of the mount.isReadOnlyboolA value indicating whether the mount is read-only.