Name | Type | Description | Notes |
---|---|---|---|
FsType | Pointer to string | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] |
ReadOnly | Pointer to bool | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] |
SecretRef | Pointer to V1LocalObjectReference | [optional] | |
VolumeID | string | volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md |
func NewV1CinderVolumeSource(volumeID string, ) *V1CinderVolumeSource
NewV1CinderVolumeSource instantiates a new V1CinderVolumeSource 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 NewV1CinderVolumeSourceWithDefaults() *V1CinderVolumeSource
NewV1CinderVolumeSourceWithDefaults instantiates a new V1CinderVolumeSource 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 *V1CinderVolumeSource) GetFsType() string
GetFsType returns the FsType field if non-nil, zero value otherwise.
func (o *V1CinderVolumeSource) 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 *V1CinderVolumeSource) SetFsType(v string)
SetFsType sets FsType field to given value.
func (o *V1CinderVolumeSource) HasFsType() bool
HasFsType returns a boolean if a field has been set.
func (o *V1CinderVolumeSource) GetReadOnly() bool
GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
func (o *V1CinderVolumeSource) 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 *V1CinderVolumeSource) SetReadOnly(v bool)
SetReadOnly sets ReadOnly field to given value.
func (o *V1CinderVolumeSource) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (o *V1CinderVolumeSource) GetSecretRef() V1LocalObjectReference
GetSecretRef returns the SecretRef field if non-nil, zero value otherwise.
func (o *V1CinderVolumeSource) 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 *V1CinderVolumeSource) SetSecretRef(v V1LocalObjectReference)
SetSecretRef sets SecretRef field to given value.
func (o *V1CinderVolumeSource) HasSecretRef() bool
HasSecretRef returns a boolean if a field has been set.
func (o *V1CinderVolumeSource) GetVolumeID() string
GetVolumeID returns the VolumeID field if non-nil, zero value otherwise.
func (o *V1CinderVolumeSource) GetVolumeIDOk() (*string, bool)
GetVolumeIDOk returns a tuple with the VolumeID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1CinderVolumeSource) SetVolumeID(v string)
SetVolumeID sets VolumeID field to given value.