tkcmodels

package
v1.4.6-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuManageV1alpha1CommonClusterStatus

type VmwareTanzuManageV1alpha1CommonClusterStatus struct {

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

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

VmwareTanzuManageV1alpha1CommonClusterStatus Status is the common status of the cluster.

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

func (*VmwareTanzuManageV1alpha1CommonClusterStatus) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonClusterStatus) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1CommonClusterStatusPhase

type VmwareTanzuManageV1alpha1CommonClusterStatusPhase string

VmwareTanzuManageV1alpha1CommonClusterStatusPhase Phase of the cluster resource.

  • PHASE_UNSPECIFIED: Unspecified phase.
  • CREATING: Resource is being created.
  • READY: Resource is in ready state.
  • DELETING: Resource is being deleted.
  • ERROR: Error in processing.
  • UPGRADING: An upgrade is in progress.
  • UPGRADE_FAILED: An upgrade has failed.
  • UPDATING: The TanzuKubernetescluster of TKGS is in updating phase.

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

const (

	// VmwareTanzuManageV1alpha1CommonClusterStatusPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1CommonClusterStatusPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1CommonClusterStatusPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1CommonClusterStatusPhaseCREATING captures enum value "CREATING".
	VmwareTanzuManageV1alpha1CommonClusterStatusPhaseCREATING VmwareTanzuManageV1alpha1CommonClusterStatusPhase = "CREATING"

	// VmwareTanzuManageV1alpha1CommonClusterStatusPhaseREADY captures enum value "READY".
	VmwareTanzuManageV1alpha1CommonClusterStatusPhaseREADY VmwareTanzuManageV1alpha1CommonClusterStatusPhase = "READY"

	// VmwareTanzuManageV1alpha1CommonClusterStatusPhaseDELETING captures enum value "DELETING".
	VmwareTanzuManageV1alpha1CommonClusterStatusPhaseDELETING VmwareTanzuManageV1alpha1CommonClusterStatusPhase = "DELETING"

	// VmwareTanzuManageV1alpha1CommonClusterStatusPhaseERROR captures enum value "ERROR".
	VmwareTanzuManageV1alpha1CommonClusterStatusPhaseERROR VmwareTanzuManageV1alpha1CommonClusterStatusPhase = "ERROR"

	// VmwareTanzuManageV1alpha1CommonClusterStatusPhaseUPGRADING captures enum value "UPGRADING".
	VmwareTanzuManageV1alpha1CommonClusterStatusPhaseUPGRADING VmwareTanzuManageV1alpha1CommonClusterStatusPhase = "UPGRADING"

	// VmwareTanzuManageV1alpha1CommonClusterStatusPhaseUPGRADEFAILED captures enum value "UPGRADE_FAILED".
	VmwareTanzuManageV1alpha1CommonClusterStatusPhaseUPGRADEFAILED VmwareTanzuManageV1alpha1CommonClusterStatusPhase = "UPGRADE_FAILED"

	// VmwareTanzuManageV1alpha1CommonClusterStatusPhaseUPDATING captures enum value "UPDATING".
	VmwareTanzuManageV1alpha1CommonClusterStatusPhaseUPDATING VmwareTanzuManageV1alpha1CommonClusterStatusPhase = "UPDATING"
)

func (VmwareTanzuManageV1alpha1CommonClusterStatusPhase) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1CommonClusterStatusPhase.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterControlPlane

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterControlPlane struct {

	// The metadata of the control plane.
	Metadata *tkccommon.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCommonClusterMetadata `json:"metadata,omitempty"`

	// The OS image of the control plane.
	OsImage *tkccommon.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCommonClusterOSImage `json:"osImage,omitempty"`

	// The replicas of the control plane.
	Replicas int32 `json:"replicas,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterControlPlane The cluster specific control plane configuration.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.provisioner.tanzukubernetescluster.ControlPlane

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterControlPlane) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterControlPlane) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCoreAddon

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCoreAddon struct {

	// Provider of core addon, e.g. 'antrea', 'calico'.
	Provider string `json:"provider,omitempty"`

	// Type of core addon, e.g. 'cni'.
	Type string `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCoreAddon The core addon.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.provisioner.tanzukubernetescluster.CoreAddon

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCoreAddon) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCoreAddon) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData struct {

	// TanzuKubernetesCluster to create.
	TanzuKubernetesCluster *VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTanzuKubernetesCluster `json:"tanzuKubernetesCluster,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData Request to create a TanzuKubernetesCluster.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.provisioner.tanzukubernetescluster.CreateTanzuKubernetesClusterRequest

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterData) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName 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"`
}

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

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

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterFullName) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkRanges

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkRanges struct {

	// CIDRBlocks specifies one or more ranges of IP addresses.
	CidrBlocks []string `json:"cidrBlocks"`
}

VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkRanges NetworkRanges describes a collection of IP addresses as a list of ranges.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.provisioner.tanzukubernetescluster.NetworkRanges

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkRanges) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkRanges) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkSettings

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkSettings struct {

	// Pod CIDR for Kubernetes pods defaults to 192.168.0.0/16.
	Pods *VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkRanges `json:"pods,omitempty"`

	// Domain name for services.
	ServiceDomain string `json:"serviceDomain,omitempty"`

	// Service CIDR for kubernetes services defaults to 10.96.0.0/12.
	Services *VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkRanges `json:"services,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkSettings Network related settings for the cluster.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.provisioner.tanzukubernetescluster.NetworkSettings

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkSettings) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkSettings) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterSpec

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterSpec struct {

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

	// Name of the image registry configuration to use.
	ImageRegistry string `json:"imageRegistry,omitempty"`

	// Name of the proxy configuration to use.
	ProxyName string `json:"proxyName,omitempty"`

	// TMC-managed flag indicates if the cluster is managed by tmc.
	TmcManaged bool `json:"tmcManaged"`

	// The cluster topology.
	Topology *VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTopology `json:"topology,omitempty"`

	// Cluster Kubeconfig. This is not part of the API but was added for easier use of the model.
	KubeConfig string `json:"kubeconfig,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterSpec Spec of the cluster.

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

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterSpec) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterSpec) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTanzuKubernetesCluster

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTanzuKubernetesCluster struct {

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

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

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

	// Status of the cluster.
	Status *VmwareTanzuManageV1alpha1CommonClusterStatus `json:"status,omitempty"`

	// Type meta for resource.
	Type *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectType `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTanzuKubernetesCluster Tanzu Kubernetes cluster is an object for managed and unmanaged clusters. All the workload clusters created on TKG directly or via TMC are termed as TanzuKubernetesCluster.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.provisioner.tanzukubernetescluster.TanzuKubernetesCluster

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTanzuKubernetesCluster) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTanzuKubernetesCluster) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTopology

type VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTopology struct {

	// The name of the cluster class for the cluster.
	ClusterClass string `json:"clusterClass,omitempty"`

	// Control plane specific configuration.
	ControlPlane *VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterControlPlane `json:"controlPlane,omitempty"`

	// The core addons.
	CoreAddons []*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCoreAddon `json:"coreAddons"`

	// Network specific configuration.
	Network *VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNetworkSettings `json:"network,omitempty"`

	// Nodepool definition for the cluster.
	NodePools []*tkcnodepool.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterNodepool `json:"nodePools"`

	// Variables configuration for the cluster.
	Variables []*tkccommon.VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterCommonClusterClusterVariable `json:"variables"`

	// Kubernetes version of the cluster.
	Version string `json:"version,omitempty"`
}

VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTopology The cluster topology.

swagger:model vmware.tanzu.manage.v1alpha1.managementcluster.provisioner.tanzukubernetescluster.Topology

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTopology) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ManagementClusterProvisionerTanzukubernetesClusterTopology) UnmarshalBinary

UnmarshalBinary interface implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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