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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CredentialOpenstack_Kind             = "CredentialOpenstack"
	CredentialOpenstack_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CredentialOpenstack_Kind}.String()
	CredentialOpenstack_KindAPIVersion   = CredentialOpenstack_Kind + "." + CRDGroupVersion.String()
	CredentialOpenstack_GroupVersionKind = CRDGroupVersion.WithKind(CredentialOpenstack_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 CredentialOpenstack

type CredentialOpenstack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CredentialOpenstackSpec   `json:"spec"`
	Status            CredentialOpenstackStatus `json:"status,omitempty"`
}

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

func (in *CredentialOpenstack) DeepCopy() *CredentialOpenstack

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

func (*CredentialOpenstack) DeepCopyInto

func (in *CredentialOpenstack) DeepCopyInto(out *CredentialOpenstack)

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

func (*CredentialOpenstack) DeepCopyObject

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

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

func (*CredentialOpenstack) GetCondition

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

GetCondition of this CredentialOpenstack.

func (*CredentialOpenstack) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CredentialOpenstack

func (*CredentialOpenstack) GetDeletionPolicy

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

GetDeletionPolicy of this CredentialOpenstack.

func (*CredentialOpenstack) GetID

func (tr *CredentialOpenstack) GetID() string

GetID returns ID of underlying Terraform resource of this CredentialOpenstack

func (*CredentialOpenstack) GetObservation

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

GetObservation of this CredentialOpenstack

func (*CredentialOpenstack) GetParameters

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

GetParameters of this CredentialOpenstack

func (*CredentialOpenstack) GetProviderConfigReference

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

GetProviderConfigReference of this CredentialOpenstack.

func (*CredentialOpenstack) GetProviderReference

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

GetProviderReference of this CredentialOpenstack. Deprecated: Use GetProviderConfigReference.

func (*CredentialOpenstack) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CredentialOpenstack.

func (*CredentialOpenstack) GetTerraformResourceType

func (mg *CredentialOpenstack) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CredentialOpenstack

func (*CredentialOpenstack) GetTerraformSchemaVersion

func (tr *CredentialOpenstack) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CredentialOpenstack) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CredentialOpenstack.

func (*CredentialOpenstack) LateInitialize

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

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

func (*CredentialOpenstack) ResolveReferences

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

ResolveReferences of this CredentialOpenstack.

func (*CredentialOpenstack) SetConditions

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

SetConditions of this CredentialOpenstack.

func (*CredentialOpenstack) SetDeletionPolicy

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

SetDeletionPolicy of this CredentialOpenstack.

func (*CredentialOpenstack) SetObservation

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

SetObservation for this CredentialOpenstack

func (*CredentialOpenstack) SetParameters

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

SetParameters for this CredentialOpenstack

func (*CredentialOpenstack) SetProviderConfigReference

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

SetProviderConfigReference of this CredentialOpenstack.

func (*CredentialOpenstack) SetProviderReference

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

SetProviderReference of this CredentialOpenstack. Deprecated: Use SetProviderConfigReference.

func (*CredentialOpenstack) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CredentialOpenstack.

func (*CredentialOpenstack) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CredentialOpenstack.

type CredentialOpenstackList

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

CredentialOpenstackList contains a list of CredentialOpenstacks

func (*CredentialOpenstackList) DeepCopy

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

func (*CredentialOpenstackList) DeepCopyInto

func (in *CredentialOpenstackList) DeepCopyInto(out *CredentialOpenstackList)

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

func (*CredentialOpenstackList) DeepCopyObject

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

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

func (*CredentialOpenstackList) GetItems

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

GetItems of this CredentialOpenstackList.

type CredentialOpenstackObservation

type CredentialOpenstackObservation 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"`

	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
}

func (*CredentialOpenstackObservation) DeepCopy

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

func (*CredentialOpenstackObservation) DeepCopyInto

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

type CredentialOpenstackParameters

type CredentialOpenstackParameters struct {

	// The OpenStack availability zone.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The OpenStack domain.
	// +kubebuilder:validation:Required
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// The OpenStack network subnet ID to import a network.
	// +kubebuilder:validation:Optional
	ImportedNetworkSubnetID *string `json:"importedNetworkSubnetId,omitempty" tf:"imported_network_subnet_id,omitempty"`

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

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

	// The ID of the organization which owns the OpenStack 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 OpenStack password.
	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// The OpenStack project name.
	// +kubebuilder:validation:Required
	ProjectName *string `json:"projectName" tf:"project_name,omitempty"`

	// The name of the public OpenStack network to use.
	// +kubebuilder:validation:Required
	PublicNetworkName *string `json:"publicNetworkName" tf:"public_network_name,omitempty"`

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

	// The OpenStack authentication URL.
	// +kubebuilder:validation:Required
	URL *string `json:"url" tf:"url,omitempty"`

	// The OpenStack user.
	// +kubebuilder:validation:Required
	User *string `json:"user" tf:"user,omitempty"`

	// The OpenStack type of volume.
	// +kubebuilder:validation:Optional
	VolumeTypeName *string `json:"volumeTypeName,omitempty" tf:"volume_type_name,omitempty"`
}

func (*CredentialOpenstackParameters) DeepCopy

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

func (*CredentialOpenstackParameters) DeepCopyInto

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

type CredentialOpenstackSpec

type CredentialOpenstackSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CredentialOpenstackParameters `json:"forProvider"`
}

CredentialOpenstackSpec defines the desired state of CredentialOpenstack

func (*CredentialOpenstackSpec) DeepCopy

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

func (*CredentialOpenstackSpec) DeepCopyInto

func (in *CredentialOpenstackSpec) DeepCopyInto(out *CredentialOpenstackSpec)

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

type CredentialOpenstackStatus

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

CredentialOpenstackStatus defines the observed state of CredentialOpenstack.

func (*CredentialOpenstackStatus) DeepCopy

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

func (*CredentialOpenstackStatus) DeepCopyInto

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