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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	AuthenticationDatabaseUser_Kind             = "AuthenticationDatabaseUser"
	AuthenticationDatabaseUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AuthenticationDatabaseUser_Kind}.String()
	AuthenticationDatabaseUser_KindAPIVersion   = AuthenticationDatabaseUser_Kind + "." + CRDGroupVersion.String()
	AuthenticationDatabaseUser_GroupVersionKind = CRDGroupVersion.WithKind(AuthenticationDatabaseUser_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 AuthenticationDatabaseUser

type AuthenticationDatabaseUser struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AuthenticationDatabaseUserSpec   `json:"spec"`
	Status            AuthenticationDatabaseUserStatus `json:"status,omitempty"`
}

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

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

func (*AuthenticationDatabaseUser) DeepCopyInto

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

func (*AuthenticationDatabaseUser) DeepCopyObject

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

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

func (*AuthenticationDatabaseUser) GetCondition

GetCondition of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AuthenticationDatabaseUser

func (*AuthenticationDatabaseUser) GetDeletionPolicy

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

GetDeletionPolicy of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) GetID

func (tr *AuthenticationDatabaseUser) GetID() string

GetID returns ID of underlying Terraform resource of this AuthenticationDatabaseUser

func (*AuthenticationDatabaseUser) GetObservation

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

GetObservation of this AuthenticationDatabaseUser

func (*AuthenticationDatabaseUser) GetParameters

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

GetParameters of this AuthenticationDatabaseUser

func (*AuthenticationDatabaseUser) GetProviderConfigReference

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

GetProviderConfigReference of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) GetProviderReference

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

GetProviderReference of this AuthenticationDatabaseUser. Deprecated: Use GetProviderConfigReference.

func (*AuthenticationDatabaseUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) GetTerraformResourceType

func (mg *AuthenticationDatabaseUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AuthenticationDatabaseUser

func (*AuthenticationDatabaseUser) GetTerraformSchemaVersion

func (tr *AuthenticationDatabaseUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AuthenticationDatabaseUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) LateInitialize

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

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

func (*AuthenticationDatabaseUser) ResolveReferences

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

ResolveReferences of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) SetConditions

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

SetConditions of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) SetDeletionPolicy

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

SetDeletionPolicy of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) SetObservation

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

SetObservation for this AuthenticationDatabaseUser

func (*AuthenticationDatabaseUser) SetParameters

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

SetParameters for this AuthenticationDatabaseUser

func (*AuthenticationDatabaseUser) SetProviderConfigReference

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

SetProviderConfigReference of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) SetProviderReference

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

SetProviderReference of this AuthenticationDatabaseUser. Deprecated: Use SetProviderConfigReference.

func (*AuthenticationDatabaseUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AuthenticationDatabaseUser.

type AuthenticationDatabaseUserList

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

AuthenticationDatabaseUserList contains a list of AuthenticationDatabaseUsers

func (*AuthenticationDatabaseUserList) DeepCopy

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

func (*AuthenticationDatabaseUserList) DeepCopyInto

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

func (*AuthenticationDatabaseUserList) DeepCopyObject

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

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

func (*AuthenticationDatabaseUserList) GetItems

GetItems of this AuthenticationDatabaseUserList.

type AuthenticationDatabaseUserObservation

type AuthenticationDatabaseUserObservation struct {
	Certificates []CertificatesObservation `json:"certificates,omitempty" tf:"certificates,omitempty"`

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

func (*AuthenticationDatabaseUserObservation) DeepCopy

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

func (*AuthenticationDatabaseUserObservation) DeepCopyInto

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

type AuthenticationDatabaseUserParameters

type AuthenticationDatabaseUserParameters struct {

	// +kubebuilder:validation:Optional
	CustomerX509CasSecretRef *v1.SecretKeySelector `json:"customerX509CasSecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	MonthsUntilExpiration *float64 `json:"monthsUntilExpiration,omitempty" tf:"months_until_expiration,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:"-"`

	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*AuthenticationDatabaseUserParameters) DeepCopy

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

func (*AuthenticationDatabaseUserParameters) DeepCopyInto

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

type AuthenticationDatabaseUserSpec

type AuthenticationDatabaseUserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AuthenticationDatabaseUserParameters `json:"forProvider"`
}

AuthenticationDatabaseUserSpec defines the desired state of AuthenticationDatabaseUser

func (*AuthenticationDatabaseUserSpec) DeepCopy

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

func (*AuthenticationDatabaseUserSpec) DeepCopyInto

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

type AuthenticationDatabaseUserStatus

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

AuthenticationDatabaseUserStatus defines the observed state of AuthenticationDatabaseUser.

func (*AuthenticationDatabaseUserStatus) DeepCopy

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

func (*AuthenticationDatabaseUserStatus) DeepCopyInto

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

type CertificatesObservation

type CertificatesObservation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

	NotAfter *string `json:"notAfter,omitempty" tf:"not_after,omitempty"`

	Subject *string `json:"subject,omitempty" tf:"subject,omitempty"`
}

func (*CertificatesObservation) DeepCopy

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

func (*CertificatesObservation) DeepCopyInto

func (in *CertificatesObservation) DeepCopyInto(out *CertificatesObservation)

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

type CertificatesParameters

type CertificatesParameters struct {
}

func (*CertificatesParameters) DeepCopy

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

func (*CertificatesParameters) DeepCopyInto

func (in *CertificatesParameters) DeepCopyInto(out *CertificatesParameters)

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