Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.13 KB

K8SNodeResourceSpec.md

File metadata and controls

72 lines (39 loc) · 2.13 KB

K8SNodeResourceSpec

Properties

Name Type Description Notes
CpuCoreCount float64
MemoryGib float64

Methods

NewK8SNodeResourceSpec

func NewK8SNodeResourceSpec(cpuCoreCount float64, memoryGib float64, ) *K8SNodeResourceSpec

NewK8SNodeResourceSpec instantiates a new K8SNodeResourceSpec 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

NewK8SNodeResourceSpecWithDefaults

func NewK8SNodeResourceSpecWithDefaults() *K8SNodeResourceSpec

NewK8SNodeResourceSpecWithDefaults instantiates a new K8SNodeResourceSpec 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

GetCpuCoreCount

func (o *K8SNodeResourceSpec) GetCpuCoreCount() float64

GetCpuCoreCount returns the CpuCoreCount field if non-nil, zero value otherwise.

GetCpuCoreCountOk

func (o *K8SNodeResourceSpec) GetCpuCoreCountOk() (*float64, bool)

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

SetCpuCoreCount

func (o *K8SNodeResourceSpec) SetCpuCoreCount(v float64)

SetCpuCoreCount sets CpuCoreCount field to given value.

GetMemoryGib

func (o *K8SNodeResourceSpec) GetMemoryGib() float64

GetMemoryGib returns the MemoryGib field if non-nil, zero value otherwise.

GetMemoryGibOk

func (o *K8SNodeResourceSpec) GetMemoryGibOk() (*float64, bool)

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

SetMemoryGib

func (o *K8SNodeResourceSpec) SetMemoryGib(v float64)

SetMemoryGib sets MemoryGib field to given value.

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