Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.52 KB

KarpenterNodePoolLimits.md

File metadata and controls

72 lines (39 loc) · 2.52 KB

KarpenterNodePoolLimits

Properties

Name Type Description Notes
MaxCpuInVcpu int32 CPU limit that will be applied for the node pool (in vCPU unit: 1 vCPU = 1000 millicores)
MaxMemoryInGibibytes int32 Memory limit that will be applied for the node pool (in Gibibytes unit: 1Gi = 1024 mebibytes)

Methods

NewKarpenterNodePoolLimits

func NewKarpenterNodePoolLimits(maxCpuInVcpu int32, maxMemoryInGibibytes int32, ) *KarpenterNodePoolLimits

NewKarpenterNodePoolLimits instantiates a new KarpenterNodePoolLimits 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

NewKarpenterNodePoolLimitsWithDefaults

func NewKarpenterNodePoolLimitsWithDefaults() *KarpenterNodePoolLimits

NewKarpenterNodePoolLimitsWithDefaults instantiates a new KarpenterNodePoolLimits 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

GetMaxCpuInVcpu

func (o *KarpenterNodePoolLimits) GetMaxCpuInVcpu() int32

GetMaxCpuInVcpu returns the MaxCpuInVcpu field if non-nil, zero value otherwise.

GetMaxCpuInVcpuOk

func (o *KarpenterNodePoolLimits) GetMaxCpuInVcpuOk() (*int32, bool)

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

SetMaxCpuInVcpu

func (o *KarpenterNodePoolLimits) SetMaxCpuInVcpu(v int32)

SetMaxCpuInVcpu sets MaxCpuInVcpu field to given value.

GetMaxMemoryInGibibytes

func (o *KarpenterNodePoolLimits) GetMaxMemoryInGibibytes() int32

GetMaxMemoryInGibibytes returns the MaxMemoryInGibibytes field if non-nil, zero value otherwise.

GetMaxMemoryInGibibytesOk

func (o *KarpenterNodePoolLimits) GetMaxMemoryInGibibytesOk() (*int32, bool)

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

SetMaxMemoryInGibibytes

func (o *KarpenterNodePoolLimits) SetMaxMemoryInGibibytes(v int32)

SetMaxMemoryInGibibytes sets MaxMemoryInGibibytes field to given value.

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