v1alpha1

package
v0.0.0-...-10a304b Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dds.otc.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "dds.otc.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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
)
View Source
var (
	InstanceV3_Kind             = "InstanceV3"
	InstanceV3_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: InstanceV3_Kind}.String()
	InstanceV3_KindAPIVersion   = InstanceV3_Kind + "." + CRDGroupVersion.String()
	InstanceV3_GroupVersionKind = CRDGroupVersion.WithKind(InstanceV3_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BackupStrategyObservation

type BackupStrategyObservation struct {
}

func (*BackupStrategyObservation) DeepCopy

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

func (*BackupStrategyObservation) DeepCopyInto

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

type BackupStrategyParameters

type BackupStrategyParameters struct {

	// +kubebuilder:validation:Required
	KeepDays *int64 `json:"keepDays" tf:"keep_days,omitempty"`

	// +kubebuilder:validation:Required
	StartTime *string `json:"startTime" tf:"start_time,omitempty"`
}

func (*BackupStrategyParameters) DeepCopy

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

func (*BackupStrategyParameters) DeepCopyInto

func (in *BackupStrategyParameters) DeepCopyInto(out *BackupStrategyParameters)

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

type DatastoreObservation

type DatastoreObservation struct {
}

func (*DatastoreObservation) DeepCopy

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

func (*DatastoreObservation) DeepCopyInto

func (in *DatastoreObservation) DeepCopyInto(out *DatastoreObservation)

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

type DatastoreParameters

type DatastoreParameters struct {

	// +kubebuilder:validation:Optional
	StorageEngine *string `json:"storageEngine,omitempty" tf:"storage_engine,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// +kubebuilder:validation:Required
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*DatastoreParameters) DeepCopy

func (in *DatastoreParameters) DeepCopy() *DatastoreParameters

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

func (*DatastoreParameters) DeepCopyInto

func (in *DatastoreParameters) DeepCopyInto(out *DatastoreParameters)

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

type FlavorObservation

type FlavorObservation struct {
}

func (*FlavorObservation) DeepCopy

func (in *FlavorObservation) DeepCopy() *FlavorObservation

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

func (*FlavorObservation) DeepCopyInto

func (in *FlavorObservation) DeepCopyInto(out *FlavorObservation)

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

type FlavorParameters

type FlavorParameters struct {

	// +kubebuilder:validation:Required
	Num *int64 `json:"num" tf:"num,omitempty"`

	// +kubebuilder:validation:Optional
	Size *int64 `json:"size,omitempty" tf:"size,omitempty"`

	// +kubebuilder:validation:Required
	SpecCode *string `json:"specCode" tf:"spec_code,omitempty"`

	// +kubebuilder:validation:Optional
	Storage *string `json:"storage,omitempty" tf:"storage,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*FlavorParameters) DeepCopy

func (in *FlavorParameters) DeepCopy() *FlavorParameters

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

func (*FlavorParameters) DeepCopyInto

func (in *FlavorParameters) DeepCopyInto(out *FlavorParameters)

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

type InstanceV3

type InstanceV3 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstanceV3Spec   `json:"spec"`
	Status            InstanceV3Status `json:"status,omitempty"`
}

InstanceV3 is the Schema for the InstanceV3s 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,otcjet}

func (*InstanceV3) DeepCopy

func (in *InstanceV3) DeepCopy() *InstanceV3

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

func (*InstanceV3) DeepCopyInto

func (in *InstanceV3) DeepCopyInto(out *InstanceV3)

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

func (*InstanceV3) DeepCopyObject

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

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

func (*InstanceV3) GetCondition

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

GetCondition of this InstanceV3.

func (*InstanceV3) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this InstanceV3

func (*InstanceV3) GetDeletionPolicy

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

GetDeletionPolicy of this InstanceV3.

func (*InstanceV3) GetID

func (tr *InstanceV3) GetID() string

GetID returns ID of underlying Terraform resource of this InstanceV3

func (*InstanceV3) GetObservation

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

GetObservation of this InstanceV3

func (*InstanceV3) GetParameters

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

GetParameters of this InstanceV3

func (*InstanceV3) GetProviderConfigReference

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

GetProviderConfigReference of this InstanceV3.

func (*InstanceV3) GetProviderReference

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

GetProviderReference of this InstanceV3. Deprecated: Use GetProviderConfigReference.

func (*InstanceV3) GetTerraformResourceType

func (mg *InstanceV3) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this InstanceV3

func (*InstanceV3) GetTerraformSchemaVersion

func (tr *InstanceV3) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*InstanceV3) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this InstanceV3.

func (*InstanceV3) LateInitialize

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

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

func (*InstanceV3) SetConditions

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

SetConditions of this InstanceV3.

func (*InstanceV3) SetDeletionPolicy

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

SetDeletionPolicy of this InstanceV3.

func (*InstanceV3) SetObservation

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

SetObservation for this InstanceV3

func (*InstanceV3) SetParameters

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

SetParameters for this InstanceV3

func (*InstanceV3) SetProviderConfigReference

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

SetProviderConfigReference of this InstanceV3.

func (*InstanceV3) SetProviderReference

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

SetProviderReference of this InstanceV3. Deprecated: Use SetProviderConfigReference.

func (*InstanceV3) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this InstanceV3.

type InstanceV3List

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

InstanceV3List contains a list of InstanceV3s

func (*InstanceV3List) DeepCopy

func (in *InstanceV3List) DeepCopy() *InstanceV3List

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

func (*InstanceV3List) DeepCopyInto

func (in *InstanceV3List) DeepCopyInto(out *InstanceV3List)

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

func (*InstanceV3List) DeepCopyObject

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

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

func (*InstanceV3List) GetItems

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

GetItems of this InstanceV3List.

type InstanceV3Observation

type InstanceV3Observation struct {
	DBUsername *string `json:"dbUsername,omitempty" tf:"db_username,omitempty"`

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

	Nodes []NodesObservation `json:"nodes,omitempty" tf:"nodes,omitempty"`

	PayMode *string `json:"payMode,omitempty" tf:"pay_mode,omitempty"`

	Port *int64 `json:"port,omitempty" tf:"port,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*InstanceV3Observation) DeepCopy

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

func (*InstanceV3Observation) DeepCopyInto

func (in *InstanceV3Observation) DeepCopyInto(out *InstanceV3Observation)

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

type InstanceV3Parameters

type InstanceV3Parameters struct {

	// +kubebuilder:validation:Required
	AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"`

	// +kubebuilder:validation:Optional
	BackupStrategy []BackupStrategyParameters `json:"backupStrategy,omitempty" tf:"backup_strategy,omitempty"`

	// +kubebuilder:validation:Required
	Datastore []DatastoreParameters `json:"datastore" tf:"datastore,omitempty"`

	// +kubebuilder:validation:Optional
	DiskEncryptionID *string `json:"diskEncryptionId,omitempty" tf:"disk_encryption_id,omitempty"`

	// +kubebuilder:validation:Required
	Flavor []FlavorParameters `json:"flavor" tf:"flavor,omitempty"`

	// +kubebuilder:validation:Required
	Mode *string `json:"mode" tf:"mode,omitempty"`

	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// +kubebuilder:validation:Optional
	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// +kubebuilder:validation:Required
	SecurityGroupID *string `json:"securityGroupId" tf:"security_group_id,omitempty"`

	// +kubebuilder:validation:Required
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

	// +kubebuilder:validation:Required
	VPCID *string `json:"vpcId" tf:"vpc_id,omitempty"`
}

func (*InstanceV3Parameters) DeepCopy

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

func (*InstanceV3Parameters) DeepCopyInto

func (in *InstanceV3Parameters) DeepCopyInto(out *InstanceV3Parameters)

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

type InstanceV3Spec

type InstanceV3Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     InstanceV3Parameters `json:"forProvider"`
}

InstanceV3Spec defines the desired state of InstanceV3

func (*InstanceV3Spec) DeepCopy

func (in *InstanceV3Spec) DeepCopy() *InstanceV3Spec

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

func (*InstanceV3Spec) DeepCopyInto

func (in *InstanceV3Spec) DeepCopyInto(out *InstanceV3Spec)

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

type InstanceV3Status

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

InstanceV3Status defines the observed state of InstanceV3.

func (*InstanceV3Status) DeepCopy

func (in *InstanceV3Status) DeepCopy() *InstanceV3Status

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

func (*InstanceV3Status) DeepCopyInto

func (in *InstanceV3Status) DeepCopyInto(out *InstanceV3Status)

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

type NodesObservation

type NodesObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`

	PublicIP *string `json:"publicIp,omitempty" tf:"public_ip,omitempty"`

	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NodesObservation) DeepCopy

func (in *NodesObservation) DeepCopy() *NodesObservation

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

func (*NodesObservation) DeepCopyInto

func (in *NodesObservation) DeepCopyInto(out *NodesObservation)

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

type NodesParameters

type NodesParameters struct {
}

func (*NodesParameters) DeepCopy

func (in *NodesParameters) DeepCopy() *NodesParameters

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

func (*NodesParameters) DeepCopyInto

func (in *NodesParameters) DeepCopyInto(out *NodesParameters)

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