v1alpha1

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 14 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
)
View Source
var (
	IPMode_Kind             = "IPMode"
	IPMode_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IPMode_Kind}.String()
	IPMode_KindAPIVersion   = IPMode_Kind + "." + CRDGroupVersion.String()
	IPMode_GroupVersionKind = CRDGroupVersion.WithKind(IPMode_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type EndpointRegionalMode

type EndpointRegionalMode struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EndpointRegionalModeSpec   `json:"spec"`
	Status            EndpointRegionalModeStatus `json:"status,omitempty"`
}

EndpointRegionalMode is the Schema for the EndpointRegionalModes 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,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) GetCondition

func (mg *EndpointRegionalMode) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this EndpointRegionalMode.

func (*EndpointRegionalMode) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EndpointRegionalMode

func (*EndpointRegionalMode) GetDeletionPolicy

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

GetDeletionPolicy of 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) GetProviderConfigReference

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

GetProviderConfigReference of this EndpointRegionalMode.

func (*EndpointRegionalMode) GetProviderReference

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

GetProviderReference of this EndpointRegionalMode. Deprecated: Use GetProviderConfigReference.

func (*EndpointRegionalMode) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo 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) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EndpointRegionalMode.

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) ResolveReferences

func (mg *EndpointRegionalMode) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this EndpointRegionalMode.

func (*EndpointRegionalMode) SetConditions

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

SetConditions of this EndpointRegionalMode.

func (*EndpointRegionalMode) SetDeletionPolicy

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

SetDeletionPolicy of this EndpointRegionalMode.

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

func (*EndpointRegionalMode) SetProviderConfigReference

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

SetProviderConfigReference of this EndpointRegionalMode.

func (*EndpointRegionalMode) SetProviderReference

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

SetProviderReference of this EndpointRegionalMode. Deprecated: Use SetProviderConfigReference.

func (*EndpointRegionalMode) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EndpointRegionalMode.

func (*EndpointRegionalMode) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of 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.

func (*EndpointRegionalModeList) GetItems

func (l *EndpointRegionalModeList) GetItems() []resource.Managed

GetItems of this EndpointRegionalModeList.

type EndpointRegionalModeObservation

type EndpointRegionalModeObservation struct {
	ID *string `json:"id,omitempty" tf:"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 {

	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-mongodbatlas/apis/mongodbatlas/v1alpha1.Project
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-mongodbatlas/config/common.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
}

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.

type IPMode

type IPMode struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IPModeSpec   `json:"spec"`
	Status            IPModeStatus `json:"status,omitempty"`
}

IPMode is the Schema for the IPModes 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,mongodbatlas}

func (*IPMode) DeepCopy

func (in *IPMode) DeepCopy() *IPMode

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

func (*IPMode) DeepCopyInto

func (in *IPMode) DeepCopyInto(out *IPMode)

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

func (*IPMode) DeepCopyObject

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

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

func (*IPMode) GetCondition

func (mg *IPMode) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this IPMode.

func (*IPMode) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IPMode

func (*IPMode) GetDeletionPolicy

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

GetDeletionPolicy of this IPMode.

func (*IPMode) GetID

func (tr *IPMode) GetID() string

GetID returns ID of underlying Terraform resource of this IPMode

func (*IPMode) GetObservation

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

GetObservation of this IPMode

func (*IPMode) GetParameters

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

GetParameters of this IPMode

func (*IPMode) GetProviderConfigReference

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

GetProviderConfigReference of this IPMode.

func (*IPMode) GetProviderReference

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

GetProviderReference of this IPMode. Deprecated: Use GetProviderConfigReference.

func (*IPMode) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IPMode.

func (*IPMode) GetTerraformResourceType

func (mg *IPMode) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IPMode

func (*IPMode) GetTerraformSchemaVersion

func (tr *IPMode) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IPMode) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IPMode.

func (*IPMode) LateInitialize

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

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

func (*IPMode) ResolveReferences

func (mg *IPMode) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this IPMode.

func (*IPMode) SetConditions

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

SetConditions of this IPMode.

func (*IPMode) SetDeletionPolicy

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

SetDeletionPolicy of this IPMode.

func (*IPMode) SetObservation

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

SetObservation for this IPMode

func (*IPMode) SetParameters

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

SetParameters for this IPMode

func (*IPMode) SetProviderConfigReference

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

SetProviderConfigReference of this IPMode.

func (*IPMode) SetProviderReference

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

SetProviderReference of this IPMode. Deprecated: Use SetProviderConfigReference.

func (*IPMode) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IPMode.

func (*IPMode) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IPMode.

type IPModeList

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

IPModeList contains a list of IPModes

func (*IPModeList) DeepCopy

func (in *IPModeList) DeepCopy() *IPModeList

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

func (*IPModeList) DeepCopyInto

func (in *IPModeList) DeepCopyInto(out *IPModeList)

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

func (*IPModeList) DeepCopyObject

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

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

func (*IPModeList) GetItems

func (l *IPModeList) GetItems() []resource.Managed

GetItems of this IPModeList.

type IPModeObservation

type IPModeObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*IPModeObservation) DeepCopy

func (in *IPModeObservation) DeepCopy() *IPModeObservation

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

func (*IPModeObservation) DeepCopyInto

func (in *IPModeObservation) DeepCopyInto(out *IPModeObservation)

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

type IPModeParameters

type IPModeParameters struct {

	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-mongodbatlas/apis/mongodbatlas/v1alpha1.Project
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-mongodbatlas/config/common.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
}

func (*IPModeParameters) DeepCopy

func (in *IPModeParameters) DeepCopy() *IPModeParameters

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

func (*IPModeParameters) DeepCopyInto

func (in *IPModeParameters) DeepCopyInto(out *IPModeParameters)

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

type IPModeSpec

type IPModeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IPModeParameters `json:"forProvider"`
}

IPModeSpec defines the desired state of IPMode

func (*IPModeSpec) DeepCopy

func (in *IPModeSpec) DeepCopy() *IPModeSpec

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

func (*IPModeSpec) DeepCopyInto

func (in *IPModeSpec) DeepCopyInto(out *IPModeSpec)

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

type IPModeStatus

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

IPModeStatus defines the observed state of IPMode.

func (*IPModeStatus) DeepCopy

func (in *IPModeStatus) DeepCopy() *IPModeStatus

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

func (*IPModeStatus) DeepCopyInto

func (in *IPModeStatus) DeepCopyInto(out *IPModeStatus)

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