Name | Type | Description | Notes |
---|---|---|---|
FsType | Pointer to string | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. | [optional] |
ReadOnly | Pointer to bool | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] |
SecretRef | Pointer to V1LocalObjectReference | [optional] | |
VolumeName | Pointer to string | VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. | [optional] |
VolumeNamespace | Pointer to string | VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. | [optional] |
func NewV1StorageOSVolumeSource() *V1StorageOSVolumeSource
NewV1StorageOSVolumeSource instantiates a new V1StorageOSVolumeSource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewV1StorageOSVolumeSourceWithDefaults() *V1StorageOSVolumeSource
NewV1StorageOSVolumeSourceWithDefaults instantiates a new V1StorageOSVolumeSource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *V1StorageOSVolumeSource) GetFsType() string
GetFsType returns the FsType field if non-nil, zero value otherwise.
func (o *V1StorageOSVolumeSource) GetFsTypeOk() (*string, bool)
GetFsTypeOk returns a tuple with the FsType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1StorageOSVolumeSource) SetFsType(v string)
SetFsType sets FsType field to given value.
func (o *V1StorageOSVolumeSource) HasFsType() bool
HasFsType returns a boolean if a field has been set.
func (o *V1StorageOSVolumeSource) GetReadOnly() bool
GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
func (o *V1StorageOSVolumeSource) GetReadOnlyOk() (*bool, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1StorageOSVolumeSource) SetReadOnly(v bool)
SetReadOnly sets ReadOnly field to given value.
func (o *V1StorageOSVolumeSource) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (o *V1StorageOSVolumeSource) GetSecretRef() V1LocalObjectReference
GetSecretRef returns the SecretRef field if non-nil, zero value otherwise.
func (o *V1StorageOSVolumeSource) GetSecretRefOk() (*V1LocalObjectReference, bool)
GetSecretRefOk returns a tuple with the SecretRef field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1StorageOSVolumeSource) SetSecretRef(v V1LocalObjectReference)
SetSecretRef sets SecretRef field to given value.
func (o *V1StorageOSVolumeSource) HasSecretRef() bool
HasSecretRef returns a boolean if a field has been set.
func (o *V1StorageOSVolumeSource) GetVolumeName() string
GetVolumeName returns the VolumeName field if non-nil, zero value otherwise.
func (o *V1StorageOSVolumeSource) GetVolumeNameOk() (*string, bool)
GetVolumeNameOk returns a tuple with the VolumeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1StorageOSVolumeSource) SetVolumeName(v string)
SetVolumeName sets VolumeName field to given value.
func (o *V1StorageOSVolumeSource) HasVolumeName() bool
HasVolumeName returns a boolean if a field has been set.
func (o *V1StorageOSVolumeSource) GetVolumeNamespace() string
GetVolumeNamespace returns the VolumeNamespace field if non-nil, zero value otherwise.
func (o *V1StorageOSVolumeSource) GetVolumeNamespaceOk() (*string, bool)
GetVolumeNamespaceOk returns a tuple with the VolumeNamespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1StorageOSVolumeSource) SetVolumeNamespace(v string)
SetVolumeNamespace sets VolumeNamespace field to given value.
func (o *V1StorageOSVolumeSource) HasVolumeNamespace() bool
HasVolumeNamespace returns a boolean if a field has been set.