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=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"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.projectId)",message="projectId is a required parameter"
	Spec   AuthenticationDatabaseUserSpec   `json:"spec"`
	Status AuthenticationDatabaseUserStatus `json:"status,omitempty"`
}

AuthenticationDatabaseUser is the Schema for the AuthenticationDatabaseUsers API. Provides a X509 Authentication Database User 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 (*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) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for 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) 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) 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) 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

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.

type AuthenticationDatabaseUserObservation

type AuthenticationDatabaseUserObservation struct {

	// Array of objects where each details one unexpired database user certificate.
	Certificates []CertificatesObservation `json:"certificates,omitempty" tf:"certificates,omitempty"`

	// Serial number of this certificate.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A number of months that the created certificate is valid for before expiry, up to 24 months. By default is 3.
	MonthsUntilExpiration *float64 `json:"monthsUntilExpiration,omitempty" tf:"months_until_expiration,omitempty"`

	// Identifier for the Atlas project associated with the X.509 configuration.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Username of the database user to create a certificate for.
	Username *string `json:"username,omitempty" tf:"username,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 {

	// PEM string containing one or more customer CAs for database user authentication.
	// +kubebuilder:validation:Optional
	CustomerX509CasSecretRef *v1.SecretKeySelector `json:"customerX509CasSecretRef,omitempty" tf:"-"`

	// A number of months that the created certificate is valid for before expiry, up to 24 months. By default is 3.
	// +kubebuilder:validation:Optional
	MonthsUntilExpiration *float64 `json:"monthsUntilExpiration,omitempty" tf:"months_until_expiration,omitempty"`

	// Identifier for the Atlas project associated with the X.509 configuration.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Username of the database user to create a certificate for.
	// +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 {

	// Timestamp in ISO 8601 date and time format in UTC when Atlas created this X.509 certificate.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Unique identifier of the Atlas project to which this certificate belongs.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Serial number of this certificate.
	ID *float64 `json:"id,omitempty" tf:"id,omitempty"`

	// Timestamp in ISO 8601 date and time format in UTC when this certificate expires.
	NotAfter *string `json:"notAfter,omitempty" tf:"not_after,omitempty"`

	// Fully distinguished name of the database user to which this certificate belongs. To learn more, see RFC 2253.
	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