Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=iploadbalancingtcpfarm.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ProbeInitParameters
- type ProbeObservation
- type ProbeParameters
- type TCPFarm
- func (in *TCPFarm) DeepCopy() *TCPFarm
- func (in *TCPFarm) DeepCopyInto(out *TCPFarm)
- func (in *TCPFarm) DeepCopyObject() runtime.Object
- func (mg *TCPFarm) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *TCPFarm) GetConnectionDetailsMapping() map[string]string
- func (mg *TCPFarm) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *TCPFarm) GetID() string
- func (tr *TCPFarm) GetInitParameters() (map[string]any, error)
- func (mg *TCPFarm) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *TCPFarm) GetObservation() (map[string]any, error)
- func (tr *TCPFarm) GetParameters() (map[string]any, error)
- func (mg *TCPFarm) GetProviderConfigReference() *xpv1.Reference
- func (mg *TCPFarm) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *TCPFarm) GetTerraformResourceType() string
- func (tr *TCPFarm) GetTerraformSchemaVersion() int
- func (mg *TCPFarm) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *TCPFarm) LateInitialize(attrs []byte) (bool, error)
- func (mg *TCPFarm) SetConditions(c ...xpv1.Condition)
- func (mg *TCPFarm) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *TCPFarm) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *TCPFarm) SetObservation(obs map[string]any) error
- func (tr *TCPFarm) SetParameters(params map[string]any) error
- func (mg *TCPFarm) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *TCPFarm) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *TCPFarm) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TCPFarmInitParameters
- type TCPFarmList
- type TCPFarmObservation
- type TCPFarmParameters
- type TCPFarmSpec
- type TCPFarmStatus
Constants ¶
const ( CRDGroup = "iploadbalancingtcpfarm.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPFarm.
func (*TCPFarm) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TCPFarm) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this TCPFarm
func (*TCPFarm) GetDeletionPolicy ¶
func (mg *TCPFarm) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this TCPFarm.
func (*TCPFarm) GetInitParameters ¶
GetInitParameters of this TCPFarm
func (*TCPFarm) GetManagementPolicies ¶
func (mg *TCPFarm) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this TCPFarm.
func (*TCPFarm) GetObservation ¶
GetObservation of this TCPFarm
func (*TCPFarm) GetParameters ¶
GetParameters of this TCPFarm
func (*TCPFarm) GetProviderConfigReference ¶
GetProviderConfigReference of this TCPFarm.
func (*TCPFarm) GetPublishConnectionDetailsTo ¶
func (mg *TCPFarm) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this TCPFarm.
func (*TCPFarm) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this TCPFarm
func (*TCPFarm) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*TCPFarm) GetWriteConnectionSecretToReference ¶
func (mg *TCPFarm) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this TCPFarm.
func (*TCPFarm) LateInitialize ¶
LateInitialize this TCPFarm using its observed tfState. returns True if there are any spec changes for the resource.
func (*TCPFarm) SetConditions ¶
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 ¶
SetObservation for this TCPFarm
func (*TCPFarm) SetParameters ¶
SetParameters for this TCPFarm
func (*TCPFarm) SetProviderConfigReference ¶
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 ¶
func (in *TCPFarmInitParameters) DeepCopy() *TCPFarmInitParameters
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.