v1alpha1

package
v0.0.0-...-8c5a782 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=account.rediscloud.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "account.rediscloud.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Account_Kind             = "Account"
	Account_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String()
	Account_KindAPIVersion   = Account_Kind + "." + CRDGroupVersion.String()
	Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_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
)

Functions

This section is empty.

Types

type Account

type Account struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountSpec   `json:"spec"`
	Status            AccountStatus `json:"status,omitempty"`
}

Account is the Schema for the Accounts 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,rediscloud}

func (*Account) DeepCopy

func (in *Account) DeepCopy() *Account

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

func (*Account) DeepCopyInto

func (in *Account) DeepCopyInto(out *Account)

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

func (*Account) DeepCopyObject

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

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

func (*Account) GetCondition

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

GetCondition of this Account.

func (*Account) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Account

func (*Account) GetDeletionPolicy

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

GetDeletionPolicy of this Account.

func (*Account) GetID

func (tr *Account) GetID() string

GetID returns ID of underlying Terraform resource of this Account

func (*Account) GetObservation

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

GetObservation of this Account

func (*Account) GetParameters

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

GetParameters of this Account

func (*Account) GetProviderConfigReference

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

GetProviderConfigReference of this Account.

func (*Account) GetProviderReference

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

GetProviderReference of this Account. Deprecated: Use GetProviderConfigReference.

func (*Account) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Account.

func (*Account) GetTerraformResourceType

func (mg *Account) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Account

func (*Account) GetTerraformSchemaVersion

func (tr *Account) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Account) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Account.

func (*Account) LateInitialize

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

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

func (*Account) SetConditions

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

SetConditions of this Account.

func (*Account) SetDeletionPolicy

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

SetDeletionPolicy of this Account.

func (*Account) SetObservation

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

SetObservation for this Account

func (*Account) SetParameters

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

SetParameters for this Account

func (*Account) SetProviderConfigReference

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

SetProviderConfigReference of this Account.

func (*Account) SetProviderReference

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

SetProviderReference of this Account. Deprecated: Use SetProviderConfigReference.

func (*Account) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Account.

func (*Account) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Account.

type AccountList

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

AccountList contains a list of Accounts

func (*AccountList) DeepCopy

func (in *AccountList) DeepCopy() *AccountList

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

func (*AccountList) DeepCopyInto

func (in *AccountList) DeepCopyInto(out *AccountList)

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

func (*AccountList) DeepCopyObject

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

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

func (*AccountList) GetItems

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

GetItems of this AccountList.

type AccountObservation

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

	// The current status of the account - `draft`, `pending` or `active`
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*AccountObservation) DeepCopy

func (in *AccountObservation) DeepCopy() *AccountObservation

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

func (*AccountObservation) DeepCopyInto

func (in *AccountObservation) DeepCopyInto(out *AccountObservation)

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

type AccountParameters

type AccountParameters struct {

	// Cloud provider access key
	// +kubebuilder:validation:Required
	AccessKeyID *string `json:"accessKeyId" tf:"access_key_id,omitempty"`

	// Cloud provider secret key
	// +kubebuilder:validation:Required
	AccessSecretKeySecretRef v1.SecretKeySelector `json:"accessSecretKeySecretRef" tf:"-"`

	// Cloud provider management console password
	// +kubebuilder:validation:Required
	ConsolePasswordSecretRef v1.SecretKeySelector `json:"consolePasswordSecretRef" tf:"-"`

	// Cloud provider management console username
	// +kubebuilder:validation:Required
	ConsoleUsername *string `json:"consoleUsername" tf:"console_username,omitempty"`

	// Display name of the account
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Cloud provider type - either `AWS` or `GCP`
	// +kubebuilder:validation:Required
	ProviderType *string `json:"providerType" tf:"provider_type,omitempty"`

	// Cloud provider management console login URL
	// +kubebuilder:validation:Required
	SignInLoginURL *string `json:"signInLoginUrl" tf:"sign_in_login_url,omitempty"`
}

func (*AccountParameters) DeepCopy

func (in *AccountParameters) DeepCopy() *AccountParameters

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

func (*AccountParameters) DeepCopyInto

func (in *AccountParameters) DeepCopyInto(out *AccountParameters)

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

type AccountSpec

type AccountSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AccountParameters `json:"forProvider"`
}

AccountSpec defines the desired state of Account

func (*AccountSpec) DeepCopy

func (in *AccountSpec) DeepCopy() *AccountSpec

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

func (*AccountSpec) DeepCopyInto

func (in *AccountSpec) DeepCopyInto(out *AccountSpec)

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

type AccountStatus

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

AccountStatus defines the observed state of Account.

func (*AccountStatus) DeepCopy

func (in *AccountStatus) DeepCopy() *AccountStatus

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

func (*AccountStatus) DeepCopyInto

func (in *AccountStatus) DeepCopyInto(out *AccountStatus)

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