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: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	EndpointRegionalMode_Kind             = "EndpointRegionalMode"
	EndpointRegionalMode_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EndpointRegionalMode_Kind}.String()
	EndpointRegionalMode_KindAPIVersion   = EndpointRegionalMode_Kind + "." + CRDGroupVersion.String()
	EndpointRegionalMode_GroupVersionKind = CRDGroupVersion.WithKind(EndpointRegionalMode_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 EndpointRegionalMode

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

EndpointRegionalMode is the Schema for the EndpointRegionalModes API. Provides a Private Endpoint Regional Mode 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 (*EndpointRegionalMode) DeepCopy

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

func (*EndpointRegionalMode) DeepCopyInto

func (in *EndpointRegionalMode) DeepCopyInto(out *EndpointRegionalMode)

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

func (*EndpointRegionalMode) DeepCopyObject

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

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

func (*EndpointRegionalMode) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EndpointRegionalMode

func (*EndpointRegionalMode) GetID

func (tr *EndpointRegionalMode) GetID() string

GetID returns ID of underlying Terraform resource of this EndpointRegionalMode

func (*EndpointRegionalMode) GetObservation

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

GetObservation of this EndpointRegionalMode

func (*EndpointRegionalMode) GetParameters

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

GetParameters of this EndpointRegionalMode

func (*EndpointRegionalMode) GetTerraformResourceType

func (mg *EndpointRegionalMode) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EndpointRegionalMode

func (*EndpointRegionalMode) GetTerraformSchemaVersion

func (tr *EndpointRegionalMode) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EndpointRegionalMode) LateInitialize

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

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

func (*EndpointRegionalMode) SetObservation

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

SetObservation for this EndpointRegionalMode

func (*EndpointRegionalMode) SetParameters

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

SetParameters for this EndpointRegionalMode

type EndpointRegionalModeList

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

EndpointRegionalModeList contains a list of EndpointRegionalModes

func (*EndpointRegionalModeList) DeepCopy

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

func (*EndpointRegionalModeList) DeepCopyInto

func (in *EndpointRegionalModeList) DeepCopyInto(out *EndpointRegionalModeList)

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

func (*EndpointRegionalModeList) DeepCopyObject

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

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

type EndpointRegionalModeObservation

type EndpointRegionalModeObservation struct {

	// Flag that indicates whether the regionalized private endpoint setting is enabled for the project.   Set this value to true to create more than one private endpoint in a cloud provider region to connect to multi-region and global Atlas sharded clusters. You can enable this setting only if your Atlas project contains no replica sets. You can't disable this setting if you have:
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

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

func (*EndpointRegionalModeObservation) DeepCopy

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

func (*EndpointRegionalModeObservation) DeepCopyInto

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

type EndpointRegionalModeParameters

type EndpointRegionalModeParameters struct {

	// Flag that indicates whether the regionalized private endpoint setting is enabled for the project.   Set this value to true to create more than one private endpoint in a cloud provider region to connect to multi-region and global Atlas sharded clusters. You can enable this setting only if your Atlas project contains no replica sets. You can't disable this setting if you have:
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

func (*EndpointRegionalModeParameters) DeepCopy

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

func (*EndpointRegionalModeParameters) DeepCopyInto

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

type EndpointRegionalModeSpec

type EndpointRegionalModeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EndpointRegionalModeParameters `json:"forProvider"`
}

EndpointRegionalModeSpec defines the desired state of EndpointRegionalMode

func (*EndpointRegionalModeSpec) DeepCopy

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

func (*EndpointRegionalModeSpec) DeepCopyInto

func (in *EndpointRegionalModeSpec) DeepCopyInto(out *EndpointRegionalModeSpec)

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

type EndpointRegionalModeStatus

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

EndpointRegionalModeStatus defines the observed state of EndpointRegionalMode.

func (*EndpointRegionalModeStatus) DeepCopy

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

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