Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 4.84 KB

V1AWSElasticBlockStoreVolumeSource.md

File metadata and controls

129 lines (70 loc) · 4.84 KB

V1AWSElasticBlockStoreVolumeSource

Properties

Name Type Description Notes
FsType Pointer to string Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore [optional]
Partition Pointer to int32 The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). [optional]
ReadOnly Pointer to bool Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore [optional]
VolumeID string Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

Methods

NewV1AWSElasticBlockStoreVolumeSource

func NewV1AWSElasticBlockStoreVolumeSource(volumeID string, ) *V1AWSElasticBlockStoreVolumeSource

NewV1AWSElasticBlockStoreVolumeSource instantiates a new V1AWSElasticBlockStoreVolumeSource 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

NewV1AWSElasticBlockStoreVolumeSourceWithDefaults

func NewV1AWSElasticBlockStoreVolumeSourceWithDefaults() *V1AWSElasticBlockStoreVolumeSource

NewV1AWSElasticBlockStoreVolumeSourceWithDefaults instantiates a new V1AWSElasticBlockStoreVolumeSource 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 *V1AWSElasticBlockStoreVolumeSource) GetFsType() string

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

GetFsTypeOk

func (o *V1AWSElasticBlockStoreVolumeSource) 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 *V1AWSElasticBlockStoreVolumeSource) SetFsType(v string)

SetFsType sets FsType field to given value.

HasFsType

func (o *V1AWSElasticBlockStoreVolumeSource) HasFsType() bool

HasFsType returns a boolean if a field has been set.

GetPartition

func (o *V1AWSElasticBlockStoreVolumeSource) GetPartition() int32

GetPartition returns the Partition field if non-nil, zero value otherwise.

GetPartitionOk

func (o *V1AWSElasticBlockStoreVolumeSource) GetPartitionOk() (*int32, bool)

GetPartitionOk returns a tuple with the Partition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPartition

func (o *V1AWSElasticBlockStoreVolumeSource) SetPartition(v int32)

SetPartition sets Partition field to given value.

HasPartition

func (o *V1AWSElasticBlockStoreVolumeSource) HasPartition() bool

HasPartition returns a boolean if a field has been set.

GetReadOnly

func (o *V1AWSElasticBlockStoreVolumeSource) GetReadOnly() bool

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

GetReadOnlyOk

func (o *V1AWSElasticBlockStoreVolumeSource) 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 *V1AWSElasticBlockStoreVolumeSource) SetReadOnly(v bool)

SetReadOnly sets ReadOnly field to given value.

HasReadOnly

func (o *V1AWSElasticBlockStoreVolumeSource) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

GetVolumeID

func (o *V1AWSElasticBlockStoreVolumeSource) GetVolumeID() string

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

GetVolumeIDOk

func (o *V1AWSElasticBlockStoreVolumeSource) 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 *V1AWSElasticBlockStoreVolumeSource) SetVolumeID(v string)

SetVolumeID sets VolumeID field to given value.

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