v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudcredentialaws.taikun.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloudcredentialaws.taikun.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CredentialAws_Kind             = "CredentialAws"
	CredentialAws_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CredentialAws_Kind}.String()
	CredentialAws_KindAPIVersion   = CredentialAws_Kind + "." + CRDGroupVersion.String()
	CredentialAws_GroupVersionKind = CRDGroupVersion.WithKind(CredentialAws_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 CredentialAws

type CredentialAws struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CredentialAwsSpec   `json:"spec"`
	Status            CredentialAwsStatus `json:"status,omitempty"`
}

CredentialAws is the Schema for the CredentialAwss 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,taikunjet}

func (*CredentialAws) DeepCopy

func (in *CredentialAws) DeepCopy() *CredentialAws

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

func (*CredentialAws) DeepCopyInto

func (in *CredentialAws) DeepCopyInto(out *CredentialAws)

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

func (*CredentialAws) DeepCopyObject

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

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

func (*CredentialAws) GetCondition

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

GetCondition of this CredentialAws.

func (*CredentialAws) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CredentialAws

func (*CredentialAws) GetDeletionPolicy

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

GetDeletionPolicy of this CredentialAws.

func (*CredentialAws) GetID

func (tr *CredentialAws) GetID() string

GetID returns ID of underlying Terraform resource of this CredentialAws

func (*CredentialAws) GetObservation

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

GetObservation of this CredentialAws

func (*CredentialAws) GetParameters

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

GetParameters of this CredentialAws

func (*CredentialAws) GetProviderConfigReference

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

GetProviderConfigReference of this CredentialAws.

func (*CredentialAws) GetProviderReference

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

GetProviderReference of this CredentialAws. Deprecated: Use GetProviderConfigReference.

func (*CredentialAws) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CredentialAws.

func (*CredentialAws) GetTerraformResourceType

func (mg *CredentialAws) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CredentialAws

func (*CredentialAws) GetTerraformSchemaVersion

func (tr *CredentialAws) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CredentialAws) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CredentialAws.

func (*CredentialAws) LateInitialize

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

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

func (*CredentialAws) ResolveReferences

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

ResolveReferences of this CredentialAws.

func (*CredentialAws) SetConditions

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

SetConditions of this CredentialAws.

func (*CredentialAws) SetDeletionPolicy

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

SetDeletionPolicy of this CredentialAws.

func (*CredentialAws) SetObservation

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

SetObservation for this CredentialAws

func (*CredentialAws) SetParameters

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

SetParameters for this CredentialAws

func (*CredentialAws) SetProviderConfigReference

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

SetProviderConfigReference of this CredentialAws.

func (*CredentialAws) SetProviderReference

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

SetProviderReference of this CredentialAws. Deprecated: Use SetProviderConfigReference.

func (*CredentialAws) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CredentialAws.

func (*CredentialAws) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CredentialAws.

type CredentialAwsList

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

CredentialAwsList contains a list of CredentialAwss

func (*CredentialAwsList) DeepCopy

func (in *CredentialAwsList) DeepCopy() *CredentialAwsList

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

func (*CredentialAwsList) DeepCopyInto

func (in *CredentialAwsList) DeepCopyInto(out *CredentialAwsList)

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

func (*CredentialAwsList) DeepCopyObject

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

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

func (*CredentialAwsList) GetItems

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

GetItems of this CredentialAwsList.

type CredentialAwsObservation

type CredentialAwsObservation struct {
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"`

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

	IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"`

	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	LastModifiedBy *string `json:"lastModifiedBy,omitempty" tf:"last_modified_by,omitempty"`

	OrganizationName *string `json:"organizationName,omitempty" tf:"organization_name,omitempty"`
}

func (*CredentialAwsObservation) DeepCopy

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

func (*CredentialAwsObservation) DeepCopyInto

func (in *CredentialAwsObservation) DeepCopyInto(out *CredentialAwsObservation)

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

type CredentialAwsParameters

type CredentialAwsParameters struct {

	// The AWS access key ID.
	// +kubebuilder:validation:Required
	AccessKeyIDSecretRef v1.SecretKeySelector `json:"accessKeyIdSecretRef" tf:"-"`

	// The AWS availability zone for the region.
	// +kubebuilder:validation:Required
	AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"`

	// Indicates whether to lock the AWS cloud credential. Defaults to `false`.
	// +kubebuilder:validation:Optional
	Lock *bool `json:"lock,omitempty" tf:"lock,omitempty"`

	// The name of the AWS cloud credential.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The ID of the organization which owns the AWS cloud credential.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/organization/v1alpha1.Organization
	// +kubebuilder:validation:Optional
	OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`

	// +kubebuilder:validation:Optional
	OrganizationIDRef *v1.Reference `json:"organizationIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	OrganizationIDSelector *v1.Selector `json:"organizationIdSelector,omitempty" tf:"-"`

	// The AWS region.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The AWS secret access key.
	// +kubebuilder:validation:Required
	SecretAccessKeySecretRef v1.SecretKeySelector `json:"secretAccessKeySecretRef" tf:"-"`
}

func (*CredentialAwsParameters) DeepCopy

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

func (*CredentialAwsParameters) DeepCopyInto

func (in *CredentialAwsParameters) DeepCopyInto(out *CredentialAwsParameters)

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

type CredentialAwsSpec

type CredentialAwsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CredentialAwsParameters `json:"forProvider"`
}

CredentialAwsSpec defines the desired state of CredentialAws

func (*CredentialAwsSpec) DeepCopy

func (in *CredentialAwsSpec) DeepCopy() *CredentialAwsSpec

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

func (*CredentialAwsSpec) DeepCopyInto

func (in *CredentialAwsSpec) DeepCopyInto(out *CredentialAwsSpec)

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

type CredentialAwsStatus

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

CredentialAwsStatus defines the observed state of CredentialAws.

func (*CredentialAwsStatus) DeepCopy

func (in *CredentialAwsStatus) DeepCopy() *CredentialAwsStatus

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

func (*CredentialAwsStatus) DeepCopyInto

func (in *CredentialAwsStatus) DeepCopyInto(out *CredentialAwsStatus)

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