clustermodel

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuManageV1alpha1ClusterCluster

type VmwareTanzuManageV1alpha1ClusterCluster struct {

	// Full name for the cluster.
	FullName *VmwareTanzuManageV1alpha1ClusterFullName `json:"fullName,omitempty"`

	// Metadata for the cluster object.
	Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"`

	// Spec for the cluster.
	Spec *VmwareTanzuManageV1alpha1ClusterSpec `json:"spec,omitempty"`

	// Status for the cluster.
	Status *VmwareTanzuManageV1alpha1ClusterStatus `json:"status,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterCluster A Kubernetes Cluster.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.Cluster

func (*VmwareTanzuManageV1alpha1ClusterCluster) MarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterCluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterCluster) UnmarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterCluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterFullName

type VmwareTanzuManageV1alpha1ClusterFullName struct {

	// Name of the management cluster.
	ManagementClusterName string `json:"managementClusterName,omitempty"`

	// Name of this cluster.
	Name string `json:"name,omitempty"`

	// ID of Organization.
	OrgID string `json:"orgId,omitempty"`

	// Provisioner of the cluster.
	ProvisionerName string `json:"provisionerName,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterFullName Full name of the cluster. This includes the object name along with any parents or further identifiers.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.FullName

func (*VmwareTanzuManageV1alpha1ClusterFullName) MarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterFullName) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterFullName) ToString

func (*VmwareTanzuManageV1alpha1ClusterFullName) UnmarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterFullName) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterGetClusterResponse

type VmwareTanzuManageV1alpha1ClusterGetClusterResponse struct {
	// Cluster returned.
	Cluster *VmwareTanzuManageV1alpha1ClusterCluster `json:"cluster,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterGetClusterResponse Response from getting a Cluster.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.GetClusterResponse

func (*VmwareTanzuManageV1alpha1ClusterGetClusterResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterGetClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterPhase

type VmwareTanzuManageV1alpha1ClusterPhase string

VmwareTanzuManageV1alpha1ClusterPhase Phase of the cluster resource.

  • PHASE_UNSPECIFIED: Unspecified phase.

  • PENDING: Resource is pending processing.

  • PROCESSING: Processing the resource.

  • CREATING: Resource is being created.

  • READY: Resource is ready state.

  • DELETING: Resource is being deleted.

  • ERROR: Error in processing.

  • DETACHING: Resource is being detached.

  • UPGRADING: An upgrade is in progress.

  • UPGRADE_FAILED: An upgrade has failed.

    swagger:model vmware.tanzu.manage.v1alpha1.cluster.Phase

const (

	// VmwareTanzuManageV1alpha1ClusterPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1ClusterPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1ClusterPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1ClusterPhasePENDING captures enum value "PENDING".
	VmwareTanzuManageV1alpha1ClusterPhasePENDING VmwareTanzuManageV1alpha1ClusterPhase = "PENDING"

	// VmwareTanzuManageV1alpha1ClusterPhasePROCESSING captures enum value "PROCESSING".
	VmwareTanzuManageV1alpha1ClusterPhasePROCESSING VmwareTanzuManageV1alpha1ClusterPhase = "PROCESSING"

	// VmwareTanzuManageV1alpha1ClusterPhaseCREATING captures enum value "CREATING".
	VmwareTanzuManageV1alpha1ClusterPhaseCREATING VmwareTanzuManageV1alpha1ClusterPhase = "CREATING"

	// VmwareTanzuManageV1alpha1ClusterPhaseREADY captures enum value "READY".
	VmwareTanzuManageV1alpha1ClusterPhaseREADY VmwareTanzuManageV1alpha1ClusterPhase = "READY"

	// VmwareTanzuManageV1alpha1ClusterPhaseDELETING captures enum value "DELETING".
	VmwareTanzuManageV1alpha1ClusterPhaseDELETING VmwareTanzuManageV1alpha1ClusterPhase = "DELETING"

	// VmwareTanzuManageV1alpha1ClusterPhaseERROR captures enum value "ERROR".
	VmwareTanzuManageV1alpha1ClusterPhaseERROR VmwareTanzuManageV1alpha1ClusterPhase = "ERROR"

	// VmwareTanzuManageV1alpha1ClusterPhaseDETACHING captures enum value "DETACHING".
	VmwareTanzuManageV1alpha1ClusterPhaseDETACHING VmwareTanzuManageV1alpha1ClusterPhase = "DETACHING"

	// VmwareTanzuManageV1alpha1ClusterPhaseUPGRADING captures enum value "UPGRADING".
	VmwareTanzuManageV1alpha1ClusterPhaseUPGRADING VmwareTanzuManageV1alpha1ClusterPhase = "UPGRADING"

	// VmwareTanzuManageV1alpha1ClusterPhaseUPGRADEFAILED captures enum value "UPGRADE_FAILED".
	VmwareTanzuManageV1alpha1ClusterPhaseUPGRADEFAILED VmwareTanzuManageV1alpha1ClusterPhase = "UPGRADE_FAILED"
)

type VmwareTanzuManageV1alpha1ClusterRequest

type VmwareTanzuManageV1alpha1ClusterRequest struct {
	// Cluster to create.
	Cluster *VmwareTanzuManageV1alpha1ClusterCluster `json:"cluster,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterRequest Request to create a Cluster.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.CreateClusterRequest

func (*VmwareTanzuManageV1alpha1ClusterRequest) MarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterRequest) UnmarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterResponse

type VmwareTanzuManageV1alpha1ClusterResponse struct {

	// Cluster created.
	Cluster *VmwareTanzuManageV1alpha1ClusterCluster `json:"cluster,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterResponse Response from creating a Cluster.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.CreateClusterResponse.

func (*VmwareTanzuManageV1alpha1ClusterResponse) MarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterResponse) UnmarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterSpec

type VmwareTanzuManageV1alpha1ClusterSpec struct {

	// Name of the cluster group to which this cluster belongs.
	ClusterGroupName string `json:"clusterGroupName,omitempty"`

	// Optional proxy name is the name of the Proxy Config
	// to be used for the cluster.
	ProxyName string `json:"proxyName,omitempty"`

	// Optional image registry is the name of the Image Registry Config
	// to be used for the cluster.
	ImageRegistry string `json:"imageRegistry,omitempty"`

	// TKG AWS cluster spec.
	TkgAws *tkgawsmodel.VmwareTanzuManageV1alpha1ClusterInfrastructureTkgawsSpec `json:"tkgAws,omitempty"`

	// TKG Service vSphere cluster spec.
	TkgServiceVsphere *tkgservicevspheremodel.VmwareTanzuManageV1alpha1ClusterInfrastructureTkgservicevsphereSpec `json:"tkgServiceVsphere,omitempty"`

	// TKG vSphere cluster spec.
	TkgVsphere *tkgvspheremodel.VmwareTanzuManageV1alpha1ClusterInfrastructureTkgvsphereSpec `json:"tkgVsphere,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterSpec Spec of the cluster.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.Spec

func (*VmwareTanzuManageV1alpha1ClusterSpec) MarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterSpec) UnmarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterStatus

type VmwareTanzuManageV1alpha1ClusterStatus struct {

	// CPU allocation of a cluster.
	AllocatedCPU *VmwareTanzuManageV1alpha1CommonClusterResourceAllocation `json:"allocatedCpu,omitempty"`

	// Memory allocation of a cluster.
	AllocatedMemory *VmwareTanzuManageV1alpha1CommonClusterResourceAllocation `json:"allocatedMemory,omitempty"`

	// Health of a resource.
	Health *VmwareTanzuManageV1alpha1CommonClusterHealth `json:"health,omitempty"`

	// Health details of the cluster.
	HealthDetails *VmwareTanzuManageV1alpha1CommonClusterHealthInfo `json:"healthDetails,omitempty"`

	// Cluster infrastructure provider.
	InfrastructureProvider *VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider `json:"infrastructureProvider,omitempty"`

	// Cluster infrastructure provider region.
	InfrastructureProviderRegion string `json:"infrastructureProviderRegion,omitempty"`

	// Installer link for TMC related K8s resource manifest.
	// Note: Applicable only for attached clusters.
	// If the cluster is attached with proxy, Get on this
	// URL would need user token with sufficient permission to read the
	// proxy set during the attach. In all other cases, this
	// URL can be fetched without user token.
	InstallerLink string `json:"installerLink,omitempty"`

	// Kubernetes Server Git Version.
	KubeServerVersion string `json:"kubeServerVersion,omitempty"`

	// Kubernetes Provider of the cluster.
	KubernetesProvider *VmwareTanzuManageV1alpha1CommonClusterKubernetesProvider `json:"kubernetesProvider,omitempty"`

	// Total number of nodes.
	NodeCount string `json:"nodeCount,omitempty"`

	// Phase of the cluster resource.
	Phase *VmwareTanzuManageV1alpha1ClusterPhase `json:"phase,omitempty"`

	// Type of the cluster.
	Type *VmwareTanzuManageV1alpha1ClusterType `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterStatus Status of the cluster.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.Status

func (*VmwareTanzuManageV1alpha1ClusterStatus) MarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterStatus) UnmarshalBinary

func (m *VmwareTanzuManageV1alpha1ClusterStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterType

type VmwareTanzuManageV1alpha1ClusterType string

VmwareTanzuManageV1alpha1ClusterType Type describe type of cluster.

  • TYPE_UNSPECIFIED: TYPE_UNSPECIFIED cluster type.

  • ATTACHED: ATTACHED cluster type.

  • PROVISIONED: PROVISIONED cluster type.

  • TANZU_KUBERNETES_GRID_SERVICE: Tanzu Kubernetes Grid Service cluster type.

  • TANZU_KUBERNETES_GRID: Tanzu Kubernetes Grid cluster type.

    swagger:model vmware.tanzu.manage.v1alpha1.cluster.Type

const (

	// VmwareTanzuManageV1alpha1ClusterTypeTYPEUNSPECIFIED captures enum value "TYPE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1ClusterTypeTYPEUNSPECIFIED VmwareTanzuManageV1alpha1ClusterType = "TYPE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1ClusterTypeATTACHED captures enum value "ATTACHED".
	VmwareTanzuManageV1alpha1ClusterTypeATTACHED VmwareTanzuManageV1alpha1ClusterType = "ATTACHED"

	// VmwareTanzuManageV1alpha1ClusterTypePROVISIONED captures enum value "PROVISIONED".
	VmwareTanzuManageV1alpha1ClusterTypePROVISIONED VmwareTanzuManageV1alpha1ClusterType = "PROVISIONED"

	// VmwareTanzuManageV1alpha1ClusterTypeTANZUKUBERNETESGRIDSERVICE captures enum value "TANZU_KUBERNETES_GRID_SERVICE".
	VmwareTanzuManageV1alpha1ClusterTypeTANZUKUBERNETESGRIDSERVICE VmwareTanzuManageV1alpha1ClusterType = "TANZU_KUBERNETES_GRID_SERVICE"

	// VmwareTanzuManageV1alpha1ClusterTypeTANZUKUBERNETESGRID captures enum value "TANZU_KUBERNETES_GRID".
	VmwareTanzuManageV1alpha1ClusterTypeTANZUKUBERNETESGRID VmwareTanzuManageV1alpha1ClusterType = "TANZU_KUBERNETES_GRID"
)

type VmwareTanzuManageV1alpha1CommonClusterComponentHealth

type VmwareTanzuManageV1alpha1CommonClusterComponentHealth struct {

	// Health of the component.
	Health *VmwareTanzuManageV1alpha1CommonClusterHealth `json:"health,omitempty"`

	// Message providing details.
	Message string `json:"message,omitempty"`

	// Name of the component.
	Name string `json:"name,omitempty"`
}

func (*VmwareTanzuManageV1alpha1CommonClusterComponentHealth) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonClusterComponentHealth) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1CommonClusterHealth

type VmwareTanzuManageV1alpha1CommonClusterHealth string

VmwareTanzuManageV1alpha1CommonClusterHealth Health describes the health of a resource.

  • HEALTH_UNSPECIFIED: Unspecified health.

  • HEALTHY: Resource is healthy.

  • WARNING: Resource is in warning state.

  • UNHEALTHY: Resource is unhealthy.

  • DISCONNECTED: Resource is disconnected.

    swagger:model vmware.tanzu.manage.v1alpha1.common.cluster.Health

const (

	// VmwareTanzuManageV1alpha1CommonClusterHealthHEALTHUNSPECIFIED captures enum value "HEALTH_UNSPECIFIED".
	VmwareTanzuManageV1alpha1CommonClusterHealthHEALTHUNSPECIFIED VmwareTanzuManageV1alpha1CommonClusterHealth = "HEALTH_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1CommonClusterHealthHEALTHY captures enum value "HEALTHY".
	VmwareTanzuManageV1alpha1CommonClusterHealthHEALTHY VmwareTanzuManageV1alpha1CommonClusterHealth = "HEALTHY"

	// VmwareTanzuManageV1alpha1CommonClusterHealthWARNING captures enum value "WARNING".
	VmwareTanzuManageV1alpha1CommonClusterHealthWARNING VmwareTanzuManageV1alpha1CommonClusterHealth = "WARNING"

	// VmwareTanzuManageV1alpha1CommonClusterHealthUNHEALTHY captures enum value "UNHEALTHY".
	VmwareTanzuManageV1alpha1CommonClusterHealthUNHEALTHY VmwareTanzuManageV1alpha1CommonClusterHealth = "UNHEALTHY"

	// VmwareTanzuManageV1alpha1CommonClusterHealthDISCONNECTED captures enum value "DISCONNECTED".
	VmwareTanzuManageV1alpha1CommonClusterHealthDISCONNECTED VmwareTanzuManageV1alpha1CommonClusterHealth = "DISCONNECTED"
)

type VmwareTanzuManageV1alpha1CommonClusterHealthInfo

type VmwareTanzuManageV1alpha1CommonClusterHealthInfo struct {

	// Controller manager's health status.
	ControllerManagerHealth *VmwareTanzuManageV1alpha1CommonClusterComponentHealth `json:"controllerManagerHealth,omitempty"`

	// etcd's health status.
	EtcdHealth []*VmwareTanzuManageV1alpha1CommonClusterComponentHealth `json:"etcdHealth"`

	// Message providing overall health details.
	Message string `json:"message,omitempty"`

	// Scheduler's health status.
	SchedulerHealth *VmwareTanzuManageV1alpha1CommonClusterComponentHealth `json:"schedulerHealth,omitempty"`

	// Timestamp of the record.
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

VmwareTanzuManageV1alpha1CommonClusterHealthInfo Health information about cluster components healths.

swagger:model vmware.tanzu.manage.v1alpha1.common.cluster.HealthInfo

func (*VmwareTanzuManageV1alpha1CommonClusterHealthInfo) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonClusterHealthInfo) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider

type VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider string

VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider InfrastructureProvider definition - indicates the cluster infrastructure provider.

  • INFRASTRUCTURE_PROVIDER_UNSPECIFIED: Unspecified infrastructure provider (default).

  • INFRASTRUCTURE_PROVIDER_NONE: No cloud provider (likely bare metal).

  • AWS_EC2: AmazonWeb Services EC2.

  • GCP_GCE: Google Cloud.

  • AZURE_COMPUTE: Azure Compute.

  • VMWARE_VSPHERE: VMWare vSphere.

  • OPENSHIFT: OpenShift.

    swagger:model vmware.tanzu.manage.v1alpha1.common.cluster.InfrastructureProvider

const (

	// VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderINFRASTRUCTUREPROVIDERUNSPECIFIED captures enum value "INFRASTRUCTURE_PROVIDER_UNSPECIFIED".
	VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderINFRASTRUCTUREPROVIDERUNSPECIFIED VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider = "INFRASTRUCTURE_PROVIDER_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderINFRASTRUCTUREPROVIDERNONE captures enum value "INFRASTRUCTURE_PROVIDER_NONE".
	VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderINFRASTRUCTUREPROVIDERNONE VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider = "INFRASTRUCTURE_PROVIDER_NONE"

	// VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderAWSEC2 captures enum value "AWS_EC2".
	VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderAWSEC2 VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider = "AWS_EC2"

	// VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderGCPGCE captures enum value "GCP_GCE".
	VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderGCPGCE VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider = "GCP_GCE"

	// VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderAZURECOMPUTE captures enum value "AZURE_COMPUTE".
	VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderAZURECOMPUTE VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider = "AZURE_COMPUTE"

	// VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderVMWAREVSPHERE captures enum value "VMWARE_VSPHERE".
	VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderVMWAREVSPHERE VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider = "VMWARE_VSPHERE"

	// VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderOPENSHIFT captures enum value "OPENSHIFT".
	VmwareTanzuManageV1alpha1CommonClusterInfrastructureProviderOPENSHIFT VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider = "OPENSHIFT"
)

type VmwareTanzuManageV1alpha1CommonClusterKubernetesProvider

type VmwareTanzuManageV1alpha1CommonClusterKubernetesProvider struct {

	// Indicates the k8s provider type.
	Type *VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType `json:"type,omitempty"`

	// Indicates the k8s provider version.
	Version string `json:"version,omitempty"`
}

VmwareTanzuManageV1alpha1CommonClusterKubernetesProvider KubernetesProvider definition - indicates the k8s provider type and version.

swagger:model vmware.tanzu.manage.v1alpha1.common.cluster.KubernetesProvider

func (*VmwareTanzuManageV1alpha1CommonClusterKubernetesProvider) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonClusterKubernetesProvider) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType

type VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType string

VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType KubernetesProviderType definition - indicates the k8s provider Type.

  • KUBERNETES_PROVIDER_UNSPECIFIED: Unspecified k8s provider (default).

  • VMWARE_TANZU_KUBERNETES_GRID: VMware Tanzu Kubernetes Grid.

  • VMWARE_TANZU_KUBERNETES_GRID_SERVICE: VMware Tanzu Kubernetes Grid Service (Guest Cluster Management).

  • VMWARE_TANZU_KUBERNETES_GRID_HOSTED: VMware Tanzu Kubernetes Grid hosted in TMC.

    swagger:model vmware.tanzu.manage.v1alpha1.common.cluster.KubernetesProviderType

const (

	// VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderTypeKUBERNETESPROVIDERUNSPECIFIED captures enum value "KUBERNETES_PROVIDER_UNSPECIFIED".
	VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderTypeKUBERNETESPROVIDERUNSPECIFIED VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType = "KUBERNETES_PROVIDER_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderTypeVMWARETANZUKUBERNETESGRID captures enum value "VMWARE_TANZU_KUBERNETES_GRID".
	VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderTypeVMWARETANZUKUBERNETESGRID VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType = "VMWARE_TANZU_KUBERNETES_GRID"

	// VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderTypeVMWARETANZUKUBERNETESGRIDSERVICE captures enum value "VMWARE_TANZU_KUBERNETES_GRID_SERVICE".
	VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderTypeVMWARETANZUKUBERNETESGRIDSERVICE VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType = "VMWARE_TANZU_KUBERNETES_GRID_SERVICE"

	// VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderTypeVMWARETANZUKUBERNETESGRIDHOSTED captures enum value "VMWARE_TANZU_KUBERNETES_GRID_HOSTED".
	VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderTypeVMWARETANZUKUBERNETESGRIDHOSTED VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType = "VMWARE_TANZU_KUBERNETES_GRID_HOSTED"
)

type VmwareTanzuManageV1alpha1CommonClusterResourceAllocation

type VmwareTanzuManageV1alpha1CommonClusterResourceAllocation struct {

	// Allocatable is the quantity of compute resources that can be allocated by the user excluding reserved resources.
	Allocatable float32 `json:"allocatable,omitempty"`

	// Represents allocated percentage.
	AllocatedPercentage float32 `json:"allocatedPercentage,omitempty"`

	// Capacity is the total quantity of compute resources available including reserved resources.
	Capacity float32 `json:"capacity,omitempty"`

	// Requested is the requested quantity of compute resources.
	Requested float32 `json:"requested,omitempty"`

	// Units is the unit on which resource can be measured e.g. mb, millicores etc.
	Units string `json:"units,omitempty"`
}

VmwareTanzuManageV1alpha1CommonClusterResourceAllocation ResourceAllocation is used for CPU and Memory metrics of a cluster.

swagger:model vmware.tanzu.manage.v1alpha1.common.cluster.ResourceAllocation

func (*VmwareTanzuManageV1alpha1CommonClusterResourceAllocation) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonClusterResourceAllocation) UnmarshalBinary

UnmarshalBinary interface implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL