v1alpha1

package
v0.0.0-...-30237b5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "access.mongodbatlas.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 (
	ListAPIKey_Kind             = "ListAPIKey"
	ListAPIKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ListAPIKey_Kind}.String()
	ListAPIKey_KindAPIVersion   = ListAPIKey_Kind + "." + CRDGroupVersion.String()
	ListAPIKey_GroupVersionKind = CRDGroupVersion.WithKind(ListAPIKey_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ListAPIKey

type ListAPIKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.apiKeyId)",message="apiKeyId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.orgId)",message="orgId is a required parameter"
	Spec   ListAPIKeySpec   `json:"spec"`
	Status ListAPIKeyStatus `json:"status,omitempty"`
}

ListAPIKey is the Schema for the ListAPIKeys API. Creates the access list entries for the specified Atlas Organization API Key. +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 (*ListAPIKey) DeepCopy

func (in *ListAPIKey) DeepCopy() *ListAPIKey

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

func (*ListAPIKey) DeepCopyInto

func (in *ListAPIKey) DeepCopyInto(out *ListAPIKey)

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

func (*ListAPIKey) DeepCopyObject

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

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

func (*ListAPIKey) GetCondition

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

GetCondition of this ListAPIKey.

func (*ListAPIKey) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ListAPIKey

func (*ListAPIKey) GetDeletionPolicy

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

GetDeletionPolicy of this ListAPIKey.

func (*ListAPIKey) GetID

func (tr *ListAPIKey) GetID() string

GetID returns ID of underlying Terraform resource of this ListAPIKey

func (*ListAPIKey) GetManagementPolicy

func (mg *ListAPIKey) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ListAPIKey.

func (*ListAPIKey) GetObservation

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

GetObservation of this ListAPIKey

func (*ListAPIKey) GetParameters

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

GetParameters of this ListAPIKey

func (*ListAPIKey) GetProviderConfigReference

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

GetProviderConfigReference of this ListAPIKey.

func (*ListAPIKey) GetProviderReference

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

GetProviderReference of this ListAPIKey. Deprecated: Use GetProviderConfigReference.

func (*ListAPIKey) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ListAPIKey.

func (*ListAPIKey) GetTerraformResourceType

func (mg *ListAPIKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ListAPIKey

func (*ListAPIKey) GetTerraformSchemaVersion

func (tr *ListAPIKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ListAPIKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ListAPIKey.

func (*ListAPIKey) LateInitialize

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

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

func (*ListAPIKey) SetConditions

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

SetConditions of this ListAPIKey.

func (*ListAPIKey) SetDeletionPolicy

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

SetDeletionPolicy of this ListAPIKey.

func (*ListAPIKey) SetManagementPolicy

func (mg *ListAPIKey) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ListAPIKey.

func (*ListAPIKey) SetObservation

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

SetObservation for this ListAPIKey

func (*ListAPIKey) SetParameters

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

SetParameters for this ListAPIKey

func (*ListAPIKey) SetProviderConfigReference

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

SetProviderConfigReference of this ListAPIKey.

func (*ListAPIKey) SetProviderReference

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

SetProviderReference of this ListAPIKey. Deprecated: Use SetProviderConfigReference.

func (*ListAPIKey) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ListAPIKey.

func (*ListAPIKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ListAPIKey.

type ListAPIKeyList

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

ListAPIKeyList contains a list of ListAPIKeys

func (*ListAPIKeyList) DeepCopy

func (in *ListAPIKeyList) DeepCopy() *ListAPIKeyList

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

func (*ListAPIKeyList) DeepCopyInto

func (in *ListAPIKeyList) DeepCopyInto(out *ListAPIKeyList)

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

func (*ListAPIKeyList) DeepCopyObject

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

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

func (*ListAPIKeyList) GetItems

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

GetItems of this ListAPIKeyList.

type ListAPIKeyObservation

type ListAPIKeyObservation struct {

	// Unique identifier for the Organization API Key for which you want to create a new access list entry.
	APIKeyID *string `json:"apiKeyId,omitempty" tf:"api_key_id,omitempty"`

	// Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one cidrBlock, or one ipAddress.
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

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

	// Single IP address to be added to the access list.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
	OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"`
}

func (*ListAPIKeyObservation) DeepCopy

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

func (*ListAPIKeyObservation) DeepCopyInto

func (in *ListAPIKeyObservation) DeepCopyInto(out *ListAPIKeyObservation)

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

type ListAPIKeyParameters

type ListAPIKeyParameters struct {

	// Unique identifier for the Organization API Key for which you want to create a new access list entry.
	// +kubebuilder:validation:Optional
	APIKeyID *string `json:"apiKeyId,omitempty" tf:"api_key_id,omitempty"`

	// Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one cidrBlock, or one ipAddress.
	// +kubebuilder:validation:Optional
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// Single IP address to be added to the access list.
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
	// +kubebuilder:validation:Optional
	OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"`
}

func (*ListAPIKeyParameters) DeepCopy

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

func (*ListAPIKeyParameters) DeepCopyInto

func (in *ListAPIKeyParameters) DeepCopyInto(out *ListAPIKeyParameters)

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

type ListAPIKeySpec

type ListAPIKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ListAPIKeyParameters `json:"forProvider"`
}

ListAPIKeySpec defines the desired state of ListAPIKey

func (*ListAPIKeySpec) DeepCopy

func (in *ListAPIKeySpec) DeepCopy() *ListAPIKeySpec

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

func (*ListAPIKeySpec) DeepCopyInto

func (in *ListAPIKeySpec) DeepCopyInto(out *ListAPIKeySpec)

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

type ListAPIKeyStatus

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

ListAPIKeyStatus defines the observed state of ListAPIKey.

func (*ListAPIKeyStatus) DeepCopy

func (in *ListAPIKeyStatus) DeepCopy() *ListAPIKeyStatus

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

func (*ListAPIKeyStatus) DeepCopyInto

func (in *ListAPIKeyStatus) DeepCopyInto(out *ListAPIKeyStatus)

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