models

package
v1.4.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleProtobufAny

type GoogleProtobufAny struct {

	// type Url
	TypeURL string `json:"typeUrl,omitempty"`

	// value
	// Format: byte
	Value strfmt.Base64 `json:"value,omitempty"`
}

GoogleProtobufAny google protobuf any

swagger:model google.protobuf.Any

func (*GoogleProtobufAny) MarshalBinary

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

MarshalBinary interface implementation.

func (*GoogleProtobufAny) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type GrpcGatewayRuntimeError

type GrpcGatewayRuntimeError struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*GoogleProtobufAny `json:"details"`

	// error
	Error string `json:"error,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

GrpcGatewayRuntimeError grpc gateway runtime error

swagger:model grpc.gateway.runtime.Error

func (*GrpcGatewayRuntimeError) MarshalBinary

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

MarshalBinary interface implementation.

func (*GrpcGatewayRuntimeError) UnmarshalBinary

func (m *GrpcGatewayRuntimeError) 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) UnmarshalBinary

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

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterKubeconfigCliType

type VmwareTanzuManageV1alpha1ClusterKubeconfigCliType string

VmwareTanzuManageV1alpha1ClusterKubeconfigCliType CliType will help identify the appropriate kubeconfig to be returned for CLI application.

  • TMC_CLI: TMC_CLI platform.
  • TANZU_CLI: TANZU_CLI platform.

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

const (

	// VmwareTanzuManageV1alpha1ClusterKubeconfigCliTypeTMCCLI captures enum value "TMC_CLI".
	VmwareTanzuManageV1alpha1ClusterKubeconfigCliTypeTMCCLI VmwareTanzuManageV1alpha1ClusterKubeconfigCliType = "TMC_CLI"

	// VmwareTanzuManageV1alpha1ClusterKubeconfigCliTypeTANZUCLI captures enum value "TANZU_CLI".
	VmwareTanzuManageV1alpha1ClusterKubeconfigCliTypeTANZUCLI VmwareTanzuManageV1alpha1ClusterKubeconfigCliType = "TANZU_CLI"
)

func (VmwareTanzuManageV1alpha1ClusterKubeconfigCliType) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1ClusterKubeconfigCliType.

type VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponse

type VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponse 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 (*VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterKubeconfigGetKubeconfigResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

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.

Jump to

Keyboard shortcuts

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