Documentation
¶
Overview ¶
+kcc:proto=google.cloud.backupdr.v1
+kubebuilder:object:generate=true +groupName=backupdr.cnrm.cloud.google.com
Index ¶
- Constants
- Variables
- type Any
- type BackupDRBackupPlan
- type BackupDRBackupPlanAssociation
- type BackupDRBackupPlanAssociationList
- type BackupDRBackupPlanAssociationObservedState
- type BackupDRBackupPlanAssociationSpec
- type BackupDRBackupPlanAssociationStatus
- type BackupDRBackupPlanList
- type BackupDRBackupPlanObservedState
- type BackupDRBackupPlanSpec
- type BackupDRBackupPlanStatus
- type BackupDRBackupVault
- type BackupDRBackupVaultList
- type BackupDRBackupVaultObservedState
- type BackupDRBackupVaultSpec
- type BackupDRBackupVaultStatus
- type BackupDRManagementServer
- type BackupDRManagementServerList
- type BackupDRManagementServerObservedState
- type BackupDRManagementServerSpec
- type BackupDRManagementServerStatus
- type BackupPlanAssociationIdentity
- func (in *BackupPlanAssociationIdentity) DeepCopy() *BackupPlanAssociationIdentity
- func (in *BackupPlanAssociationIdentity) DeepCopyInto(out *BackupPlanAssociationIdentity)
- func (i *BackupPlanAssociationIdentity) ID() string
- func (i *BackupPlanAssociationIdentity) Parent() *BackupPlanAssociationParent
- func (i *BackupPlanAssociationIdentity) String() string
- type BackupPlanAssociationParent
- type BackupPlanAssociationRef
- type BackupPlanIdentity
- type BackupPlanParent
- type BackupPlanRef
- type BackupRule
- type BackupVaultIdentity
- type BackupVaultParent
- type BackupVaultRef
- type BackupWindow
- type ManagementServerIdentity
- func (in *ManagementServerIdentity) DeepCopy() *ManagementServerIdentity
- func (in *ManagementServerIdentity) DeepCopyInto(out *ManagementServerIdentity)
- func (i *ManagementServerIdentity) ID() string
- func (i *ManagementServerIdentity) Parent() *ManagementServerParent
- func (i *ManagementServerIdentity) String() string
- type ManagementServerParent
- type ManagementServerRef
- type ManagementURIObservedState
- type NetworkConfig
- type Parent
- type Resource
- type RuleConfigInfo
- type RuleConfigInfoObservedState
- type StandardSchedule
- type Status
- type WeekDayOfMonth
- type WorkforceIdentityBasedManagementURI
- type WorkforceIdentityBasedManagementURIObservedState
- type WorkforceIdentityBasedOAuth2ClientIDObservedState
Constants ¶
const (
ResourceType_ComputeInstance = "compute.googleapis.com/Instance"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "backupdr.cnrm.cloud.google.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var BackupDRBackupPlanAssociationGVK = GroupVersion.WithKind("BackupDRBackupPlanAssociation")
var BackupDRBackupPlanGVK = GroupVersion.WithKind("BackupDRBackupPlan")
var BackupDRBackupVaultGVK = GroupVersion.WithKind("BackupDRBackupVault")
var BackupDRManagementServerGVK = GroupVersion.WithKind("BackupDRManagementServer")
Functions ¶
This section is empty.
Types ¶
type Any ¶
type Any struct { // A URL/resource name that uniquely identifies the type of the serialized // protocol buffer message. This string must contain at least // one "/" character. The last segment of the URL's path must represent // the fully qualified name of the type (as in // `path/google.protobuf.Duration`). The name should be in a canonical form // (e.g., leading "." is not accepted). // // In practice, teams usually precompile into the binary all types that they // expect it to use in the context of Any. However, for URLs which use the // scheme `http`, `https`, or no scheme, one can optionally set up a type // server that maps type URLs to message definitions as follows: // // * If no scheme is provided, `https` is assumed. // * An HTTP GET on the URL must yield a [google.protobuf.Type][] // value in binary format, or produce an error. // * Applications are allowed to cache lookup results based on the // URL, or have them precompiled into a binary to avoid any // lookup. Therefore, binary compatibility needs to be preserved // on changes to types. (Use versioned type names to manage // breaking changes.) // // Note: this functionality is not currently available in the official // protobuf release, and it is not used for type URLs beginning with // type.googleapis.com. // // Schemes other than `http`, `https` (or the empty scheme) might be // used with implementation specific semantics. // +kcc:proto:field=google.protobuf.Any.type_url TypeURL *string `json:"typeURL,omitempty"` // Must be a valid serialized protocol buffer of the above specified type. // +kcc:proto:field=google.protobuf.Any.value Value []byte `json:"value,omitempty"` }
+kcc:proto=google.protobuf.Any
func (*Any) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Any.
func (*Any) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupPlan ¶
type BackupDRBackupPlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec BackupDRBackupPlanSpec `json:"spec,omitempty"` Status BackupDRBackupPlanStatus `json:"status,omitempty"` }
BackupDRBackupPlan is the Schema for the BackupDRBackupPlan API +k8s:openapi-gen=true
func (*BackupDRBackupPlan) DeepCopy ¶
func (in *BackupDRBackupPlan) DeepCopy() *BackupDRBackupPlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlan.
func (*BackupDRBackupPlan) DeepCopyInto ¶
func (in *BackupDRBackupPlan) DeepCopyInto(out *BackupDRBackupPlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupDRBackupPlan) DeepCopyObject ¶
func (in *BackupDRBackupPlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupDRBackupPlanAssociation ¶
type BackupDRBackupPlanAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec BackupDRBackupPlanAssociationSpec `json:"spec,omitempty"` Status BackupDRBackupPlanAssociationStatus `json:"status,omitempty"` }
BackupDRBackupPlanAssociation is the Schema for the BackupDRBackupPlanAssociation API +k8s:openapi-gen=true
func (*BackupDRBackupPlanAssociation) DeepCopy ¶
func (in *BackupDRBackupPlanAssociation) DeepCopy() *BackupDRBackupPlanAssociation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanAssociation.
func (*BackupDRBackupPlanAssociation) DeepCopyInto ¶
func (in *BackupDRBackupPlanAssociation) DeepCopyInto(out *BackupDRBackupPlanAssociation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupDRBackupPlanAssociation) DeepCopyObject ¶
func (in *BackupDRBackupPlanAssociation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupDRBackupPlanAssociationList ¶
type BackupDRBackupPlanAssociationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupDRBackupPlanAssociation `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object BackupDRBackupPlanAssociationList contains a list of BackupDRBackupPlanAssociation
func (*BackupDRBackupPlanAssociationList) DeepCopy ¶
func (in *BackupDRBackupPlanAssociationList) DeepCopy() *BackupDRBackupPlanAssociationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanAssociationList.
func (*BackupDRBackupPlanAssociationList) DeepCopyInto ¶
func (in *BackupDRBackupPlanAssociationList) DeepCopyInto(out *BackupDRBackupPlanAssociationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupDRBackupPlanAssociationList) DeepCopyObject ¶
func (in *BackupDRBackupPlanAssociationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupDRBackupPlanAssociationObservedState ¶
type BackupDRBackupPlanAssociationObservedState struct { // Output only. The time when the instance was created. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlanAssociation.create_time CreateTime *string `json:"createTime,omitempty"` // Output only. The time when the instance was updated. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlanAssociation.update_time UpdateTime *string `json:"updateTime,omitempty"` // Output only. The BackupPlanAssociation resource state. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlanAssociation.state State *string `json:"state,omitempty"` // Output only. The config info related to backup rules. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlanAssociation.rules_config_info RulesConfigInfo []RuleConfigInfoObservedState `json:"rulesConfigInfo,omitempty"` // Output only. Resource name of data source which will be used as storage // location for backups taken. Format : // projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource} // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlanAssociation.data_source DataSource *string `json:"dataSource,omitempty"` }
BackupDRBackupPlanAssociationObservedState is the state of the BackupDRBackupPlanAssociation resource as most recently observed in GCP. +kcc:proto=google.cloud.backupdr.v1.BackupPlanAssociation
func (*BackupDRBackupPlanAssociationObservedState) DeepCopy ¶
func (in *BackupDRBackupPlanAssociationObservedState) DeepCopy() *BackupDRBackupPlanAssociationObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanAssociationObservedState.
func (*BackupDRBackupPlanAssociationObservedState) DeepCopyInto ¶
func (in *BackupDRBackupPlanAssociationObservedState) DeepCopyInto(out *BackupDRBackupPlanAssociationObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupPlanAssociationSpec ¶
type BackupDRBackupPlanAssociationSpec struct { // The BackupDRBackupPlanAssociation name. If not given, the metadata.name will be used. ResourceID *string `json:"resourceID,omitempty"` Parent `json:",inline"` // Required. Immutable. Resource type of workload on which backupplan is // applied // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlanAssociation.resource_type // +required ResourceType *string `json:"resourceType,omitempty"` // Required. Immutable. Resource name of workload on which backupplan is // applied // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlanAssociation.resource // +required Resource *Resource `json:"resource,omitempty"` // Required. The backup plan which needs to be applied on // workload. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlanAssociation.backup_plan // +required BackupPlanRef *BackupPlanRef `json:"backupPlanRef,omitempty"` }
BackupDRBackupPlanAssociationSpec defines the desired state of BackupDRBackupPlanAssociation +kcc:proto=google.cloud.backupdr.v1.BackupPlanAssociation
func (*BackupDRBackupPlanAssociationSpec) DeepCopy ¶
func (in *BackupDRBackupPlanAssociationSpec) DeepCopy() *BackupDRBackupPlanAssociationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanAssociationSpec.
func (*BackupDRBackupPlanAssociationSpec) DeepCopyInto ¶
func (in *BackupDRBackupPlanAssociationSpec) DeepCopyInto(out *BackupDRBackupPlanAssociationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupPlanAssociationStatus ¶
type BackupDRBackupPlanAssociationStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the BackupDRBackupPlanAssociation resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *BackupDRBackupPlanAssociationObservedState `json:"observedState,omitempty"` }
BackupDRBackupPlanAssociationStatus defines the config connector machine state of BackupDRBackupPlanAssociation
func (*BackupDRBackupPlanAssociationStatus) DeepCopy ¶
func (in *BackupDRBackupPlanAssociationStatus) DeepCopy() *BackupDRBackupPlanAssociationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanAssociationStatus.
func (*BackupDRBackupPlanAssociationStatus) DeepCopyInto ¶
func (in *BackupDRBackupPlanAssociationStatus) DeepCopyInto(out *BackupDRBackupPlanAssociationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupPlanList ¶
type BackupDRBackupPlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupDRBackupPlan `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object BackupDRBackupPlanList contains a list of BackupDRBackupPlan
func (*BackupDRBackupPlanList) DeepCopy ¶
func (in *BackupDRBackupPlanList) DeepCopy() *BackupDRBackupPlanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanList.
func (*BackupDRBackupPlanList) DeepCopyInto ¶
func (in *BackupDRBackupPlanList) DeepCopyInto(out *BackupDRBackupPlanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupDRBackupPlanList) DeepCopyObject ¶
func (in *BackupDRBackupPlanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupDRBackupPlanObservedState ¶
type BackupDRBackupPlanObservedState struct { // Output only. When the `BackupPlan` was created. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.create_time CreateTime *string `json:"createTime,omitempty"` // Output only. When the `BackupPlan` was last updated. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.update_time UpdateTime *string `json:"updateTime,omitempty"` // Output only. The `State` for the `BackupPlan`. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.state State *string `json:"state,omitempty"` // Output only. The Google Cloud Platform Service Account to be used by the // BackupVault for taking backups. Specify the email address of the Backup // Vault Service Account. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.backup_vault_service_account BackupVaultServiceAccount *string `json:"backupVaultServiceAccount,omitempty"` }
BackupDRBackupPlanObservedState is the state of the BackupDRBackupPlan resource as most recently observed in GCP. +kcc:proto=google.cloud.backupdr.v1.BackupPlan
func (*BackupDRBackupPlanObservedState) DeepCopy ¶
func (in *BackupDRBackupPlanObservedState) DeepCopy() *BackupDRBackupPlanObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanObservedState.
func (*BackupDRBackupPlanObservedState) DeepCopyInto ¶
func (in *BackupDRBackupPlanObservedState) DeepCopyInto(out *BackupDRBackupPlanObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupPlanSpec ¶
type BackupDRBackupPlanSpec struct { // The BackupDRBackupPlan name. If not given, the metadata.name will be used. ResourceID *string `json:"resourceID,omitempty"` Parent `json:",inline"` // Optional. The description of the `BackupPlan` resource. // // The description allows for additional details about `BackupPlan` and its // use cases to be provided. An example description is the following: "This // is a backup plan that performs a daily backup at 6pm and retains data for 3 // months". The description must be at most 2048 characters. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.description Description *string `json:"description,omitempty"` // Optional. This collection of key/value pairs allows for custom labels to be // supplied by the user. Example, {"tag": "Weekly"}. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.labels Labels map[string]string `json:"labels,omitempty"` // Required. The backup rules for this `BackupPlan`. There must be at least // one `BackupRule` message. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.backup_rules BackupRules []BackupRule `json:"backupRules,omitempty"` // Required. The resource type to which the `BackupPlan` will be applied. // Examples include, "compute.googleapis.com/Instance", // "sqladmin.googleapis.com/Instance", or "alloydb.googleapis.com/Cluster". // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.resource_type ResourceType *string `json:"resourceType,omitempty"` // Optional. `etag` is returned from the service in the response. As a user of // the service, you may provide an etag value in this field to prevent stale // resources. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.etag Etag *string `json:"etag,omitempty"` // Required. Resource name of backup vault which will be used as storage // location for backups. // +kcc:proto:field=google.cloud.backupdr.v1.BackupPlan.backup_vault // +required BackupVaultRef *BackupVaultRef `json:"backupVaultRef,omitempty"` }
BackupDRBackupPlanSpec defines the desired state of BackupDRBackupPlan +kcc:proto=google.cloud.backupdr.v1.BackupPlan
func (*BackupDRBackupPlanSpec) DeepCopy ¶
func (in *BackupDRBackupPlanSpec) DeepCopy() *BackupDRBackupPlanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanSpec.
func (*BackupDRBackupPlanSpec) DeepCopyInto ¶
func (in *BackupDRBackupPlanSpec) DeepCopyInto(out *BackupDRBackupPlanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupPlanStatus ¶
type BackupDRBackupPlanStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the BackupDRBackupPlan resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *BackupDRBackupPlanObservedState `json:"observedState,omitempty"` }
BackupDRBackupPlanStatus defines the config connector machine state of BackupDRBackupPlan
func (*BackupDRBackupPlanStatus) DeepCopy ¶
func (in *BackupDRBackupPlanStatus) DeepCopy() *BackupDRBackupPlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupPlanStatus.
func (*BackupDRBackupPlanStatus) DeepCopyInto ¶
func (in *BackupDRBackupPlanStatus) DeepCopyInto(out *BackupDRBackupPlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupVault ¶
type BackupDRBackupVault struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec BackupDRBackupVaultSpec `json:"spec,omitempty"` Status BackupDRBackupVaultStatus `json:"status,omitempty"` }
BackupDRBackupVault is the Schema for the BackupDRBackupVault API +k8s:openapi-gen=true
func (*BackupDRBackupVault) DeepCopy ¶
func (in *BackupDRBackupVault) DeepCopy() *BackupDRBackupVault
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupVault.
func (*BackupDRBackupVault) DeepCopyInto ¶
func (in *BackupDRBackupVault) DeepCopyInto(out *BackupDRBackupVault)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupDRBackupVault) DeepCopyObject ¶
func (in *BackupDRBackupVault) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupDRBackupVaultList ¶
type BackupDRBackupVaultList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupDRBackupVault `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object BackupDRBackupVaultList contains a list of BackupDRBackupVault
func (*BackupDRBackupVaultList) DeepCopy ¶
func (in *BackupDRBackupVaultList) DeepCopy() *BackupDRBackupVaultList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupVaultList.
func (*BackupDRBackupVaultList) DeepCopyInto ¶
func (in *BackupDRBackupVaultList) DeepCopyInto(out *BackupDRBackupVaultList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupDRBackupVaultList) DeepCopyObject ¶
func (in *BackupDRBackupVaultList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupDRBackupVaultObservedState ¶
type BackupDRBackupVaultObservedState struct { // Output only. The time when the instance was created. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.create_time CreateTime *string `json:"createTime,omitempty"` // Output only. The time when the instance was updated. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.update_time UpdateTime *string `json:"updateTime,omitempty"` // Output only. Set to true when there are no backups nested under this // resource. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.deletable Deletable *bool `json:"deletable,omitempty"` // Output only. The BackupVault resource instance state. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.state State *string `json:"state,omitempty"` // Output only. The number of backups in this backup vault. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.backup_count BackupCount *int64 `json:"backupCount,omitempty"` // Output only. Service account used by the BackupVault Service for this // BackupVault. The user should grant this account permissions in their // workload project to enable the service to run backups and restores there. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.service_account ServiceAccount *string `json:"serviceAccount,omitempty"` // Output only. Total size of the storage used by all backup resources. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.total_stored_bytes TotalStoredBytes *int64 `json:"totalStoredBytes,omitempty"` // Output only. Immutable after resource creation until resource deletion. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.uid UID *string `json:"uid,omitempty"` }
BackupDRBackupVaultObservedState is the state of the BackupDRBackupVault resource as most recently observed in GCP. +kcc:proto=google.cloud.backupdr.v1.BackupVault
func (*BackupDRBackupVaultObservedState) DeepCopy ¶
func (in *BackupDRBackupVaultObservedState) DeepCopy() *BackupDRBackupVaultObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupVaultObservedState.
func (*BackupDRBackupVaultObservedState) DeepCopyInto ¶
func (in *BackupDRBackupVaultObservedState) DeepCopyInto(out *BackupDRBackupVaultObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupVaultSpec ¶
type BackupDRBackupVaultSpec struct { // The BackupDRBackupVault name. If not given, the metadata.name will be used. ResourceID *string `json:"resourceID,omitempty"` Parent `json:",inline"` // Optional. The description of the BackupVault instance (2048 characters or // less). // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.description Description *string `json:"description,omitempty"` // Optional. Resource labels to represent user provided metadata. // No labels currently defined: // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.labels Labels map[string]string `json:"labels,omitempty"` // Required. The default and minimum enforced retention for each backup within // the backup vault. The enforced retention for each backup can be extended. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.backup_minimum_enforced_retention_duration // +required BackupMinimumEnforcedRetentionDuration *string `json:"backupMinimumEnforcedRetentionDuration,omitempty"` // Optional. Server specified ETag for the backup vault resource to // prevent simultaneous updates from overwiting each other. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.etag Etag *string `json:"etag,omitempty"` // Optional. Time after which the BackupVault resource is locked. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.effective_time EffectiveTime *string `json:"effectiveTime,omitempty"` // Optional. User annotations. See https://google.aip.dev/128#annotations // Stores small amounts of arbitrary data. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.annotations Annotations map[string]string `json:"annotations,omitempty"` // Optional. Note: This field is added for future use case and will not be // supported in the current release. // // Access restriction for the backup vault. // Default value is WITHIN_ORGANIZATION if not provided during creation. // +kcc:proto:field=google.cloud.backupdr.v1.BackupVault.access_restriction AccessRestriction *string `json:"accessRestriction,omitempty"` // Optional. If set to true, allows deletion of a backup vault even when it contains inactive data sources. // This overrides the default restriction that prevents deletion of backup vaults with any // data sources, even if those data sources are inactive. IgnoreInactiveDatasources *bool `json:"ignoreInactiveDatasources,omitempty"` }
BackupDRBackupVaultSpec defines the desired state of BackupDRBackupVault +kcc:proto=google.cloud.backupdr.v1.BackupVault
func (*BackupDRBackupVaultSpec) DeepCopy ¶
func (in *BackupDRBackupVaultSpec) DeepCopy() *BackupDRBackupVaultSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupVaultSpec.
func (*BackupDRBackupVaultSpec) DeepCopyInto ¶
func (in *BackupDRBackupVaultSpec) DeepCopyInto(out *BackupDRBackupVaultSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRBackupVaultStatus ¶
type BackupDRBackupVaultStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the BackupDRBackupVault resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *BackupDRBackupVaultObservedState `json:"observedState,omitempty"` }
BackupDRBackupVaultStatus defines the config connector machine state of BackupDRBackupVault
func (*BackupDRBackupVaultStatus) DeepCopy ¶
func (in *BackupDRBackupVaultStatus) DeepCopy() *BackupDRBackupVaultStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRBackupVaultStatus.
func (*BackupDRBackupVaultStatus) DeepCopyInto ¶
func (in *BackupDRBackupVaultStatus) DeepCopyInto(out *BackupDRBackupVaultStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRManagementServer ¶
type BackupDRManagementServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec BackupDRManagementServerSpec `json:"spec,omitempty"` Status BackupDRManagementServerStatus `json:"status,omitempty"` }
BackupDRManagementServer is the Schema for the BackupDRManagementServer API +k8s:openapi-gen=true
func (*BackupDRManagementServer) DeepCopy ¶
func (in *BackupDRManagementServer) DeepCopy() *BackupDRManagementServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRManagementServer.
func (*BackupDRManagementServer) DeepCopyInto ¶
func (in *BackupDRManagementServer) DeepCopyInto(out *BackupDRManagementServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupDRManagementServer) DeepCopyObject ¶
func (in *BackupDRManagementServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupDRManagementServerList ¶
type BackupDRManagementServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupDRManagementServer `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object BackupDRManagementServerList contains a list of BackupDRManagementServer
func (*BackupDRManagementServerList) DeepCopy ¶
func (in *BackupDRManagementServerList) DeepCopy() *BackupDRManagementServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRManagementServerList.
func (*BackupDRManagementServerList) DeepCopyInto ¶
func (in *BackupDRManagementServerList) DeepCopyInto(out *BackupDRManagementServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupDRManagementServerList) DeepCopyObject ¶
func (in *BackupDRManagementServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupDRManagementServerObservedState ¶
type BackupDRManagementServerObservedState struct { // Output only. The time when the instance was created. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.create_time CreateTime *string `json:"createTime,omitempty"` // Output only. The time when the instance was updated. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.update_time UpdateTime *string `json:"updateTime,omitempty"` // Output only. The hostname or ip address of the exposed AGM endpoints, used // by clients to connect to AGM/RD graphical user interface and APIs. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.management_uri ManagementURI *ManagementURIObservedState `json:"managementURI,omitempty"` // Output only. The hostnames of the exposed AGM endpoints for both types of // user i.e. 1p and 3p, used to connect AGM/RM UI. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.workforce_identity_based_management_uri WorkforceIdentityBasedManagementURI *WorkforceIdentityBasedManagementURIObservedState `json:"workforceIdentityBasedManagementURI,omitempty"` // Output only. The ManagementServer state. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.state State *string `json:"state,omitempty"` // Output only. The OAuth 2.0 client id is required to make API calls to the // BackupDR instance API of this ManagementServer. This is the value that // should be provided in the 'aud' field of the OIDC ID Token (see openid // specification // https://openid.net/specs/openid-connect-core-1_0.html#IDToken). // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.oauth2_client_id OAuth2ClientID *string `json:"oauth2ClientID,omitempty"` // Output only. The OAuth client IDs for both types of user i.e. 1p and 3p. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.workforce_identity_based_oauth2_client_id WorkforceIdentityBasedOAuth2ClientID *WorkforceIdentityBasedOAuth2ClientIDObservedState `json:"workforceIdentityBasedOAuth2ClientID,omitempty"` // Output only. The hostname or ip address of the exposed AGM endpoints, used // by BAs to connect to BA proxy. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.ba_proxy_uri BAProxyURIs []string `json:"baProxyURIs,omitempty"` }
BackupDRManagementServerObservedState is the state of the BackupDRManagementServer resource as most recently observed in GCP. +kcc:proto=google.cloud.backupdr.v1.ManagementServer
func (*BackupDRManagementServerObservedState) DeepCopy ¶
func (in *BackupDRManagementServerObservedState) DeepCopy() *BackupDRManagementServerObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRManagementServerObservedState.
func (*BackupDRManagementServerObservedState) DeepCopyInto ¶
func (in *BackupDRManagementServerObservedState) DeepCopyInto(out *BackupDRManagementServerObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRManagementServerSpec ¶
type BackupDRManagementServerSpec struct { Parent `json:",inline"` // The BackupDRManagementServer name. If not given, the metadata.name will be used. ResourceID *string `json:"resourceID,omitempty"` // Optional. The description of the ManagementServer instance (2048 characters // or less). // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.description Description *string `json:"description,omitempty"` // Optional. Resource labels to represent user provided metadata. // Labels currently defined: // 1. migrate_from_go=<false|true> // If set to true, the MS is created in migration ready mode. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.labels Labels map[string]string `json:"labels,omitempty"` // Optional. The type of the ManagementServer resource. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.type Type *string `json:"type,omitempty"` // Optional. VPC networks to which the ManagementServer instance is connected. // For this version, only a single network is supported. This field is // optional if MS is created without PSA // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.networks Networks []NetworkConfig `json:"networks,omitempty"` // Optional. Server specified ETag for the ManagementServer resource to // prevent simultaneous updates from overwiting each other. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementServer.etag Etag *string `json:"etag,omitempty"` }
BackupDRManagementServerSpec defines the desired state of BackupDRManagementServer +kcc:proto=google.cloud.backupdr.v1.ManagementServer
func (*BackupDRManagementServerSpec) DeepCopy ¶
func (in *BackupDRManagementServerSpec) DeepCopy() *BackupDRManagementServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRManagementServerSpec.
func (*BackupDRManagementServerSpec) DeepCopyInto ¶
func (in *BackupDRManagementServerSpec) DeepCopyInto(out *BackupDRManagementServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupDRManagementServerStatus ¶
type BackupDRManagementServerStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the BackupDRManagementServer resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *BackupDRManagementServerObservedState `json:"observedState,omitempty"` }
BackupDRManagementServerStatus defines the config connector machine state of BackupDRManagementServer
func (*BackupDRManagementServerStatus) DeepCopy ¶
func (in *BackupDRManagementServerStatus) DeepCopy() *BackupDRManagementServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDRManagementServerStatus.
func (*BackupDRManagementServerStatus) DeepCopyInto ¶
func (in *BackupDRManagementServerStatus) DeepCopyInto(out *BackupDRManagementServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupPlanAssociationIdentity ¶
type BackupPlanAssociationIdentity struct {
// contains filtered or unexported fields
}
BackupPlanAssociationIdentity defines the resource reference to BackupDRBackupPlanAssociation, which "External" field holds the GCP identifier for the KRM object.
func NewBackupPlanAssociationIdentity ¶
func NewBackupPlanAssociationIdentity(ctx context.Context, reader client.Reader, obj *BackupDRBackupPlanAssociation) (*BackupPlanAssociationIdentity, error)
New builds a BackupPlanAssociationIdentity from the Config Connector BackupPlanAssociation object.
func (*BackupPlanAssociationIdentity) DeepCopy ¶
func (in *BackupPlanAssociationIdentity) DeepCopy() *BackupPlanAssociationIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanAssociationIdentity.
func (*BackupPlanAssociationIdentity) DeepCopyInto ¶
func (in *BackupPlanAssociationIdentity) DeepCopyInto(out *BackupPlanAssociationIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPlanAssociationIdentity) ID ¶
func (i *BackupPlanAssociationIdentity) ID() string
func (*BackupPlanAssociationIdentity) Parent ¶
func (i *BackupPlanAssociationIdentity) Parent() *BackupPlanAssociationParent
func (*BackupPlanAssociationIdentity) String ¶
func (i *BackupPlanAssociationIdentity) String() string
type BackupPlanAssociationParent ¶
func ParseBackupPlanAssociationExternal ¶
func ParseBackupPlanAssociationExternal(external string) (parent *BackupPlanAssociationParent, resourceID string, err error)
func (*BackupPlanAssociationParent) DeepCopy ¶
func (in *BackupPlanAssociationParent) DeepCopy() *BackupPlanAssociationParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanAssociationParent.
func (*BackupPlanAssociationParent) DeepCopyInto ¶
func (in *BackupPlanAssociationParent) DeepCopyInto(out *BackupPlanAssociationParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPlanAssociationParent) String ¶
func (p *BackupPlanAssociationParent) String() string
type BackupPlanAssociationRef ¶
type BackupPlanAssociationRef struct { // A reference to an externally managed BackupDRBackupPlanAssociation resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/backupPlanAssociations/{{backupplanassociationID}}". External string `json:"external,omitempty"` // The name of a BackupDRBackupPlanAssociation resource. Name string `json:"name,omitempty"` // The namespace of a BackupDRBackupPlanAssociation resource. Namespace string `json:"namespace,omitempty"` }
BackupPlanAssociationRef defines the resource reference to BackupDRBackupPlanAssociation, which "External" field holds the GCP identifier for the KRM object.
func (*BackupPlanAssociationRef) DeepCopy ¶
func (in *BackupPlanAssociationRef) DeepCopy() *BackupPlanAssociationRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanAssociationRef.
func (*BackupPlanAssociationRef) DeepCopyInto ¶
func (in *BackupPlanAssociationRef) DeepCopyInto(out *BackupPlanAssociationRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPlanAssociationRef) NormalizedExternal ¶
func (r *BackupPlanAssociationRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on BackupDRBackupPlanAssociation. If the "External" is given in the other resource's spec.BackupDRBackupPlanAssociationRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual BackupDRBackupPlanAssociation object from the cluster.
type BackupPlanIdentity ¶
type BackupPlanIdentity struct {
// contains filtered or unexported fields
}
BackupPlanIdentity defines the resource reference to BackupDRBackupPlan, which "External" field holds the GCP identifier for the KRM object.
func NewBackupPlanIdentity ¶
func NewBackupPlanIdentity(ctx context.Context, reader client.Reader, obj *BackupDRBackupPlan) (*BackupPlanIdentity, error)
New builds a BackupPlanIdentity from the Config Connector BackupPlan object.
func (*BackupPlanIdentity) DeepCopy ¶
func (in *BackupPlanIdentity) DeepCopy() *BackupPlanIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanIdentity.
func (*BackupPlanIdentity) DeepCopyInto ¶
func (in *BackupPlanIdentity) DeepCopyInto(out *BackupPlanIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPlanIdentity) ID ¶
func (i *BackupPlanIdentity) ID() string
func (*BackupPlanIdentity) Parent ¶
func (i *BackupPlanIdentity) Parent() *BackupPlanParent
func (*BackupPlanIdentity) String ¶
func (i *BackupPlanIdentity) String() string
type BackupPlanParent ¶
func ParseBackupPlanExternal ¶
func ParseBackupPlanExternal(external string) (parent *BackupPlanParent, resourceID string, err error)
func (*BackupPlanParent) DeepCopy ¶
func (in *BackupPlanParent) DeepCopy() *BackupPlanParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanParent.
func (*BackupPlanParent) DeepCopyInto ¶
func (in *BackupPlanParent) DeepCopyInto(out *BackupPlanParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPlanParent) String ¶
func (p *BackupPlanParent) String() string
type BackupPlanRef ¶
type BackupPlanRef struct { // A reference to an externally managed BackupDRBackupPlan resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/backupplans/{{backupplanID}}". External string `json:"external,omitempty"` // The name of a BackupDRBackupPlan resource. Name string `json:"name,omitempty"` // The namespace of a BackupDRBackupPlan resource. Namespace string `json:"namespace,omitempty"` }
BackupPlanRef defines the resource reference to BackupDRBackupPlan, which "External" field holds the GCP identifier for the KRM object.
func (*BackupPlanRef) DeepCopy ¶
func (in *BackupPlanRef) DeepCopy() *BackupPlanRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanRef.
func (*BackupPlanRef) DeepCopyInto ¶
func (in *BackupPlanRef) DeepCopyInto(out *BackupPlanRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPlanRef) NormalizedExternal ¶
func (r *BackupPlanRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on BackupDRBackupPlan. If the "External" is given in the other resource's spec.BackupDRBackupPlanRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual BackupDRBackupPlan object from the cluster.
type BackupRule ¶
type BackupRule struct { // Required. Immutable. The unique id of this `BackupRule`. The `rule_id` is // unique per `BackupPlan`.The `rule_id` must start with a lowercase letter // followed by up to 62 lowercase letters, numbers, or hyphens. Pattern, // /[a-z][a-z0-9-]{,62}/. // +kcc:proto:field=google.cloud.backupdr.v1.BackupRule.rule_id RuleID *string `json:"ruleID,omitempty"` // Required. Configures the duration for which backup data will be kept. It is // defined in “days”. The value should be greater than or equal to minimum // enforced retention of the backup vault. // // Minimum value is 1 and maximum value is 90 for hourly backups. // Minimum value is 1 and maximum value is 90 for daily backups. // Minimum value is 7 and maximum value is 186 for weekly backups. // Minimum value is 30 and maximum value is 732 for monthly backups. // Minimum value is 365 and maximum value is 36159 for yearly backups. // +kcc:proto:field=google.cloud.backupdr.v1.BackupRule.backup_retention_days BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"` // Required. Defines a schedule that runs within the confines of a defined // window of time. // +kcc:proto:field=google.cloud.backupdr.v1.BackupRule.standard_schedule StandardSchedule *StandardSchedule `json:"standardSchedule,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.BackupRule
func (*BackupRule) DeepCopy ¶
func (in *BackupRule) DeepCopy() *BackupRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRule.
func (*BackupRule) DeepCopyInto ¶
func (in *BackupRule) DeepCopyInto(out *BackupRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupVaultIdentity ¶
type BackupVaultIdentity struct {
// contains filtered or unexported fields
}
BackupVaultIdentity defines the resource reference to BackupDRBackupVault, which "External" field holds the GCP identifier for the KRM object.
func NewBackupVaultIdentity ¶
func NewBackupVaultIdentity(ctx context.Context, reader client.Reader, obj *BackupDRBackupVault) (*BackupVaultIdentity, error)
New builds a BackupVaultIdentity from the Config Connector BackupVault object.
func (*BackupVaultIdentity) DeepCopy ¶
func (in *BackupVaultIdentity) DeepCopy() *BackupVaultIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupVaultIdentity.
func (*BackupVaultIdentity) DeepCopyInto ¶
func (in *BackupVaultIdentity) DeepCopyInto(out *BackupVaultIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupVaultIdentity) ID ¶
func (i *BackupVaultIdentity) ID() string
func (*BackupVaultIdentity) Parent ¶
func (i *BackupVaultIdentity) Parent() *BackupVaultParent
func (*BackupVaultIdentity) String ¶
func (i *BackupVaultIdentity) String() string
type BackupVaultParent ¶
func ParseBackupVaultExternal ¶
func ParseBackupVaultExternal(external string) (parent *BackupVaultParent, resourceID string, err error)
func (*BackupVaultParent) DeepCopy ¶
func (in *BackupVaultParent) DeepCopy() *BackupVaultParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupVaultParent.
func (*BackupVaultParent) DeepCopyInto ¶
func (in *BackupVaultParent) DeepCopyInto(out *BackupVaultParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupVaultParent) String ¶
func (p *BackupVaultParent) String() string
type BackupVaultRef ¶
type BackupVaultRef struct { // A reference to an externally managed BackupDRBackupVault resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/backupVaults/{{backupvaultID}}". External string `json:"external,omitempty"` // The name of a BackupDRBackupVault resource. Name string `json:"name,omitempty"` // The namespace of a BackupDRBackupVault resource. Namespace string `json:"namespace,omitempty"` }
BackupVaultRef defines the resource reference to BackupDRBackupVault, which "External" field holds the GCP identifier for the KRM object.
func (*BackupVaultRef) DeepCopy ¶
func (in *BackupVaultRef) DeepCopy() *BackupVaultRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupVaultRef.
func (*BackupVaultRef) DeepCopyInto ¶
func (in *BackupVaultRef) DeepCopyInto(out *BackupVaultRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupVaultRef) NormalizedExternal ¶
func (r *BackupVaultRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on BackupDRBackupVault. If the "External" is given in the other resource's spec.BackupDRBackupVaultRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual BackupDRBackupVault object from the cluster.
type BackupWindow ¶
type BackupWindow struct { // Required. The hour of day (0-23) when the window starts for e.g. if value // of start hour of day is 6 that mean backup window start at 6:00. // +kcc:proto:field=google.cloud.backupdr.v1.BackupWindow.start_hour_of_day StartHourOfDay *int32 `json:"startHourOfDay,omitempty"` // Required. The hour of day (1-24) when the window end for e.g. if value of // end hour of day is 10 that mean backup window end time is 10:00. // // End hour of day should be greater than start hour of day. // 0 <= start_hour_of_day < end_hour_of_day <= 24 // // End hour of day is not include in backup window that mean if // end_hour_of_day= 10 jobs should start before 10:00. // +kcc:proto:field=google.cloud.backupdr.v1.BackupWindow.end_hour_of_day EndHourOfDay *int32 `json:"endHourOfDay,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.BackupWindow
func (*BackupWindow) DeepCopy ¶
func (in *BackupWindow) DeepCopy() *BackupWindow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupWindow.
func (*BackupWindow) DeepCopyInto ¶
func (in *BackupWindow) DeepCopyInto(out *BackupWindow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementServerIdentity ¶
type ManagementServerIdentity struct {
// contains filtered or unexported fields
}
ManagementServerIdentity defines the resource reference to BackupDRManagementServer, which "External" field holds the GCP identifier for the KRM object.
func NewManagementServerIdentity ¶
func NewManagementServerIdentity(ctx context.Context, reader client.Reader, obj *BackupDRManagementServer) (*ManagementServerIdentity, error)
New builds a ManagementServerIdentity from the Config Connector ManagementServer object.
func (*ManagementServerIdentity) DeepCopy ¶
func (in *ManagementServerIdentity) DeepCopy() *ManagementServerIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementServerIdentity.
func (*ManagementServerIdentity) DeepCopyInto ¶
func (in *ManagementServerIdentity) DeepCopyInto(out *ManagementServerIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementServerIdentity) ID ¶
func (i *ManagementServerIdentity) ID() string
func (*ManagementServerIdentity) Parent ¶
func (i *ManagementServerIdentity) Parent() *ManagementServerParent
func (*ManagementServerIdentity) String ¶
func (i *ManagementServerIdentity) String() string
type ManagementServerParent ¶
func ParseManagementServerExternal ¶
func ParseManagementServerExternal(external string) (parent *ManagementServerParent, resourceID string, err error)
func (*ManagementServerParent) DeepCopy ¶
func (in *ManagementServerParent) DeepCopy() *ManagementServerParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementServerParent.
func (*ManagementServerParent) DeepCopyInto ¶
func (in *ManagementServerParent) DeepCopyInto(out *ManagementServerParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementServerParent) String ¶
func (p *ManagementServerParent) String() string
type ManagementServerRef ¶
type ManagementServerRef struct { // A reference to an externally managed BackupDRManagementServer resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/managementservers/{{managementserverID}}". External string `json:"external,omitempty"` // The name of a BackupDRManagementServer resource. Name string `json:"name,omitempty"` // The namespace of a BackupDRManagementServer resource. Namespace string `json:"namespace,omitempty"` }
ManagementServerRef defines the resource reference to BackupDRManagementServer, which "External" field holds the GCP identifier for the KRM object.
func (*ManagementServerRef) DeepCopy ¶
func (in *ManagementServerRef) DeepCopy() *ManagementServerRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementServerRef.
func (*ManagementServerRef) DeepCopyInto ¶
func (in *ManagementServerRef) DeepCopyInto(out *ManagementServerRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementServerRef) NormalizedExternal ¶
func (r *ManagementServerRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on BackupDRManagementServer. If the "External" is given in the other resource's spec.BackupDRManagementServerRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual BackupDRManagementServer object from the cluster.
type ManagementURIObservedState ¶
type ManagementURIObservedState struct { // Output only. The ManagementServer AGM/RD WebUI URL. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementURI.web_ui WebUI *string `json:"webUI,omitempty"` // Output only. The ManagementServer AGM/RD API URL. // +kcc:proto:field=google.cloud.backupdr.v1.ManagementURI.api API *string `json:"api,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.ManagementURI
func (*ManagementURIObservedState) DeepCopy ¶
func (in *ManagementURIObservedState) DeepCopy() *ManagementURIObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementURIObservedState.
func (*ManagementURIObservedState) DeepCopyInto ¶
func (in *ManagementURIObservedState) DeepCopyInto(out *ManagementURIObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfig ¶
type NetworkConfig struct { // Optional. The resource name of the Google Compute Engine VPC network to // which the ManagementServer instance is connected. // +kcc:proto:field=google.cloud.backupdr.v1.NetworkConfig.network NetworkRef *refsv1beta1.ComputeNetworkRef `json:"networkRef,omitempty"` // Optional. The network connect mode of the ManagementServer instance. For // this version, only PRIVATE_SERVICE_ACCESS is supported. // +kcc:proto:field=google.cloud.backupdr.v1.NetworkConfig.peering_mode PeeringMode *string `json:"peeringMode,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.NetworkConfig
func (*NetworkConfig) DeepCopy ¶
func (in *NetworkConfig) DeepCopy() *NetworkConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfig.
func (*NetworkConfig) DeepCopyInto ¶
func (in *NetworkConfig) DeepCopyInto(out *NetworkConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Parent ¶
type Parent struct { // +required ProjectRef *refsv1beta1.ProjectRef `json:"projectRef"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Location field is immutable" // Immutable. // +required Location string `json:"location"` }
func (*Parent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parent.
func (*Parent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resource ¶
type Resource struct {
ComputeInstanceRef *compute.InstanceRef `json:"computeInstanceRef,omitempty"`
}
func (*Resource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleConfigInfo ¶
type RuleConfigInfo struct { }
+kcc:proto=google.cloud.backupdr.v1.RuleConfigInfo
func (*RuleConfigInfo) DeepCopy ¶
func (in *RuleConfigInfo) DeepCopy() *RuleConfigInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleConfigInfo.
func (*RuleConfigInfo) DeepCopyInto ¶
func (in *RuleConfigInfo) DeepCopyInto(out *RuleConfigInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleConfigInfoObservedState ¶
type RuleConfigInfoObservedState struct { // Output only. Backup Rule id fetched from backup plan. // +kcc:proto:field=google.cloud.backupdr.v1.RuleConfigInfo.rule_id RuleID *string `json:"ruleID,omitempty"` // Output only. The last backup state for rule. // +kcc:proto:field=google.cloud.backupdr.v1.RuleConfigInfo.last_backup_state LastBackupState *string `json:"lastBackupState,omitempty"` // Output only. google.rpc.Status object to store the last backup error. // +kcc:proto:field=google.cloud.backupdr.v1.RuleConfigInfo.last_backup_error LastBackupError *Status `json:"lastBackupError,omitempty"` // Output only. The point in time when the last successful backup was captured // from the source. // +kcc:proto:field=google.cloud.backupdr.v1.RuleConfigInfo.last_successful_backup_consistency_time LastSuccessfulBackupConsistencyTime *string `json:"lastSuccessfulBackupConsistencyTime,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.RuleConfigInfo
func (*RuleConfigInfoObservedState) DeepCopy ¶
func (in *RuleConfigInfoObservedState) DeepCopy() *RuleConfigInfoObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleConfigInfoObservedState.
func (*RuleConfigInfoObservedState) DeepCopyInto ¶
func (in *RuleConfigInfoObservedState) DeepCopyInto(out *RuleConfigInfoObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StandardSchedule ¶
type StandardSchedule struct { // Required. Specifies the `RecurrenceType` for the schedule. // +kcc:proto:field=google.cloud.backupdr.v1.StandardSchedule.recurrence_type RecurrenceType *string `json:"recurrenceType,omitempty"` // Optional. Specifies frequency for hourly backups. A hourly frequency of 2 // means jobs will run every 2 hours from start time till end time defined. // // This is required for `recurrence_type`, `HOURLY` and is not applicable // otherwise. A validation error will occur if a value is supplied and // `recurrence_type` is not `HOURLY`. // // Value of hourly frequency should be between 6 and 23. // // Reason for limit : We found that there is bandwidth limitation of 3GB/S for // GMI while taking a backup and 5GB/S while doing a restore. Given the amount // of parallel backups and restore we are targeting, this will potentially // take the backup time to mins and hours (in worst case scenario). // +kcc:proto:field=google.cloud.backupdr.v1.StandardSchedule.hourly_frequency HourlyFrequency *int32 `json:"hourlyFrequency,omitempty"` // Optional. Specifies days of week like, MONDAY or TUESDAY, on which jobs // will run. // // This is required for `recurrence_type`, `WEEKLY` and is not applicable // otherwise. A validation error will occur if a value is supplied and // `recurrence_type` is not `WEEKLY`. // +kcc:proto:field=google.cloud.backupdr.v1.StandardSchedule.days_of_week DaysOfWeek []string `json:"daysOfWeek,omitempty"` // Optional. Specifies days of months like 1, 5, or 14 on which jobs will run. // // Values for `days_of_month` are only applicable for `recurrence_type`, // `MONTHLY` and `YEARLY`. A validation error will occur if other values are // supplied. // +kcc:proto:field=google.cloud.backupdr.v1.StandardSchedule.days_of_month DaysOfMonth []int32 `json:"daysOfMonth,omitempty"` // Optional. Specifies a week day of the month like, FIRST SUNDAY or LAST // MONDAY, on which jobs will run. This will be specified by two fields in // `WeekDayOfMonth`, one for the day, e.g. `MONDAY`, and one for the week, // e.g. `LAST`. // // This field is only applicable for `recurrence_type`, `MONTHLY` and // `YEARLY`. A validation error will occur if other values are supplied. // +kcc:proto:field=google.cloud.backupdr.v1.StandardSchedule.week_day_of_month WeekDayOfMonth *WeekDayOfMonth `json:"weekDayOfMonth,omitempty"` // Optional. Specifies the months of year, like `FEBRUARY` and/or `MAY`, on // which jobs will run. // // This field is only applicable when `recurrence_type` is `YEARLY`. A // validation error will occur if other values are supplied. // +kcc:proto:field=google.cloud.backupdr.v1.StandardSchedule.months Months []string `json:"months,omitempty"` // Required. A BackupWindow defines the window of day during which backup jobs // will run. Jobs are queued at the beginning of the window and will be marked // as `NOT_RUN` if they do not start by the end of the window. // // Note: running jobs will not be cancelled at the end of the window. // +kcc:proto:field=google.cloud.backupdr.v1.StandardSchedule.backup_window BackupWindow *BackupWindow `json:"backupWindow,omitempty"` // Required. The time zone to be used when interpreting the schedule. // The value of this field must be a time zone name from the IANA tz database. // See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the // list of valid timezone names. For e.g., Europe/Paris. // +kcc:proto:field=google.cloud.backupdr.v1.StandardSchedule.time_zone TimeZone *string `json:"timeZone,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.StandardSchedule
func (*StandardSchedule) DeepCopy ¶
func (in *StandardSchedule) DeepCopy() *StandardSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StandardSchedule.
func (*StandardSchedule) DeepCopyInto ¶
func (in *StandardSchedule) DeepCopyInto(out *StandardSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Status ¶
type Status struct { // The status code, which should be an enum value of // [google.rpc.Code][google.rpc.Code]. // +kcc:proto:field=google.rpc.Status.code Code *int32 `json:"code,omitempty"` // A developer-facing error message, which should be in English. Any // user-facing error message should be localized and sent in the // [google.rpc.Status.details][google.rpc.Status.details] field, or localized // by the client. // +kcc:proto:field=google.rpc.Status.message Message *string `json:"message,omitempty"` // A list of messages that carry the error details. There is a common set of // message types for APIs to use. // +kcc:proto:field=google.rpc.Status.details Details []Any `json:"details,omitempty"` }
+kcc:proto=google.rpc.Status
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeekDayOfMonth ¶
type WeekDayOfMonth struct { // Required. Specifies the week of the month. // +kcc:proto:field=google.cloud.backupdr.v1.WeekDayOfMonth.week_of_month WeekOfMonth *string `json:"weekOfMonth,omitempty"` // Required. Specifies the day of the week. // +kcc:proto:field=google.cloud.backupdr.v1.WeekDayOfMonth.day_of_week DayOfWeek *string `json:"dayOfWeek,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.WeekDayOfMonth
func (*WeekDayOfMonth) DeepCopy ¶
func (in *WeekDayOfMonth) DeepCopy() *WeekDayOfMonth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeekDayOfMonth.
func (*WeekDayOfMonth) DeepCopyInto ¶
func (in *WeekDayOfMonth) DeepCopyInto(out *WeekDayOfMonth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkforceIdentityBasedManagementURI ¶
type WorkforceIdentityBasedManagementURI struct { }
+kcc:proto=google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI
func (*WorkforceIdentityBasedManagementURI) DeepCopy ¶
func (in *WorkforceIdentityBasedManagementURI) DeepCopy() *WorkforceIdentityBasedManagementURI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkforceIdentityBasedManagementURI.
func (*WorkforceIdentityBasedManagementURI) DeepCopyInto ¶
func (in *WorkforceIdentityBasedManagementURI) DeepCopyInto(out *WorkforceIdentityBasedManagementURI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkforceIdentityBasedManagementURIObservedState ¶
type WorkforceIdentityBasedManagementURIObservedState struct { // Output only. First party Management URI for Google Identities. // +kcc:proto:field=google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI.first_party_management_uri FirstPartyManagementURI *string `json:"firstPartyManagementURI,omitempty"` // Output only. Third party Management URI for External Identity Providers. // +kcc:proto:field=google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI.third_party_management_uri ThirdPartyManagementURI *string `json:"thirdPartyManagementURI,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURI
func (*WorkforceIdentityBasedManagementURIObservedState) DeepCopy ¶
func (in *WorkforceIdentityBasedManagementURIObservedState) DeepCopy() *WorkforceIdentityBasedManagementURIObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkforceIdentityBasedManagementURIObservedState.
func (*WorkforceIdentityBasedManagementURIObservedState) DeepCopyInto ¶
func (in *WorkforceIdentityBasedManagementURIObservedState) DeepCopyInto(out *WorkforceIdentityBasedManagementURIObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkforceIdentityBasedOAuth2ClientIDObservedState ¶
type WorkforceIdentityBasedOAuth2ClientIDObservedState struct { // Output only. First party OAuth Client ID for Google Identities. // +kcc:proto:field=google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID.first_party_oauth2_client_id FirstPartyOAuth2ClientID *string `json:"firstPartyOAuth2ClientID,omitempty"` // Output only. Third party OAuth Client ID for External Identity Providers. // +kcc:proto:field=google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID.third_party_oauth2_client_id ThirdPartyOAuth2ClientID *string `json:"thirdPartyOAuth2ClientID,omitempty"` }
+kcc:proto=google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID
func (*WorkforceIdentityBasedOAuth2ClientIDObservedState) DeepCopy ¶
func (in *WorkforceIdentityBasedOAuth2ClientIDObservedState) DeepCopy() *WorkforceIdentityBasedOAuth2ClientIDObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkforceIdentityBasedOAuth2ClientIDObservedState.
func (*WorkforceIdentityBasedOAuth2ClientIDObservedState) DeepCopyInto ¶
func (in *WorkforceIdentityBasedOAuth2ClientIDObservedState) DeepCopyInto(out *WorkforceIdentityBasedOAuth2ClientIDObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- backupplan_identity.go
- backupplan_reference.go
- backupplan_types.go
- backupplanassociation_identity.go
- backupplanassociation_reference.go
- backupplanassociation_types.go
- backupvault_identity.go
- backupvault_reference.go
- backupvault_types.go
- doc.go
- groupversion_info.go
- managementserver_identity.go
- managementserver_reference.go
- managementserver_types.go
- types.generated.go
- zz_generated.deepcopy.go