Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ContainerMountAnnotation

Handle
📦 Aspire.Hosting v17.0.0

Represents a mount annotation for a container resource.

type ContainerMountAnnotation interface{}

Properties

propertyIsReadOnlyboolget
Gets a value indicating whether the volume mount is read-only.
IsReadOnly() (bool, error)
propertySource*stringget
Gets the source of the bind mount or name if a volume. Can be null if the mount is an anonymous volume.
Source() (*string, error)
propertyTargetstringget
Gets the target of the mount.
Target() (string, error)
propertyTypeContainerMountTypeget
Gets the type of the mount.
Type() (ContainerMountType, error)