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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Credential_Kind             = "Credential"
	Credential_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Credential_Kind}.String()
	Credential_KindAPIVersion   = Credential_Kind + "." + CRDGroupVersion.String()
	Credential_GroupVersionKind = CRDGroupVersion.WithKind(Credential_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 Credential

type Credential struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CredentialSpec   `json:"spec"`
	Status            CredentialStatus `json:"status,omitempty"`
}

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

func (in *Credential) DeepCopy() *Credential

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

func (*Credential) DeepCopyInto

func (in *Credential) DeepCopyInto(out *Credential)

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

func (*Credential) DeepCopyObject

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

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

func (*Credential) GetCondition

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

GetCondition of this Credential.

func (*Credential) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Credential

func (*Credential) GetDeletionPolicy

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

GetDeletionPolicy of this Credential.

func (*Credential) GetID

func (tr *Credential) GetID() string

GetID returns ID of underlying Terraform resource of this Credential

func (*Credential) GetObservation

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

GetObservation of this Credential

func (*Credential) GetParameters

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

GetParameters of this Credential

func (*Credential) GetProviderConfigReference

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

GetProviderConfigReference of this Credential.

func (*Credential) GetProviderReference

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

GetProviderReference of this Credential. Deprecated: Use GetProviderConfigReference.

func (*Credential) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Credential.

func (*Credential) GetTerraformResourceType

func (mg *Credential) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Credential

func (*Credential) GetTerraformSchemaVersion

func (tr *Credential) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Credential) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Credential.

func (*Credential) LateInitialize

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

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

func (*Credential) ResolveReferences

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

ResolveReferences of this Credential.

func (*Credential) SetConditions

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

SetConditions of this Credential.

func (*Credential) SetDeletionPolicy

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

SetDeletionPolicy of this Credential.

func (*Credential) SetObservation

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

SetObservation for this Credential

func (*Credential) SetParameters

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

SetParameters for this Credential

func (*Credential) SetProviderConfigReference

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

SetProviderConfigReference of this Credential.

func (*Credential) SetProviderReference

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

SetProviderReference of this Credential. Deprecated: Use SetProviderConfigReference.

func (*Credential) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Credential.

func (*Credential) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Credential.

type CredentialList

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

CredentialList contains a list of Credentials

func (*CredentialList) DeepCopy

func (in *CredentialList) DeepCopy() *CredentialList

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

func (*CredentialList) DeepCopyInto

func (in *CredentialList) DeepCopyInto(out *CredentialList)

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

func (*CredentialList) DeepCopyObject

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

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

func (*CredentialList) GetItems

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

GetItems of this CredentialList.

type CredentialObservation

type CredentialObservation 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 (*CredentialObservation) DeepCopy

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

func (*CredentialObservation) DeepCopyInto

func (in *CredentialObservation) DeepCopyInto(out *CredentialObservation)

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

type CredentialParameters

type CredentialParameters struct {

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

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

	// The ID of the organization which owns the backup 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 S3 access key ID.
	// +kubebuilder:validation:Required
	S3AccessKeyID *string `json:"s3AccessKeyId" tf:"s3_access_key_id,omitempty"`

	// The S3 endpoint URL.
	// +kubebuilder:validation:Required
	S3Endpoint *string `json:"s3Endpoint" tf:"s3_endpoint,omitempty"`

	// The S3 region.
	// +kubebuilder:validation:Required
	S3Region *string `json:"s3Region" tf:"s3_region,omitempty"`

	// The S3 secret access key.
	// +kubebuilder:validation:Required
	S3SecretAccessKeySecretRef v1.SecretKeySelector `json:"s3SecretAccessKeySecretRef" tf:"-"`
}

func (*CredentialParameters) DeepCopy

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

func (*CredentialParameters) DeepCopyInto

func (in *CredentialParameters) DeepCopyInto(out *CredentialParameters)

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

type CredentialSpec

type CredentialSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CredentialParameters `json:"forProvider"`
}

CredentialSpec defines the desired state of Credential

func (*CredentialSpec) DeepCopy

func (in *CredentialSpec) DeepCopy() *CredentialSpec

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

func (*CredentialSpec) DeepCopyInto

func (in *CredentialSpec) DeepCopyInto(out *CredentialSpec)

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

type CredentialStatus

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

CredentialStatus defines the observed state of Credential.

func (*CredentialStatus) DeepCopy

func (in *CredentialStatus) DeepCopy() *CredentialStatus

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

func (*CredentialStatus) DeepCopyInto

func (in *CredentialStatus) DeepCopyInto(out *CredentialStatus)

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