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=cloudprojectdatabasekafkatopic.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectdatabasekafkatopic.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 (
	ProjectDatabaseKafkaTopic_Kind             = "ProjectDatabaseKafkaTopic"
	ProjectDatabaseKafkaTopic_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabaseKafkaTopic_Kind}.String()
	ProjectDatabaseKafkaTopic_KindAPIVersion   = ProjectDatabaseKafkaTopic_Kind + "." + CRDGroupVersion.String()
	ProjectDatabaseKafkaTopic_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabaseKafkaTopic_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectDatabaseKafkaTopic

type ProjectDatabaseKafkaTopic 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name 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   ProjectDatabaseKafkaTopicSpec   `json:"spec"`
	Status ProjectDatabaseKafkaTopicStatus `json:"status,omitempty"`
}

ProjectDatabaseKafkaTopic is the Schema for the ProjectDatabaseKafkaTopics 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 (*ProjectDatabaseKafkaTopic) DeepCopy

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

func (*ProjectDatabaseKafkaTopic) DeepCopyInto

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

func (*ProjectDatabaseKafkaTopic) DeepCopyObject

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

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

func (*ProjectDatabaseKafkaTopic) GetCondition

GetCondition of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopic) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) GetID

func (tr *ProjectDatabaseKafkaTopic) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopic) GetInitParameters

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

GetInitParameters of this ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopic) GetManagementPolicies

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

GetManagementPolicies of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) GetObservation

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

GetObservation of this ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopic) GetParameters

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

GetParameters of this ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopic) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) GetTerraformResourceType

func (mg *ProjectDatabaseKafkaTopic) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopic) GetTerraformSchemaVersion

func (tr *ProjectDatabaseKafkaTopic) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectDatabaseKafkaTopic) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) LateInitialize

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

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

func (*ProjectDatabaseKafkaTopic) SetConditions

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

SetConditions of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) SetManagementPolicies

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

SetManagementPolicies of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) SetObservation

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

SetObservation for this ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopic) SetParameters

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

SetParameters for this ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopic) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopic) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectDatabaseKafkaTopic.

type ProjectDatabaseKafkaTopicInitParameters

type ProjectDatabaseKafkaTopicInitParameters struct {

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

	// Minimum insync replica accepted for this topic
	MinInsyncReplicas *float64 `json:"minInsyncReplicas,omitempty" tf:"min_insync_replicas,omitempty"`

	// Name of the topic
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Number of partitions for this topic
	Partitions *float64 `json:"partitions,omitempty" tf:"partitions,omitempty"`

	// Number of replication for this topic
	Replication *float64 `json:"replication,omitempty" tf:"replication,omitempty"`

	// Number of bytes for the retention of the data for this topic
	RetentionBytes *float64 `json:"retentionBytes,omitempty" tf:"retention_bytes,omitempty"`

	// Number of hours for the retention of the data for this topic
	RetentionHours *float64 `json:"retentionHours,omitempty" tf:"retention_hours,omitempty"`

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

func (*ProjectDatabaseKafkaTopicInitParameters) DeepCopy

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

func (*ProjectDatabaseKafkaTopicInitParameters) DeepCopyInto

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

type ProjectDatabaseKafkaTopicList

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

ProjectDatabaseKafkaTopicList contains a list of ProjectDatabaseKafkaTopics

func (*ProjectDatabaseKafkaTopicList) DeepCopy

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

func (*ProjectDatabaseKafkaTopicList) DeepCopyInto

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

func (*ProjectDatabaseKafkaTopicList) DeepCopyObject

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

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

func (*ProjectDatabaseKafkaTopicList) GetItems

GetItems of this ProjectDatabaseKafkaTopicList.

type ProjectDatabaseKafkaTopicObservation

type ProjectDatabaseKafkaTopicObservation struct {

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

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

	// Minimum insync replica accepted for this topic
	MinInsyncReplicas *float64 `json:"minInsyncReplicas,omitempty" tf:"min_insync_replicas,omitempty"`

	// Name of the topic
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Number of partitions for this topic
	Partitions *float64 `json:"partitions,omitempty" tf:"partitions,omitempty"`

	// Number of replication for this topic
	Replication *float64 `json:"replication,omitempty" tf:"replication,omitempty"`

	// Number of bytes for the retention of the data for this topic
	RetentionBytes *float64 `json:"retentionBytes,omitempty" tf:"retention_bytes,omitempty"`

	// Number of hours for the retention of the data for this topic
	RetentionHours *float64 `json:"retentionHours,omitempty" tf:"retention_hours,omitempty"`

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

func (*ProjectDatabaseKafkaTopicObservation) DeepCopy

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

func (*ProjectDatabaseKafkaTopicObservation) DeepCopyInto

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

type ProjectDatabaseKafkaTopicParameters

type ProjectDatabaseKafkaTopicParameters struct {

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

	// Minimum insync replica accepted for this topic
	// +kubebuilder:validation:Optional
	MinInsyncReplicas *float64 `json:"minInsyncReplicas,omitempty" tf:"min_insync_replicas,omitempty"`

	// Name of the topic
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Number of partitions for this topic
	// +kubebuilder:validation:Optional
	Partitions *float64 `json:"partitions,omitempty" tf:"partitions,omitempty"`

	// Number of replication for this topic
	// +kubebuilder:validation:Optional
	Replication *float64 `json:"replication,omitempty" tf:"replication,omitempty"`

	// Number of bytes for the retention of the data for this topic
	// +kubebuilder:validation:Optional
	RetentionBytes *float64 `json:"retentionBytes,omitempty" tf:"retention_bytes,omitempty"`

	// Number of hours for the retention of the data for this topic
	// +kubebuilder:validation:Optional
	RetentionHours *float64 `json:"retentionHours,omitempty" tf:"retention_hours,omitempty"`

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

func (*ProjectDatabaseKafkaTopicParameters) DeepCopy

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

func (*ProjectDatabaseKafkaTopicParameters) DeepCopyInto

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

type ProjectDatabaseKafkaTopicSpec

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

ProjectDatabaseKafkaTopicSpec defines the desired state of ProjectDatabaseKafkaTopic

func (*ProjectDatabaseKafkaTopicSpec) DeepCopy

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

func (*ProjectDatabaseKafkaTopicSpec) DeepCopyInto

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

type ProjectDatabaseKafkaTopicStatus

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

ProjectDatabaseKafkaTopicStatus defines the observed state of ProjectDatabaseKafkaTopic.

func (*ProjectDatabaseKafkaTopicStatus) DeepCopy

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

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