v1alpha1

package
v0.0.0-...-73c97c3 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=iploadbalancingtcpfarm.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "iploadbalancingtcpfarm.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 (
	TCPFarm_Kind             = "TCPFarm"
	TCPFarm_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TCPFarm_Kind}.String()
	TCPFarm_KindAPIVersion   = TCPFarm_Kind + "." + CRDGroupVersion.String()
	TCPFarm_GroupVersionKind = CRDGroupVersion.WithKind(TCPFarm_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProbeInitParameters

type ProbeInitParameters struct {
	ForceSSL *bool `json:"forceSsl,omitempty" tf:"force_ssl,omitempty"`

	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	Match *string `json:"match,omitempty" tf:"match,omitempty"`

	Method *string `json:"method,omitempty" tf:"method,omitempty"`

	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

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

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

	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*ProbeInitParameters) DeepCopy

func (in *ProbeInitParameters) DeepCopy() *ProbeInitParameters

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

func (*ProbeInitParameters) DeepCopyInto

func (in *ProbeInitParameters) DeepCopyInto(out *ProbeInitParameters)

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

type ProbeObservation

type ProbeObservation struct {
	ForceSSL *bool `json:"forceSsl,omitempty" tf:"force_ssl,omitempty"`

	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	Match *string `json:"match,omitempty" tf:"match,omitempty"`

	Method *string `json:"method,omitempty" tf:"method,omitempty"`

	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

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

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

	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*ProbeObservation) DeepCopy

func (in *ProbeObservation) DeepCopy() *ProbeObservation

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

func (*ProbeObservation) DeepCopyInto

func (in *ProbeObservation) DeepCopyInto(out *ProbeObservation)

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

type ProbeParameters

type ProbeParameters struct {

	// +kubebuilder:validation:Optional
	ForceSSL *bool `json:"forceSsl,omitempty" tf:"force_ssl,omitempty"`

	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// +kubebuilder:validation:Optional
	Match *string `json:"match,omitempty" tf:"match,omitempty"`

	// +kubebuilder:validation:Optional
	Method *string `json:"method,omitempty" tf:"method,omitempty"`

	// +kubebuilder:validation:Optional
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

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

	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*ProbeParameters) DeepCopy

func (in *ProbeParameters) DeepCopy() *ProbeParameters

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

func (*ProbeParameters) DeepCopyInto

func (in *ProbeParameters) DeepCopyInto(out *ProbeParameters)

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

type TCPFarm

type TCPFarm struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.zone) || (has(self.initProvider) && has(self.initProvider.zone))",message="spec.forProvider.zone is a required parameter"
	Spec   TCPFarmSpec   `json:"spec"`
	Status TCPFarmStatus `json:"status,omitempty"`
}

TCPFarm is the Schema for the TCPFarms API. <no value> +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,ovh}

func (*TCPFarm) DeepCopy

func (in *TCPFarm) DeepCopy() *TCPFarm

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

func (*TCPFarm) DeepCopyInto

func (in *TCPFarm) DeepCopyInto(out *TCPFarm)

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

func (*TCPFarm) DeepCopyObject

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

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

func (*TCPFarm) GetCondition

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

GetCondition of this TCPFarm.

func (*TCPFarm) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TCPFarm

func (*TCPFarm) GetDeletionPolicy

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

GetDeletionPolicy of this TCPFarm.

func (*TCPFarm) GetID

func (tr *TCPFarm) GetID() string

GetID returns ID of underlying Terraform resource of this TCPFarm

func (*TCPFarm) GetInitParameters

func (tr *TCPFarm) GetInitParameters() (map[string]any, error)

GetInitParameters of this TCPFarm

func (*TCPFarm) GetManagementPolicies

func (mg *TCPFarm) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this TCPFarm.

func (*TCPFarm) GetObservation

func (tr *TCPFarm) GetObservation() (map[string]any, error)

GetObservation of this TCPFarm

func (*TCPFarm) GetParameters

func (tr *TCPFarm) GetParameters() (map[string]any, error)

GetParameters of this TCPFarm

func (*TCPFarm) GetProviderConfigReference

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

GetProviderConfigReference of this TCPFarm.

func (*TCPFarm) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TCPFarm.

func (*TCPFarm) GetTerraformResourceType

func (mg *TCPFarm) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TCPFarm

func (*TCPFarm) GetTerraformSchemaVersion

func (tr *TCPFarm) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TCPFarm) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TCPFarm.

func (*TCPFarm) LateInitialize

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

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

func (*TCPFarm) SetConditions

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

SetConditions of this TCPFarm.

func (*TCPFarm) SetDeletionPolicy

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

SetDeletionPolicy of this TCPFarm.

func (*TCPFarm) SetManagementPolicies

func (mg *TCPFarm) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this TCPFarm.

func (*TCPFarm) SetObservation

func (tr *TCPFarm) SetObservation(obs map[string]any) error

SetObservation for this TCPFarm

func (*TCPFarm) SetParameters

func (tr *TCPFarm) SetParameters(params map[string]any) error

SetParameters for this TCPFarm

func (*TCPFarm) SetProviderConfigReference

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

SetProviderConfigReference of this TCPFarm.

func (*TCPFarm) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TCPFarm.

func (*TCPFarm) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TCPFarm.

type TCPFarmInitParameters

type TCPFarmInitParameters struct {
	Balance *string `json:"balance,omitempty" tf:"balance,omitempty"`

	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	Probe []ProbeInitParameters `json:"probe,omitempty" tf:"probe,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	Stickiness *string `json:"stickiness,omitempty" tf:"stickiness,omitempty"`

	VrackNetworkID *float64 `json:"vrackNetworkId,omitempty" tf:"vrack_network_id,omitempty"`

	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*TCPFarmInitParameters) DeepCopy

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

func (*TCPFarmInitParameters) DeepCopyInto

func (in *TCPFarmInitParameters) DeepCopyInto(out *TCPFarmInitParameters)

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

type TCPFarmList

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

TCPFarmList contains a list of TCPFarms

func (*TCPFarmList) DeepCopy

func (in *TCPFarmList) DeepCopy() *TCPFarmList

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

func (*TCPFarmList) DeepCopyInto

func (in *TCPFarmList) DeepCopyInto(out *TCPFarmList)

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

func (*TCPFarmList) DeepCopyObject

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

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

func (*TCPFarmList) GetItems

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

GetItems of this TCPFarmList.

type TCPFarmObservation

type TCPFarmObservation struct {
	Balance *string `json:"balance,omitempty" tf:"balance,omitempty"`

	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

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

	Probe []ProbeObservation `json:"probe,omitempty" tf:"probe,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	Stickiness *string `json:"stickiness,omitempty" tf:"stickiness,omitempty"`

	VrackNetworkID *float64 `json:"vrackNetworkId,omitempty" tf:"vrack_network_id,omitempty"`

	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*TCPFarmObservation) DeepCopy

func (in *TCPFarmObservation) DeepCopy() *TCPFarmObservation

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

func (*TCPFarmObservation) DeepCopyInto

func (in *TCPFarmObservation) DeepCopyInto(out *TCPFarmObservation)

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

type TCPFarmParameters

type TCPFarmParameters struct {

	// +kubebuilder:validation:Optional
	Balance *string `json:"balance,omitempty" tf:"balance,omitempty"`

	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// +kubebuilder:validation:Optional
	Probe []ProbeParameters `json:"probe,omitempty" tf:"probe,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// +kubebuilder:validation:Optional
	Stickiness *string `json:"stickiness,omitempty" tf:"stickiness,omitempty"`

	// +kubebuilder:validation:Optional
	VrackNetworkID *float64 `json:"vrackNetworkId,omitempty" tf:"vrack_network_id,omitempty"`

	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*TCPFarmParameters) DeepCopy

func (in *TCPFarmParameters) DeepCopy() *TCPFarmParameters

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

func (*TCPFarmParameters) DeepCopyInto

func (in *TCPFarmParameters) DeepCopyInto(out *TCPFarmParameters)

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

type TCPFarmSpec

type TCPFarmSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TCPFarmParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider TCPFarmInitParameters `json:"initProvider,omitempty"`
}

TCPFarmSpec defines the desired state of TCPFarm

func (*TCPFarmSpec) DeepCopy

func (in *TCPFarmSpec) DeepCopy() *TCPFarmSpec

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

func (*TCPFarmSpec) DeepCopyInto

func (in *TCPFarmSpec) DeepCopyInto(out *TCPFarmSpec)

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

type TCPFarmStatus

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

TCPFarmStatus defines the observed state of TCPFarm.

func (*TCPFarmStatus) DeepCopy

func (in *TCPFarmStatus) DeepCopy() *TCPFarmStatus

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

func (*TCPFarmStatus) DeepCopyInto

func (in *TCPFarmStatus) DeepCopyInto(out *TCPFarmStatus)

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