Documentation ¶
Index ¶
- type VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionRequest
- type VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionResponse
- type VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection
- type VmwareTanzuManageV1alpha1ClusterDataprotectionFullName
- type VmwareTanzuManageV1alpha1ClusterDataprotectionListDataProtectionsResponse
- type VmwareTanzuManageV1alpha1ClusterDataprotectionSpec
- type VmwareTanzuManageV1alpha1ClusterDataprotectionStatus
- type VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionRequest ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionRequest struct { // DataProtection to create. DataProtection *VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection `json:"dataProtection,omitempty"` }
VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionRequest Request to create a DataProtection.
swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.CreateDataProtectionRequest.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionRequest) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionRequest) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionResponse ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionResponse struct { // DataProtection created. DataProtection *VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection `json:"dataProtection,omitempty"` }
VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionResponse Response from creating a DataProtection.
swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.CreateDataProtectionResponse.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionResponse) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionResponse) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionCreateDataProtectionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection struct { // Full name for the DataProtection. FullName *VmwareTanzuManageV1alpha1ClusterDataprotectionFullName `json:"fullName,omitempty"` // Metadata for the DataProtection object. Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"` // Spec field for DataProtection. Spec *VmwareTanzuManageV1alpha1ClusterDataprotectionSpec `json:"spec"` // Status field. Status *VmwareTanzuManageV1alpha1ClusterDataprotectionStatus `json:"status,omitempty"` // Metadata describing the type of the resource. Type *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectType `json:"type,omitempty"` }
VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection Backup, restore, or migrate cluster data.
Protect Kubernetes cluster data with the DataProtection resource. Backup, restore, or. migrate cluster objects and volumes.
swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.DataProtection.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1ClusterDataprotectionFullName ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionFullName struct { // Name of Cluster. ClusterName string `json:"clusterName,omitempty"` // Name of management cluster. ManagementClusterName string `json:"managementClusterName,omitempty"` // ID of Organization. OrgID string `json:"orgId,omitempty"` // Name of Provisioner. ProvisionerName string `json:"provisionerName,omitempty"` }
VmwareTanzuManageV1alpha1ClusterDataprotectionFullName Full name of the namespace. This includes the object name along. with any parents or further identifiers.
swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.FullName.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionFullName) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionFullName) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionFullName) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionFullName) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1ClusterDataprotectionListDataProtectionsResponse ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionListDataProtectionsResponse struct { // List of dataprotections. DataProtections []*VmwareTanzuManageV1alpha1ClusterDataprotectionDataProtection `json:"dataProtections"` // Total count. TotalCount string `json:"totalCount,omitempty"` }
VmwareTanzuManageV1alpha1ClusterDataprotectionListDataProtectionsResponse Response from listing DataProtections.
swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.ListDataProtectionsResponse.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionListDataProtectionsResponse) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionListDataProtectionsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionListDataProtectionsResponse) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionListDataProtectionsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1ClusterDataprotectionSpec ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionSpec struct { // A flag to indicate whether to skip installation of restic server (https://github.com/restic/restic). // Otherwise, restic would be enabled by default as part of Data Protection installation. DisableRestic bool `json:"disableRestic"` // A flag to indicate whether to backup all the supported API Group versions of a resource on the cluster. EnableAllAPIGroupVersionsBackup bool `json:"enableAllApiGroupVersionsBackup"` // A flag to indicate whether to install CSI snapshotting related capabilities. EnableCsiSnapshots bool `json:"enableCsiSnapshots"` // A flag to indicate whether to install the node agent daemonset which is responsible for data transfer // to the target location. UseNodeAgent bool `json:"useNodeAgent,omitempty"` }
VmwareTanzuManageV1alpha1ClusterDataprotectionSpec The spec collects all the options for installing backup and restore solution into a Kubernetes cluster.
swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.Spec.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionSpec) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionSpec) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1ClusterDataprotectionStatus ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionStatus struct { // A list of available phases for data protection object. AvailablePhases []*VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase `json:"availablePhases"` // The conditions attached to this data protection object. // The description of the conditions is as follows: // - "Scheduled" with status 'Unknown' indicates the request has not been applied to the cluster yet. // - "Scheduled" with status 'True' and "Ready" with status 'Unknown' indicates the data protection create / delete intent has been applied / deleted but not yet acted upon. // - "Ready" with status 'True' indicates the the creation of data protection is complete. // - "Ready" with status 'False' indicates the the creation of data protection is in error state. Conditions map[string]statusmodel.VmwareTanzuCoreV1alpha1StatusCondition `json:"conditions,omitempty"` // The namespace used to install backup solution. Namespace string `json:"namespace,omitempty"` // The resource generation the current status applies to. ObservedGeneration string `json:"observedGeneration,omitempty"` // The overall phase of the data protection. Phase *VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase `json:"phase,omitempty"` // Additional info about the phase. PhaseInfo string `json:"phaseInfo,omitempty"` // The version information of backup solution. Version string `json:"version,omitempty"` }
VmwareTanzuManageV1alpha1ClusterDataprotectionStatus Status of the DataProtection configure resource.
swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.Status.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionStatus) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1ClusterDataprotectionStatus) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1ClusterDataprotectionStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase ¶
type VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase string
VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase Available phases for data protection object.
- PHASE_UNSPECIFIED: Phase_unspecified is the default phase.
- PENDING: Pending phase is set when the data protection object is being processed by the service (TMC).
- CREATING: Creating phase is set when data protection is being enabled on the cluster.
- PENDING_DELETE: Pending delete is set when the data protection delete is being processed by the service.
- DELETING: Deleting the set when the data protection delete is in progress on the the cluster.
- READY: Ready phase is set when the data protection is successfully enabled.
- ERROR: Error phase is set when there was a failure while creating/deleting data protection.
- UPDATING: Updating is set when the data protection is being updated.
swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.Status.Phase.
const ( // VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED". VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase = "PHASE_UNSPECIFIED" // VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhasePENDING captures enum value "PENDING". VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhasePENDING VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase = "PENDING" // VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseCREATING captures enum value "CREATING". VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseCREATING VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase = "CREATING" // VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhasePENDINGDELETE captures enum value "PENDING_DELETE". VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhasePENDINGDELETE VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase = "PENDING_DELETE" // VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseDELETING captures enum value "DELETING". VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseDELETING VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase = "DELETING" // VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseREADY captures enum value "READY". VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseREADY VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase = "READY" // VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseERROR captures enum value "ERROR". VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseERROR VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase = "ERROR" // VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseUPDATING captures enum value "UPDATING". VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhaseUPDATING VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase = "UPDATING" )
func NewVmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase ¶
func NewVmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase(value VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase) *VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase
func (VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase) Pointer ¶
func (m VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase) Pointer() *VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase
Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1ClusterDataprotectionStatusPhase.