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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CredentialAzure_Kind             = "CredentialAzure"
	CredentialAzure_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CredentialAzure_Kind}.String()
	CredentialAzure_KindAPIVersion   = CredentialAzure_Kind + "." + CRDGroupVersion.String()
	CredentialAzure_GroupVersionKind = CRDGroupVersion.WithKind(CredentialAzure_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 CredentialAzure

type CredentialAzure struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CredentialAzureSpec   `json:"spec"`
	Status            CredentialAzureStatus `json:"status,omitempty"`
}

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

func (in *CredentialAzure) DeepCopy() *CredentialAzure

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

func (*CredentialAzure) DeepCopyInto

func (in *CredentialAzure) DeepCopyInto(out *CredentialAzure)

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

func (*CredentialAzure) DeepCopyObject

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

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

func (*CredentialAzure) GetCondition

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

GetCondition of this CredentialAzure.

func (*CredentialAzure) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CredentialAzure

func (*CredentialAzure) GetDeletionPolicy

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

GetDeletionPolicy of this CredentialAzure.

func (*CredentialAzure) GetID

func (tr *CredentialAzure) GetID() string

GetID returns ID of underlying Terraform resource of this CredentialAzure

func (*CredentialAzure) GetObservation

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

GetObservation of this CredentialAzure

func (*CredentialAzure) GetParameters

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

GetParameters of this CredentialAzure

func (*CredentialAzure) GetProviderConfigReference

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

GetProviderConfigReference of this CredentialAzure.

func (*CredentialAzure) GetProviderReference

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

GetProviderReference of this CredentialAzure. Deprecated: Use GetProviderConfigReference.

func (*CredentialAzure) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CredentialAzure.

func (*CredentialAzure) GetTerraformResourceType

func (mg *CredentialAzure) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CredentialAzure

func (*CredentialAzure) GetTerraformSchemaVersion

func (tr *CredentialAzure) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CredentialAzure) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CredentialAzure.

func (*CredentialAzure) LateInitialize

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

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

func (*CredentialAzure) ResolveReferences

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

ResolveReferences of this CredentialAzure.

func (*CredentialAzure) SetConditions

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

SetConditions of this CredentialAzure.

func (*CredentialAzure) SetDeletionPolicy

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

SetDeletionPolicy of this CredentialAzure.

func (*CredentialAzure) SetObservation

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

SetObservation for this CredentialAzure

func (*CredentialAzure) SetParameters

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

SetParameters for this CredentialAzure

func (*CredentialAzure) SetProviderConfigReference

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

SetProviderConfigReference of this CredentialAzure.

func (*CredentialAzure) SetProviderReference

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

SetProviderReference of this CredentialAzure. Deprecated: Use SetProviderConfigReference.

func (*CredentialAzure) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CredentialAzure.

func (*CredentialAzure) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CredentialAzure.

type CredentialAzureList

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

CredentialAzureList contains a list of CredentialAzures

func (*CredentialAzureList) DeepCopy

func (in *CredentialAzureList) DeepCopy() *CredentialAzureList

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

func (*CredentialAzureList) DeepCopyInto

func (in *CredentialAzureList) DeepCopyInto(out *CredentialAzureList)

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

func (*CredentialAzureList) DeepCopyObject

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

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

func (*CredentialAzureList) GetItems

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

GetItems of this CredentialAzureList.

type CredentialAzureObservation

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

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

func (*CredentialAzureObservation) DeepCopyInto

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

type CredentialAzureParameters

type CredentialAzureParameters struct {

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

	// The Azure client ID.
	// +kubebuilder:validation:Required
	ClientIDSecretRef v1.SecretKeySelector `json:"clientIdSecretRef" tf:"-"`

	// The Azure client secret.
	// +kubebuilder:validation:Required
	ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"`

	// The Azure location.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

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

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

	// The ID of the organization which owns the Azure 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 Azure subscription ID.
	// +kubebuilder:validation:Required
	SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"`

	// The Azure tenant ID.
	// +kubebuilder:validation:Required
	TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"`
}

func (*CredentialAzureParameters) DeepCopy

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

func (*CredentialAzureParameters) DeepCopyInto

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

type CredentialAzureSpec

type CredentialAzureSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CredentialAzureParameters `json:"forProvider"`
}

CredentialAzureSpec defines the desired state of CredentialAzure

func (*CredentialAzureSpec) DeepCopy

func (in *CredentialAzureSpec) DeepCopy() *CredentialAzureSpec

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

func (*CredentialAzureSpec) DeepCopyInto

func (in *CredentialAzureSpec) DeepCopyInto(out *CredentialAzureSpec)

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

type CredentialAzureStatus

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

CredentialAzureStatus defines the observed state of CredentialAzure.

func (*CredentialAzureStatus) DeepCopy

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

func (*CredentialAzureStatus) DeepCopyInto

func (in *CredentialAzureStatus) DeepCopyInto(out *CredentialAzureStatus)

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