ContainerMountAnnotation Constructors
Class Constructors 1 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
source string? The source path if a bind mount or name if a volume. Can be null if the mount is an anonymous volume. target string The target path of the mount. type ContainerMountType The type of the mount. isReadOnly bool A value indicating whether the mount is read-only.