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

Index

Constants

View Source
const (
	CRDGroup   = "iploadbalancinghttpfarmserver.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 (
	HTTPFarmServer_Kind             = "HTTPFarmServer"
	HTTPFarmServer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HTTPFarmServer_Kind}.String()
	HTTPFarmServer_KindAPIVersion   = HTTPFarmServer_Kind + "." + CRDGroupVersion.String()
	HTTPFarmServer_GroupVersionKind = CRDGroupVersion.WithKind(HTTPFarmServer_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type HTTPFarmServer

type HTTPFarmServer 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.address) || (has(self.initProvider) && has(self.initProvider.address))",message="spec.forProvider.address is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.farmId) || (has(self.initProvider) && has(self.initProvider.farmId))",message="spec.forProvider.farmId is a required parameter"
	// +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.status) || (has(self.initProvider) && has(self.initProvider.status))",message="spec.forProvider.status is a required parameter"
	Spec   HTTPFarmServerSpec   `json:"spec"`
	Status HTTPFarmServerStatus `json:"status,omitempty"`
}

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

func (in *HTTPFarmServer) DeepCopy() *HTTPFarmServer

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

func (*HTTPFarmServer) DeepCopyInto

func (in *HTTPFarmServer) DeepCopyInto(out *HTTPFarmServer)

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

func (*HTTPFarmServer) DeepCopyObject

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

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

func (*HTTPFarmServer) GetCondition

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

GetCondition of this HTTPFarmServer.

func (*HTTPFarmServer) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HTTPFarmServer

func (*HTTPFarmServer) GetDeletionPolicy

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

GetDeletionPolicy of this HTTPFarmServer.

func (*HTTPFarmServer) GetID

func (tr *HTTPFarmServer) GetID() string

GetID returns ID of underlying Terraform resource of this HTTPFarmServer

func (*HTTPFarmServer) GetInitParameters

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

GetInitParameters of this HTTPFarmServer

func (*HTTPFarmServer) GetManagementPolicies

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

GetManagementPolicies of this HTTPFarmServer.

func (*HTTPFarmServer) GetObservation

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

GetObservation of this HTTPFarmServer

func (*HTTPFarmServer) GetParameters

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

GetParameters of this HTTPFarmServer

func (*HTTPFarmServer) GetProviderConfigReference

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

GetProviderConfigReference of this HTTPFarmServer.

func (*HTTPFarmServer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HTTPFarmServer.

func (*HTTPFarmServer) GetTerraformResourceType

func (mg *HTTPFarmServer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HTTPFarmServer

func (*HTTPFarmServer) GetTerraformSchemaVersion

func (tr *HTTPFarmServer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HTTPFarmServer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HTTPFarmServer.

func (*HTTPFarmServer) LateInitialize

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

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

func (*HTTPFarmServer) SetConditions

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

SetConditions of this HTTPFarmServer.

func (*HTTPFarmServer) SetDeletionPolicy

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

SetDeletionPolicy of this HTTPFarmServer.

func (*HTTPFarmServer) SetManagementPolicies

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

SetManagementPolicies of this HTTPFarmServer.

func (*HTTPFarmServer) SetObservation

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

SetObservation for this HTTPFarmServer

func (*HTTPFarmServer) SetParameters

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

SetParameters for this HTTPFarmServer

func (*HTTPFarmServer) SetProviderConfigReference

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

SetProviderConfigReference of this HTTPFarmServer.

func (*HTTPFarmServer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this HTTPFarmServer.

func (*HTTPFarmServer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HTTPFarmServer.

type HTTPFarmServerInitParameters

type HTTPFarmServerInitParameters struct {
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	Backup *bool `json:"backup,omitempty" tf:"backup,omitempty"`

	Chain *string `json:"chain,omitempty" tf:"chain,omitempty"`

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

	FarmID *float64 `json:"farmId,omitempty" tf:"farm_id,omitempty"`

	OnMarkedDown *string `json:"onMarkedDown,omitempty" tf:"on_marked_down,omitempty"`

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

	Probe *bool `json:"probe,omitempty" tf:"probe,omitempty"`

	ProxyProtocolVersion *string `json:"proxyProtocolVersion,omitempty" tf:"proxy_protocol_version,omitempty"`

	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

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

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

	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*HTTPFarmServerInitParameters) DeepCopy

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

func (*HTTPFarmServerInitParameters) DeepCopyInto

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

type HTTPFarmServerList

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

HTTPFarmServerList contains a list of HTTPFarmServers

func (*HTTPFarmServerList) DeepCopy

func (in *HTTPFarmServerList) DeepCopy() *HTTPFarmServerList

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

func (*HTTPFarmServerList) DeepCopyInto

func (in *HTTPFarmServerList) DeepCopyInto(out *HTTPFarmServerList)

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

func (*HTTPFarmServerList) DeepCopyObject

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

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

func (*HTTPFarmServerList) GetItems

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

GetItems of this HTTPFarmServerList.

type HTTPFarmServerObservation

type HTTPFarmServerObservation struct {
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	Backup *bool `json:"backup,omitempty" tf:"backup,omitempty"`

	Chain *string `json:"chain,omitempty" tf:"chain,omitempty"`

	Cookie *string `json:"cookie,omitempty" tf:"cookie,omitempty"`

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

	FarmID *float64 `json:"farmId,omitempty" tf:"farm_id,omitempty"`

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

	OnMarkedDown *string `json:"onMarkedDown,omitempty" tf:"on_marked_down,omitempty"`

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

	Probe *bool `json:"probe,omitempty" tf:"probe,omitempty"`

	ProxyProtocolVersion *string `json:"proxyProtocolVersion,omitempty" tf:"proxy_protocol_version,omitempty"`

	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

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

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

	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*HTTPFarmServerObservation) DeepCopy

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

func (*HTTPFarmServerObservation) DeepCopyInto

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

type HTTPFarmServerParameters

type HTTPFarmServerParameters struct {

	// +kubebuilder:validation:Optional
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// +kubebuilder:validation:Optional
	Backup *bool `json:"backup,omitempty" tf:"backup,omitempty"`

	// +kubebuilder:validation:Optional
	Chain *string `json:"chain,omitempty" tf:"chain,omitempty"`

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

	// +kubebuilder:validation:Optional
	FarmID *float64 `json:"farmId,omitempty" tf:"farm_id,omitempty"`

	// +kubebuilder:validation:Optional
	OnMarkedDown *string `json:"onMarkedDown,omitempty" tf:"on_marked_down,omitempty"`

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

	// +kubebuilder:validation:Optional
	Probe *bool `json:"probe,omitempty" tf:"probe,omitempty"`

	// +kubebuilder:validation:Optional
	ProxyProtocolVersion *string `json:"proxyProtocolVersion,omitempty" tf:"proxy_protocol_version,omitempty"`

	// +kubebuilder:validation:Optional
	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

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

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

	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*HTTPFarmServerParameters) DeepCopy

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

func (*HTTPFarmServerParameters) DeepCopyInto

func (in *HTTPFarmServerParameters) DeepCopyInto(out *HTTPFarmServerParameters)

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

type HTTPFarmServerSpec

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

HTTPFarmServerSpec defines the desired state of HTTPFarmServer

func (*HTTPFarmServerSpec) DeepCopy

func (in *HTTPFarmServerSpec) DeepCopy() *HTTPFarmServerSpec

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

func (*HTTPFarmServerSpec) DeepCopyInto

func (in *HTTPFarmServerSpec) DeepCopyInto(out *HTTPFarmServerSpec)

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

type HTTPFarmServerStatus

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

HTTPFarmServerStatus defines the observed state of HTTPFarmServer.

func (*HTTPFarmServerStatus) DeepCopy

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

func (*HTTPFarmServerStatus) DeepCopyInto

func (in *HTTPFarmServerStatus) DeepCopyInto(out *HTTPFarmServerStatus)

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