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

Index

Constants

View Source
const (
	CRDGroup   = "deh.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 (
	HostV1_Kind             = "HostV1"
	HostV1_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HostV1_Kind}.String()
	HostV1_KindAPIVersion   = HostV1_Kind + "." + CRDGroupVersion.String()
	HostV1_GroupVersionKind = CRDGroupVersion.WithKind(HostV1_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AvailableInstanceCapacitiesObservation

type AvailableInstanceCapacitiesObservation struct {
	Flavor *string `json:"flavor,omitempty" tf:"flavor,omitempty"`
}

func (*AvailableInstanceCapacitiesObservation) DeepCopy

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

func (*AvailableInstanceCapacitiesObservation) DeepCopyInto

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

type AvailableInstanceCapacitiesParameters

type AvailableInstanceCapacitiesParameters struct {
}

func (*AvailableInstanceCapacitiesParameters) DeepCopy

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

func (*AvailableInstanceCapacitiesParameters) DeepCopyInto

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

type HostV1

type HostV1 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HostV1Spec   `json:"spec"`
	Status            HostV1Status `json:"status,omitempty"`
}

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

func (in *HostV1) DeepCopy() *HostV1

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

func (*HostV1) DeepCopyInto

func (in *HostV1) DeepCopyInto(out *HostV1)

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

func (*HostV1) DeepCopyObject

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

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

func (*HostV1) GetCondition

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

GetCondition of this HostV1.

func (*HostV1) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HostV1

func (*HostV1) GetDeletionPolicy

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

GetDeletionPolicy of this HostV1.

func (*HostV1) GetID

func (tr *HostV1) GetID() string

GetID returns ID of underlying Terraform resource of this HostV1

func (*HostV1) GetObservation

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

GetObservation of this HostV1

func (*HostV1) GetParameters

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

GetParameters of this HostV1

func (*HostV1) GetProviderConfigReference

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

GetProviderConfigReference of this HostV1.

func (*HostV1) GetProviderReference

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

GetProviderReference of this HostV1. Deprecated: Use GetProviderConfigReference.

func (*HostV1) GetTerraformResourceType

func (mg *HostV1) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HostV1

func (*HostV1) GetTerraformSchemaVersion

func (tr *HostV1) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HostV1) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HostV1.

func (*HostV1) LateInitialize

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

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

func (*HostV1) SetConditions

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

SetConditions of this HostV1.

func (*HostV1) SetDeletionPolicy

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

SetDeletionPolicy of this HostV1.

func (*HostV1) SetObservation

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

SetObservation for this HostV1

func (*HostV1) SetParameters

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

SetParameters for this HostV1

func (*HostV1) SetProviderConfigReference

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

SetProviderConfigReference of this HostV1.

func (*HostV1) SetProviderReference

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

SetProviderReference of this HostV1. Deprecated: Use SetProviderConfigReference.

func (*HostV1) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HostV1.

type HostV1List

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

HostV1List contains a list of HostV1s

func (*HostV1List) DeepCopy

func (in *HostV1List) DeepCopy() *HostV1List

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

func (*HostV1List) DeepCopyInto

func (in *HostV1List) DeepCopyInto(out *HostV1List)

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

func (*HostV1List) DeepCopyObject

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

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

func (*HostV1List) GetItems

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

GetItems of this HostV1List.

type HostV1Observation

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

func (*HostV1Observation) DeepCopy

func (in *HostV1Observation) DeepCopy() *HostV1Observation

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

func (*HostV1Observation) DeepCopyInto

func (in *HostV1Observation) DeepCopyInto(out *HostV1Observation)

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

type HostV1Parameters

type HostV1Parameters struct {

	// +kubebuilder:validation:Optional
	AutoPlacement *string `json:"autoPlacement,omitempty" tf:"auto_placement,omitempty"`

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

	// +kubebuilder:validation:Optional
	AvailableInstanceCapacities []AvailableInstanceCapacitiesParameters `json:"availableInstanceCapacities,omitempty" tf:"available_instance_capacities,omitempty"`

	// +kubebuilder:validation:Optional
	AvailableMemory *int64 `json:"availableMemory,omitempty" tf:"available_memory,omitempty"`

	// +kubebuilder:validation:Optional
	AvailableVcpus *int64 `json:"availableVcpus,omitempty" tf:"available_vcpus,omitempty"`

	// +kubebuilder:validation:Optional
	Cores *int64 `json:"cores,omitempty" tf:"cores,omitempty"`

	// +kubebuilder:validation:Required
	HostType *string `json:"hostType" tf:"host_type,omitempty"`

	// +kubebuilder:validation:Optional
	HostTypeName *string `json:"hostTypeName,omitempty" tf:"host_type_name,omitempty"`

	// +kubebuilder:validation:Optional
	InstanceTotal *int64 `json:"instanceTotal,omitempty" tf:"instance_total,omitempty"`

	// +kubebuilder:validation:Optional
	InstanceUuids []*string `json:"instanceUuids,omitempty" tf:"instance_uuids,omitempty"`

	// +kubebuilder:validation:Optional
	Memory *int64 `json:"memory,omitempty" tf:"memory,omitempty"`

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

	// +kubebuilder:validation:Optional
	Sockets *int64 `json:"sockets,omitempty" tf:"sockets,omitempty"`

	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// +kubebuilder:validation:Optional
	Vcpus *int64 `json:"vcpus,omitempty" tf:"vcpus,omitempty"`
}

func (*HostV1Parameters) DeepCopy

func (in *HostV1Parameters) DeepCopy() *HostV1Parameters

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

func (*HostV1Parameters) DeepCopyInto

func (in *HostV1Parameters) DeepCopyInto(out *HostV1Parameters)

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

type HostV1Spec

type HostV1Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     HostV1Parameters `json:"forProvider"`
}

HostV1Spec defines the desired state of HostV1

func (*HostV1Spec) DeepCopy

func (in *HostV1Spec) DeepCopy() *HostV1Spec

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

func (*HostV1Spec) DeepCopyInto

func (in *HostV1Spec) DeepCopyInto(out *HostV1Spec)

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

type HostV1Status

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

HostV1Status defines the observed state of HostV1.

func (*HostV1Status) DeepCopy

func (in *HostV1Status) DeepCopy() *HostV1Status

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

func (*HostV1Status) DeepCopyInto

func (in *HostV1Status) DeepCopyInto(out *HostV1Status)

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