Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 4.17 KB

V1CinderVolumeSource.md

File metadata and controls

129 lines (70 loc) · 4.17 KB

V1CinderVolumeSource

Properties

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

Methods

NewV1CinderVolumeSource

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

NewV1CinderVolumeSourceWithDefaults

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

GetFsType

func (o *V1CinderVolumeSource) GetFsType() string

GetFsType returns the FsType field if non-nil, zero value otherwise.

GetFsTypeOk

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.

SetFsType

func (o *V1CinderVolumeSource) SetFsType(v string)

SetFsType sets FsType field to given value.

HasFsType

func (o *V1CinderVolumeSource) HasFsType() bool

HasFsType returns a boolean if a field has been set.

GetReadOnly

func (o *V1CinderVolumeSource) GetReadOnly() bool

GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.

GetReadOnlyOk

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.

SetReadOnly

func (o *V1CinderVolumeSource) SetReadOnly(v bool)

SetReadOnly sets ReadOnly field to given value.

HasReadOnly

func (o *V1CinderVolumeSource) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

GetSecretRef

func (o *V1CinderVolumeSource) GetSecretRef() V1LocalObjectReference

GetSecretRef returns the SecretRef field if non-nil, zero value otherwise.

GetSecretRefOk

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.

SetSecretRef

func (o *V1CinderVolumeSource) SetSecretRef(v V1LocalObjectReference)

SetSecretRef sets SecretRef field to given value.

HasSecretRef

func (o *V1CinderVolumeSource) HasSecretRef() bool

HasSecretRef returns a boolean if a field has been set.

GetVolumeID

func (o *V1CinderVolumeSource) GetVolumeID() string

GetVolumeID returns the VolumeID field if non-nil, zero value otherwise.

GetVolumeIDOk

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.

SetVolumeID

func (o *V1CinderVolumeSource) SetVolumeID(v string)

SetVolumeID sets VolumeID field to given value.

[Back to Model list] [Back to API list] [Back to README]