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

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectdatabasem3dbnamespace.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 (
	ProjectDatabaseM3DbNamespace_Kind             = "ProjectDatabaseM3DbNamespace"
	ProjectDatabaseM3DbNamespace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectDatabaseM3DbNamespace_Kind}.String()
	ProjectDatabaseM3DbNamespace_KindAPIVersion   = ProjectDatabaseM3DbNamespace_Kind + "." + CRDGroupVersion.String()
	ProjectDatabaseM3DbNamespace_GroupVersionKind = CRDGroupVersion.WithKind(ProjectDatabaseM3DbNamespace_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectDatabaseM3DbNamespace

type ProjectDatabaseM3DbNamespace 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.resolution) || (has(self.initProvider) && has(self.initProvider.resolution))",message="spec.forProvider.resolution is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.retentionPeriodDuration) || (has(self.initProvider) && has(self.initProvider.retentionPeriodDuration))",message="spec.forProvider.retentionPeriodDuration 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   ProjectDatabaseM3DbNamespaceSpec   `json:"spec"`
	Status ProjectDatabaseM3DbNamespaceStatus `json:"status,omitempty"`
}

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

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

func (*ProjectDatabaseM3DbNamespace) DeepCopyInto

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

func (*ProjectDatabaseM3DbNamespace) DeepCopyObject

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

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

func (*ProjectDatabaseM3DbNamespace) GetCondition

GetCondition of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespace) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) GetID

GetID returns ID of underlying Terraform resource of this ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespace) GetInitParameters

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

GetInitParameters of this ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespace) GetManagementPolicies

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

GetManagementPolicies of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) GetObservation

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

GetObservation of this ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespace) GetParameters

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

GetParameters of this ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespace) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) GetTerraformResourceType

func (mg *ProjectDatabaseM3DbNamespace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespace) GetTerraformSchemaVersion

func (tr *ProjectDatabaseM3DbNamespace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectDatabaseM3DbNamespace) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) LateInitialize

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

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

func (*ProjectDatabaseM3DbNamespace) SetConditions

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

SetConditions of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) SetManagementPolicies

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

SetManagementPolicies of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) SetObservation

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

SetObservation for this ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespace) SetParameters

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

SetParameters for this ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespace) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespace) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectDatabaseM3DbNamespace.

type ProjectDatabaseM3DbNamespaceInitParameters

type ProjectDatabaseM3DbNamespaceInitParameters struct {

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

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

	// Resolution for an aggregated namespace
	Resolution *string `json:"resolution,omitempty" tf:"resolution,omitempty"`

	// Controls how long we wait before expiring stale data
	RetentionBlockDataExpirationDuration *string `json:"retentionBlockDataExpirationDuration,omitempty" tf:"retention_block_data_expiration_duration,omitempty"`

	// Controls how long to keep a block in memory before flushing to a fileset on disk
	RetentionBlockSizeDuration *string `json:"retentionBlockSizeDuration,omitempty" tf:"retention_block_size_duration,omitempty"`

	// Controls how far into the future writes to the namespace will be accepted
	RetentionBufferFutureDuration *string `json:"retentionBufferFutureDuration,omitempty" tf:"retention_buffer_future_duration,omitempty"`

	// Controls how far into the past writes to the namespace will be accepted
	RetentionBufferPastDuration *string `json:"retentionBufferPastDuration,omitempty" tf:"retention_buffer_past_duration,omitempty"`

	// Controls the duration of time that M3DB will retain data for the namespace
	RetentionPeriodDuration *string `json:"retentionPeriodDuration,omitempty" tf:"retention_period_duration,omitempty"`

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

	// Defines whether M3db will create snapshot files for this namespace
	SnapshotEnabled *bool `json:"snapshotEnabled,omitempty" tf:"snapshot_enabled,omitempty"`

	// Defines whether M3db will include writes to this namespace in the commit log
	WritesToCommitLogEnabled *bool `json:"writesToCommitLogEnabled,omitempty" tf:"writes_to_commit_log_enabled,omitempty"`
}

func (*ProjectDatabaseM3DbNamespaceInitParameters) DeepCopy

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

func (*ProjectDatabaseM3DbNamespaceInitParameters) DeepCopyInto

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

type ProjectDatabaseM3DbNamespaceList

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

ProjectDatabaseM3DbNamespaceList contains a list of ProjectDatabaseM3DbNamespaces

func (*ProjectDatabaseM3DbNamespaceList) DeepCopy

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

func (*ProjectDatabaseM3DbNamespaceList) DeepCopyInto

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

func (*ProjectDatabaseM3DbNamespaceList) DeepCopyObject

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

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

func (*ProjectDatabaseM3DbNamespaceList) GetItems

GetItems of this ProjectDatabaseM3DbNamespaceList.

type ProjectDatabaseM3DbNamespaceObservation

type ProjectDatabaseM3DbNamespaceObservation struct {

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

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

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

	// Resolution for an aggregated namespace
	Resolution *string `json:"resolution,omitempty" tf:"resolution,omitempty"`

	// Controls how long we wait before expiring stale data
	RetentionBlockDataExpirationDuration *string `json:"retentionBlockDataExpirationDuration,omitempty" tf:"retention_block_data_expiration_duration,omitempty"`

	// Controls how long to keep a block in memory before flushing to a fileset on disk
	RetentionBlockSizeDuration *string `json:"retentionBlockSizeDuration,omitempty" tf:"retention_block_size_duration,omitempty"`

	// Controls how far into the future writes to the namespace will be accepted
	RetentionBufferFutureDuration *string `json:"retentionBufferFutureDuration,omitempty" tf:"retention_buffer_future_duration,omitempty"`

	// Controls how far into the past writes to the namespace will be accepted
	RetentionBufferPastDuration *string `json:"retentionBufferPastDuration,omitempty" tf:"retention_buffer_past_duration,omitempty"`

	// Controls the duration of time that M3DB will retain data for the namespace
	RetentionPeriodDuration *string `json:"retentionPeriodDuration,omitempty" tf:"retention_period_duration,omitempty"`

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

	// Defines whether M3db will create snapshot files for this namespace
	SnapshotEnabled *bool `json:"snapshotEnabled,omitempty" tf:"snapshot_enabled,omitempty"`

	// Type of namespace
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Defines whether M3db will include writes to this namespace in the commit log
	WritesToCommitLogEnabled *bool `json:"writesToCommitLogEnabled,omitempty" tf:"writes_to_commit_log_enabled,omitempty"`
}

func (*ProjectDatabaseM3DbNamespaceObservation) DeepCopy

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

func (*ProjectDatabaseM3DbNamespaceObservation) DeepCopyInto

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

type ProjectDatabaseM3DbNamespaceParameters

type ProjectDatabaseM3DbNamespaceParameters struct {

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

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

	// Resolution for an aggregated namespace
	// +kubebuilder:validation:Optional
	Resolution *string `json:"resolution,omitempty" tf:"resolution,omitempty"`

	// Controls how long we wait before expiring stale data
	// +kubebuilder:validation:Optional
	RetentionBlockDataExpirationDuration *string `json:"retentionBlockDataExpirationDuration,omitempty" tf:"retention_block_data_expiration_duration,omitempty"`

	// Controls how long to keep a block in memory before flushing to a fileset on disk
	// +kubebuilder:validation:Optional
	RetentionBlockSizeDuration *string `json:"retentionBlockSizeDuration,omitempty" tf:"retention_block_size_duration,omitempty"`

	// Controls how far into the future writes to the namespace will be accepted
	// +kubebuilder:validation:Optional
	RetentionBufferFutureDuration *string `json:"retentionBufferFutureDuration,omitempty" tf:"retention_buffer_future_duration,omitempty"`

	// Controls how far into the past writes to the namespace will be accepted
	// +kubebuilder:validation:Optional
	RetentionBufferPastDuration *string `json:"retentionBufferPastDuration,omitempty" tf:"retention_buffer_past_duration,omitempty"`

	// Controls the duration of time that M3DB will retain data for the namespace
	// +kubebuilder:validation:Optional
	RetentionPeriodDuration *string `json:"retentionPeriodDuration,omitempty" tf:"retention_period_duration,omitempty"`

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

	// Defines whether M3db will create snapshot files for this namespace
	// +kubebuilder:validation:Optional
	SnapshotEnabled *bool `json:"snapshotEnabled,omitempty" tf:"snapshot_enabled,omitempty"`

	// Defines whether M3db will include writes to this namespace in the commit log
	// +kubebuilder:validation:Optional
	WritesToCommitLogEnabled *bool `json:"writesToCommitLogEnabled,omitempty" tf:"writes_to_commit_log_enabled,omitempty"`
}

func (*ProjectDatabaseM3DbNamespaceParameters) DeepCopy

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

func (*ProjectDatabaseM3DbNamespaceParameters) DeepCopyInto

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

type ProjectDatabaseM3DbNamespaceSpec

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

ProjectDatabaseM3DbNamespaceSpec defines the desired state of ProjectDatabaseM3DbNamespace

func (*ProjectDatabaseM3DbNamespaceSpec) DeepCopy

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

func (*ProjectDatabaseM3DbNamespaceSpec) DeepCopyInto

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

type ProjectDatabaseM3DbNamespaceStatus

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

ProjectDatabaseM3DbNamespaceStatus defines the observed state of ProjectDatabaseM3DbNamespace.

func (*ProjectDatabaseM3DbNamespaceStatus) DeepCopy

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

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