namespacemodel

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuManageV1alpha1ClusterNamespaceFullName

type VmwareTanzuManageV1alpha1ClusterNamespaceFullName struct {

	// Name of Cluster.
	ClusterName string `json:"clusterName,omitempty"`

	// Name of ManagementCluster.
	ManagementClusterName string `json:"managementClusterName,omitempty"`

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

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

	// Name of Provisioner.
	ProvisionerName string `json:"provisionerName,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterNamespaceFullName Full name of the namespace. This includes the object name along with any parents or further identifiers.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.namespace.FullName

func (*VmwareTanzuManageV1alpha1ClusterNamespaceFullName) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterNamespaceFullName) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterNamespaceGetNamespaceResponse

type VmwareTanzuManageV1alpha1ClusterNamespaceGetNamespaceResponse struct {

	// Namespace returned.
	Namespace *VmwareTanzuManageV1alpha1ClusterNamespaceNamespace `json:"namespace,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterNamespaceGetNamespaceResponse Response from getting a Namespace.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.namespace.GetNamespaceResponse

func (*VmwareTanzuManageV1alpha1ClusterNamespaceGetNamespaceResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterNamespaceGetNamespaceResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterNamespaceNamespace

type VmwareTanzuManageV1alpha1ClusterNamespaceNamespace struct {

	// Full name for the Namespace.
	FullName *VmwareTanzuManageV1alpha1ClusterNamespaceFullName `json:"fullName,omitempty"`

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

	// Spec for the Namespace.
	Spec *VmwareTanzuManageV1alpha1ClusterNamespaceSpec `json:"spec,omitempty"`

	// Status for the Namespace.
	Status *VmwareTanzuManageV1alpha1ClusterNamespaceStatus `json:"status,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterNamespaceNamespace A managed Kubernetes namespace.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.namespace.Namespace

func (*VmwareTanzuManageV1alpha1ClusterNamespaceNamespace) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterNamespaceNamespace) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterNamespaceRequest

type VmwareTanzuManageV1alpha1ClusterNamespaceRequest struct {

	// Namespace to create.
	Namespace *VmwareTanzuManageV1alpha1ClusterNamespaceNamespace `json:"namespace,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterNamespaceRequest Request to create a Namespace.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.namespace.CreateNamespaceRequest

func (*VmwareTanzuManageV1alpha1ClusterNamespaceRequest) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterNamespaceRequest) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterNamespaceResponse

type VmwareTanzuManageV1alpha1ClusterNamespaceResponse struct {

	// Namespace created.
	Namespace *VmwareTanzuManageV1alpha1ClusterNamespaceNamespace `json:"namespace,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterNamespaceResponse Response from creating a Namespace.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.namespace.CreateNamespaceResponse

func (*VmwareTanzuManageV1alpha1ClusterNamespaceResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterNamespaceResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterNamespaceSpec

type VmwareTanzuManageV1alpha1ClusterNamespaceSpec struct {

	// Attach specifies whether the namespace is being created or attached.
	Attach bool `json:"attach,omitempty"`

	// Name of Workspace which this Namespace belongs to.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterNamespaceSpec The Namespace spec.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.namespace.Spec

func (*VmwareTanzuManageV1alpha1ClusterNamespaceSpec) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterNamespaceSpec) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterNamespaceStatus

type VmwareTanzuManageV1alpha1ClusterNamespaceStatus struct {

	// available_phases is a list of available phases for namespace
	AvailablePhases []*VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase `json:"availablePhases"`

	// phase of the namespace.
	Phase *VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase `json:"phase,omitempty"`

	// phase_info contains additional info about the phase
	PhaseInfo string `json:"phaseInfo,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterNamespaceStatus Status of the namespace.

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

func (*VmwareTanzuManageV1alpha1ClusterNamespaceStatus) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterNamespaceStatus) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase

type VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase string

VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase The overall phase of the namespace.

  • PHASE_UNSPECIFIED: Phase_unspecified is the default phase

  • CREATING: Creating phase is set when the namespace is being created.

  • ATTACHING: Attaching phase is set when the namespace is being attached.

  • UPDATING: Updating phase is set when the namespace is being updated.

  • READY: Ready phase is set when the namespace is successfully created/attached/updated.

  • ERROR: Error phase is set when there was a failure while creating/attaching/updating the namespace.

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

const (

	// VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseCREATING captures enum value "CREATING".
	VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseCREATING VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase = "CREATING"

	// VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseATTACHING captures enum value "ATTACHING".
	VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseATTACHING VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase = "ATTACHING"

	// VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseUPDATING captures enum value "UPDATING".
	VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseUPDATING VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase = "UPDATING"

	// VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseREADY captures enum value "READY".
	VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseREADY VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase = "READY"

	// VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseERROR captures enum value "ERROR".
	VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhaseERROR VmwareTanzuManageV1alpha1ClusterNamespaceStatusPhase = "ERROR"
)

Jump to

Keyboard shortcuts

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