13 KiB
ComputeClusterDetailView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AmdGpu | Pointer to int64 | AmdGPU is the same count for `amd.com/gpu`: AMD accelerators across the BYO cluster's nodes, as of the attach. | [optional] |
| CreatedAt | Pointer to string | CreatedAt is when the cluster started existing: the earliest creation time among its pools for a managed cluster, and for a BYO one the RFC 3339 moment it was attached. Empty when the source states none. | [optional] |
| DoClusterId | Pointer to string | DoClusterID carries the SAME id as DoksClusterID. Both names exist because the console's Cluster type reads either one; neither is a second identifier. | [optional] |
| DoksClusterId | Pointer to string | DoksClusterID is the provider's own id for the cluster, and the value the /v1/compute/k8s/clusters/:id routes take. Empty for a BYO cluster: an attached kubeconfig was never provisioned, so there is no provider id to state. | [optional] |
| Kind | Pointer to string | Kind says which of the two kinds of cluster this row is, and there are only two: "managed" — Visor provisioned it and Hanzo's account pays the provider — or "byo", an existing cluster the org attached by kubeconfig. | [optional] |
| Name | Pointer to string | Name is the cluster's name: the provider's for a managed cluster, and for a BYO one the lower-cased fleet name it was attached under — which is also how the detach route addresses it. | [optional] |
| NodeCount | Pointer to int64 | NodeCount is how many worker nodes the cluster has — the sum over its pools for a managed cluster, and for a BYO one the node count read off the cluster when it was attached. | [optional] |
| NodePools | Pointer to []ComputeNodePoolView | NodePools is the authoritative node inventory — every pool, each with its own size and count. It is empty in two cases that are not "no pools": a row from the /v1/compute/k8s/clusters LIST, which is deliberately lightweight and whose :id detail carries them, and a BYO cluster, whose pools were never read. | [optional] |
| NodeSize | Pointer to string | NodeSize is a display convenience: the size slug of the FIRST pool. A cluster mixing sizes has more than one, and NodePools is where they all are. | [optional] |
| Nodes | Pointer to []ComputeMachineView | Nodes is every worker node in the cluster, each in the same shape the machines surface uses — a node IS a machine, addressable by its own id. This is the individual hardware behind the pool counts above. | [optional] |
| NvidiaGpu | Pointer to int64 | NvidiaGPU is how many NVIDIA accelerators the cluster's nodes advertise, the sum of `nvidia.com/gpu` allocatable across them. BYO only, and counted ONCE when the cluster was attached — it is an inventory, not live capacity. | [optional] |
| Region | Pointer to string | Region is the provider region slug for a managed cluster. A BYO cluster has no region we can read, so it carries the free-form `provider` label the attach named it with ("gke", "on-prem") instead. | [optional] |
| Status | Pointer to string | Status is the cluster's state: the provider's own word for a managed cluster ("running", "provisioning"), "unknown" when the provider stated none, and always "attached" for a BYO cluster — that one says the kubeconfig is on file, not that the cluster is reachable this second. | [optional] |
Methods
NewComputeClusterDetailView
func NewComputeClusterDetailView() *ComputeClusterDetailView
NewComputeClusterDetailView instantiates a new ComputeClusterDetailView 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
NewComputeClusterDetailViewWithDefaults
func NewComputeClusterDetailViewWithDefaults() *ComputeClusterDetailView
NewComputeClusterDetailViewWithDefaults instantiates a new ComputeClusterDetailView 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
GetAmdGpu
func (o *ComputeClusterDetailView) GetAmdGpu() int64
GetAmdGpu returns the AmdGpu field if non-nil, zero value otherwise.
GetAmdGpuOk
func (o *ComputeClusterDetailView) GetAmdGpuOk() (*int64, bool)
GetAmdGpuOk returns a tuple with the AmdGpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAmdGpu
func (o *ComputeClusterDetailView) SetAmdGpu(v int64)
SetAmdGpu sets AmdGpu field to given value.
HasAmdGpu
func (o *ComputeClusterDetailView) HasAmdGpu() bool
HasAmdGpu returns a boolean if a field has been set.
GetCreatedAt
func (o *ComputeClusterDetailView) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *ComputeClusterDetailView) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *ComputeClusterDetailView) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *ComputeClusterDetailView) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetDoClusterId
func (o *ComputeClusterDetailView) GetDoClusterId() string
GetDoClusterId returns the DoClusterId field if non-nil, zero value otherwise.
GetDoClusterIdOk
func (o *ComputeClusterDetailView) GetDoClusterIdOk() (*string, bool)
GetDoClusterIdOk returns a tuple with the DoClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDoClusterId
func (o *ComputeClusterDetailView) SetDoClusterId(v string)
SetDoClusterId sets DoClusterId field to given value.
HasDoClusterId
func (o *ComputeClusterDetailView) HasDoClusterId() bool
HasDoClusterId returns a boolean if a field has been set.
GetDoksClusterId
func (o *ComputeClusterDetailView) GetDoksClusterId() string
GetDoksClusterId returns the DoksClusterId field if non-nil, zero value otherwise.
GetDoksClusterIdOk
func (o *ComputeClusterDetailView) GetDoksClusterIdOk() (*string, bool)
GetDoksClusterIdOk returns a tuple with the DoksClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDoksClusterId
func (o *ComputeClusterDetailView) SetDoksClusterId(v string)
SetDoksClusterId sets DoksClusterId field to given value.
HasDoksClusterId
func (o *ComputeClusterDetailView) HasDoksClusterId() bool
HasDoksClusterId returns a boolean if a field has been set.
GetKind
func (o *ComputeClusterDetailView) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
GetKindOk
func (o *ComputeClusterDetailView) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetKind
func (o *ComputeClusterDetailView) SetKind(v string)
SetKind sets Kind field to given value.
HasKind
func (o *ComputeClusterDetailView) HasKind() bool
HasKind returns a boolean if a field has been set.
GetName
func (o *ComputeClusterDetailView) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *ComputeClusterDetailView) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *ComputeClusterDetailView) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *ComputeClusterDetailView) HasName() bool
HasName returns a boolean if a field has been set.
GetNodeCount
func (o *ComputeClusterDetailView) GetNodeCount() int64
GetNodeCount returns the NodeCount field if non-nil, zero value otherwise.
GetNodeCountOk
func (o *ComputeClusterDetailView) GetNodeCountOk() (*int64, bool)
GetNodeCountOk returns a tuple with the NodeCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNodeCount
func (o *ComputeClusterDetailView) SetNodeCount(v int64)
SetNodeCount sets NodeCount field to given value.
HasNodeCount
func (o *ComputeClusterDetailView) HasNodeCount() bool
HasNodeCount returns a boolean if a field has been set.
GetNodePools
func (o *ComputeClusterDetailView) GetNodePools() []ComputeNodePoolView
GetNodePools returns the NodePools field if non-nil, zero value otherwise.
GetNodePoolsOk
func (o *ComputeClusterDetailView) GetNodePoolsOk() (*[]ComputeNodePoolView, bool)
GetNodePoolsOk returns a tuple with the NodePools field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNodePools
func (o *ComputeClusterDetailView) SetNodePools(v []ComputeNodePoolView)
SetNodePools sets NodePools field to given value.
HasNodePools
func (o *ComputeClusterDetailView) HasNodePools() bool
HasNodePools returns a boolean if a field has been set.
GetNodeSize
func (o *ComputeClusterDetailView) GetNodeSize() string
GetNodeSize returns the NodeSize field if non-nil, zero value otherwise.
GetNodeSizeOk
func (o *ComputeClusterDetailView) GetNodeSizeOk() (*string, bool)
GetNodeSizeOk returns a tuple with the NodeSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNodeSize
func (o *ComputeClusterDetailView) SetNodeSize(v string)
SetNodeSize sets NodeSize field to given value.
HasNodeSize
func (o *ComputeClusterDetailView) HasNodeSize() bool
HasNodeSize returns a boolean if a field has been set.
GetNodes
func (o *ComputeClusterDetailView) GetNodes() []ComputeMachineView
GetNodes returns the Nodes field if non-nil, zero value otherwise.
GetNodesOk
func (o *ComputeClusterDetailView) GetNodesOk() (*[]ComputeMachineView, bool)
GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNodes
func (o *ComputeClusterDetailView) SetNodes(v []ComputeMachineView)
SetNodes sets Nodes field to given value.
HasNodes
func (o *ComputeClusterDetailView) HasNodes() bool
HasNodes returns a boolean if a field has been set.
GetNvidiaGpu
func (o *ComputeClusterDetailView) GetNvidiaGpu() int64
GetNvidiaGpu returns the NvidiaGpu field if non-nil, zero value otherwise.
GetNvidiaGpuOk
func (o *ComputeClusterDetailView) GetNvidiaGpuOk() (*int64, bool)
GetNvidiaGpuOk returns a tuple with the NvidiaGpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNvidiaGpu
func (o *ComputeClusterDetailView) SetNvidiaGpu(v int64)
SetNvidiaGpu sets NvidiaGpu field to given value.
HasNvidiaGpu
func (o *ComputeClusterDetailView) HasNvidiaGpu() bool
HasNvidiaGpu returns a boolean if a field has been set.
GetRegion
func (o *ComputeClusterDetailView) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
GetRegionOk
func (o *ComputeClusterDetailView) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRegion
func (o *ComputeClusterDetailView) SetRegion(v string)
SetRegion sets Region field to given value.
HasRegion
func (o *ComputeClusterDetailView) HasRegion() bool
HasRegion returns a boolean if a field has been set.
GetStatus
func (o *ComputeClusterDetailView) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *ComputeClusterDetailView) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *ComputeClusterDetailView) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *ComputeClusterDetailView) HasStatus() bool
HasStatus returns a boolean if a field has been set.