Skip to content

Latest commit

 

History

History
166 lines (89 loc) · 5.69 KB

File metadata and controls

166 lines (89 loc) · 5.69 KB

ClusterFeatureKarpenterParameters

Properties

Name Type Description Notes
SpotEnabled bool
DiskSizeInGib int32
DiskIops Pointer to int32 Unit is operation/seconds. The disk IOPS to be used for the node configuration [optional]
DiskThroughput Pointer to int32 Unit is in MB/s. The disk throughput to be used for the node configuration [optional]
DefaultServiceArchitecture CpuArchitectureEnum
QoveryNodePools KarpenterNodePool

Methods

NewClusterFeatureKarpenterParameters

func NewClusterFeatureKarpenterParameters(spotEnabled bool, diskSizeInGib int32, defaultServiceArchitecture CpuArchitectureEnum, qoveryNodePools KarpenterNodePool, ) *ClusterFeatureKarpenterParameters

NewClusterFeatureKarpenterParameters instantiates a new ClusterFeatureKarpenterParameters 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

NewClusterFeatureKarpenterParametersWithDefaults

func NewClusterFeatureKarpenterParametersWithDefaults() *ClusterFeatureKarpenterParameters

NewClusterFeatureKarpenterParametersWithDefaults instantiates a new ClusterFeatureKarpenterParameters 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

GetSpotEnabled

func (o *ClusterFeatureKarpenterParameters) GetSpotEnabled() bool

GetSpotEnabled returns the SpotEnabled field if non-nil, zero value otherwise.

GetSpotEnabledOk

func (o *ClusterFeatureKarpenterParameters) GetSpotEnabledOk() (*bool, bool)

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

SetSpotEnabled

func (o *ClusterFeatureKarpenterParameters) SetSpotEnabled(v bool)

SetSpotEnabled sets SpotEnabled field to given value.

GetDiskSizeInGib

func (o *ClusterFeatureKarpenterParameters) GetDiskSizeInGib() int32

GetDiskSizeInGib returns the DiskSizeInGib field if non-nil, zero value otherwise.

GetDiskSizeInGibOk

func (o *ClusterFeatureKarpenterParameters) GetDiskSizeInGibOk() (*int32, bool)

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

SetDiskSizeInGib

func (o *ClusterFeatureKarpenterParameters) SetDiskSizeInGib(v int32)

SetDiskSizeInGib sets DiskSizeInGib field to given value.

GetDiskIops

func (o *ClusterFeatureKarpenterParameters) GetDiskIops() int32

GetDiskIops returns the DiskIops field if non-nil, zero value otherwise.

GetDiskIopsOk

func (o *ClusterFeatureKarpenterParameters) GetDiskIopsOk() (*int32, bool)

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

SetDiskIops

func (o *ClusterFeatureKarpenterParameters) SetDiskIops(v int32)

SetDiskIops sets DiskIops field to given value.

HasDiskIops

func (o *ClusterFeatureKarpenterParameters) HasDiskIops() bool

HasDiskIops returns a boolean if a field has been set.

GetDiskThroughput

func (o *ClusterFeatureKarpenterParameters) GetDiskThroughput() int32

GetDiskThroughput returns the DiskThroughput field if non-nil, zero value otherwise.

GetDiskThroughputOk

func (o *ClusterFeatureKarpenterParameters) GetDiskThroughputOk() (*int32, bool)

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

SetDiskThroughput

func (o *ClusterFeatureKarpenterParameters) SetDiskThroughput(v int32)

SetDiskThroughput sets DiskThroughput field to given value.

HasDiskThroughput

func (o *ClusterFeatureKarpenterParameters) HasDiskThroughput() bool

HasDiskThroughput returns a boolean if a field has been set.

GetDefaultServiceArchitecture

func (o *ClusterFeatureKarpenterParameters) GetDefaultServiceArchitecture() CpuArchitectureEnum

GetDefaultServiceArchitecture returns the DefaultServiceArchitecture field if non-nil, zero value otherwise.

GetDefaultServiceArchitectureOk

func (o *ClusterFeatureKarpenterParameters) GetDefaultServiceArchitectureOk() (*CpuArchitectureEnum, bool)

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

SetDefaultServiceArchitecture

func (o *ClusterFeatureKarpenterParameters) SetDefaultServiceArchitecture(v CpuArchitectureEnum)

SetDefaultServiceArchitecture sets DefaultServiceArchitecture field to given value.

GetQoveryNodePools

func (o *ClusterFeatureKarpenterParameters) GetQoveryNodePools() KarpenterNodePool

GetQoveryNodePools returns the QoveryNodePools field if non-nil, zero value otherwise.

GetQoveryNodePoolsOk

func (o *ClusterFeatureKarpenterParameters) GetQoveryNodePoolsOk() (*KarpenterNodePool, bool)

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

SetQoveryNodePools

func (o *ClusterFeatureKarpenterParameters) SetQoveryNodePools(v KarpenterNodePool)

SetQoveryNodePools sets QoveryNodePools field to given value.

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