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=iploadbalancinghttpfarm.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "iploadbalancinghttpfarm.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 (
	HTTPFarm_Kind             = "HTTPFarm"
	HTTPFarm_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HTTPFarm_Kind}.String()
	HTTPFarm_KindAPIVersion   = HTTPFarm_Kind + "." + CRDGroupVersion.String()
	HTTPFarm_GroupVersionKind = CRDGroupVersion.WithKind(HTTPFarm_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type HTTPFarm

type HTTPFarm 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   HTTPFarmSpec   `json:"spec"`
	Status HTTPFarmStatus `json:"status,omitempty"`
}

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

func (in *HTTPFarm) DeepCopy() *HTTPFarm

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

func (*HTTPFarm) DeepCopyInto

func (in *HTTPFarm) DeepCopyInto(out *HTTPFarm)

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

func (*HTTPFarm) DeepCopyObject

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

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

func (*HTTPFarm) GetCondition

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

GetCondition of this HTTPFarm.

func (*HTTPFarm) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HTTPFarm

func (*HTTPFarm) GetDeletionPolicy

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

GetDeletionPolicy of this HTTPFarm.

func (*HTTPFarm) GetID

func (tr *HTTPFarm) GetID() string

GetID returns ID of underlying Terraform resource of this HTTPFarm

func (*HTTPFarm) GetInitParameters

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

GetInitParameters of this HTTPFarm

func (*HTTPFarm) GetManagementPolicies

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

GetManagementPolicies of this HTTPFarm.

func (*HTTPFarm) GetObservation

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

GetObservation of this HTTPFarm

func (*HTTPFarm) GetParameters

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

GetParameters of this HTTPFarm

func (*HTTPFarm) GetProviderConfigReference

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

GetProviderConfigReference of this HTTPFarm.

func (*HTTPFarm) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HTTPFarm.

func (*HTTPFarm) GetTerraformResourceType

func (mg *HTTPFarm) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HTTPFarm

func (*HTTPFarm) GetTerraformSchemaVersion

func (tr *HTTPFarm) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HTTPFarm) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HTTPFarm.

func (*HTTPFarm) LateInitialize

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

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

func (*HTTPFarm) SetConditions

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

SetConditions of this HTTPFarm.

func (*HTTPFarm) SetDeletionPolicy

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

SetDeletionPolicy of this HTTPFarm.

func (*HTTPFarm) SetManagementPolicies

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

SetManagementPolicies of this HTTPFarm.

func (*HTTPFarm) SetObservation

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

SetObservation for this HTTPFarm

func (*HTTPFarm) SetParameters

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

SetParameters for this HTTPFarm

func (*HTTPFarm) SetProviderConfigReference

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

SetProviderConfigReference of this HTTPFarm.

func (*HTTPFarm) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this HTTPFarm.

func (*HTTPFarm) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HTTPFarm.

type HTTPFarmInitParameters

type HTTPFarmInitParameters 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 (*HTTPFarmInitParameters) DeepCopy

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

func (*HTTPFarmInitParameters) DeepCopyInto

func (in *HTTPFarmInitParameters) DeepCopyInto(out *HTTPFarmInitParameters)

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

type HTTPFarmList

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

HTTPFarmList contains a list of HTTPFarms

func (*HTTPFarmList) DeepCopy

func (in *HTTPFarmList) DeepCopy() *HTTPFarmList

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

func (*HTTPFarmList) DeepCopyInto

func (in *HTTPFarmList) DeepCopyInto(out *HTTPFarmList)

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

func (*HTTPFarmList) DeepCopyObject

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

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

func (*HTTPFarmList) GetItems

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

GetItems of this HTTPFarmList.

type HTTPFarmObservation

type HTTPFarmObservation 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 (*HTTPFarmObservation) DeepCopy

func (in *HTTPFarmObservation) DeepCopy() *HTTPFarmObservation

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

func (*HTTPFarmObservation) DeepCopyInto

func (in *HTTPFarmObservation) DeepCopyInto(out *HTTPFarmObservation)

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

type HTTPFarmParameters

type HTTPFarmParameters 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 (*HTTPFarmParameters) DeepCopy

func (in *HTTPFarmParameters) DeepCopy() *HTTPFarmParameters

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

func (*HTTPFarmParameters) DeepCopyInto

func (in *HTTPFarmParameters) DeepCopyInto(out *HTTPFarmParameters)

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

type HTTPFarmSpec

type HTTPFarmSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     HTTPFarmParameters `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 HTTPFarmInitParameters `json:"initProvider,omitempty"`
}

HTTPFarmSpec defines the desired state of HTTPFarm

func (*HTTPFarmSpec) DeepCopy

func (in *HTTPFarmSpec) DeepCopy() *HTTPFarmSpec

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

func (*HTTPFarmSpec) DeepCopyInto

func (in *HTTPFarmSpec) DeepCopyInto(out *HTTPFarmSpec)

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

type HTTPFarmStatus

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

HTTPFarmStatus defines the observed state of HTTPFarm.

func (*HTTPFarmStatus) DeepCopy

func (in *HTTPFarmStatus) DeepCopy() *HTTPFarmStatus

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

func (*HTTPFarmStatus) DeepCopyInto

func (in *HTTPFarmStatus) DeepCopyInto(out *HTTPFarmStatus)

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL