v1alpha1

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=vminstances.ovh.edixos.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "vminstances.ovh.edixos.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
var (
	ProjectWorkflowBackup_Kind             = "ProjectWorkflowBackup"
	ProjectWorkflowBackup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectWorkflowBackup_Kind}.String()
	ProjectWorkflowBackup_KindAPIVersion   = ProjectWorkflowBackup_Kind + "." + CRDGroupVersion.String()
	ProjectWorkflowBackup_GroupVersionKind = CRDGroupVersion.WithKind(ProjectWorkflowBackup_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectWorkflowBackup

type ProjectWorkflowBackup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cron) || (has(self.initProvider) && has(self.initProvider.cron))",message="spec.forProvider.cron is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceId) || (has(self.initProvider) && has(self.initProvider.instanceId))",message="spec.forProvider.instanceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.regionName) || (has(self.initProvider) && has(self.initProvider.regionName))",message="spec.forProvider.regionName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rotation) || (has(self.initProvider) && has(self.initProvider.rotation))",message="spec.forProvider.rotation is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter"
	Spec   ProjectWorkflowBackupSpec   `json:"spec"`
	Status ProjectWorkflowBackupStatus `json:"status,omitempty"`
}

ProjectWorkflowBackup is the Schema for the ProjectWorkflowBackups API. <no value> +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:resource:scope=Cluster,categories={crossplane,managed,lb}

func (*ProjectWorkflowBackup) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) DeepCopyInto

func (in *ProjectWorkflowBackup) DeepCopyInto(out *ProjectWorkflowBackup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectWorkflowBackup) DeepCopyObject

func (in *ProjectWorkflowBackup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectWorkflowBackup) GetCondition

func (mg *ProjectWorkflowBackup) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) GetConnectionDetailsMapping

func (tr *ProjectWorkflowBackup) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) GetDeletionPolicy

func (mg *ProjectWorkflowBackup) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) GetID

func (tr *ProjectWorkflowBackup) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) GetInitParameters

func (tr *ProjectWorkflowBackup) GetInitParameters() (map[string]any, error)

GetInitParameters of this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) GetManagementPolicies

func (mg *ProjectWorkflowBackup) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) GetMergedParameters added in v0.39.0

func (tr *ProjectWorkflowBackup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) GetObservation

func (tr *ProjectWorkflowBackup) GetObservation() (map[string]any, error)

GetObservation of this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) GetParameters

func (tr *ProjectWorkflowBackup) GetParameters() (map[string]any, error)

GetParameters of this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) GetProviderConfigReference

func (mg *ProjectWorkflowBackup) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) GetPublishConnectionDetailsTo

func (mg *ProjectWorkflowBackup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) GetTerraformResourceType

func (mg *ProjectWorkflowBackup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) GetTerraformSchemaVersion

func (tr *ProjectWorkflowBackup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectWorkflowBackup) GetWriteConnectionSecretToReference

func (mg *ProjectWorkflowBackup) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) Hub added in v0.39.0

func (tr *ProjectWorkflowBackup) Hub()

Hub marks this type as a conversion hub.

func (*ProjectWorkflowBackup) LateInitialize

func (tr *ProjectWorkflowBackup) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ProjectWorkflowBackup using its observed tfState. returns True if there are any spec changes for the resource.

func (*ProjectWorkflowBackup) SetConditions

func (mg *ProjectWorkflowBackup) SetConditions(c ...xpv1.Condition)

SetConditions of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) SetDeletionPolicy

func (mg *ProjectWorkflowBackup) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) SetManagementPolicies

func (mg *ProjectWorkflowBackup) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) SetObservation

func (tr *ProjectWorkflowBackup) SetObservation(obs map[string]any) error

SetObservation for this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) SetParameters

func (tr *ProjectWorkflowBackup) SetParameters(params map[string]any) error

SetParameters for this ProjectWorkflowBackup

func (*ProjectWorkflowBackup) SetProviderConfigReference

func (mg *ProjectWorkflowBackup) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) SetPublishConnectionDetailsTo

func (mg *ProjectWorkflowBackup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ProjectWorkflowBackup.

func (*ProjectWorkflowBackup) SetWriteConnectionSecretToReference

func (mg *ProjectWorkflowBackup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ProjectWorkflowBackup.

type ProjectWorkflowBackupInitParameters

type ProjectWorkflowBackupInitParameters struct {
	BackupName *string `json:"backupName,omitempty" tf:"backup_name,omitempty"`

	Cron *string `json:"cron,omitempty" tf:"cron,omitempty"`

	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	MaxExecutionCount *float64 `json:"maxExecutionCount,omitempty" tf:"max_execution_count,omitempty"`

	// Region name.
	RegionName *string `json:"regionName,omitempty" tf:"region_name,omitempty"`

	Rotation *float64 `json:"rotation,omitempty" tf:"rotation,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ProjectWorkflowBackupInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWorkflowBackupInitParameters.

func (*ProjectWorkflowBackupInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectWorkflowBackupList

type ProjectWorkflowBackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProjectWorkflowBackup `json:"items"`
}

ProjectWorkflowBackupList contains a list of ProjectWorkflowBackups

func (*ProjectWorkflowBackupList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWorkflowBackupList.

func (*ProjectWorkflowBackupList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectWorkflowBackupList) DeepCopyObject

func (in *ProjectWorkflowBackupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProjectWorkflowBackupList) GetItems

func (l *ProjectWorkflowBackupList) GetItems() []resource.Managed

GetItems of this ProjectWorkflowBackupList.

type ProjectWorkflowBackupObservation

type ProjectWorkflowBackupObservation struct {
	BackupName *string `json:"backupName,omitempty" tf:"backup_name,omitempty"`

	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	Cron *string `json:"cron,omitempty" tf:"cron,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	MaxExecutionCount *float64 `json:"maxExecutionCount,omitempty" tf:"max_execution_count,omitempty"`

	// Region name.
	RegionName *string `json:"regionName,omitempty" tf:"region_name,omitempty"`

	Rotation *float64 `json:"rotation,omitempty" tf:"rotation,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ProjectWorkflowBackupObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWorkflowBackupObservation.

func (*ProjectWorkflowBackupObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectWorkflowBackupParameters

type ProjectWorkflowBackupParameters struct {

	// +kubebuilder:validation:Optional
	BackupName *string `json:"backupName,omitempty" tf:"backup_name,omitempty"`

	// +kubebuilder:validation:Optional
	Cron *string `json:"cron,omitempty" tf:"cron,omitempty"`

	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// +kubebuilder:validation:Optional
	MaxExecutionCount *float64 `json:"maxExecutionCount,omitempty" tf:"max_execution_count,omitempty"`

	// Region name.
	// +kubebuilder:validation:Optional
	RegionName *string `json:"regionName,omitempty" tf:"region_name,omitempty"`

	// +kubebuilder:validation:Optional
	Rotation *float64 `json:"rotation,omitempty" tf:"rotation,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ProjectWorkflowBackupParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWorkflowBackupParameters.

func (*ProjectWorkflowBackupParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectWorkflowBackupSpec

type ProjectWorkflowBackupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectWorkflowBackupParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// 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 ProjectWorkflowBackupInitParameters `json:"initProvider,omitempty"`
}

ProjectWorkflowBackupSpec defines the desired state of ProjectWorkflowBackup

func (*ProjectWorkflowBackupSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWorkflowBackupSpec.

func (*ProjectWorkflowBackupSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectWorkflowBackupStatus

type ProjectWorkflowBackupStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ProjectWorkflowBackupObservation `json:"atProvider,omitempty"`
}

ProjectWorkflowBackupStatus defines the observed state of ProjectWorkflowBackup.

func (*ProjectWorkflowBackupStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWorkflowBackupStatus.

func (*ProjectWorkflowBackupStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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