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

Index

Constants

View Source
const (
	CRDGroup   = "dcs.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 (
	InstanceV1_Kind             = "InstanceV1"
	InstanceV1_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: InstanceV1_Kind}.String()
	InstanceV1_KindAPIVersion   = InstanceV1_Kind + "." + CRDGroupVersion.String()
	InstanceV1_GroupVersionKind = CRDGroupVersion.WithKind(InstanceV1_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BackupPolicyObservation

type BackupPolicyObservation struct {
}

func (*BackupPolicyObservation) DeepCopy

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

func (*BackupPolicyObservation) DeepCopyInto

func (in *BackupPolicyObservation) DeepCopyInto(out *BackupPolicyObservation)

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

type BackupPolicyParameters

type BackupPolicyParameters struct {

	// +kubebuilder:validation:Required
	BackupAt []*int64 `json:"backupAt" tf:"backup_at,omitempty"`

	// +kubebuilder:validation:Optional
	BackupType *string `json:"backupType,omitempty" tf:"backup_type,omitempty"`

	// +kubebuilder:validation:Required
	BeginAt *string `json:"beginAt" tf:"begin_at,omitempty"`

	// +kubebuilder:validation:Required
	PeriodType *string `json:"periodType" tf:"period_type,omitempty"`

	// +kubebuilder:validation:Optional
	SaveDays *int64 `json:"saveDays,omitempty" tf:"save_days,omitempty"`
}

func (*BackupPolicyParameters) DeepCopy

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

func (*BackupPolicyParameters) DeepCopyInto

func (in *BackupPolicyParameters) DeepCopyInto(out *BackupPolicyParameters)

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

type ConfigurationObservation

type ConfigurationObservation struct {
}

func (*ConfigurationObservation) DeepCopy

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

func (*ConfigurationObservation) DeepCopyInto

func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)

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

type ConfigurationParameters

type ConfigurationParameters struct {

	// +kubebuilder:validation:Required
	ParameterID *string `json:"parameterId" tf:"parameter_id,omitempty"`

	// +kubebuilder:validation:Required
	ParameterName *string `json:"parameterName" tf:"parameter_name,omitempty"`

	// +kubebuilder:validation:Required
	ParameterValue *string `json:"parameterValue" tf:"parameter_value,omitempty"`
}

func (*ConfigurationParameters) DeepCopy

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

func (*ConfigurationParameters) DeepCopyInto

func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)

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

type InstanceV1

type InstanceV1 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstanceV1Spec   `json:"spec"`
	Status            InstanceV1Status `json:"status,omitempty"`
}

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

func (in *InstanceV1) DeepCopy() *InstanceV1

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

func (*InstanceV1) DeepCopyInto

func (in *InstanceV1) DeepCopyInto(out *InstanceV1)

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

func (*InstanceV1) DeepCopyObject

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

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

func (*InstanceV1) GetCondition

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

GetCondition of this InstanceV1.

func (*InstanceV1) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this InstanceV1

func (*InstanceV1) GetDeletionPolicy

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

GetDeletionPolicy of this InstanceV1.

func (*InstanceV1) GetID

func (tr *InstanceV1) GetID() string

GetID returns ID of underlying Terraform resource of this InstanceV1

func (*InstanceV1) GetObservation

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

GetObservation of this InstanceV1

func (*InstanceV1) GetParameters

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

GetParameters of this InstanceV1

func (*InstanceV1) GetProviderConfigReference

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

GetProviderConfigReference of this InstanceV1.

func (*InstanceV1) GetProviderReference

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

GetProviderReference of this InstanceV1. Deprecated: Use GetProviderConfigReference.

func (*InstanceV1) GetTerraformResourceType

func (mg *InstanceV1) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this InstanceV1

func (*InstanceV1) GetTerraformSchemaVersion

func (tr *InstanceV1) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*InstanceV1) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this InstanceV1.

func (*InstanceV1) LateInitialize

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

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

func (*InstanceV1) SetConditions

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

SetConditions of this InstanceV1.

func (*InstanceV1) SetDeletionPolicy

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

SetDeletionPolicy of this InstanceV1.

func (*InstanceV1) SetObservation

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

SetObservation for this InstanceV1

func (*InstanceV1) SetParameters

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

SetParameters for this InstanceV1

func (*InstanceV1) SetProviderConfigReference

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

SetProviderConfigReference of this InstanceV1.

func (*InstanceV1) SetProviderReference

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

SetProviderReference of this InstanceV1. Deprecated: Use SetProviderConfigReference.

func (*InstanceV1) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this InstanceV1.

type InstanceV1List

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

InstanceV1List contains a list of InstanceV1s

func (*InstanceV1List) DeepCopy

func (in *InstanceV1List) DeepCopy() *InstanceV1List

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

func (*InstanceV1List) DeepCopyInto

func (in *InstanceV1List) DeepCopyInto(out *InstanceV1List)

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

func (*InstanceV1List) DeepCopyObject

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

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

func (*InstanceV1List) GetItems

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

GetItems of this InstanceV1List.

type InstanceV1Observation

type InstanceV1Observation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

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

	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	InternalVersion *string `json:"internalVersion,omitempty" tf:"internal_version,omitempty"`

	MaxMemory *int64 `json:"maxMemory,omitempty" tf:"max_memory,omitempty"`

	OrderID *string `json:"orderId,omitempty" tf:"order_id,omitempty"`

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

	ResourceSpecCode *string `json:"resourceSpecCode,omitempty" tf:"resource_spec_code,omitempty"`

	SecurityGroupName *string `json:"securityGroupName,omitempty" tf:"security_group_name,omitempty"`

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

	SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"`

	UsedMemory *int64 `json:"usedMemory,omitempty" tf:"used_memory,omitempty"`

	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`

	VPCName *string `json:"vpcName,omitempty" tf:"vpc_name,omitempty"`
}

func (*InstanceV1Observation) DeepCopy

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

func (*InstanceV1Observation) DeepCopyInto

func (in *InstanceV1Observation) DeepCopyInto(out *InstanceV1Observation)

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

type InstanceV1Parameters

type InstanceV1Parameters struct {

	// +kubebuilder:validation:Optional
	AccessUser *string `json:"accessUser,omitempty" tf:"access_user,omitempty"`

	// +kubebuilder:validation:Required
	AvailableZones []*string `json:"availableZones" tf:"available_zones,omitempty"`

	// +kubebuilder:validation:Optional
	BackupAt []*int64 `json:"backupAt,omitempty" tf:"backup_at,omitempty"`

	// +kubebuilder:validation:Optional
	BackupPolicy []BackupPolicyParameters `json:"backupPolicy,omitempty" tf:"backup_policy,omitempty"`

	// +kubebuilder:validation:Optional
	BackupType *string `json:"backupType,omitempty" tf:"backup_type,omitempty"`

	// +kubebuilder:validation:Optional
	BeginAt *string `json:"beginAt,omitempty" tf:"begin_at,omitempty"`

	// +kubebuilder:validation:Required
	Capacity *int64 `json:"capacity" tf:"capacity,omitempty"`

	// +kubebuilder:validation:Optional
	Configuration []ConfigurationParameters `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Required
	Engine *string `json:"engine" tf:"engine,omitempty"`

	// +kubebuilder:validation:Required
	EngineVersion *string `json:"engineVersion" tf:"engine_version,omitempty"`

	// +kubebuilder:validation:Optional
	MaintainBegin *string `json:"maintainBegin,omitempty" tf:"maintain_begin,omitempty"`

	// +kubebuilder:validation:Optional
	MaintainEnd *string `json:"maintainEnd,omitempty" tf:"maintain_end,omitempty"`

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

	// +kubebuilder:validation:Optional
	PeriodType *string `json:"periodType,omitempty" tf:"period_type,omitempty"`

	// +kubebuilder:validation:Required
	ProductID *string `json:"productId" tf:"product_id,omitempty"`

	// +kubebuilder:validation:Optional
	SaveDays *int64 `json:"saveDays,omitempty" tf:"save_days,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 (*InstanceV1Parameters) DeepCopy

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

func (*InstanceV1Parameters) DeepCopyInto

func (in *InstanceV1Parameters) DeepCopyInto(out *InstanceV1Parameters)

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

type InstanceV1Spec

type InstanceV1Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     InstanceV1Parameters `json:"forProvider"`
}

InstanceV1Spec defines the desired state of InstanceV1

func (*InstanceV1Spec) DeepCopy

func (in *InstanceV1Spec) DeepCopy() *InstanceV1Spec

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

func (*InstanceV1Spec) DeepCopyInto

func (in *InstanceV1Spec) DeepCopyInto(out *InstanceV1Spec)

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

type InstanceV1Status

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

InstanceV1Status defines the observed state of InstanceV1.

func (*InstanceV1Status) DeepCopy

func (in *InstanceV1Status) DeepCopy() *InstanceV1Status

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

func (*InstanceV1Status) DeepCopyInto

func (in *InstanceV1Status) DeepCopyInto(out *InstanceV1Status)

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