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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Container_Kind             = "Container"
	Container_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Container_Kind}.String()
	Container_KindAPIVersion   = Container_Kind + "." + CRDGroupVersion.String()
	Container_GroupVersionKind = CRDGroupVersion.WithKind(Container_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 (
	Peering_Kind             = "Peering"
	Peering_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Peering_Kind}.String()
	Peering_KindAPIVersion   = Peering_Kind + "." + CRDGroupVersion.String()
	Peering_GroupVersionKind = CRDGroupVersion.WithKind(Peering_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Container

type Container struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContainerSpec   `json:"spec"`
	Status            ContainerStatus `json:"status,omitempty"`
}

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

func (in *Container) DeepCopy() *Container

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

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

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

func (*Container) DeepCopyObject

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

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

func (*Container) GetCondition

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

GetCondition of this Container.

func (*Container) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Container

func (*Container) GetDeletionPolicy

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

GetDeletionPolicy of this Container.

func (*Container) GetID

func (tr *Container) GetID() string

GetID returns ID of underlying Terraform resource of this Container

func (*Container) GetObservation

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

GetObservation of this Container

func (*Container) GetParameters

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

GetParameters of this Container

func (*Container) GetProviderConfigReference

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

GetProviderConfigReference of this Container.

func (*Container) GetProviderReference

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

GetProviderReference of this Container. Deprecated: Use GetProviderConfigReference.

func (*Container) GetTerraformResourceType

func (mg *Container) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Container

func (*Container) GetTerraformSchemaVersion

func (tr *Container) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Container) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Container.

func (*Container) LateInitialize

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

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

func (*Container) ResolveReferences

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

ResolveReferences of this Container.

func (*Container) SetConditions

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

SetConditions of this Container.

func (*Container) SetDeletionPolicy

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

SetDeletionPolicy of this Container.

func (*Container) SetObservation

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

SetObservation for this Container

func (*Container) SetParameters

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

SetParameters for this Container

func (*Container) SetProviderConfigReference

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

SetProviderConfigReference of this Container.

func (*Container) SetProviderReference

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

SetProviderReference of this Container. Deprecated: Use SetProviderConfigReference.

func (*Container) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Container.

type ContainerList

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

ContainerList contains a list of Containers

func (*ContainerList) DeepCopy

func (in *ContainerList) DeepCopy() *ContainerList

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

func (*ContainerList) DeepCopyInto

func (in *ContainerList) DeepCopyInto(out *ContainerList)

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

func (*ContainerList) DeepCopyObject

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

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

func (*ContainerList) GetItems

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

GetItems of this ContainerList.

type ContainerObservation

type ContainerObservation struct {
	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty" tf:"azure_subscription_id,omitempty"`

	ContainerID *string `json:"containerId,omitempty" tf:"container_id,omitempty"`

	GCPProjectID *string `json:"gcpProjectId,omitempty" tf:"gcp_project_id,omitempty"`

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

	NetworkName *string `json:"networkName,omitempty" tf:"network_name,omitempty"`

	Provisioned *bool `json:"provisioned,omitempty" tf:"provisioned,omitempty"`

	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	VnetName *string `json:"vnetName,omitempty" tf:"vnet_name,omitempty"`
}

func (*ContainerObservation) DeepCopy

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

func (*ContainerObservation) DeepCopyInto

func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation)

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

type ContainerParameters

type ContainerParameters struct {

	// +kubebuilder:validation:Required
	AtlasCidrBlock *string `json:"atlasCidrBlock" tf:"atlas_cidr_block,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
	ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"`

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

	// +kubebuilder:validation:Optional
	RegionName *string `json:"regionName,omitempty" tf:"region_name,omitempty"`

	// +kubebuilder:validation:Optional
	Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"`
}

func (*ContainerParameters) DeepCopy

func (in *ContainerParameters) DeepCopy() *ContainerParameters

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

func (*ContainerParameters) DeepCopyInto

func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters)

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

type ContainerSpec

type ContainerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ContainerParameters `json:"forProvider"`
}

ContainerSpec defines the desired state of Container

func (*ContainerSpec) DeepCopy

func (in *ContainerSpec) DeepCopy() *ContainerSpec

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

func (*ContainerSpec) DeepCopyInto

func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)

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

type ContainerStatus

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

ContainerStatus defines the observed state of Container.

func (*ContainerStatus) DeepCopy

func (in *ContainerStatus) DeepCopy() *ContainerStatus

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

func (*ContainerStatus) DeepCopyInto

func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus)

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

type Peering

type Peering struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PeeringSpec   `json:"spec"`
	Status            PeeringStatus `json:"status,omitempty"`
}

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

func (in *Peering) DeepCopy() *Peering

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

func (*Peering) DeepCopyInto

func (in *Peering) DeepCopyInto(out *Peering)

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

func (*Peering) DeepCopyObject

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

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

func (*Peering) GetCondition

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

GetCondition of this Peering.

func (*Peering) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Peering

func (*Peering) GetDeletionPolicy

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

GetDeletionPolicy of this Peering.

func (*Peering) GetID

func (tr *Peering) GetID() string

GetID returns ID of underlying Terraform resource of this Peering

func (*Peering) GetObservation

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

GetObservation of this Peering

func (*Peering) GetParameters

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

GetParameters of this Peering

func (*Peering) GetProviderConfigReference

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

GetProviderConfigReference of this Peering.

func (*Peering) GetProviderReference

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

GetProviderReference of this Peering. Deprecated: Use GetProviderConfigReference.

func (*Peering) GetTerraformResourceType

func (mg *Peering) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Peering

func (*Peering) GetTerraformSchemaVersion

func (tr *Peering) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Peering) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Peering.

func (*Peering) LateInitialize

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

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

func (*Peering) ResolveReferences

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

ResolveReferences of this Peering.

func (*Peering) SetConditions

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

SetConditions of this Peering.

func (*Peering) SetDeletionPolicy

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

SetDeletionPolicy of this Peering.

func (*Peering) SetObservation

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

SetObservation for this Peering

func (*Peering) SetParameters

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

SetParameters for this Peering

func (*Peering) SetProviderConfigReference

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

SetProviderConfigReference of this Peering.

func (*Peering) SetProviderReference

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

SetProviderReference of this Peering. Deprecated: Use SetProviderConfigReference.

func (*Peering) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Peering.

type PeeringList

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

PeeringList contains a list of Peerings

func (*PeeringList) DeepCopy

func (in *PeeringList) DeepCopy() *PeeringList

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

func (*PeeringList) DeepCopyInto

func (in *PeeringList) DeepCopyInto(out *PeeringList)

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

func (*PeeringList) DeepCopyObject

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

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

func (*PeeringList) GetItems

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

GetItems of this PeeringList.

type PeeringObservation

type PeeringObservation struct {
	AtlasID *string `json:"atlasId,omitempty" tf:"atlas_id,omitempty"`

	ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"`

	ErrorMessage *string `json:"errorMessage,omitempty" tf:"error_message,omitempty"`

	ErrorState *string `json:"errorState,omitempty" tf:"error_state,omitempty"`

	ErrorStateName *string `json:"errorStateName,omitempty" tf:"error_state_name,omitempty"`

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

	PeerID *string `json:"peerId,omitempty" tf:"peer_id,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	StatusName *string `json:"statusName,omitempty" tf:"status_name,omitempty"`
}

func (*PeeringObservation) DeepCopy

func (in *PeeringObservation) DeepCopy() *PeeringObservation

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

func (*PeeringObservation) DeepCopyInto

func (in *PeeringObservation) DeepCopyInto(out *PeeringObservation)

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

type PeeringParameters

type PeeringParameters struct {

	// +kubebuilder:validation:Optional
	AccepterRegionName *string `json:"accepterRegionName,omitempty" tf:"accepter_region_name,omitempty"`

	// +kubebuilder:validation:Optional
	AtlasCidrBlock *string `json:"atlasCidrBlock,omitempty" tf:"atlas_cidr_block,omitempty"`

	// +kubebuilder:validation:Optional
	AtlasGCPProjectID *string `json:"atlasGcpProjectId,omitempty" tf:"atlas_gcp_project_id,omitempty"`

	// +kubebuilder:validation:Optional
	AtlasVPCName *string `json:"atlasVpcName,omitempty" tf:"atlas_vpc_name,omitempty"`

	// +kubebuilder:validation:Optional
	AwsAccountID *string `json:"awsAccountId,omitempty" tf:"aws_account_id,omitempty"`

	// +kubebuilder:validation:Optional
	AzureDirectoryID *string `json:"azureDirectoryId,omitempty" tf:"azure_directory_id,omitempty"`

	// +kubebuilder:validation:Optional
	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty" tf:"azure_subscription_id,omitempty"`

	// +kubebuilder:validation:Required
	ContainerID *string `json:"containerId" tf:"container_id,omitempty"`

	// +kubebuilder:validation:Optional
	GCPProjectID *string `json:"gcpProjectId,omitempty" tf:"gcp_project_id,omitempty"`

	// +kubebuilder:validation:Optional
	NetworkName *string `json:"networkName,omitempty" tf:"network_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:"-"`

	// +kubebuilder:validation:Required
	ProviderName *string `json:"providerName" tf:"provider_name,omitempty"`

	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// +kubebuilder:validation:Optional
	RouteTableCidrBlock *string `json:"routeTableCidrBlock,omitempty" tf:"route_table_cidr_block,omitempty"`

	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// +kubebuilder:validation:Optional
	VnetName *string `json:"vnetName,omitempty" tf:"vnet_name,omitempty"`
}

func (*PeeringParameters) DeepCopy

func (in *PeeringParameters) DeepCopy() *PeeringParameters

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

func (*PeeringParameters) DeepCopyInto

func (in *PeeringParameters) DeepCopyInto(out *PeeringParameters)

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

type PeeringSpec

type PeeringSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PeeringParameters `json:"forProvider"`
}

PeeringSpec defines the desired state of Peering

func (*PeeringSpec) DeepCopy

func (in *PeeringSpec) DeepCopy() *PeeringSpec

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

func (*PeeringSpec) DeepCopyInto

func (in *PeeringSpec) DeepCopyInto(out *PeeringSpec)

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

type PeeringStatus

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

PeeringStatus defines the observed state of Peering.

func (*PeeringStatus) DeepCopy

func (in *PeeringStatus) DeepCopy() *PeeringStatus

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

func (*PeeringStatus) DeepCopyInto

func (in *PeeringStatus) DeepCopyInto(out *PeeringStatus)

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