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

Index

Constants

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

Package type metadata.

Variables

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 (
	Lake_Kind             = "Lake"
	Lake_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Lake_Kind}.String()
	Lake_KindAPIVersion   = Lake_Kind + "." + CRDGroupVersion.String()
	Lake_GroupVersionKind = CRDGroupVersion.WithKind(Lake_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AwsObservation

type AwsObservation struct {
	ExternalID *string `json:"externalId,omitempty" tf:"external_id,omitempty"`

	IAMAssumedRoleArn *string `json:"iamAssumedRoleArn,omitempty" tf:"iam_assumed_role_arn,omitempty"`

	IAMUserArn *string `json:"iamUserArn,omitempty" tf:"iam_user_arn,omitempty"`
}

func (*AwsObservation) DeepCopy

func (in *AwsObservation) DeepCopy() *AwsObservation

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

func (*AwsObservation) DeepCopyInto

func (in *AwsObservation) DeepCopyInto(out *AwsObservation)

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

type AwsParameters

type AwsParameters struct {

	// +kubebuilder:validation:Required
	RoleID *string `json:"roleId" tf:"role_id,omitempty"`

	// +kubebuilder:validation:Required
	TestS3Bucket *string `json:"testS3Bucket" tf:"test_s3_bucket,omitempty"`
}

func (*AwsParameters) DeepCopy

func (in *AwsParameters) DeepCopy() *AwsParameters

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

func (*AwsParameters) DeepCopyInto

func (in *AwsParameters) DeepCopyInto(out *AwsParameters)

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

type CollectionsObservation

type CollectionsObservation struct {
	DataSources []DataSourcesObservation `json:"dataSources,omitempty" tf:"data_sources,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*CollectionsObservation) DeepCopy

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

func (*CollectionsObservation) DeepCopyInto

func (in *CollectionsObservation) DeepCopyInto(out *CollectionsObservation)

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

type CollectionsParameters

type CollectionsParameters struct {
}

func (*CollectionsParameters) DeepCopy

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

func (*CollectionsParameters) DeepCopyInto

func (in *CollectionsParameters) DeepCopyInto(out *CollectionsParameters)

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

type DataProcessRegionObservation

type DataProcessRegionObservation struct {
}

func (*DataProcessRegionObservation) DeepCopy

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

func (*DataProcessRegionObservation) DeepCopyInto

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

type DataProcessRegionParameters

type DataProcessRegionParameters struct {

	// +kubebuilder:validation:Required
	CloudProvider *string `json:"cloudProvider" tf:"cloud_provider,omitempty"`

	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`
}

func (*DataProcessRegionParameters) DeepCopy

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

func (*DataProcessRegionParameters) DeepCopyInto

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

type DataSourcesObservation

type DataSourcesObservation struct {
	DefaultFormat *string `json:"defaultFormat,omitempty" tf:"default_format,omitempty"`

	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	StoreName *string `json:"storeName,omitempty" tf:"store_name,omitempty"`
}

func (*DataSourcesObservation) DeepCopy

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

func (*DataSourcesObservation) DeepCopyInto

func (in *DataSourcesObservation) DeepCopyInto(out *DataSourcesObservation)

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

type DataSourcesParameters

type DataSourcesParameters struct {
}

func (*DataSourcesParameters) DeepCopy

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

func (*DataSourcesParameters) DeepCopyInto

func (in *DataSourcesParameters) DeepCopyInto(out *DataSourcesParameters)

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

type Lake

type Lake struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LakeSpec   `json:"spec"`
	Status            LakeStatus `json:"status,omitempty"`
}

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

func (in *Lake) DeepCopy() *Lake

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

func (*Lake) DeepCopyInto

func (in *Lake) DeepCopyInto(out *Lake)

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

func (*Lake) DeepCopyObject

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

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

func (*Lake) GetCondition

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

GetCondition of this Lake.

func (*Lake) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Lake

func (*Lake) GetDeletionPolicy

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

GetDeletionPolicy of this Lake.

func (*Lake) GetID

func (tr *Lake) GetID() string

GetID returns ID of underlying Terraform resource of this Lake

func (*Lake) GetObservation

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

GetObservation of this Lake

func (*Lake) GetParameters

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

GetParameters of this Lake

func (*Lake) GetProviderConfigReference

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

GetProviderConfigReference of this Lake.

func (*Lake) GetProviderReference

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

GetProviderReference of this Lake. Deprecated: Use GetProviderConfigReference.

func (*Lake) GetTerraformResourceType

func (mg *Lake) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Lake

func (*Lake) GetTerraformSchemaVersion

func (tr *Lake) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Lake) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Lake.

func (*Lake) LateInitialize

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

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

func (*Lake) ResolveReferences

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

ResolveReferences of this Lake.

func (*Lake) SetConditions

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

SetConditions of this Lake.

func (*Lake) SetDeletionPolicy

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

SetDeletionPolicy of this Lake.

func (*Lake) SetObservation

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

SetObservation for this Lake

func (*Lake) SetParameters

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

SetParameters for this Lake

func (*Lake) SetProviderConfigReference

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

SetProviderConfigReference of this Lake.

func (*Lake) SetProviderReference

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

SetProviderReference of this Lake. Deprecated: Use SetProviderConfigReference.

func (*Lake) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Lake.

type LakeList

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

LakeList contains a list of Lakes

func (*LakeList) DeepCopy

func (in *LakeList) DeepCopy() *LakeList

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

func (*LakeList) DeepCopyInto

func (in *LakeList) DeepCopyInto(out *LakeList)

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

func (*LakeList) DeepCopyObject

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

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

func (*LakeList) GetItems

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

GetItems of this LakeList.

type LakeObservation

type LakeObservation struct {
	Hostnames []*string `json:"hostnames,omitempty" tf:"hostnames,omitempty"`

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

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

	StorageDatabases []StorageDatabasesObservation `json:"storageDatabases,omitempty" tf:"storage_databases,omitempty"`

	StorageStores []StorageStoresObservation `json:"storageStores,omitempty" tf:"storage_stores,omitempty"`
}

func (*LakeObservation) DeepCopy

func (in *LakeObservation) DeepCopy() *LakeObservation

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

func (*LakeObservation) DeepCopyInto

func (in *LakeObservation) DeepCopyInto(out *LakeObservation)

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

type LakeParameters

type LakeParameters struct {

	// +kubebuilder:validation:Required
	Aws []AwsParameters `json:"aws" tf:"aws,omitempty"`

	// +kubebuilder:validation:Optional
	DataProcessRegion []DataProcessRegionParameters `json:"dataProcessRegion,omitempty" tf:"data_process_region,omitempty"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,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:"-"`
}

func (*LakeParameters) DeepCopy

func (in *LakeParameters) DeepCopy() *LakeParameters

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

func (*LakeParameters) DeepCopyInto

func (in *LakeParameters) DeepCopyInto(out *LakeParameters)

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

type LakeSpec

type LakeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LakeParameters `json:"forProvider"`
}

LakeSpec defines the desired state of Lake

func (*LakeSpec) DeepCopy

func (in *LakeSpec) DeepCopy() *LakeSpec

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

func (*LakeSpec) DeepCopyInto

func (in *LakeSpec) DeepCopyInto(out *LakeSpec)

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

type LakeStatus

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

LakeStatus defines the observed state of Lake.

func (*LakeStatus) DeepCopy

func (in *LakeStatus) DeepCopy() *LakeStatus

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

func (*LakeStatus) DeepCopyInto

func (in *LakeStatus) DeepCopyInto(out *LakeStatus)

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

type StorageDatabasesObservation

type StorageDatabasesObservation struct {
	Collections []CollectionsObservation `json:"collections,omitempty" tf:"collections,omitempty"`

	MaxWildcardCollections *int64 `json:"maxWildcardCollections,omitempty" tf:"max_wildcard_collections,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Views []ViewsObservation `json:"views,omitempty" tf:"views,omitempty"`
}

func (*StorageDatabasesObservation) DeepCopy

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

func (*StorageDatabasesObservation) DeepCopyInto

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

type StorageDatabasesParameters

type StorageDatabasesParameters struct {
}

func (*StorageDatabasesParameters) DeepCopy

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

func (*StorageDatabasesParameters) DeepCopyInto

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

type StorageStoresObservation

type StorageStoresObservation struct {
	AdditionalStorageClasses []*string `json:"additionalStorageClasses,omitempty" tf:"additional_storage_classes,omitempty"`

	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	Delimiter *string `json:"delimiter,omitempty" tf:"delimiter,omitempty"`

	IncludeTags *bool `json:"includeTags,omitempty" tf:"include_tags,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`

	Provider *string `json:"provider,omitempty" tf:"provider,omitempty"`

	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*StorageStoresObservation) DeepCopy

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

func (*StorageStoresObservation) DeepCopyInto

func (in *StorageStoresObservation) DeepCopyInto(out *StorageStoresObservation)

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

type StorageStoresParameters

type StorageStoresParameters struct {
}

func (*StorageStoresParameters) DeepCopy

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

func (*StorageStoresParameters) DeepCopyInto

func (in *StorageStoresParameters) DeepCopyInto(out *StorageStoresParameters)

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

type ViewsObservation

type ViewsObservation struct {
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Pipeline *string `json:"pipeline,omitempty" tf:"pipeline,omitempty"`

	Source *string `json:"source,omitempty" tf:"source,omitempty"`
}

func (*ViewsObservation) DeepCopy

func (in *ViewsObservation) DeepCopy() *ViewsObservation

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

func (*ViewsObservation) DeepCopyInto

func (in *ViewsObservation) DeepCopyInto(out *ViewsObservation)

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

type ViewsParameters

type ViewsParameters struct {
}

func (*ViewsParameters) DeepCopy

func (in *ViewsParameters) DeepCopy() *ViewsParameters

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

func (*ViewsParameters) DeepCopyInto

func (in *ViewsParameters) DeepCopyInto(out *ViewsParameters)

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