v1alpha1

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	APIKey_Kind             = "APIKey"
	APIKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: APIKey_Kind}.String()
	APIKey_KindAPIVersion   = APIKey_Kind + "." + CRDGroupVersion.String()
	APIKey_GroupVersionKind = CRDGroupVersion.WithKind(APIKey_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 (
	Invitation_Kind             = "Invitation"
	Invitation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Invitation_Kind}.String()
	Invitation_KindAPIVersion   = Invitation_Kind + "." + CRDGroupVersion.String()
	Invitation_GroupVersionKind = CRDGroupVersion.WithKind(Invitation_Kind)
)

Repository type metadata.

View Source
var (
	IPAccessList_Kind             = "IPAccessList"
	IPAccessList_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IPAccessList_Kind}.String()
	IPAccessList_KindAPIVersion   = IPAccessList_Kind + "." + CRDGroupVersion.String()
	IPAccessList_GroupVersionKind = CRDGroupVersion.WithKind(IPAccessList_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              APIKeySpec   `json:"spec"`
	Status            APIKeyStatus `json:"status,omitempty"`
}

APIKey is the Schema for the APIKeys API. <no value> +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 (*APIKey) DeepCopy

func (in *APIKey) DeepCopy() *APIKey

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

func (*APIKey) DeepCopyInto

func (in *APIKey) DeepCopyInto(out *APIKey)

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

func (*APIKey) DeepCopyObject

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

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

func (*APIKey) GetCondition

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

GetCondition of this APIKey.

func (*APIKey) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this APIKey

func (*APIKey) GetDeletionPolicy

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

GetDeletionPolicy of this APIKey.

func (*APIKey) GetID

func (tr *APIKey) GetID() string

GetID returns ID of underlying Terraform resource of this APIKey

func (*APIKey) GetObservation

func (tr *APIKey) GetObservation() (map[string]any, error)

GetObservation of this APIKey

func (*APIKey) GetParameters

func (tr *APIKey) GetParameters() (map[string]any, error)

GetParameters of this APIKey

func (*APIKey) GetProviderConfigReference

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

GetProviderConfigReference of this APIKey.

func (*APIKey) GetProviderReference

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

GetProviderReference of this APIKey. Deprecated: Use GetProviderConfigReference.

func (*APIKey) GetPublishConnectionDetailsTo

func (mg *APIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this APIKey.

func (*APIKey) GetTerraformResourceType

func (mg *APIKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this APIKey

func (*APIKey) GetTerraformSchemaVersion

func (tr *APIKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*APIKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this APIKey.

func (*APIKey) LateInitialize

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

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

func (*APIKey) ResolveReferences

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

ResolveReferences of this APIKey.

func (*APIKey) SetConditions

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

SetConditions of this APIKey.

func (*APIKey) SetDeletionPolicy

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

SetDeletionPolicy of this APIKey.

func (*APIKey) SetObservation

func (tr *APIKey) SetObservation(obs map[string]any) error

SetObservation for this APIKey

func (*APIKey) SetParameters

func (tr *APIKey) SetParameters(params map[string]any) error

SetParameters for this APIKey

func (*APIKey) SetProviderConfigReference

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

SetProviderConfigReference of this APIKey.

func (*APIKey) SetProviderReference

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

SetProviderReference of this APIKey. Deprecated: Use SetProviderConfigReference.

func (*APIKey) SetPublishConnectionDetailsTo

func (mg *APIKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this APIKey.

func (*APIKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this APIKey.

type APIKeyList

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

APIKeyList contains a list of APIKeys

func (*APIKeyList) DeepCopy

func (in *APIKeyList) DeepCopy() *APIKeyList

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

func (*APIKeyList) DeepCopyInto

func (in *APIKeyList) DeepCopyInto(out *APIKeyList)

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

func (*APIKeyList) DeepCopyObject

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

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

func (*APIKeyList) GetItems

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

GetItems of this APIKeyList.

type APIKeyObservation

type APIKeyObservation struct {
	APIKeyID *string `json:"apiKeyId,omitempty" tf:"api_key_id,omitempty"`

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

	PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`
}

func (*APIKeyObservation) DeepCopy

func (in *APIKeyObservation) DeepCopy() *APIKeyObservation

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

func (*APIKeyObservation) DeepCopyInto

func (in *APIKeyObservation) DeepCopyInto(out *APIKeyObservation)

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

type APIKeyParameters

type APIKeyParameters struct {

	// +kubebuilder:validation:Required
	Description *string `json:"description" tf:"description,omitempty"`

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

	// Reference to a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	RoleNames []*string `json:"roleNames" tf:"role_names,omitempty"`
}

func (*APIKeyParameters) DeepCopy

func (in *APIKeyParameters) DeepCopy() *APIKeyParameters

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

func (*APIKeyParameters) DeepCopyInto

func (in *APIKeyParameters) DeepCopyInto(out *APIKeyParameters)

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

type APIKeySpec

type APIKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     APIKeyParameters `json:"forProvider"`
}

APIKeySpec defines the desired state of APIKey

func (*APIKeySpec) DeepCopy

func (in *APIKeySpec) DeepCopy() *APIKeySpec

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

func (*APIKeySpec) DeepCopyInto

func (in *APIKeySpec) DeepCopyInto(out *APIKeySpec)

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

type APIKeyStatus

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

APIKeyStatus defines the observed state of APIKey.

func (*APIKeyStatus) DeepCopy

func (in *APIKeyStatus) DeepCopy() *APIKeyStatus

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

func (*APIKeyStatus) DeepCopyInto

func (in *APIKeyStatus) DeepCopyInto(out *APIKeyStatus)

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

type IPAccessList

type IPAccessList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IPAccessListSpec   `json:"spec"`
	Status            IPAccessListStatus `json:"status,omitempty"`
}

IPAccessList is the Schema for the IPAccessLists API. <no value> +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 (*IPAccessList) DeepCopy

func (in *IPAccessList) DeepCopy() *IPAccessList

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

func (*IPAccessList) DeepCopyInto

func (in *IPAccessList) DeepCopyInto(out *IPAccessList)

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

func (*IPAccessList) DeepCopyObject

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

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

func (*IPAccessList) GetCondition

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

GetCondition of this IPAccessList.

func (*IPAccessList) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IPAccessList

func (*IPAccessList) GetDeletionPolicy

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

GetDeletionPolicy of this IPAccessList.

func (*IPAccessList) GetID

func (tr *IPAccessList) GetID() string

GetID returns ID of underlying Terraform resource of this IPAccessList

func (*IPAccessList) GetObservation

func (tr *IPAccessList) GetObservation() (map[string]any, error)

GetObservation of this IPAccessList

func (*IPAccessList) GetParameters

func (tr *IPAccessList) GetParameters() (map[string]any, error)

GetParameters of this IPAccessList

func (*IPAccessList) GetProviderConfigReference

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

GetProviderConfigReference of this IPAccessList.

func (*IPAccessList) GetProviderReference

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

GetProviderReference of this IPAccessList. Deprecated: Use GetProviderConfigReference.

func (*IPAccessList) GetPublishConnectionDetailsTo

func (mg *IPAccessList) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this IPAccessList.

func (*IPAccessList) GetTerraformResourceType

func (mg *IPAccessList) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IPAccessList

func (*IPAccessList) GetTerraformSchemaVersion

func (tr *IPAccessList) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IPAccessList) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IPAccessList.

func (*IPAccessList) LateInitialize

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

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

func (*IPAccessList) ResolveReferences

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

ResolveReferences of this IPAccessList.

func (*IPAccessList) SetConditions

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

SetConditions of this IPAccessList.

func (*IPAccessList) SetDeletionPolicy

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

SetDeletionPolicy of this IPAccessList.

func (*IPAccessList) SetObservation

func (tr *IPAccessList) SetObservation(obs map[string]any) error

SetObservation for this IPAccessList

func (*IPAccessList) SetParameters

func (tr *IPAccessList) SetParameters(params map[string]any) error

SetParameters for this IPAccessList

func (*IPAccessList) SetProviderConfigReference

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

SetProviderConfigReference of this IPAccessList.

func (*IPAccessList) SetProviderReference

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

SetProviderReference of this IPAccessList. Deprecated: Use SetProviderConfigReference.

func (*IPAccessList) SetPublishConnectionDetailsTo

func (mg *IPAccessList) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this IPAccessList.

func (*IPAccessList) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IPAccessList.

type IPAccessListList

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

IPAccessListList contains a list of IPAccessLists

func (*IPAccessListList) DeepCopy

func (in *IPAccessListList) DeepCopy() *IPAccessListList

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

func (*IPAccessListList) DeepCopyInto

func (in *IPAccessListList) DeepCopyInto(out *IPAccessListList)

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

func (*IPAccessListList) DeepCopyObject

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

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

func (*IPAccessListList) GetItems

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

GetItems of this IPAccessListList.

type IPAccessListObservation

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

func (*IPAccessListObservation) DeepCopy

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

func (*IPAccessListObservation) DeepCopyInto

func (in *IPAccessListObservation) DeepCopyInto(out *IPAccessListObservation)

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

type IPAccessListParameters

type IPAccessListParameters struct {

	// +kubebuilder:validation:Optional
	AwsSecurityGroup *string `json:"awsSecurityGroup,omitempty" tf:"aws_security_group,omitempty"`

	// +kubebuilder:validation:Optional
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// +kubebuilder:validation:Optional
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

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

	// Reference to a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
}

func (*IPAccessListParameters) DeepCopy

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

func (*IPAccessListParameters) DeepCopyInto

func (in *IPAccessListParameters) DeepCopyInto(out *IPAccessListParameters)

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

type IPAccessListSpec

type IPAccessListSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IPAccessListParameters `json:"forProvider"`
}

IPAccessListSpec defines the desired state of IPAccessList

func (*IPAccessListSpec) DeepCopy

func (in *IPAccessListSpec) DeepCopy() *IPAccessListSpec

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

func (*IPAccessListSpec) DeepCopyInto

func (in *IPAccessListSpec) DeepCopyInto(out *IPAccessListSpec)

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

type IPAccessListStatus

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

IPAccessListStatus defines the observed state of IPAccessList.

func (*IPAccessListStatus) DeepCopy

func (in *IPAccessListStatus) DeepCopy() *IPAccessListStatus

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

func (*IPAccessListStatus) DeepCopyInto

func (in *IPAccessListStatus) DeepCopyInto(out *IPAccessListStatus)

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

type Invitation

type Invitation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InvitationSpec   `json:"spec"`
	Status            InvitationStatus `json:"status,omitempty"`
}

Invitation is the Schema for the Invitations API. <no value> +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 (*Invitation) DeepCopy

func (in *Invitation) DeepCopy() *Invitation

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

func (*Invitation) DeepCopyInto

func (in *Invitation) DeepCopyInto(out *Invitation)

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

func (*Invitation) DeepCopyObject

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

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

func (*Invitation) GetCondition

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

GetCondition of this Invitation.

func (*Invitation) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Invitation

func (*Invitation) GetDeletionPolicy

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

GetDeletionPolicy of this Invitation.

func (*Invitation) GetID

func (tr *Invitation) GetID() string

GetID returns ID of underlying Terraform resource of this Invitation

func (*Invitation) GetObservation

func (tr *Invitation) GetObservation() (map[string]any, error)

GetObservation of this Invitation

func (*Invitation) GetParameters

func (tr *Invitation) GetParameters() (map[string]any, error)

GetParameters of this Invitation

func (*Invitation) GetProviderConfigReference

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

GetProviderConfigReference of this Invitation.

func (*Invitation) GetProviderReference

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

GetProviderReference of this Invitation. Deprecated: Use GetProviderConfigReference.

func (*Invitation) GetPublishConnectionDetailsTo

func (mg *Invitation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Invitation.

func (*Invitation) GetTerraformResourceType

func (mg *Invitation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Invitation

func (*Invitation) GetTerraformSchemaVersion

func (tr *Invitation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Invitation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Invitation.

func (*Invitation) LateInitialize

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

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

func (*Invitation) ResolveReferences

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

ResolveReferences of this Invitation.

func (*Invitation) SetConditions

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

SetConditions of this Invitation.

func (*Invitation) SetDeletionPolicy

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

SetDeletionPolicy of this Invitation.

func (*Invitation) SetObservation

func (tr *Invitation) SetObservation(obs map[string]any) error

SetObservation for this Invitation

func (*Invitation) SetParameters

func (tr *Invitation) SetParameters(params map[string]any) error

SetParameters for this Invitation

func (*Invitation) SetProviderConfigReference

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

SetProviderConfigReference of this Invitation.

func (*Invitation) SetProviderReference

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

SetProviderReference of this Invitation. Deprecated: Use SetProviderConfigReference.

func (*Invitation) SetPublishConnectionDetailsTo

func (mg *Invitation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Invitation.

func (*Invitation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Invitation.

type InvitationList

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

InvitationList contains a list of Invitations

func (*InvitationList) DeepCopy

func (in *InvitationList) DeepCopy() *InvitationList

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

func (*InvitationList) DeepCopyInto

func (in *InvitationList) DeepCopyInto(out *InvitationList)

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

func (*InvitationList) DeepCopyObject

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

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

func (*InvitationList) GetItems

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

GetItems of this InvitationList.

type InvitationObservation

type InvitationObservation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	ExpiresAt *string `json:"expiresAt,omitempty" tf:"expires_at,omitempty"`

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

	InvitationID *string `json:"invitationId,omitempty" tf:"invitation_id,omitempty"`

	InviterUsername *string `json:"inviterUsername,omitempty" tf:"inviter_username,omitempty"`
}

func (*InvitationObservation) DeepCopy

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

func (*InvitationObservation) DeepCopyInto

func (in *InvitationObservation) DeepCopyInto(out *InvitationObservation)

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

type InvitationParameters

type InvitationParameters struct {

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

	// Reference to a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in mongodbatlas to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	Roles []*string `json:"roles" tf:"roles,omitempty"`

	// +kubebuilder:validation:Required
	Username *string `json:"username" tf:"username,omitempty"`
}

func (*InvitationParameters) DeepCopy

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

func (*InvitationParameters) DeepCopyInto

func (in *InvitationParameters) DeepCopyInto(out *InvitationParameters)

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

type InvitationSpec

type InvitationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     InvitationParameters `json:"forProvider"`
}

InvitationSpec defines the desired state of Invitation

func (*InvitationSpec) DeepCopy

func (in *InvitationSpec) DeepCopy() *InvitationSpec

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

func (*InvitationSpec) DeepCopyInto

func (in *InvitationSpec) DeepCopyInto(out *InvitationSpec)

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

type InvitationStatus

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

InvitationStatus defines the observed state of Invitation.

func (*InvitationStatus) DeepCopy

func (in *InvitationStatus) DeepCopy() *InvitationStatus

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

func (*InvitationStatus) DeepCopyInto

func (in *InvitationStatus) DeepCopyInto(out *InvitationStatus)

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