managementclustermodel

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterRequest

type VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterRequest struct {

	// ManagementCluster to create.
	ManagementCluster *VmwareTanzuManageV1alpha1ManagementclusterManagementCluster `json:"managementCluster,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterRequest Request to create a ManagementCluster.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.CreateManagementClusterRequest

func (*VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterRequest) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterRequest) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterResponse

type VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterResponse struct {

	// ManagementCluster created.
	ManagementCluster *VmwareTanzuManageV1alpha1ManagementclusterManagementCluster `json:"managementCluster,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterResponse Response from creating a ManagementCluster.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.CreateManagementClusterResponse

func (*VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterResponse) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1ManagementclusterCreateManagementClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1ManagementclusterFullName

type VmwareTanzuManageV1alpha1ManagementclusterFullName struct {

	// Unique identifier of the ManagementCluster.
	Name string `json:"name,omitempty"`

	// ID of Organization. Generally a GUID
	OrgID string `json:"orgId,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementclusterFullName FullName of the managementcluster. This includes the object name along with any parents or further identifiers.

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

func (*VmwareTanzuManageV1alpha1ManagementclusterFullName) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1ManagementclusterFullName) ToString

func (*VmwareTanzuManageV1alpha1ManagementclusterFullName) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1ManagementclusterManagementCluster

type VmwareTanzuManageV1alpha1ManagementclusterManagementCluster struct {

	// Full name for the ManagementCluster.
	FullName *VmwareTanzuManageV1alpha1ManagementclusterFullName `json:"fullName,omitempty"`

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

	// Spec for the ManagementCluster.
	Spec *VmwareTanzuManageV1alpha1ManagementclusterSpec `json:"spec,omitempty"`

	// Status of the ManagementCluster.
	Status *VmwareTanzuManageV1alpha1ManagementclusterStatus `json:"status,omitempty"`

	// Metadata describing the type of the resource.
	//Type *VmwareTanzuCoreV1alpha1ObjectType `json:"type,omitempty"`
	Type *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectType `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementclusterManagementCluster A ManagementCluster maintains the connection between a Tanzu Kubernetes Grid instance and the platform.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.ManagementCluster

func (*VmwareTanzuManageV1alpha1ManagementclusterManagementCluster) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1ManagementclusterManagementCluster) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1ManagementclusterManagementClusterGetManifestResponse

type VmwareTanzuManageV1alpha1ManagementclusterManagementClusterGetManifestResponse struct {

	// Registration manifest for the management cluster resource.
	Manifest string `json:"manifest,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementclusterManagementClusterGetManifestResponse The response type for getting the registration manifest for a management cluster.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.ManagementClusterGetManifestResponse

func (*VmwareTanzuManageV1alpha1ManagementclusterManagementClusterGetManifestResponse) ContextValidate

ContextValidate validates this vmware tanzu manage v1alpha1 managementcluster management cluster get manifest response based on context it is used

func (*VmwareTanzuManageV1alpha1ManagementclusterManagementClusterGetManifestResponse) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1ManagementclusterManagementClusterGetManifestResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1ManagementclusterManagementClusterGetManifestResponse) Validate

Validate validates this vmware tanzu manage v1alpha1 managementcluster management cluster get manifest response

type VmwareTanzuManageV1alpha1ManagementclusterPhase

type VmwareTanzuManageV1alpha1ManagementclusterPhase string

VmwareTanzuManageV1alpha1ManagementclusterPhase Phase of a 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.
  • READY_TO_ATTACH: Resource is ready to be attached.
  • ATTACH_COMPLETE: Attach resource has been applied on the cluster.

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

const (

	// VmwareTanzuManageV1alpha1ManagementclusterPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED"
	VmwareTanzuManageV1alpha1ManagementclusterPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1ManagementclusterPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1ManagementclusterPhasePENDING captures enum value "PENDING"
	VmwareTanzuManageV1alpha1ManagementclusterPhasePENDING VmwareTanzuManageV1alpha1ManagementclusterPhase = "PENDING"

	// VmwareTanzuManageV1alpha1ManagementclusterPhasePROCESSING captures enum value "PROCESSING"
	VmwareTanzuManageV1alpha1ManagementclusterPhasePROCESSING VmwareTanzuManageV1alpha1ManagementclusterPhase = "PROCESSING"

	// VmwareTanzuManageV1alpha1ManagementclusterPhaseCREATING captures enum value "CREATING"
	VmwareTanzuManageV1alpha1ManagementclusterPhaseCREATING VmwareTanzuManageV1alpha1ManagementclusterPhase = "CREATING"

	// VmwareTanzuManageV1alpha1ManagementclusterPhaseREADY captures enum value "READY"
	VmwareTanzuManageV1alpha1ManagementclusterPhaseREADY VmwareTanzuManageV1alpha1ManagementclusterPhase = "READY"

	// VmwareTanzuManageV1alpha1ManagementclusterPhaseDELETING captures enum value "DELETING"
	VmwareTanzuManageV1alpha1ManagementclusterPhaseDELETING VmwareTanzuManageV1alpha1ManagementclusterPhase = "DELETING"

	// VmwareTanzuManageV1alpha1ManagementclusterPhaseERROR captures enum value "ERROR"
	VmwareTanzuManageV1alpha1ManagementclusterPhaseERROR VmwareTanzuManageV1alpha1ManagementclusterPhase = "ERROR"

	// VmwareTanzuManageV1alpha1ManagementclusterPhaseDETACHING captures enum value "DETACHING"
	VmwareTanzuManageV1alpha1ManagementclusterPhaseDETACHING VmwareTanzuManageV1alpha1ManagementclusterPhase = "DETACHING"

	// VmwareTanzuManageV1alpha1ManagementclusterPhaseREADYTOATTACH captures enum value "READY_TO_ATTACH"
	VmwareTanzuManageV1alpha1ManagementclusterPhaseREADYTOATTACH VmwareTanzuManageV1alpha1ManagementclusterPhase = "READY_TO_ATTACH"

	// VmwareTanzuManageV1alpha1ManagementclusterPhaseATTACHCOMPLETE captures enum value "ATTACH_COMPLETE"
	VmwareTanzuManageV1alpha1ManagementclusterPhaseATTACHCOMPLETE VmwareTanzuManageV1alpha1ManagementclusterPhase = "ATTACH_COMPLETE"
)

func (VmwareTanzuManageV1alpha1ManagementclusterPhase) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1ManagementclusterPhase.

type VmwareTanzuManageV1alpha1ManagementclusterSpec

type VmwareTanzuManageV1alpha1ManagementclusterSpec struct {

	// Default cluster group for workload clusters.
	DefaultClusterGroup string `json:"defaultClusterGroup,omitempty"`

	// Optional default workload cluster image registry is the
	// name of the Image Registry Config to be used for workload clusters.
	// If set empty, no image registry config will be used.
	// If set non-empty, defined image registry config will be used.
	// If left unset, management cluster's image registry config will be used.
	DefaultWorkloadClusterImageRegistry string `json:"defaultWorkloadClusterImageRegistry,omitempty"`

	// Optional default workload clusters proxy name is the
	// Proxy Config to be used for workload clusters.
	DefaultWorkloadClusterProxyName string `json:"defaultWorkloadClusterProxyName,omitempty"`

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

	// Kubernetes Provider Type of user's choice for registration.
	KubernetesProviderType *clustermodel.VmwareTanzuManageV1alpha1CommonClusterKubernetesProviderType `json:"kubernetesProviderType,omitempty"`

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

VmwareTanzuManageV1alpha1ManagementclusterSpec The ManagementCluster spec.

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

func (*VmwareTanzuManageV1alpha1ManagementclusterSpec) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1ManagementclusterSpec) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1ManagementclusterStatus

type VmwareTanzuManageV1alpha1ManagementclusterStatus struct {

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

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

	// Conditions of the resource.
	Conditions map[string]statusmodel.VmwareTanzuCoreV1alpha1StatusCondition `json:"conditions,omitempty"`

	// List of the extensions running on the ManagementCluster Management Cluster.
	Extensions []string `json:"extensions"`

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

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

	// Infrastructure provider.
	InfrastructureProvider *clustermodel.VmwareTanzuManageV1alpha1CommonClusterInfrastructureProvider `json:"infrastructureProvider,omitempty"`

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

	// Kubernetes Provider which is discovered after registration.
	KubernetesProvider *clustermodel.VmwareTanzuManageV1alpha1CommonClusterKubernetesProvider `json:"kubernetesProvider,omitempty"`

	// Timestamp when metadata was last updated on this cluster.
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"`

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

	// Region.
	Region string `json:"region,omitempty"`

	// URL to fetch the TMC registration YAML.
	// If the management cluster is registered with proxy, Get on this
	// URL would need user token with sufficient permission to read the
	// proxy set during the registration set. In all other cases, this
	// URL can be fetched without user token.
	RegistrationURL string `json:"registrationUrl,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementclusterStatus The ManagementCluster status.

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

func (*VmwareTanzuManageV1alpha1ManagementclusterStatus) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1ManagementclusterStatus) UnmarshalBinary

UnmarshalBinary interface implementation

Jump to

Keyboard shortcuts

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