v1alpha1

package
v0.0.0-...-30237b5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "custom.mongodbatlas.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	DNSConfigurationClusterAws_Kind             = "DNSConfigurationClusterAws"
	DNSConfigurationClusterAws_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DNSConfigurationClusterAws_Kind}.String()
	DNSConfigurationClusterAws_KindAPIVersion   = DNSConfigurationClusterAws_Kind + "." + CRDGroupVersion.String()
	DNSConfigurationClusterAws_GroupVersionKind = CRDGroupVersion.WithKind(DNSConfigurationClusterAws_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type DNSConfigurationClusterAws

type DNSConfigurationClusterAws struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.enabled)",message="enabled is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.projectId)",message="projectId is a required parameter"
	Spec   DNSConfigurationClusterAwsSpec   `json:"spec"`
	Status DNSConfigurationClusterAwsStatus `json:"status,omitempty"`
}

DNSConfigurationClusterAws is the Schema for the DNSConfigurationClusterAwss API. Provides a Custom DNS Configuration for Atlas Clusters on AWS resource. +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,mongodbatlas}

func (*DNSConfigurationClusterAws) DeepCopy

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

func (*DNSConfigurationClusterAws) DeepCopyInto

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

func (*DNSConfigurationClusterAws) DeepCopyObject

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

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

func (*DNSConfigurationClusterAws) GetCondition

GetCondition of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DNSConfigurationClusterAws

func (*DNSConfigurationClusterAws) GetDeletionPolicy

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

GetDeletionPolicy of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) GetID

func (tr *DNSConfigurationClusterAws) GetID() string

GetID returns ID of underlying Terraform resource of this DNSConfigurationClusterAws

func (*DNSConfigurationClusterAws) GetManagementPolicy

func (mg *DNSConfigurationClusterAws) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) GetObservation

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

GetObservation of this DNSConfigurationClusterAws

func (*DNSConfigurationClusterAws) GetParameters

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

GetParameters of this DNSConfigurationClusterAws

func (*DNSConfigurationClusterAws) GetProviderConfigReference

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

GetProviderConfigReference of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) GetProviderReference

func (mg *DNSConfigurationClusterAws) GetProviderReference() *xpv1.Reference

GetProviderReference of this DNSConfigurationClusterAws. Deprecated: Use GetProviderConfigReference.

func (*DNSConfigurationClusterAws) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) GetTerraformResourceType

func (mg *DNSConfigurationClusterAws) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DNSConfigurationClusterAws

func (*DNSConfigurationClusterAws) GetTerraformSchemaVersion

func (tr *DNSConfigurationClusterAws) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DNSConfigurationClusterAws) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) LateInitialize

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

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

func (*DNSConfigurationClusterAws) SetConditions

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

SetConditions of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) SetDeletionPolicy

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

SetDeletionPolicy of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) SetManagementPolicy

func (mg *DNSConfigurationClusterAws) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) SetObservation

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

SetObservation for this DNSConfigurationClusterAws

func (*DNSConfigurationClusterAws) SetParameters

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

SetParameters for this DNSConfigurationClusterAws

func (*DNSConfigurationClusterAws) SetProviderConfigReference

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

SetProviderConfigReference of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) SetProviderReference

func (mg *DNSConfigurationClusterAws) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DNSConfigurationClusterAws. Deprecated: Use SetProviderConfigReference.

func (*DNSConfigurationClusterAws) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAws) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DNSConfigurationClusterAws.

type DNSConfigurationClusterAwsList

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

DNSConfigurationClusterAwsList contains a list of DNSConfigurationClusterAwss

func (*DNSConfigurationClusterAwsList) DeepCopy

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

func (*DNSConfigurationClusterAwsList) DeepCopyInto

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

func (*DNSConfigurationClusterAwsList) DeepCopyObject

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

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

func (*DNSConfigurationClusterAwsList) GetItems

GetItems of this DNSConfigurationClusterAwsList.

type DNSConfigurationClusterAwsObservation

type DNSConfigurationClusterAwsObservation struct {

	// Indicates whether the project's clusters deployed to AWS use custom DNS. If true, the Get All Clusters and Get One Cluster endpoints return the connectionStrings.private and connectionStrings.privateSrv fields for clusters deployed to AWS .
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

	// Required 	Unique identifier for the project.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
}

func (*DNSConfigurationClusterAwsObservation) DeepCopy

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

func (*DNSConfigurationClusterAwsObservation) DeepCopyInto

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

type DNSConfigurationClusterAwsParameters

type DNSConfigurationClusterAwsParameters struct {

	// Indicates whether the project's clusters deployed to AWS use custom DNS. If true, the Get All Clusters and Get One Cluster endpoints return the connectionStrings.private and connectionStrings.privateSrv fields for clusters deployed to AWS .
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Required 	Unique identifier for the project.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
}

func (*DNSConfigurationClusterAwsParameters) DeepCopy

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

func (*DNSConfigurationClusterAwsParameters) DeepCopyInto

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

type DNSConfigurationClusterAwsSpec

type DNSConfigurationClusterAwsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DNSConfigurationClusterAwsParameters `json:"forProvider"`
}

DNSConfigurationClusterAwsSpec defines the desired state of DNSConfigurationClusterAws

func (*DNSConfigurationClusterAwsSpec) DeepCopy

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

func (*DNSConfigurationClusterAwsSpec) DeepCopyInto

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

type DNSConfigurationClusterAwsStatus

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

DNSConfigurationClusterAwsStatus defines the observed state of DNSConfigurationClusterAws.

func (*DNSConfigurationClusterAwsStatus) DeepCopy

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

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