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) |
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
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
func (o *KarpenterNodePoolLimits) GetMaxCpuInVcpu() int32
GetMaxCpuInVcpu returns the MaxCpuInVcpu field if non-nil, zero value otherwise.
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.
func (o *KarpenterNodePoolLimits) SetMaxCpuInVcpu(v int32)
SetMaxCpuInVcpu sets MaxCpuInVcpu field to given value.
func (o *KarpenterNodePoolLimits) GetMaxMemoryInGibibytes() int32
GetMaxMemoryInGibibytes returns the MaxMemoryInGibibytes field if non-nil, zero value otherwise.
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.
func (o *KarpenterNodePoolLimits) SetMaxMemoryInGibibytes(v int32)
SetMaxMemoryInGibibytes sets MaxMemoryInGibibytes field to given value.