v1alpha1

package
v0.0.0-...-8e62913 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Archive_Kind             = "Archive"
	Archive_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Archive_Kind}.String()
	Archive_KindAPIVersion   = Archive_Kind + "." + CRDGroupVersion.String()
	Archive_GroupVersionKind = CRDGroupVersion.WithKind(Archive_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 Archive

type Archive struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ArchiveSpec   `json:"spec"`
	Status            ArchiveStatus `json:"status,omitempty"`
}

Archive is the Schema for the Archives API +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,mongodbatlasjet}

func (*Archive) DeepCopy

func (in *Archive) DeepCopy() *Archive

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

func (*Archive) DeepCopyInto

func (in *Archive) DeepCopyInto(out *Archive)

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

func (*Archive) DeepCopyObject

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

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

func (*Archive) GetCondition

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

GetCondition of this Archive.

func (*Archive) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Archive

func (*Archive) GetDeletionPolicy

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

GetDeletionPolicy of this Archive.

func (*Archive) GetID

func (tr *Archive) GetID() string

GetID returns ID of underlying Terraform resource of this Archive

func (*Archive) GetObservation

func (tr *Archive) GetObservation() (map[string]interface{}, error)

GetObservation of this Archive

func (*Archive) GetParameters

func (tr *Archive) GetParameters() (map[string]interface{}, error)

GetParameters of this Archive

func (*Archive) GetProviderConfigReference

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

GetProviderConfigReference of this Archive.

func (*Archive) GetProviderReference

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

GetProviderReference of this Archive. Deprecated: Use GetProviderConfigReference.

func (*Archive) GetTerraformResourceType

func (mg *Archive) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Archive

func (*Archive) GetTerraformSchemaVersion

func (tr *Archive) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Archive) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Archive.

func (*Archive) LateInitialize

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

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

func (*Archive) ResolveReferences

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

ResolveReferences of this Archive.

func (*Archive) SetConditions

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

SetConditions of this Archive.

func (*Archive) SetDeletionPolicy

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

SetDeletionPolicy of this Archive.

func (*Archive) SetObservation

func (tr *Archive) SetObservation(obs map[string]interface{}) error

SetObservation for this Archive

func (*Archive) SetParameters

func (tr *Archive) SetParameters(params map[string]interface{}) error

SetParameters for this Archive

func (*Archive) SetProviderConfigReference

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

SetProviderConfigReference of this Archive.

func (*Archive) SetProviderReference

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

SetProviderReference of this Archive. Deprecated: Use SetProviderConfigReference.

func (*Archive) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Archive.

type ArchiveList

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

ArchiveList contains a list of Archives

func (*ArchiveList) DeepCopy

func (in *ArchiveList) DeepCopy() *ArchiveList

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

func (*ArchiveList) DeepCopyInto

func (in *ArchiveList) DeepCopyInto(out *ArchiveList)

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

func (*ArchiveList) DeepCopyObject

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

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

func (*ArchiveList) GetItems

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

GetItems of this ArchiveList.

type ArchiveObservation

type ArchiveObservation struct {
	ArchiveID *string `json:"archiveId,omitempty" tf:"archive_id,omitempty"`

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

	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*ArchiveObservation) DeepCopy

func (in *ArchiveObservation) DeepCopy() *ArchiveObservation

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

func (*ArchiveObservation) DeepCopyInto

func (in *ArchiveObservation) DeepCopyInto(out *ArchiveObservation)

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

type ArchiveParameters

type ArchiveParameters struct {

	// +kubebuilder:validation:Required
	ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"`

	// +kubebuilder:validation:Required
	CollName *string `json:"collName" tf:"coll_name,omitempty"`

	// +kubebuilder:validation:Required
	Criteria []CriteriaParameters `json:"criteria" tf:"criteria,omitempty"`

	// +kubebuilder:validation:Required
	DBName *string `json:"dbName" tf:"db_name,omitempty"`

	// +kubebuilder:validation:Optional
	PartitionFields []PartitionFieldsParameters `json:"partitionFields,omitempty" tf:"partition_fields,omitempty"`

	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" tf:"paused,omitempty"`

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

	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SyncCreation *bool `json:"syncCreation,omitempty" tf:"sync_creation,omitempty"`
}

func (*ArchiveParameters) DeepCopy

func (in *ArchiveParameters) DeepCopy() *ArchiveParameters

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

func (*ArchiveParameters) DeepCopyInto

func (in *ArchiveParameters) DeepCopyInto(out *ArchiveParameters)

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

type ArchiveSpec

type ArchiveSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ArchiveParameters `json:"forProvider"`
}

ArchiveSpec defines the desired state of Archive

func (*ArchiveSpec) DeepCopy

func (in *ArchiveSpec) DeepCopy() *ArchiveSpec

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

func (*ArchiveSpec) DeepCopyInto

func (in *ArchiveSpec) DeepCopyInto(out *ArchiveSpec)

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

type ArchiveStatus

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

ArchiveStatus defines the observed state of Archive.

func (*ArchiveStatus) DeepCopy

func (in *ArchiveStatus) DeepCopy() *ArchiveStatus

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

func (*ArchiveStatus) DeepCopyInto

func (in *ArchiveStatus) DeepCopyInto(out *ArchiveStatus)

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

type CriteriaObservation

type CriteriaObservation struct {
}

func (*CriteriaObservation) DeepCopy

func (in *CriteriaObservation) DeepCopy() *CriteriaObservation

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

func (*CriteriaObservation) DeepCopyInto

func (in *CriteriaObservation) DeepCopyInto(out *CriteriaObservation)

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

type CriteriaParameters

type CriteriaParameters struct {

	// +kubebuilder:validation:Optional
	DateField *string `json:"dateField,omitempty" tf:"date_field,omitempty"`

	// +kubebuilder:validation:Optional
	DateFormat *string `json:"dateFormat,omitempty" tf:"date_format,omitempty"`

	// +kubebuilder:validation:Optional
	ExpireAfterDays *int64 `json:"expireAfterDays,omitempty" tf:"expire_after_days,omitempty"`

	// +kubebuilder:validation:Optional
	Query *string `json:"query,omitempty" tf:"query,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*CriteriaParameters) DeepCopy

func (in *CriteriaParameters) DeepCopy() *CriteriaParameters

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

func (*CriteriaParameters) DeepCopyInto

func (in *CriteriaParameters) DeepCopyInto(out *CriteriaParameters)

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

type PartitionFieldsObservation

type PartitionFieldsObservation struct {
	FieldType *string `json:"fieldType,omitempty" tf:"field_type,omitempty"`
}

func (*PartitionFieldsObservation) DeepCopy

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

func (*PartitionFieldsObservation) DeepCopyInto

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

type PartitionFieldsParameters

type PartitionFieldsParameters struct {

	// +kubebuilder:validation:Required
	FieldName *string `json:"fieldName" tf:"field_name,omitempty"`

	// +kubebuilder:validation:Required
	Order *int64 `json:"order" tf:"order,omitempty"`
}

func (*PartitionFieldsParameters) DeepCopy

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

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