Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=gke.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type BackupBackupPlan
- func (in *BackupBackupPlan) DeepCopy() *BackupBackupPlan
- func (in *BackupBackupPlan) DeepCopyInto(out *BackupBackupPlan)
- func (in *BackupBackupPlan) DeepCopyObject() runtime.Object
- func (mg *BackupBackupPlan) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *BackupBackupPlan) GetConnectionDetailsMapping() map[string]string
- func (mg *BackupBackupPlan) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *BackupBackupPlan) GetID() string
- func (tr *BackupBackupPlan) GetInitParameters() (map[string]any, error)
- func (mg *BackupBackupPlan) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *BackupBackupPlan) GetObservation() (map[string]any, error)
- func (tr *BackupBackupPlan) GetParameters() (map[string]any, error)
- func (mg *BackupBackupPlan) GetProviderConfigReference() *xpv1.Reference
- func (mg *BackupBackupPlan) GetProviderReference() *xpv1.Reference
- func (mg *BackupBackupPlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *BackupBackupPlan) GetTerraformResourceType() string
- func (tr *BackupBackupPlan) GetTerraformSchemaVersion() int
- func (mg *BackupBackupPlan) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *BackupBackupPlan) LateInitialize(attrs []byte) (bool, error)
- func (mg *BackupBackupPlan) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *BackupBackupPlan) SetConditions(c ...xpv1.Condition)
- func (mg *BackupBackupPlan) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *BackupBackupPlan) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *BackupBackupPlan) SetObservation(obs map[string]any) error
- func (tr *BackupBackupPlan) SetParameters(params map[string]any) error
- func (mg *BackupBackupPlan) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *BackupBackupPlan) SetProviderReference(r *xpv1.Reference)
- func (mg *BackupBackupPlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *BackupBackupPlan) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BackupBackupPlanInitParameters
- type BackupBackupPlanList
- type BackupBackupPlanObservation
- type BackupBackupPlanParameters
- type BackupBackupPlanSpec
- type BackupBackupPlanStatus
- type BackupConfigInitParameters
- type BackupConfigObservation
- type BackupConfigParameters
- type BackupScheduleInitParameters
- type BackupScheduleObservation
- type BackupScheduleParameters
- type EncryptionKeyInitParameters
- type EncryptionKeyObservation
- type EncryptionKeyParameters
- type NamespacedNamesInitParameters
- type NamespacedNamesObservation
- type NamespacedNamesParameters
- type RetentionPolicyInitParameters
- type RetentionPolicyObservation
- type RetentionPolicyParameters
- type SelectedApplicationsInitParameters
- type SelectedApplicationsObservation
- type SelectedApplicationsParameters
- type SelectedNamespacesInitParameters
- type SelectedNamespacesObservation
- type SelectedNamespacesParameters
Constants ¶
const ( CRDGroup = "gke.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( BackupBackupPlan_Kind = "BackupBackupPlan" BackupBackupPlan_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BackupBackupPlan_Kind}.String() BackupBackupPlan_KindAPIVersion = BackupBackupPlan_Kind + "." + CRDGroupVersion.String() BackupBackupPlan_GroupVersionKind = CRDGroupVersion.WithKind(BackupBackupPlan_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BackupBackupPlan ¶
type BackupBackupPlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupBackupPlanSpec `json:"spec"` Status BackupBackupPlanStatus `json:"status,omitempty"` }
BackupBackupPlan is the Schema for the BackupBackupPlans API. Represents a Backup Plan instance. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*BackupBackupPlan) DeepCopy ¶
func (in *BackupBackupPlan) DeepCopy() *BackupBackupPlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBackupPlan.
func (*BackupBackupPlan) DeepCopyInto ¶
func (in *BackupBackupPlan) DeepCopyInto(out *BackupBackupPlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBackupPlan) DeepCopyObject ¶
func (in *BackupBackupPlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupBackupPlan) GetCondition ¶
func (mg *BackupBackupPlan) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this BackupBackupPlan.
func (*BackupBackupPlan) GetConnectionDetailsMapping ¶
func (tr *BackupBackupPlan) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this BackupBackupPlan
func (*BackupBackupPlan) GetDeletionPolicy ¶
func (mg *BackupBackupPlan) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this BackupBackupPlan.
func (*BackupBackupPlan) GetID ¶
func (tr *BackupBackupPlan) GetID() string
GetID returns ID of underlying Terraform resource of this BackupBackupPlan
func (*BackupBackupPlan) GetInitParameters ¶ added in v0.35.0
func (tr *BackupBackupPlan) GetInitParameters() (map[string]any, error)
GetInitParameters of this BackupBackupPlan
func (*BackupBackupPlan) GetManagementPolicies ¶ added in v0.35.0
func (mg *BackupBackupPlan) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this BackupBackupPlan.
func (*BackupBackupPlan) GetObservation ¶
func (tr *BackupBackupPlan) GetObservation() (map[string]any, error)
GetObservation of this BackupBackupPlan
func (*BackupBackupPlan) GetParameters ¶
func (tr *BackupBackupPlan) GetParameters() (map[string]any, error)
GetParameters of this BackupBackupPlan
func (*BackupBackupPlan) GetProviderConfigReference ¶
func (mg *BackupBackupPlan) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this BackupBackupPlan.
func (*BackupBackupPlan) GetProviderReference ¶
func (mg *BackupBackupPlan) GetProviderReference() *xpv1.Reference
GetProviderReference of this BackupBackupPlan. Deprecated: Use GetProviderConfigReference.
func (*BackupBackupPlan) GetPublishConnectionDetailsTo ¶
func (mg *BackupBackupPlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this BackupBackupPlan.
func (*BackupBackupPlan) GetTerraformResourceType ¶
func (mg *BackupBackupPlan) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this BackupBackupPlan
func (*BackupBackupPlan) GetTerraformSchemaVersion ¶
func (tr *BackupBackupPlan) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*BackupBackupPlan) GetWriteConnectionSecretToReference ¶
func (mg *BackupBackupPlan) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this BackupBackupPlan.
func (*BackupBackupPlan) LateInitialize ¶
func (tr *BackupBackupPlan) LateInitialize(attrs []byte) (bool, error)
LateInitialize this BackupBackupPlan using its observed tfState. returns True if there are any spec changes for the resource.
func (*BackupBackupPlan) ResolveReferences ¶
ResolveReferences of this BackupBackupPlan.
func (*BackupBackupPlan) SetConditions ¶
func (mg *BackupBackupPlan) SetConditions(c ...xpv1.Condition)
SetConditions of this BackupBackupPlan.
func (*BackupBackupPlan) SetDeletionPolicy ¶
func (mg *BackupBackupPlan) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this BackupBackupPlan.
func (*BackupBackupPlan) SetManagementPolicies ¶ added in v0.35.0
func (mg *BackupBackupPlan) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this BackupBackupPlan.
func (*BackupBackupPlan) SetObservation ¶
func (tr *BackupBackupPlan) SetObservation(obs map[string]any) error
SetObservation for this BackupBackupPlan
func (*BackupBackupPlan) SetParameters ¶
func (tr *BackupBackupPlan) SetParameters(params map[string]any) error
SetParameters for this BackupBackupPlan
func (*BackupBackupPlan) SetProviderConfigReference ¶
func (mg *BackupBackupPlan) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this BackupBackupPlan.
func (*BackupBackupPlan) SetProviderReference ¶
func (mg *BackupBackupPlan) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this BackupBackupPlan. Deprecated: Use SetProviderConfigReference.
func (*BackupBackupPlan) SetPublishConnectionDetailsTo ¶
func (mg *BackupBackupPlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this BackupBackupPlan.
func (*BackupBackupPlan) SetWriteConnectionSecretToReference ¶
func (mg *BackupBackupPlan) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this BackupBackupPlan.
type BackupBackupPlanInitParameters ¶ added in v0.35.0
type BackupBackupPlanInitParameters struct { // Defines the configuration of Backups created via this BackupPlan. // Structure is documented below. BackupConfig []BackupConfigInitParameters `json:"backupConfig,omitempty" tf:"backup_config,omitempty"` // Defines a schedule for automatic Backup creation via this BackupPlan. // Structure is documented below. BackupSchedule []BackupScheduleInitParameters `json:"backupSchedule,omitempty" tf:"backup_schedule,omitempty"` // This flag indicates whether this BackupPlan has been deactivated. // Setting this field to True locks the BackupPlan such that no further updates will be allowed // (except deletes), including the deactivated field itself. It also prevents any new Backups // from being created via this BackupPlan (including scheduled Backups). Deactivated *bool `json:"deactivated,omitempty" tf:"deactivated,omitempty"` // User specified descriptive string for this BackupPlan. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // RetentionPolicy governs lifecycle of Backups created under this plan. // Structure is documented below. RetentionPolicy []RetentionPolicyInitParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` }
func (*BackupBackupPlanInitParameters) DeepCopy ¶ added in v0.35.0
func (in *BackupBackupPlanInitParameters) DeepCopy() *BackupBackupPlanInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBackupPlanInitParameters.
func (*BackupBackupPlanInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *BackupBackupPlanInitParameters) DeepCopyInto(out *BackupBackupPlanInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupBackupPlanList ¶
type BackupBackupPlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupBackupPlan `json:"items"` }
BackupBackupPlanList contains a list of BackupBackupPlans
func (*BackupBackupPlanList) DeepCopy ¶
func (in *BackupBackupPlanList) DeepCopy() *BackupBackupPlanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBackupPlanList.
func (*BackupBackupPlanList) DeepCopyInto ¶
func (in *BackupBackupPlanList) DeepCopyInto(out *BackupBackupPlanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBackupPlanList) DeepCopyObject ¶
func (in *BackupBackupPlanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupBackupPlanList) GetItems ¶
func (l *BackupBackupPlanList) GetItems() []resource.Managed
GetItems of this BackupBackupPlanList.
type BackupBackupPlanObservation ¶
type BackupBackupPlanObservation struct { // Defines the configuration of Backups created via this BackupPlan. // Structure is documented below. BackupConfig []BackupConfigObservation `json:"backupConfig,omitempty" tf:"backup_config,omitempty"` // Defines a schedule for automatic Backup creation via this BackupPlan. // Structure is documented below. BackupSchedule []BackupScheduleObservation `json:"backupSchedule,omitempty" tf:"backup_schedule,omitempty"` // The source cluster from which Backups will be created via this BackupPlan. Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"` // This flag indicates whether this BackupPlan has been deactivated. // Setting this field to True locks the BackupPlan such that no further updates will be allowed // (except deletes), including the deactivated field itself. It also prevents any new Backups // from being created via this BackupPlan (including scheduled Backups). Deactivated *bool `json:"deactivated,omitempty" tf:"deactivated,omitempty"` // User specified descriptive string for this BackupPlan. Description *string `json:"description,omitempty" tf:"description,omitempty"` // etag is used for optimistic concurrency control as a way to help prevent simultaneous // updates of a backup plan from overwriting each other. It is strongly suggested that // systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates // in order to avoid race conditions: An etag is returned in the response to backupPlans.get, // and systems are expected to put that etag in the request to backupPlans.patch or // backupPlans.delete to ensure that their change will be applied to the same version of the resource. Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{location}}/backupPlans/{{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The region of the Backup Plan. Location *string `json:"location,omitempty" tf:"location,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan. ProtectedPodCount *float64 `json:"protectedPodCount,omitempty" tf:"protected_pod_count,omitempty"` // RetentionPolicy governs lifecycle of Backups created under this plan. // Structure is documented below. RetentionPolicy []RetentionPolicyObservation `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` // Server generated, unique identifier of UUID format. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*BackupBackupPlanObservation) DeepCopy ¶
func (in *BackupBackupPlanObservation) DeepCopy() *BackupBackupPlanObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBackupPlanObservation.
func (*BackupBackupPlanObservation) DeepCopyInto ¶
func (in *BackupBackupPlanObservation) DeepCopyInto(out *BackupBackupPlanObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupBackupPlanParameters ¶
type BackupBackupPlanParameters struct { // Defines the configuration of Backups created via this BackupPlan. // Structure is documented below. // +kubebuilder:validation:Optional BackupConfig []BackupConfigParameters `json:"backupConfig,omitempty" tf:"backup_config,omitempty"` // Defines a schedule for automatic Backup creation via this BackupPlan. // Structure is documented below. // +kubebuilder:validation:Optional BackupSchedule []BackupScheduleParameters `json:"backupSchedule,omitempty" tf:"backup_schedule,omitempty"` // The source cluster from which Backups will be created via this BackupPlan. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/container/v1beta1.Cluster // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"` // Reference to a Cluster in container to populate cluster. // +kubebuilder:validation:Optional ClusterRef *v1.Reference `json:"clusterRef,omitempty" tf:"-"` // Selector for a Cluster in container to populate cluster. // +kubebuilder:validation:Optional ClusterSelector *v1.Selector `json:"clusterSelector,omitempty" tf:"-"` // This flag indicates whether this BackupPlan has been deactivated. // Setting this field to True locks the BackupPlan such that no further updates will be allowed // (except deletes), including the deactivated field itself. It also prevents any new Backups // from being created via this BackupPlan (including scheduled Backups). // +kubebuilder:validation:Optional Deactivated *bool `json:"deactivated,omitempty" tf:"deactivated,omitempty"` // User specified descriptive string for this BackupPlan. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +kubebuilder:validation:Optional Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The region of the Backup Plan. // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // RetentionPolicy governs lifecycle of Backups created under this plan. // Structure is documented below. // +kubebuilder:validation:Optional RetentionPolicy []RetentionPolicyParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` }
func (*BackupBackupPlanParameters) DeepCopy ¶
func (in *BackupBackupPlanParameters) DeepCopy() *BackupBackupPlanParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBackupPlanParameters.
func (*BackupBackupPlanParameters) DeepCopyInto ¶
func (in *BackupBackupPlanParameters) DeepCopyInto(out *BackupBackupPlanParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupBackupPlanSpec ¶
type BackupBackupPlanSpec struct { v1.ResourceSpec `json:",inline"` ForProvider BackupBackupPlanParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider BackupBackupPlanInitParameters `json:"initProvider,omitempty"` }
BackupBackupPlanSpec defines the desired state of BackupBackupPlan
func (*BackupBackupPlanSpec) DeepCopy ¶
func (in *BackupBackupPlanSpec) DeepCopy() *BackupBackupPlanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBackupPlanSpec.
func (*BackupBackupPlanSpec) DeepCopyInto ¶
func (in *BackupBackupPlanSpec) DeepCopyInto(out *BackupBackupPlanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupBackupPlanStatus ¶
type BackupBackupPlanStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BackupBackupPlanObservation `json:"atProvider,omitempty"` }
BackupBackupPlanStatus defines the observed state of BackupBackupPlan.
func (*BackupBackupPlanStatus) DeepCopy ¶
func (in *BackupBackupPlanStatus) DeepCopy() *BackupBackupPlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBackupPlanStatus.
func (*BackupBackupPlanStatus) DeepCopyInto ¶
func (in *BackupBackupPlanStatus) DeepCopyInto(out *BackupBackupPlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigInitParameters ¶ added in v0.35.0
type BackupConfigInitParameters struct { // If True, include all namespaced resources. AllNamespaces *bool `json:"allNamespaces,omitempty" tf:"all_namespaces,omitempty"` // This defines a customer managed encryption key that will be used to encrypt the "config" // portion (the Kubernetes resources) of Backups created via this plan. // Structure is documented below. EncryptionKey []EncryptionKeyInitParameters `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"` // This flag specifies whether Kubernetes Secret resources should be included // when they fall into the scope of Backups. IncludeSecrets *bool `json:"includeSecrets,omitempty" tf:"include_secrets,omitempty"` // This flag specifies whether volume data should be backed up when PVCs are // included in the scope of a Backup. IncludeVolumeData *bool `json:"includeVolumeData,omitempty" tf:"include_volume_data,omitempty"` // A list of namespaced Kubernetes Resources. // Structure is documented below. SelectedApplications []SelectedApplicationsInitParameters `json:"selectedApplications,omitempty" tf:"selected_applications,omitempty"` // If set, include just the resources in the listed namespaces. // Structure is documented below. SelectedNamespaces []SelectedNamespacesInitParameters `json:"selectedNamespaces,omitempty" tf:"selected_namespaces,omitempty"` }
func (*BackupConfigInitParameters) DeepCopy ¶ added in v0.35.0
func (in *BackupConfigInitParameters) DeepCopy() *BackupConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigInitParameters.
func (*BackupConfigInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *BackupConfigInitParameters) DeepCopyInto(out *BackupConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigObservation ¶
type BackupConfigObservation struct { // If True, include all namespaced resources. AllNamespaces *bool `json:"allNamespaces,omitempty" tf:"all_namespaces,omitempty"` // This defines a customer managed encryption key that will be used to encrypt the "config" // portion (the Kubernetes resources) of Backups created via this plan. // Structure is documented below. EncryptionKey []EncryptionKeyObservation `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"` // This flag specifies whether Kubernetes Secret resources should be included // when they fall into the scope of Backups. IncludeSecrets *bool `json:"includeSecrets,omitempty" tf:"include_secrets,omitempty"` // This flag specifies whether volume data should be backed up when PVCs are // included in the scope of a Backup. IncludeVolumeData *bool `json:"includeVolumeData,omitempty" tf:"include_volume_data,omitempty"` // A list of namespaced Kubernetes Resources. // Structure is documented below. SelectedApplications []SelectedApplicationsObservation `json:"selectedApplications,omitempty" tf:"selected_applications,omitempty"` // If set, include just the resources in the listed namespaces. // Structure is documented below. SelectedNamespaces []SelectedNamespacesObservation `json:"selectedNamespaces,omitempty" tf:"selected_namespaces,omitempty"` }
func (*BackupConfigObservation) DeepCopy ¶
func (in *BackupConfigObservation) DeepCopy() *BackupConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigObservation.
func (*BackupConfigObservation) DeepCopyInto ¶
func (in *BackupConfigObservation) DeepCopyInto(out *BackupConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigParameters ¶
type BackupConfigParameters struct { // If True, include all namespaced resources. // +kubebuilder:validation:Optional AllNamespaces *bool `json:"allNamespaces,omitempty" tf:"all_namespaces,omitempty"` // This defines a customer managed encryption key that will be used to encrypt the "config" // portion (the Kubernetes resources) of Backups created via this plan. // Structure is documented below. // +kubebuilder:validation:Optional EncryptionKey []EncryptionKeyParameters `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"` // This flag specifies whether Kubernetes Secret resources should be included // when they fall into the scope of Backups. // +kubebuilder:validation:Optional IncludeSecrets *bool `json:"includeSecrets,omitempty" tf:"include_secrets,omitempty"` // This flag specifies whether volume data should be backed up when PVCs are // included in the scope of a Backup. // +kubebuilder:validation:Optional IncludeVolumeData *bool `json:"includeVolumeData,omitempty" tf:"include_volume_data,omitempty"` // A list of namespaced Kubernetes Resources. // Structure is documented below. // +kubebuilder:validation:Optional SelectedApplications []SelectedApplicationsParameters `json:"selectedApplications,omitempty" tf:"selected_applications,omitempty"` // If set, include just the resources in the listed namespaces. // Structure is documented below. // +kubebuilder:validation:Optional SelectedNamespaces []SelectedNamespacesParameters `json:"selectedNamespaces,omitempty" tf:"selected_namespaces,omitempty"` }
func (*BackupConfigParameters) DeepCopy ¶
func (in *BackupConfigParameters) DeepCopy() *BackupConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigParameters.
func (*BackupConfigParameters) DeepCopyInto ¶
func (in *BackupConfigParameters) DeepCopyInto(out *BackupConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupScheduleInitParameters ¶ added in v0.35.0
type BackupScheduleInitParameters struct { // A standard cron string that defines a repeating schedule for // creating Backups via this BackupPlan. // If this is defined, then backupRetainDays must also be defined. CronSchedule *string `json:"cronSchedule,omitempty" tf:"cron_schedule,omitempty"` // This flag denotes whether automatic Backup creation is paused for this BackupPlan. Paused *bool `json:"paused,omitempty" tf:"paused,omitempty"` }
func (*BackupScheduleInitParameters) DeepCopy ¶ added in v0.35.0
func (in *BackupScheduleInitParameters) DeepCopy() *BackupScheduleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleInitParameters.
func (*BackupScheduleInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *BackupScheduleInitParameters) DeepCopyInto(out *BackupScheduleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupScheduleObservation ¶
type BackupScheduleObservation struct { // A standard cron string that defines a repeating schedule for // creating Backups via this BackupPlan. // If this is defined, then backupRetainDays must also be defined. CronSchedule *string `json:"cronSchedule,omitempty" tf:"cron_schedule,omitempty"` // This flag denotes whether automatic Backup creation is paused for this BackupPlan. Paused *bool `json:"paused,omitempty" tf:"paused,omitempty"` }
func (*BackupScheduleObservation) DeepCopy ¶
func (in *BackupScheduleObservation) DeepCopy() *BackupScheduleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleObservation.
func (*BackupScheduleObservation) DeepCopyInto ¶
func (in *BackupScheduleObservation) DeepCopyInto(out *BackupScheduleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupScheduleParameters ¶
type BackupScheduleParameters struct { // A standard cron string that defines a repeating schedule for // creating Backups via this BackupPlan. // If this is defined, then backupRetainDays must also be defined. // +kubebuilder:validation:Optional CronSchedule *string `json:"cronSchedule,omitempty" tf:"cron_schedule,omitempty"` // This flag denotes whether automatic Backup creation is paused for this BackupPlan. // +kubebuilder:validation:Optional Paused *bool `json:"paused,omitempty" tf:"paused,omitempty"` }
func (*BackupScheduleParameters) DeepCopy ¶
func (in *BackupScheduleParameters) DeepCopy() *BackupScheduleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleParameters.
func (*BackupScheduleParameters) DeepCopyInto ¶
func (in *BackupScheduleParameters) DeepCopyInto(out *BackupScheduleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionKeyInitParameters ¶ added in v0.35.0
type EncryptionKeyInitParameters struct { }
func (*EncryptionKeyInitParameters) DeepCopy ¶ added in v0.35.0
func (in *EncryptionKeyInitParameters) DeepCopy() *EncryptionKeyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionKeyInitParameters.
func (*EncryptionKeyInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *EncryptionKeyInitParameters) DeepCopyInto(out *EncryptionKeyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionKeyObservation ¶
type EncryptionKeyObservation struct { // Google Cloud KMS encryption key. Format: projects//locations//keyRings//cryptoKeys/ GCPKMSEncryptionKey *string `json:"gcpKmsEncryptionKey,omitempty" tf:"gcp_kms_encryption_key,omitempty"` }
func (*EncryptionKeyObservation) DeepCopy ¶
func (in *EncryptionKeyObservation) DeepCopy() *EncryptionKeyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionKeyObservation.
func (*EncryptionKeyObservation) DeepCopyInto ¶
func (in *EncryptionKeyObservation) DeepCopyInto(out *EncryptionKeyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionKeyParameters ¶
type EncryptionKeyParameters struct { // Google Cloud KMS encryption key. Format: projects//locations//keyRings//cryptoKeys/ // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/kms/v1beta1.CryptoKey // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional GCPKMSEncryptionKey *string `json:"gcpKmsEncryptionKey,omitempty" tf:"gcp_kms_encryption_key,omitempty"` // Reference to a CryptoKey in kms to populate gcpKmsEncryptionKey. // +kubebuilder:validation:Optional GCPKMSEncryptionKeyRef *v1.Reference `json:"gcpKmsEncryptionKeyRef,omitempty" tf:"-"` // Selector for a CryptoKey in kms to populate gcpKmsEncryptionKey. // +kubebuilder:validation:Optional GCPKMSEncryptionKeySelector *v1.Selector `json:"gcpKmsEncryptionKeySelector,omitempty" tf:"-"` }
func (*EncryptionKeyParameters) DeepCopy ¶
func (in *EncryptionKeyParameters) DeepCopy() *EncryptionKeyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionKeyParameters.
func (*EncryptionKeyParameters) DeepCopyInto ¶
func (in *EncryptionKeyParameters) DeepCopyInto(out *EncryptionKeyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedNamesInitParameters ¶ added in v0.35.0
type NamespacedNamesInitParameters struct { // The name of a Kubernetes Resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace of a Kubernetes Resource. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*NamespacedNamesInitParameters) DeepCopy ¶ added in v0.35.0
func (in *NamespacedNamesInitParameters) DeepCopy() *NamespacedNamesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedNamesInitParameters.
func (*NamespacedNamesInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *NamespacedNamesInitParameters) DeepCopyInto(out *NamespacedNamesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedNamesObservation ¶
type NamespacedNamesObservation struct { // The name of a Kubernetes Resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace of a Kubernetes Resource. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*NamespacedNamesObservation) DeepCopy ¶
func (in *NamespacedNamesObservation) DeepCopy() *NamespacedNamesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedNamesObservation.
func (*NamespacedNamesObservation) DeepCopyInto ¶
func (in *NamespacedNamesObservation) DeepCopyInto(out *NamespacedNamesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedNamesParameters ¶
type NamespacedNamesParameters struct { // The name of a Kubernetes Resource. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace of a Kubernetes Resource. // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*NamespacedNamesParameters) DeepCopy ¶
func (in *NamespacedNamesParameters) DeepCopy() *NamespacedNamesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedNamesParameters.
func (*NamespacedNamesParameters) DeepCopyInto ¶
func (in *NamespacedNamesParameters) DeepCopyInto(out *NamespacedNamesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetentionPolicyInitParameters ¶ added in v0.35.0
type RetentionPolicyInitParameters struct { // Minimum age for a Backup created via this BackupPlan (in days). // Must be an integer value between 0-90 (inclusive). // A Backup created under this BackupPlan will not be deletable // until it reaches Backup's (create time + backup_delete_lock_days). // Updating this field of a BackupPlan does not affect existing Backups. // Backups created after a successful update will inherit this new value. BackupDeleteLockDays *float64 `json:"backupDeleteLockDays,omitempty" tf:"backup_delete_lock_days,omitempty"` // The default maximum age of a Backup created via this BackupPlan. // This field MUST be an integer value >= 0 and <= 365. If specified, // a Backup created under this BackupPlan will be automatically deleted // after its age reaches (createTime + backupRetainDays). // If not specified, Backups created under this BackupPlan will NOT be // subject to automatic deletion. Updating this field does NOT affect // existing Backups under it. Backups created AFTER a successful update // will automatically pick up the new value. // NOTE: backupRetainDays must be >= backupDeleteLockDays. // If cronSchedule is defined, then this must be <= 360 * the creation interval.] BackupRetainDays *float64 `json:"backupRetainDays,omitempty" tf:"backup_retain_days,omitempty"` // This flag denotes whether the retention policy of this BackupPlan is locked. // If set to True, no further update is allowed on this policy, including // the locked field itself. Locked *bool `json:"locked,omitempty" tf:"locked,omitempty"` }
func (*RetentionPolicyInitParameters) DeepCopy ¶ added in v0.35.0
func (in *RetentionPolicyInitParameters) DeepCopy() *RetentionPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyInitParameters.
func (*RetentionPolicyInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *RetentionPolicyInitParameters) DeepCopyInto(out *RetentionPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetentionPolicyObservation ¶
type RetentionPolicyObservation struct { // Minimum age for a Backup created via this BackupPlan (in days). // Must be an integer value between 0-90 (inclusive). // A Backup created under this BackupPlan will not be deletable // until it reaches Backup's (create time + backup_delete_lock_days). // Updating this field of a BackupPlan does not affect existing Backups. // Backups created after a successful update will inherit this new value. BackupDeleteLockDays *float64 `json:"backupDeleteLockDays,omitempty" tf:"backup_delete_lock_days,omitempty"` // The default maximum age of a Backup created via this BackupPlan. // This field MUST be an integer value >= 0 and <= 365. If specified, // a Backup created under this BackupPlan will be automatically deleted // after its age reaches (createTime + backupRetainDays). // If not specified, Backups created under this BackupPlan will NOT be // subject to automatic deletion. Updating this field does NOT affect // existing Backups under it. Backups created AFTER a successful update // will automatically pick up the new value. // NOTE: backupRetainDays must be >= backupDeleteLockDays. // If cronSchedule is defined, then this must be <= 360 * the creation interval.] BackupRetainDays *float64 `json:"backupRetainDays,omitempty" tf:"backup_retain_days,omitempty"` // This flag denotes whether the retention policy of this BackupPlan is locked. // If set to True, no further update is allowed on this policy, including // the locked field itself. Locked *bool `json:"locked,omitempty" tf:"locked,omitempty"` }
func (*RetentionPolicyObservation) DeepCopy ¶
func (in *RetentionPolicyObservation) DeepCopy() *RetentionPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyObservation.
func (*RetentionPolicyObservation) DeepCopyInto ¶
func (in *RetentionPolicyObservation) DeepCopyInto(out *RetentionPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetentionPolicyParameters ¶
type RetentionPolicyParameters struct { // Minimum age for a Backup created via this BackupPlan (in days). // Must be an integer value between 0-90 (inclusive). // A Backup created under this BackupPlan will not be deletable // until it reaches Backup's (create time + backup_delete_lock_days). // Updating this field of a BackupPlan does not affect existing Backups. // Backups created after a successful update will inherit this new value. // +kubebuilder:validation:Optional BackupDeleteLockDays *float64 `json:"backupDeleteLockDays,omitempty" tf:"backup_delete_lock_days,omitempty"` // The default maximum age of a Backup created via this BackupPlan. // This field MUST be an integer value >= 0 and <= 365. If specified, // a Backup created under this BackupPlan will be automatically deleted // after its age reaches (createTime + backupRetainDays). // If not specified, Backups created under this BackupPlan will NOT be // subject to automatic deletion. Updating this field does NOT affect // existing Backups under it. Backups created AFTER a successful update // will automatically pick up the new value. // NOTE: backupRetainDays must be >= backupDeleteLockDays. // If cronSchedule is defined, then this must be <= 360 * the creation interval.] // +kubebuilder:validation:Optional BackupRetainDays *float64 `json:"backupRetainDays,omitempty" tf:"backup_retain_days,omitempty"` // This flag denotes whether the retention policy of this BackupPlan is locked. // If set to True, no further update is allowed on this policy, including // the locked field itself. // +kubebuilder:validation:Optional Locked *bool `json:"locked,omitempty" tf:"locked,omitempty"` }
func (*RetentionPolicyParameters) DeepCopy ¶
func (in *RetentionPolicyParameters) DeepCopy() *RetentionPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyParameters.
func (*RetentionPolicyParameters) DeepCopyInto ¶
func (in *RetentionPolicyParameters) DeepCopyInto(out *RetentionPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectedApplicationsInitParameters ¶ added in v0.35.0
type SelectedApplicationsInitParameters struct { // A list of namespaced Kubernetes resources. // Structure is documented below. NamespacedNames []NamespacedNamesInitParameters `json:"namespacedNames,omitempty" tf:"namespaced_names,omitempty"` }
func (*SelectedApplicationsInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SelectedApplicationsInitParameters) DeepCopy() *SelectedApplicationsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectedApplicationsInitParameters.
func (*SelectedApplicationsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SelectedApplicationsInitParameters) DeepCopyInto(out *SelectedApplicationsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectedApplicationsObservation ¶
type SelectedApplicationsObservation struct { // A list of namespaced Kubernetes resources. // Structure is documented below. NamespacedNames []NamespacedNamesObservation `json:"namespacedNames,omitempty" tf:"namespaced_names,omitempty"` }
func (*SelectedApplicationsObservation) DeepCopy ¶
func (in *SelectedApplicationsObservation) DeepCopy() *SelectedApplicationsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectedApplicationsObservation.
func (*SelectedApplicationsObservation) DeepCopyInto ¶
func (in *SelectedApplicationsObservation) DeepCopyInto(out *SelectedApplicationsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectedApplicationsParameters ¶
type SelectedApplicationsParameters struct { // A list of namespaced Kubernetes resources. // Structure is documented below. // +kubebuilder:validation:Optional NamespacedNames []NamespacedNamesParameters `json:"namespacedNames,omitempty" tf:"namespaced_names,omitempty"` }
func (*SelectedApplicationsParameters) DeepCopy ¶
func (in *SelectedApplicationsParameters) DeepCopy() *SelectedApplicationsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectedApplicationsParameters.
func (*SelectedApplicationsParameters) DeepCopyInto ¶
func (in *SelectedApplicationsParameters) DeepCopyInto(out *SelectedApplicationsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectedNamespacesInitParameters ¶ added in v0.35.0
type SelectedNamespacesInitParameters struct { // A list of Kubernetes Namespaces. Namespaces []*string `json:"namespaces,omitempty" tf:"namespaces,omitempty"` }
func (*SelectedNamespacesInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SelectedNamespacesInitParameters) DeepCopy() *SelectedNamespacesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectedNamespacesInitParameters.
func (*SelectedNamespacesInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SelectedNamespacesInitParameters) DeepCopyInto(out *SelectedNamespacesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectedNamespacesObservation ¶
type SelectedNamespacesObservation struct { // A list of Kubernetes Namespaces. Namespaces []*string `json:"namespaces,omitempty" tf:"namespaces,omitempty"` }
func (*SelectedNamespacesObservation) DeepCopy ¶
func (in *SelectedNamespacesObservation) DeepCopy() *SelectedNamespacesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectedNamespacesObservation.
func (*SelectedNamespacesObservation) DeepCopyInto ¶
func (in *SelectedNamespacesObservation) DeepCopyInto(out *SelectedNamespacesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectedNamespacesParameters ¶
type SelectedNamespacesParameters struct { // A list of Kubernetes Namespaces. // +kubebuilder:validation:Optional Namespaces []*string `json:"namespaces,omitempty" tf:"namespaces,omitempty"` }
func (*SelectedNamespacesParameters) DeepCopy ¶
func (in *SelectedNamespacesParameters) DeepCopy() *SelectedNamespacesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectedNamespacesParameters.
func (*SelectedNamespacesParameters) DeepCopyInto ¶
func (in *SelectedNamespacesParameters) DeepCopyInto(out *SelectedNamespacesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.