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

Index

Constants

View Source
const (
	CRDGroup   = "ecs.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 DataDisksObservation

type DataDisksObservation struct {
}

func (*DataDisksObservation) DeepCopy

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

func (*DataDisksObservation) DeepCopyInto

func (in *DataDisksObservation) DeepCopyInto(out *DataDisksObservation)

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

type DataDisksParameters

type DataDisksParameters struct {

	// +kubebuilder:validation:Optional
	KMSID *string `json:"kmsId,omitempty" tf:"kms_id,omitempty"`

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

	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

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

func (*DataDisksParameters) DeepCopy

func (in *DataDisksParameters) DeepCopy() *DataDisksParameters

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

func (*DataDisksParameters) DeepCopyInto

func (in *DataDisksParameters) DeepCopyInto(out *DataDisksParameters)

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 {
	ID *string `json:"id,omitempty" tf:"id,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
	AutoRecovery *bool `json:"autoRecovery,omitempty" tf:"auto_recovery,omitempty"`

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

	// +kubebuilder:validation:Optional
	DataDisks []DataDisksParameters `json:"dataDisks,omitempty" tf:"data_disks,omitempty"`

	// +kubebuilder:validation:Optional
	DeleteDisksOnTermination *bool `json:"deleteDisksOnTermination,omitempty" tf:"delete_disks_on_termination,omitempty"`

	// +kubebuilder:validation:Required
	Flavor *string `json:"flavor" tf:"flavor,omitempty"`

	// +kubebuilder:validation:Required
	ImageID *string `json:"imageId" tf:"image_id,omitempty"`

	// +kubebuilder:validation:Optional
	KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`

	// +kubebuilder:validation:Required
	Nics []NicsParameters `json:"nics" tf:"nics,omitempty"`

	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	// +kubebuilder:validation:Optional
	SystemDiskKMSID *string `json:"systemDiskKmsId,omitempty" tf:"system_disk_kms_id,omitempty"`

	// +kubebuilder:validation:Optional
	SystemDiskSize *int64 `json:"systemDiskSize,omitempty" tf:"system_disk_size,omitempty"`

	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags,omitempty"`

	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,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.

type NicsObservation

type NicsObservation struct {
	MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"`
}

func (*NicsObservation) DeepCopy

func (in *NicsObservation) DeepCopy() *NicsObservation

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

func (*NicsObservation) DeepCopyInto

func (in *NicsObservation) DeepCopyInto(out *NicsObservation)

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

type NicsParameters

type NicsParameters struct {

	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// +kubebuilder:validation:Required
	NetworkID *string `json:"networkId" tf:"network_id,omitempty"`
}

func (*NicsParameters) DeepCopy

func (in *NicsParameters) DeepCopy() *NicsParameters

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

func (*NicsParameters) DeepCopyInto

func (in *NicsParameters) DeepCopyInto(out *NicsParameters)

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