v1alpha1

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CredentialGCP_Kind             = "CredentialGCP"
	CredentialGCP_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CredentialGCP_Kind}.String()
	CredentialGCP_KindAPIVersion   = CredentialGCP_Kind + "." + CRDGroupVersion.String()
	CredentialGCP_GroupVersionKind = CRDGroupVersion.WithKind(CredentialGCP_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 CredentialGCP

type CredentialGCP struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CredentialGCPSpec   `json:"spec"`
	Status            CredentialGCPStatus `json:"status,omitempty"`
}

CredentialGCP is the Schema for the CredentialGCPs 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,taikunjet}

func (*CredentialGCP) DeepCopy

func (in *CredentialGCP) DeepCopy() *CredentialGCP

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

func (*CredentialGCP) DeepCopyInto

func (in *CredentialGCP) DeepCopyInto(out *CredentialGCP)

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

func (*CredentialGCP) DeepCopyObject

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

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

func (*CredentialGCP) GetCondition

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

GetCondition of this CredentialGCP.

func (*CredentialGCP) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CredentialGCP

func (*CredentialGCP) GetDeletionPolicy

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

GetDeletionPolicy of this CredentialGCP.

func (*CredentialGCP) GetID

func (tr *CredentialGCP) GetID() string

GetID returns ID of underlying Terraform resource of this CredentialGCP

func (*CredentialGCP) GetObservation

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

GetObservation of this CredentialGCP

func (*CredentialGCP) GetParameters

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

GetParameters of this CredentialGCP

func (*CredentialGCP) GetProviderConfigReference

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

GetProviderConfigReference of this CredentialGCP.

func (*CredentialGCP) GetProviderReference

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

GetProviderReference of this CredentialGCP. Deprecated: Use GetProviderConfigReference.

func (*CredentialGCP) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CredentialGCP.

func (*CredentialGCP) GetTerraformResourceType

func (mg *CredentialGCP) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CredentialGCP

func (*CredentialGCP) GetTerraformSchemaVersion

func (tr *CredentialGCP) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CredentialGCP) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CredentialGCP.

func (*CredentialGCP) LateInitialize

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

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

func (*CredentialGCP) ResolveReferences

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

ResolveReferences of this CredentialGCP.

func (*CredentialGCP) SetConditions

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

SetConditions of this CredentialGCP.

func (*CredentialGCP) SetDeletionPolicy

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

SetDeletionPolicy of this CredentialGCP.

func (*CredentialGCP) SetObservation

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

SetObservation for this CredentialGCP

func (*CredentialGCP) SetParameters

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

SetParameters for this CredentialGCP

func (*CredentialGCP) SetProviderConfigReference

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

SetProviderConfigReference of this CredentialGCP.

func (*CredentialGCP) SetProviderReference

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

SetProviderReference of this CredentialGCP. Deprecated: Use SetProviderConfigReference.

func (*CredentialGCP) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CredentialGCP.

func (*CredentialGCP) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CredentialGCP.

type CredentialGCPList

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

CredentialGCPList contains a list of CredentialGCPs

func (*CredentialGCPList) DeepCopy

func (in *CredentialGCPList) DeepCopy() *CredentialGCPList

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

func (*CredentialGCPList) DeepCopyInto

func (in *CredentialGCPList) DeepCopyInto(out *CredentialGCPList)

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

func (*CredentialGCPList) DeepCopyObject

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

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

func (*CredentialGCPList) GetItems

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

GetItems of this CredentialGCPList.

type CredentialGCPObservation

type CredentialGCPObservation struct {

	// The name of the GCP credential's billing account.
	BillingAccountName *string `json:"billingAccountName,omitempty" tf:"billing_account_name,omitempty"`

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

	// Indicates whether the GCP cloud credential is the default one.
	IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"`

	// The name of the organization which owns the GCP credential.
	OrganizationName *string `json:"organizationName,omitempty" tf:"organization_name,omitempty"`
}

func (*CredentialGCPObservation) DeepCopy

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

func (*CredentialGCPObservation) DeepCopyInto

func (in *CredentialGCPObservation) DeepCopyInto(out *CredentialGCPObservation)

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

type CredentialGCPParameters

type CredentialGCPParameters struct {

	// The ID of the GCP credential's billing account. Conflicts with: `import_project`.
	// +crossplane:generate:reference:type=github.com/itera-io/provider-jet-taikun/apis/billingcredential/v1alpha1.Credential
	// +kubebuilder:validation:Optional
	BillingAccountID *string `json:"billingAccountId,omitempty" tf:"billing_account_id,omitempty"`

	// Reference to a Credential in billingcredential to populate billingAccountId.
	// +kubebuilder:validation:Optional
	BillingAccountIDRef *v1.Reference `json:"billingAccountIdRef,omitempty" tf:"-"`

	// Selector for a Credential in billingcredential to populate billingAccountId.
	// +kubebuilder:validation:Optional
	BillingAccountIDSelector *v1.Selector `json:"billingAccountIdSelector,omitempty" tf:"-"`

	// The path of the GCP credential's configuration file.
	// +kubebuilder:validation:Required
	ConfigFile *string `json:"configFile" tf:"config_file,omitempty"`

	// The folder ID of the GCP credential. Conflicts with: `import_project`.
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Whether to import a project or not Defaults to `false`. Conflicts with: `billing_account_id`, `folder_id`.
	// +kubebuilder:validation:Optional
	ImportProject *bool `json:"importProject,omitempty" tf:"import_project,omitempty"`

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

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

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

	// Reference to a Organization in organization to populate organizationId.
	// +kubebuilder:validation:Optional
	OrganizationIDRef *v1.Reference `json:"organizationIdRef,omitempty" tf:"-"`

	// Selector for a Organization in organization to populate organizationId.
	// +kubebuilder:validation:Optional
	OrganizationIDSelector *v1.Selector `json:"organizationIdSelector,omitempty" tf:"-"`

	// The region of the GCP credential.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The zone of the GCP credential.
	// +kubebuilder:validation:Required
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*CredentialGCPParameters) DeepCopy

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

func (*CredentialGCPParameters) DeepCopyInto

func (in *CredentialGCPParameters) DeepCopyInto(out *CredentialGCPParameters)

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

type CredentialGCPSpec

type CredentialGCPSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CredentialGCPParameters `json:"forProvider"`
}

CredentialGCPSpec defines the desired state of CredentialGCP

func (*CredentialGCPSpec) DeepCopy

func (in *CredentialGCPSpec) DeepCopy() *CredentialGCPSpec

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

func (*CredentialGCPSpec) DeepCopyInto

func (in *CredentialGCPSpec) DeepCopyInto(out *CredentialGCPSpec)

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

type CredentialGCPStatus

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

CredentialGCPStatus defines the observed state of CredentialGCP.

func (*CredentialGCPStatus) DeepCopy

func (in *CredentialGCPStatus) DeepCopy() *CredentialGCPStatus

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

func (*CredentialGCPStatus) DeepCopyInto

func (in *CredentialGCPStatus) DeepCopyInto(out *CredentialGCPStatus)

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