v1alpha1

package
v0.0.0-...-73c97c3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudprojectdatabaseintegration.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectdatabaseintegration.crossplane.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 (
	ProjectDatabaseIntegration_Kind             = "ProjectDatabaseIntegration"
	ProjectDatabaseIntegration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabaseIntegration_Kind}.String()
	ProjectDatabaseIntegration_KindAPIVersion   = ProjectDatabaseIntegration_Kind + "." + CRDGroupVersion.String()
	ProjectDatabaseIntegration_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabaseIntegration_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectDatabaseIntegration

type ProjectDatabaseIntegration 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.clusterId) || (has(self.initProvider) && has(self.initProvider.clusterId))",message="spec.forProvider.clusterId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationServiceId) || (has(self.initProvider) && has(self.initProvider.destinationServiceId))",message="spec.forProvider.destinationServiceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engine) || (has(self.initProvider) && has(self.initProvider.engine))",message="spec.forProvider.engine 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"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceServiceId) || (has(self.initProvider) && has(self.initProvider.sourceServiceId))",message="spec.forProvider.sourceServiceId is a required parameter"
	Spec   ProjectDatabaseIntegrationSpec   `json:"spec"`
	Status ProjectDatabaseIntegrationStatus `json:"status,omitempty"`
}

ProjectDatabaseIntegration is the Schema for the ProjectDatabaseIntegrations 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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ovh}

func (*ProjectDatabaseIntegration) DeepCopy

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

func (*ProjectDatabaseIntegration) DeepCopyInto

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

func (*ProjectDatabaseIntegration) DeepCopyObject

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

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

func (*ProjectDatabaseIntegration) GetCondition

GetCondition of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectDatabaseIntegration

func (*ProjectDatabaseIntegration) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) GetID

func (tr *ProjectDatabaseIntegration) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectDatabaseIntegration

func (*ProjectDatabaseIntegration) GetInitParameters

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

GetInitParameters of this ProjectDatabaseIntegration

func (*ProjectDatabaseIntegration) GetManagementPolicies

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

GetManagementPolicies of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) GetObservation

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

GetObservation of this ProjectDatabaseIntegration

func (*ProjectDatabaseIntegration) GetParameters

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

GetParameters of this ProjectDatabaseIntegration

func (*ProjectDatabaseIntegration) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) GetTerraformResourceType

func (mg *ProjectDatabaseIntegration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectDatabaseIntegration

func (*ProjectDatabaseIntegration) GetTerraformSchemaVersion

func (tr *ProjectDatabaseIntegration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectDatabaseIntegration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) LateInitialize

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

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

func (*ProjectDatabaseIntegration) SetConditions

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

SetConditions of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) SetManagementPolicies

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

SetManagementPolicies of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) SetObservation

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

SetObservation for this ProjectDatabaseIntegration

func (*ProjectDatabaseIntegration) SetParameters

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

SetParameters for this ProjectDatabaseIntegration

func (*ProjectDatabaseIntegration) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectDatabaseIntegration.

type ProjectDatabaseIntegrationInitParameters

type ProjectDatabaseIntegrationInitParameters struct {

	// Id of the database cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// ID of the destination service
	DestinationServiceID *string `json:"destinationServiceId,omitempty" tf:"destination_service_id,omitempty"`

	// Name of the engine of the service
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// Parameters for the integration
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

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

	// ID of the source service
	SourceServiceID *string `json:"sourceServiceId,omitempty" tf:"source_service_id,omitempty"`

	// Type of the integration
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProjectDatabaseIntegrationInitParameters) DeepCopy

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

func (*ProjectDatabaseIntegrationInitParameters) DeepCopyInto

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

type ProjectDatabaseIntegrationList

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

ProjectDatabaseIntegrationList contains a list of ProjectDatabaseIntegrations

func (*ProjectDatabaseIntegrationList) DeepCopy

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

func (*ProjectDatabaseIntegrationList) DeepCopyInto

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

func (*ProjectDatabaseIntegrationList) DeepCopyObject

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

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

func (*ProjectDatabaseIntegrationList) GetItems

GetItems of this ProjectDatabaseIntegrationList.

type ProjectDatabaseIntegrationObservation

type ProjectDatabaseIntegrationObservation struct {

	// Id of the database cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// ID of the destination service
	DestinationServiceID *string `json:"destinationServiceId,omitempty" tf:"destination_service_id,omitempty"`

	// Name of the engine of the service
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

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

	// Parameters for the integration
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

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

	// ID of the source service
	SourceServiceID *string `json:"sourceServiceId,omitempty" tf:"source_service_id,omitempty"`

	// Current status of the integration
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Type of the integration
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProjectDatabaseIntegrationObservation) DeepCopy

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

func (*ProjectDatabaseIntegrationObservation) DeepCopyInto

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

type ProjectDatabaseIntegrationParameters

type ProjectDatabaseIntegrationParameters struct {

	// Id of the database cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// ID of the destination service
	// +kubebuilder:validation:Optional
	DestinationServiceID *string `json:"destinationServiceId,omitempty" tf:"destination_service_id,omitempty"`

	// Name of the engine of the service
	// +kubebuilder:validation:Optional
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// Parameters for the integration
	// +kubebuilder:validation:Optional
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

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

	// ID of the source service
	// +kubebuilder:validation:Optional
	SourceServiceID *string `json:"sourceServiceId,omitempty" tf:"source_service_id,omitempty"`

	// Type of the integration
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ProjectDatabaseIntegrationParameters) DeepCopy

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

func (*ProjectDatabaseIntegrationParameters) DeepCopyInto

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

type ProjectDatabaseIntegrationSpec

type ProjectDatabaseIntegrationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectDatabaseIntegrationParameters `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 ProjectDatabaseIntegrationInitParameters `json:"initProvider,omitempty"`
}

ProjectDatabaseIntegrationSpec defines the desired state of ProjectDatabaseIntegration

func (*ProjectDatabaseIntegrationSpec) DeepCopy

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

func (*ProjectDatabaseIntegrationSpec) DeepCopyInto

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

type ProjectDatabaseIntegrationStatus

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

ProjectDatabaseIntegrationStatus defines the observed state of ProjectDatabaseIntegration.

func (*ProjectDatabaseIntegrationStatus) DeepCopy

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

func (*ProjectDatabaseIntegrationStatus) 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