kubeconfigmodels

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus

type VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus string

VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus Kubeconfig status types.

  • STATUS_UNSPECIFIED: Default value for the enum.
  • CREATING: CREATING indicates either the cluster or TMC resources on the cluster are not ready yet.
  • PENDING: PENDING indicates kubeconfig data is not yet available from the cluster.
  • READY: READY indicates kubeconfig is ready to use.
  • UNAVAILABLE: UNAVAILABLE indicates kubeconfig cannot be provided for this cluster.

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

const (

	// VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusSTATUSUNSPECIFIED captures enum value "STATUS_UNSPECIFIED".
	VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusSTATUSUNSPECIFIED VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus = "STATUS_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusCREATING captures enum value "CREATING".
	VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusCREATING VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus = "CREATING"

	// VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusPENDING captures enum value "PENDING".
	VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusPENDING VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus = "PENDING"

	// VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusREADY captures enum value "READY".
	VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusREADY VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus = "READY"

	// VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusUNAVAILABLE captures enum value "UNAVAILABLE".
	VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatusUNAVAILABLE VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus = "UNAVAILABLE"
)

func (VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus.

type VmwareTanzuManageV1alpha1ClusterKubeconfigResponse

type VmwareTanzuManageV1alpha1ClusterKubeconfigResponse struct {

	// Provides the server endpoint used in the kubeconfig.
	Endpoint string `json:"endpoint,omitempty"`

	// Cluster Kubeconfig.
	Kubeconfig string `json:"kubeconfig,omitempty"`

	// Provides the detail message for PENDING/UNAVAILABLE status.
	Msg string `json:"msg,omitempty"`

	// Kubeconfig status.
	Status *VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponseStatus `json:"status,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponse Response with cluster kubeconfig.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.kubeconfig.GetKubeconfigResponse

func (*VmwareTanzuManageV1alpha1ClusterKubeconfigResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterKubeconfigResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

Jump to

Keyboard shortcuts

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