models

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuCoreV1alpha1StatusCondition

type VmwareTanzuCoreV1alpha1StatusCondition struct {

	// Last time the condition transit from one status to another.
	// Format: date-time
	LastTransitionTime strfmt.DateTime `json:"lastTransitionTime,omitempty"`

	// Human readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// One-word reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Severity of condition, one of Error, Warning, Info.
	// Default is Error.
	Severity *VmwareTanzuCoreV1alpha1StatusConditionSeverity `json:"severity,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Default is Unknown.
	Status *VmwareTanzuCoreV1alpha1StatusConditionStatus `json:"status,omitempty"`

	// Type of condition.
	Type string `json:"type,omitempty"`
}

VmwareTanzuCoreV1alpha1StatusCondition Condition describes the status of resource. Each resource should provide meaningful set of conditions. For Tanzu, each resource must support 'Ready' and 'Scheduled' conditions Here is meaning of base conditions and their states: Condition 'Ready' with Status 'True' means user action has reached the desired state Condition 'Ready' with Status 'False' means user action failed to reach desired state. Condition 'Scheduled' with Status 'False' means user action can not be scheduled due to some reason Condition 'Scheduled' with Status 'True', Ready unknown means job is scheduled and system is working/will work on reaching to desires state Condition 'Scheduled' with Status 'Unknown' means system does not know the status of the action

swagger:model vmware.tanzu.core.v1alpha1.status.Condition

func (*VmwareTanzuCoreV1alpha1StatusCondition) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1StatusCondition) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuCoreV1alpha1StatusConditionSeverity

type VmwareTanzuCoreV1alpha1StatusConditionSeverity string

VmwareTanzuCoreV1alpha1StatusConditionSeverity Severity expresses the severity of a Condition Type failing.

  • SEVERITY_UNSPECIFIED: Unspecified severity.
  • ERROR: Failure of a condition type should be viewed as an error.
  • WARNING: Failure of a condition type should be viewed as a warning, but that things could still work.
  • INFO: Failure of a condition type should be viewed as purely informational, and that things could still work.

swagger:model vmware.tanzu.core.v1alpha1.status.Condition.Severity

const (

	// VmwareTanzuCoreV1alpha1StatusConditionSeveritySEVERITYUNSPECIFIED captures enum value "SEVERITY_UNSPECIFIED".
	VmwareTanzuCoreV1alpha1StatusConditionSeveritySEVERITYUNSPECIFIED VmwareTanzuCoreV1alpha1StatusConditionSeverity = "SEVERITY_UNSPECIFIED"

	// VmwareTanzuCoreV1alpha1StatusConditionSeverityERROR captures enum value "ERROR".
	VmwareTanzuCoreV1alpha1StatusConditionSeverityERROR VmwareTanzuCoreV1alpha1StatusConditionSeverity = "ERROR"

	// VmwareTanzuCoreV1alpha1StatusConditionSeverityWARNING captures enum value "WARNING".
	VmwareTanzuCoreV1alpha1StatusConditionSeverityWARNING VmwareTanzuCoreV1alpha1StatusConditionSeverity = "WARNING"

	// VmwareTanzuCoreV1alpha1StatusConditionSeverityINFO captures enum value "INFO".
	VmwareTanzuCoreV1alpha1StatusConditionSeverityINFO VmwareTanzuCoreV1alpha1StatusConditionSeverity = "INFO"
)

func (VmwareTanzuCoreV1alpha1StatusConditionSeverity) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuCoreV1alpha1StatusConditionSeverity.

type VmwareTanzuCoreV1alpha1StatusConditionStatus

type VmwareTanzuCoreV1alpha1StatusConditionStatus string

VmwareTanzuCoreV1alpha1StatusConditionStatus Status describes the state of condition.

  • STATUS_UNSPECIFIED: Controller is actively working to achieve the condition.
  • TRUE: Reconciliation has succeeded. Once all transition conditions have succeeded, the "happy state" condition should be set to True..
  • FALSE: Reconciliation has failed. This should be a terminal failure state until user action occurs.

swagger:model vmware.tanzu.core.v1alpha1.status.Condition.Status

const (

	// VmwareTanzuCoreV1alpha1StatusConditionStatusSTATUSUNSPECIFIED captures enum value "STATUS_UNSPECIFIED".
	VmwareTanzuCoreV1alpha1StatusConditionStatusSTATUSUNSPECIFIED VmwareTanzuCoreV1alpha1StatusConditionStatus = "STATUS_UNSPECIFIED"

	// VmwareTanzuCoreV1alpha1StatusConditionStatusTRUE captures enum value "TRUE".
	VmwareTanzuCoreV1alpha1StatusConditionStatusTRUE VmwareTanzuCoreV1alpha1StatusConditionStatus = "TRUE"

	// VmwareTanzuCoreV1alpha1StatusConditionStatusFALSE captures enum value "FALSE".
	VmwareTanzuCoreV1alpha1StatusConditionStatusFALSE VmwareTanzuCoreV1alpha1StatusConditionStatus = "FALSE"
)

func (VmwareTanzuCoreV1alpha1StatusConditionStatus) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuCoreV1alpha1StatusConditionStatus.

type VmwareTanzuManageV1alpha1EksclusterAddonsConfig added in v1.4.0

type VmwareTanzuManageV1alpha1EksclusterAddonsConfig struct {

	// Enable the Kubernetes vpc-cni addon.
	VpcCniAddonConfig *VmwareTanzuManageV1alpha1EksclusterVpcCniAddonConfig `json:"vpcCniAddonConfig,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterAddonsConfig EKS addons configuration.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.AddonsConfig

func (*VmwareTanzuManageV1alpha1EksclusterAddonsConfig) MarshalBinary added in v1.4.0

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterAddonsConfig) UnmarshalBinary added in v1.4.0

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterControlPlaneConfig

type VmwareTanzuManageV1alpha1EksclusterControlPlaneConfig struct {

	// Kubernetes Network Config.
	KubernetesNetworkConfig *VmwareTanzuManageV1alpha1EksclusterKubernetesNetworkConfig `json:"kubernetesNetworkConfig,omitempty"`

	// EKS logging configuration.
	Logging *VmwareTanzuManageV1alpha1EksclusterLogging `json:"logging,omitempty"`

	// ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations.
	RoleArn string `json:"roleArn,omitempty"`

	// The metadata to apply to the cluster to assist with categorization and organization.
	Tags map[string]string `json:"tags,omitempty"`

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

	// VPC config.
	Vpc *VmwareTanzuManageV1alpha1EksclusterVPCConfig `json:"vpc,omitempty"`

	// EKS addons configuration.
	AddonsConfig *VmwareTanzuManageV1alpha1EksclusterAddonsConfig `json:"addonsConfig,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterControlPlaneConfig The EKS cluster config.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.ControlPlaneConfig

func (*VmwareTanzuManageV1alpha1EksclusterControlPlaneConfig) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterControlPlaneConfig) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterRequest

type VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterRequest struct {

	// EksCluster to create.
	EksCluster *VmwareTanzuManageV1alpha1EksclusterEksCluster `json:"eksCluster,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterRequest Request to create an EksCluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.CreateEksClusterRequest

func (*VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterRequest) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterRequest) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterResponse

type VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterResponse struct {

	// EksCluster created.
	EksCluster *VmwareTanzuManageV1alpha1EksclusterEksCluster `json:"eksCluster,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterResponse Response from creating an EksCluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.CreateEksClusterResponse

func (*VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterCreateUpdateEksClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterEksCluster

type VmwareTanzuManageV1alpha1EksclusterEksCluster struct {

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

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

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

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

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

VmwareTanzuManageV1alpha1EksclusterEksCluster EksCluster is an EKS Kubernetes Cluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.EksCluster

func (*VmwareTanzuManageV1alpha1EksclusterEksCluster) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterEksCluster) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterEniConfig added in v1.4.0

type VmwareTanzuManageV1alpha1EksclusterEniConfig struct {

	// Subnet Id  for the pods.
	SubnetID string `json:"subnetId,omitempty"`

	// Security group for the pods.
	SecurityGroupIds []string `json:"securityGroupIds"`
}

VmwareTanzuManageV1alpha1EksclusterEniConfig EKS vpc-cni addon ENI configuration.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.EniConfig

func (*VmwareTanzuManageV1alpha1EksclusterEniConfig) MarshalBinary added in v1.4.0

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterEniConfig) UnmarshalBinary added in v1.4.0

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterFullName

type VmwareTanzuManageV1alpha1EksclusterFullName struct {

	// Name of the credential.
	CredentialName string `json:"credentialName,omitempty"`

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

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

	// Name of the region.
	Region string `json:"region,omitempty"`
}

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

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

func (*VmwareTanzuManageV1alpha1EksclusterFullName) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterFullName) ToString

func (*VmwareTanzuManageV1alpha1EksclusterFullName) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterGetEksClusterResponse

type VmwareTanzuManageV1alpha1EksclusterGetEksClusterResponse struct {

	// EksCluster returned.
	EksCluster *VmwareTanzuManageV1alpha1EksclusterEksCluster `json:"eksCluster,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterGetEksClusterResponse Response from getting an EksCluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.GetEksClusterResponse

func (*VmwareTanzuManageV1alpha1EksclusterGetEksClusterResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterGetEksClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterKubernetesNetworkConfig

type VmwareTanzuManageV1alpha1EksclusterKubernetesNetworkConfig struct {

	// Service CIDR for Kubernetes services.
	ServiceCidr string `json:"serviceCidr,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterKubernetesNetworkConfig The network configuration for the EKS cluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.KubernetesNetworkConfig

func (*VmwareTanzuManageV1alpha1EksclusterKubernetesNetworkConfig) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterKubernetesNetworkConfig) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse added in v1.2.0

type VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse struct {

	// List of eksclusters.
	EksClusters []*VmwareTanzuManageV1alpha1EksclusterEksCluster `json:"eksClusters"`

	// Total count.
	TotalCount string `json:"totalCount,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse Response from listing EksClusters.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.ListEksClustersResponse

func (*VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse) MarshalBinary added in v1.2.0

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse) UnmarshalBinary added in v1.2.0

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterLogging

type VmwareTanzuManageV1alpha1EksclusterLogging struct {

	// Enable API server logs.
	APIServer bool `json:"apiServer,omitempty"`

	// Enable audit logs.
	Audit bool `json:"audit,omitempty"`

	// Enable authenticator logs.
	Authenticator bool `json:"authenticator,omitempty"`

	// Enable controller manager logs.
	ControllerManager bool `json:"controllerManager,omitempty"`

	// Enable scheduler logs.
	Scheduler bool `json:"scheduler,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterLogging EKS logging configuration. Refer https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html for more info

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.Logging

func (*VmwareTanzuManageV1alpha1EksclusterLogging) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterLogging) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolAPIRequest

type VmwareTanzuManageV1alpha1EksclusterNodepoolAPIRequest struct {

	// Nodepool to create/update/get.
	Nodepool *VmwareTanzuManageV1alpha1EksclusterNodepoolNodepool `json:"nodepool,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolAPIRequest Request to create a Nodepool.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.CreateNodepoolRequest

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolAPIRequest) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolAPIRequest) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolAPIResponse

type VmwareTanzuManageV1alpha1EksclusterNodepoolAPIResponse struct {

	// Nodepool created/updated/fetched.
	Nodepool *VmwareTanzuManageV1alpha1EksclusterNodepoolNodepool `json:"nodepool,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolAPIResponse Response from creating a Nodepool.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.CreateNodepoolResponse

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolAPIResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolAPIResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolAmiInfo added in v1.1.7

type VmwareTanzuManageV1alpha1EksclusterNodepoolAmiInfo struct {

	// AMI id if custom AMI is specified. It cannot be used if launch template id is specified.
	AmiID string `json:"amiId,omitempty"`

	// Override bootstrap command for custom AMI.
	OverrideBootstrapCmd string `json:"overrideBootstrapCmd,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolAmiInfo AMI info for the nodepool.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.AmiInfo

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolAmiInfo) MarshalBinary added in v1.1.7

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolAmiInfo) UnmarshalBinary added in v1.1.7

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolDefinition

type VmwareTanzuManageV1alpha1EksclusterNodepoolDefinition struct {

	// Info for the nodepool.
	Info *VmwareTanzuManageV1alpha1EksclusterNodepoolInfo `json:"info,omitempty"`

	// Spec for the nodepool.
	Spec *VmwareTanzuManageV1alpha1EksclusterNodepoolSpec `json:"spec,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolDefinition Definition is the definition of nodepool for cluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.Definition

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolDefinition) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolDefinition) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolFullName

type VmwareTanzuManageV1alpha1EksclusterNodepoolFullName struct {

	// Name of the credential.
	CredentialName string `json:"credentialName,omitempty"`

	// Name of the cluster.
	EksClusterName string `json:"eksClusterName,omitempty"`

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

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

	// Region of the cluster.
	Region string `json:"region,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolFullName Full name of the nodepool. This includes the object name along with any parents or further identifiers.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.FullName

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolFullName) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolFullName) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolInfo

type VmwareTanzuManageV1alpha1EksclusterNodepoolInfo struct {

	// Description for the nodepool.
	Description string `json:"description,omitempty"`

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

VmwareTanzuManageV1alpha1EksclusterNodepoolInfo Info is the meta information of nodepool for cluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.Info

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolInfo) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolInfo) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolLaunchTemplate

type VmwareTanzuManageV1alpha1EksclusterNodepoolLaunchTemplate struct {

	// The ID of the launch template.
	ID string `json:"id,omitempty"`

	// The name of the launch template.
	Name string `json:"name,omitempty"`

	// The version of the launch template to use. If no version is specified, then the template's default version is used.
	Version string `json:"version,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolLaunchTemplate Launch template for the nodepool.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.LaunchTemplate

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolLaunchTemplate) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolLaunchTemplate) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolListNodepoolsResponse

type VmwareTanzuManageV1alpha1EksclusterNodepoolListNodepoolsResponse struct {

	// List of nodepools.
	Nodepools []*VmwareTanzuManageV1alpha1EksclusterNodepoolNodepool `json:"nodepools"`

	// Total count.
	TotalCount string `json:"totalCount,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolListNodepoolsResponse Response from listing Nodepools.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.ListNodepoolsResponse

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolListNodepoolsResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolListNodepoolsResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolNodepool

type VmwareTanzuManageV1alpha1EksclusterNodepoolNodepool struct {

	// Full name for the Nodepool.
	FullName *VmwareTanzuManageV1alpha1EksclusterNodepoolFullName `json:"fullName,omitempty"`

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

	// Spec for the Nodepool.
	Spec *VmwareTanzuManageV1alpha1EksclusterNodepoolSpec `json:"spec,omitempty"`

	// Status of the Nodepool.
	Status *VmwareTanzuManageV1alpha1EksclusterNodepoolStatus `json:"status,omitempty"`

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

VmwareTanzuManageV1alpha1EksclusterNodepoolNodepool Nodepool associated with a EKS cluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.Nodepool

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolNodepool) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolNodepool) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolRemoteAccess

type VmwareTanzuManageV1alpha1EksclusterNodepoolRemoteAccess struct {

	// Security groups for the cluster VMs.
	SecurityGroups []string `json:"securityGroups"`

	// SSH key for the nodepool VMs.
	SSHKey string `json:"sshKey,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolRemoteAccess Remote access to worker nodes.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.RemoteAccess

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolRemoteAccess) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolRemoteAccess) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1EksclusterNodepoolScalingConfig

type VmwareTanzuManageV1alpha1EksclusterNodepoolScalingConfig struct {

	// Desired size of nodepool.
	DesiredSize int32 `json:"desiredSize,omitempty"`

	// Maximum size of nodepool.
	MaxSize int32 `json:"maxSize,omitempty"`

	// Minimum size of nodepool.
	MinSize int32 `json:"minSize,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolScalingConfig Nodepool scaling config.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.ScalingConfig

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolScalingConfig) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolScalingConfig) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolSpec

type VmwareTanzuManageV1alpha1EksclusterNodepoolSpec struct {

	// AMI info for the nodepool.
	AmiInfo *VmwareTanzuManageV1alpha1EksclusterNodepoolAmiInfo `json:"amiInfo,omitempty"`

	// AMI type.
	AmiType string `json:"amiType,omitempty"`

	// Capacity type.
	CapacityType string `json:"capacityType,omitempty"`

	// Nodepool instance types.
	// The potential values could be found using cluster:options api.
	InstanceTypes []string `json:"instanceTypes"`

	// Launch template for the nodepool.
	LaunchTemplate *VmwareTanzuManageV1alpha1EksclusterNodepoolLaunchTemplate `json:"launchTemplate,omitempty"`

	// Kubernetes node labels.
	NodeLabels map[string]string `json:"nodeLabels,omitempty"`

	// Remote access to worker nodes.
	RemoteAccess *VmwareTanzuManageV1alpha1EksclusterNodepoolRemoteAccess `json:"remoteAccess,omitempty"`

	// ARN of the IAM role that provides permissions for the Kubernetes nodepool to make calls to AWS API operations.
	RoleArn string `json:"roleArn,omitempty"`

	// Root disk size in GiB. Defaults to 20 GiB.
	RootDiskSize int32 `json:"rootDiskSize,omitempty"`

	// Nodepool scaling config.
	ScalingConfig *VmwareTanzuManageV1alpha1EksclusterNodepoolScalingConfig `json:"scalingConfig,omitempty"`

	// Subnets required for the nodepool.
	SubnetIds []string `json:"subnetIds"`

	// EKS specific tags.
	Tags map[string]string `json:"tags,omitempty"`

	// If specified, the node's taints.
	Taints []*VmwareTanzuManageV1alpha1EksclusterNodepoolTaint `json:"taints"`

	// Update config for the nodepool.
	UpdateConfig *VmwareTanzuManageV1alpha1EksclusterNodepoolUpdateConfig `json:"updateConfig,omitempty"`

	// AMI release version. This field is used to update the AMI release version for that k8s version.
	// This field should not be specfied for cluster CREATE as TMC uses the latest ami release version for it.
	ReleaseVersion string `json:"releaseVersion,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolSpec Spec for the cluster nodepool.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.Spec

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolSpec) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolSpec) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolStatus

type VmwareTanzuManageV1alpha1EksclusterNodepoolStatus struct {

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

	// Phase of the nodepool resource.
	Phase *VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase `json:"phase,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolStatus Status of node pool resource.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.Status

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolStatus) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolStatus) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase

type VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase string

VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase Phase of the nodepool resource.

  • PHASE_UNSPECIFIED: Unspecified phase.
  • CREATING: Resource is pending processing.
  • READY: Resource is in ready state.
  • ERROR: Error in processing.
  • DELETING: Resource is being deleted.
  • RESIZING: Resizing state.
  • UPGRADING: An upgrade is in progress.
  • UPGRADE_FAILED: An upgrade has failed.
  • WAITING: The cluster is not created yet. so wait till then.
  • UPDATING: A generic phase for nodepool update.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.Status.Phase

const (

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseCREATING captures enum value "CREATING".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseCREATING VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "CREATING"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseREADY captures enum value "READY".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseREADY VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "READY"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseERROR captures enum value "ERROR".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseERROR VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "ERROR"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseDELETING captures enum value "DELETING".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseDELETING VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "DELETING"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseRESIZING captures enum value "RESIZING".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseRESIZING VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "RESIZING"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseUPGRADING captures enum value "UPGRADING".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseUPGRADING VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "UPGRADING"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseUPGRADEFAILED captures enum value "UPGRADE_FAILED".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseUPGRADEFAILED VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "UPGRADE_FAILED"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseWAITING captures enum value "WAITING".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseWAITING VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "WAITING"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseUPDATING captures enum value "UPDATING".
	VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhaseUPDATING VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase = "UPDATING"
)

func (VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1EksclusterNodepoolStatusPhase.

type VmwareTanzuManageV1alpha1EksclusterNodepoolTaint

type VmwareTanzuManageV1alpha1EksclusterNodepoolTaint struct {

	// Current effect state of the node pool.
	Effect *VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect `json:"effect,omitempty"`

	// The taint key to be applied to a node.
	Key string `json:"key,omitempty"`

	// The taint value corresponding to the taint key.
	Value string `json:"value,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolTaint The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.Taint

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolTaint) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolTaint) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect

type VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect string

VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, NoExecute, PreferNoSchedule and EffectUnspecified.

  • EFFECT_UNSPECIFIED: Unspecified effect.
  • NO_SCHEDULE: Pods that do not tolerate this taint are not scheduled on the node.
  • NO_EXECUTE: Pods are evicted from the node if are already running on the node.
  • PREFER_NO_SCHEDULE: Avoids scheduling Pods that do not tolerate this taint onto the node.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.Taint.Effect

const (

	// VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffectEFFECTUNSPECIFIED captures enum value "EFFECT_UNSPECIFIED".
	VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffectEFFECTUNSPECIFIED VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect = "EFFECT_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffectNOSCHEDULE captures enum value "NO_SCHEDULE".
	VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffectNOSCHEDULE VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect = "NO_SCHEDULE"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffectNOEXECUTE captures enum value "NO_EXECUTE".
	VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffectNOEXECUTE VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect = "NO_EXECUTE"

	// VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffectPREFERNOSCHEDULE captures enum value "PREFER_NO_SCHEDULE".
	VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffectPREFERNOSCHEDULE VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect = "PREFER_NO_SCHEDULE"
)

func (VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1EksclusterNodepoolTaintEffect.

type VmwareTanzuManageV1alpha1EksclusterNodepoolUpdateConfig

type VmwareTanzuManageV1alpha1EksclusterNodepoolUpdateConfig struct {

	// Maximum number of nodes unavailable at once during a version update.
	MaxUnavailableNodes string `json:"maxUnavailableNodes,omitempty"`

	// Maximum percentage of nodes unavailable during a version update.
	MaxUnavailablePercentage string `json:"maxUnavailablePercentage,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterNodepoolUpdateConfig Update config for the nodepool.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.nodepool.UpdateConfig

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolUpdateConfig) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterNodepoolUpdateConfig) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterPhase

type VmwareTanzuManageV1alpha1EksclusterPhase string

VmwareTanzuManageV1alpha1EksclusterPhase Phase of the cluster resource.

  • PHASE_UNSPECIFIED: Unspecified phase.
  • PENDING: Resource is pending processing.
  • CREATING: Resource is being created.
  • READY: Resource is ready state.
  • DELETING: Resource is being deleted.
  • ERROR: Error in processing.
  • UPDATING: This phase is used to reflect the UPDATING state of EKS cluster.
  • OVER_LIMIT: This phase indicates cluster has crossed resource limits set for the organization.

For such cluster we no longer sync data back to TMC.

  • UPGRADING: This phase indicates kubernetes version is being upgraded for the cluster.

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

const (

	// VmwareTanzuManageV1alpha1EksclusterPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1EksclusterPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1EksclusterPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1EksclusterPhasePENDING captures enum value "PENDING".
	VmwareTanzuManageV1alpha1EksclusterPhasePENDING VmwareTanzuManageV1alpha1EksclusterPhase = "PENDING"

	// VmwareTanzuManageV1alpha1EksclusterPhaseCREATING captures enum value "CREATING".
	VmwareTanzuManageV1alpha1EksclusterPhaseCREATING VmwareTanzuManageV1alpha1EksclusterPhase = "CREATING"

	// VmwareTanzuManageV1alpha1EksclusterPhaseREADY captures enum value "READY".
	VmwareTanzuManageV1alpha1EksclusterPhaseREADY VmwareTanzuManageV1alpha1EksclusterPhase = "READY"

	// VmwareTanzuManageV1alpha1EksclusterPhaseDELETING captures enum value "DELETING".
	VmwareTanzuManageV1alpha1EksclusterPhaseDELETING VmwareTanzuManageV1alpha1EksclusterPhase = "DELETING"

	// VmwareTanzuManageV1alpha1EksclusterPhaseERROR captures enum value "ERROR".
	VmwareTanzuManageV1alpha1EksclusterPhaseERROR VmwareTanzuManageV1alpha1EksclusterPhase = "ERROR"

	// VmwareTanzuManageV1alpha1EksclusterPhaseUPDATING captures enum value "UPDATING".
	VmwareTanzuManageV1alpha1EksclusterPhaseUPDATING VmwareTanzuManageV1alpha1EksclusterPhase = "UPDATING"

	// VmwareTanzuManageV1alpha1EksclusterPhaseOVERLIMIT captures enum value "OVER_LIMIT".
	VmwareTanzuManageV1alpha1EksclusterPhaseOVERLIMIT VmwareTanzuManageV1alpha1EksclusterPhase = "OVER_LIMIT"

	// VmwareTanzuManageV1alpha1EksclusterPhaseUPGRADING captures enum value "UPGRADING".
	VmwareTanzuManageV1alpha1EksclusterPhaseUPGRADING VmwareTanzuManageV1alpha1EksclusterPhase = "UPGRADING"
)

func (VmwareTanzuManageV1alpha1EksclusterPhase) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1EksclusterPhase.

type VmwareTanzuManageV1alpha1EksclusterSpec

type VmwareTanzuManageV1alpha1EksclusterSpec struct {

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

	// EKS config for the cluster control plane.
	Config *VmwareTanzuManageV1alpha1EksclusterControlPlaneConfig `json:"config,omitempty"`

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

	// Agent name of the cluster.
	AgentName string `json:"agentName,omitempty"`

	// Arn of the cluster.
	Arn string `json:"arn,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterSpec Spec of the cluster.

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

func (*VmwareTanzuManageV1alpha1EksclusterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1EksclusterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1EksclusterStatus

type VmwareTanzuManageV1alpha1EksclusterStatus struct {

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

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

	// AWS EKS platform version that this cluster uses.
	// https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html
	PlatformVersion string `json:"platformVersion,omitempty"`
}

VmwareTanzuManageV1alpha1EksclusterStatus Status of the EKS cluster.

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

func (*VmwareTanzuManageV1alpha1EksclusterStatus) MarshalBinary

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

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterVPCConfig

type VmwareTanzuManageV1alpha1EksclusterVPCConfig struct {

	// Enable private access on the cluster.
	EnablePrivateAccess bool `json:"enablePrivateAccess,omitempty"`

	// Enable public access on the cluster.
	EnablePublicAccess bool `json:"enablePublicAccess,omitempty"`

	// Public access cidrs.
	PublicAccessCidrs []string `json:"publicAccessCidrs"`

	// Security groups for the cluster VMs.
	SecurityGroups []string `json:"securityGroups"`

	// Subnet ids used by the cluster.
	SubnetIds []string `json:"subnetIds"`
}

VmwareTanzuManageV1alpha1EksclusterVPCConfig The VPC configuration for the EKS cluster.

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.VPCConfig

func (*VmwareTanzuManageV1alpha1EksclusterVPCConfig) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterVPCConfig) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1EksclusterVpcCniAddonConfig added in v1.4.0

type VmwareTanzuManageV1alpha1EksclusterVpcCniAddonConfig struct {

	// Additional configuration settings for vpc-cni addon. Eniconfig are repeateable and each eniConfig should have a mandatory subnet id and optional security group id(s).
	// Subnets need not be in the same VPC as the cluster.
	// The subnets provided across eniConfigs should be in different availability zones
	// If security group id(s) are not provided, the cluster security group will be used
	EniConfigs []*VmwareTanzuManageV1alpha1EksclusterEniConfig `json:"eniConfigs"`
}

VmwareTanzuManageV1alpha1EksclusterVpcCniAddonConfig EKS vpc-cni addon configuration

swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.VpcCniAddonConfig

func (*VmwareTanzuManageV1alpha1EksclusterVpcCniAddonConfig) MarshalBinary added in v1.4.0

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1EksclusterVpcCniAddonConfig) UnmarshalBinary added in v1.4.0

UnmarshalBinary interface implementation.

Jump to

Keyboard shortcuts

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