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

Index

Constants

View Source
const (
	CRDGroup   = "private.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 (
	IPMode_Kind             = "IPMode"
	IPMode_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IPMode_Kind}.String()
	IPMode_KindAPIVersion   = IPMode_Kind + "." + CRDGroupVersion.String()
	IPMode_GroupVersionKind = CRDGroupVersion.WithKind(IPMode_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IPMode

type IPMode struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IPModeSpec   `json:"spec"`
	Status            IPModeStatus `json:"status,omitempty"`
}

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

func (in *IPMode) DeepCopy() *IPMode

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

func (*IPMode) DeepCopyInto

func (in *IPMode) DeepCopyInto(out *IPMode)

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

func (*IPMode) DeepCopyObject

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

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

func (*IPMode) GetCondition

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

GetCondition of this IPMode.

func (*IPMode) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IPMode

func (*IPMode) GetDeletionPolicy

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

GetDeletionPolicy of this IPMode.

func (*IPMode) GetID

func (tr *IPMode) GetID() string

GetID returns ID of underlying Terraform resource of this IPMode

func (*IPMode) GetObservation

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

GetObservation of this IPMode

func (*IPMode) GetParameters

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

GetParameters of this IPMode

func (*IPMode) GetProviderConfigReference

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

GetProviderConfigReference of this IPMode.

func (*IPMode) GetProviderReference

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

GetProviderReference of this IPMode. Deprecated: Use GetProviderConfigReference.

func (*IPMode) GetTerraformResourceType

func (mg *IPMode) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IPMode

func (*IPMode) GetTerraformSchemaVersion

func (tr *IPMode) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IPMode) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IPMode.

func (*IPMode) LateInitialize

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

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

func (*IPMode) ResolveReferences

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

ResolveReferences of this IPMode.

func (*IPMode) SetConditions

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

SetConditions of this IPMode.

func (*IPMode) SetDeletionPolicy

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

SetDeletionPolicy of this IPMode.

func (*IPMode) SetObservation

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

SetObservation for this IPMode

func (*IPMode) SetParameters

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

SetParameters for this IPMode

func (*IPMode) SetProviderConfigReference

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

SetProviderConfigReference of this IPMode.

func (*IPMode) SetProviderReference

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

SetProviderReference of this IPMode. Deprecated: Use SetProviderConfigReference.

func (*IPMode) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IPMode.

type IPModeList

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

IPModeList contains a list of IPModes

func (*IPModeList) DeepCopy

func (in *IPModeList) DeepCopy() *IPModeList

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

func (*IPModeList) DeepCopyInto

func (in *IPModeList) DeepCopyInto(out *IPModeList)

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

func (*IPModeList) DeepCopyObject

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

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

func (*IPModeList) GetItems

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

GetItems of this IPModeList.

type IPModeObservation

type IPModeObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*IPModeObservation) DeepCopy

func (in *IPModeObservation) DeepCopy() *IPModeObservation

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

func (*IPModeObservation) DeepCopyInto

func (in *IPModeObservation) DeepCopyInto(out *IPModeObservation)

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

type IPModeParameters

type IPModeParameters struct {

	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,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 (*IPModeParameters) DeepCopy

func (in *IPModeParameters) DeepCopy() *IPModeParameters

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

func (*IPModeParameters) DeepCopyInto

func (in *IPModeParameters) DeepCopyInto(out *IPModeParameters)

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

type IPModeSpec

type IPModeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IPModeParameters `json:"forProvider"`
}

IPModeSpec defines the desired state of IPMode

func (*IPModeSpec) DeepCopy

func (in *IPModeSpec) DeepCopy() *IPModeSpec

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

func (*IPModeSpec) DeepCopyInto

func (in *IPModeSpec) DeepCopyInto(out *IPModeSpec)

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

type IPModeStatus

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

IPModeStatus defines the observed state of IPMode.

func (*IPModeStatus) DeepCopy

func (in *IPModeStatus) DeepCopy() *IPModeStatus

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

func (*IPModeStatus) DeepCopyInto

func (in *IPModeStatus) DeepCopyInto(out *IPModeStatus)

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