Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=loadbalancerservice.hcloud.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BalancerService
- func (in *BalancerService) DeepCopy() *BalancerService
- func (in *BalancerService) DeepCopyInto(out *BalancerService)
- func (in *BalancerService) DeepCopyObject() runtime.Object
- func (mg *BalancerService) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *BalancerService) GetConnectionDetailsMapping() map[string]string
- func (mg *BalancerService) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *BalancerService) GetID() string
- func (tr *BalancerService) GetInitParameters() (map[string]any, error)
- func (mg *BalancerService) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *BalancerService) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *BalancerService) GetObservation() (map[string]any, error)
- func (tr *BalancerService) GetParameters() (map[string]any, error)
- func (mg *BalancerService) GetProviderConfigReference() *xpv1.Reference
- func (mg *BalancerService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *BalancerService) GetTerraformResourceType() string
- func (tr *BalancerService) GetTerraformSchemaVersion() int
- func (mg *BalancerService) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *BalancerService) Hub()
- func (tr *BalancerService) LateInitialize(attrs []byte) (bool, error)
- func (mg *BalancerService) SetConditions(c ...xpv1.Condition)
- func (mg *BalancerService) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *BalancerService) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *BalancerService) SetObservation(obs map[string]any) error
- func (tr *BalancerService) SetParameters(params map[string]any) error
- func (mg *BalancerService) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *BalancerService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *BalancerService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BalancerServiceHTTPInitParameters
- type BalancerServiceHTTPObservation
- type BalancerServiceHTTPParameters
- type BalancerServiceInitParameters
- type BalancerServiceList
- type BalancerServiceObservation
- type BalancerServiceParameters
- type BalancerServiceSpec
- type BalancerServiceStatus
- type HTTPInitParameters
- type HTTPObservation
- type HTTPParameters
- type HealthCheckInitParameters
- type HealthCheckObservation
- type HealthCheckParameters
Constants ¶
const ( CRDGroup = "loadbalancerservice.hcloud.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( BalancerService_Kind = "BalancerService" BalancerService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BalancerService_Kind}.String() BalancerService_KindAPIVersion = BalancerService_Kind + "." + CRDGroupVersion.String() BalancerService_GroupVersionKind = CRDGroupVersion.WithKind(BalancerService_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type BalancerService ¶
type BalancerService 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.loadBalancerId) || (has(self.initProvider) && has(self.initProvider.loadBalancerId))",message="spec.forProvider.loadBalancerId is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter" Spec BalancerServiceSpec `json:"spec"` Status BalancerServiceStatus `json:"status,omitempty"` }
BalancerService is the Schema for the BalancerServices API. Define services for Hetzner Cloud Load Balancers. +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:resource:scope=Cluster,categories={crossplane,managed,hcloud}
func (*BalancerService) DeepCopy ¶
func (in *BalancerService) DeepCopy() *BalancerService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerService.
func (*BalancerService) DeepCopyInto ¶
func (in *BalancerService) DeepCopyInto(out *BalancerService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BalancerService) DeepCopyObject ¶
func (in *BalancerService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BalancerService) GetCondition ¶
func (mg *BalancerService) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this BalancerService.
func (*BalancerService) GetConnectionDetailsMapping ¶
func (tr *BalancerService) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this BalancerService
func (*BalancerService) GetDeletionPolicy ¶
func (mg *BalancerService) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this BalancerService.
func (*BalancerService) GetID ¶
func (tr *BalancerService) GetID() string
GetID returns ID of underlying Terraform resource of this BalancerService
func (*BalancerService) GetInitParameters ¶
func (tr *BalancerService) GetInitParameters() (map[string]any, error)
GetInitParameters of this BalancerService
func (*BalancerService) GetManagementPolicies ¶
func (mg *BalancerService) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this BalancerService.
func (*BalancerService) GetMergedParameters ¶
func (tr *BalancerService) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this BalancerService
func (*BalancerService) GetObservation ¶
func (tr *BalancerService) GetObservation() (map[string]any, error)
GetObservation of this BalancerService
func (*BalancerService) GetParameters ¶
func (tr *BalancerService) GetParameters() (map[string]any, error)
GetParameters of this BalancerService
func (*BalancerService) GetProviderConfigReference ¶
func (mg *BalancerService) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this BalancerService.
func (*BalancerService) GetPublishConnectionDetailsTo ¶
func (mg *BalancerService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this BalancerService.
func (*BalancerService) GetTerraformResourceType ¶
func (mg *BalancerService) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this BalancerService
func (*BalancerService) GetTerraformSchemaVersion ¶
func (tr *BalancerService) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*BalancerService) GetWriteConnectionSecretToReference ¶
func (mg *BalancerService) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this BalancerService.
func (*BalancerService) Hub ¶
func (tr *BalancerService) Hub()
Hub marks this type as a conversion hub.
func (*BalancerService) LateInitialize ¶
func (tr *BalancerService) LateInitialize(attrs []byte) (bool, error)
LateInitialize this BalancerService using its observed tfState. returns True if there are any spec changes for the resource.
func (*BalancerService) SetConditions ¶
func (mg *BalancerService) SetConditions(c ...xpv1.Condition)
SetConditions of this BalancerService.
func (*BalancerService) SetDeletionPolicy ¶
func (mg *BalancerService) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this BalancerService.
func (*BalancerService) SetManagementPolicies ¶
func (mg *BalancerService) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this BalancerService.
func (*BalancerService) SetObservation ¶
func (tr *BalancerService) SetObservation(obs map[string]any) error
SetObservation for this BalancerService
func (*BalancerService) SetParameters ¶
func (tr *BalancerService) SetParameters(params map[string]any) error
SetParameters for this BalancerService
func (*BalancerService) SetProviderConfigReference ¶
func (mg *BalancerService) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this BalancerService.
func (*BalancerService) SetPublishConnectionDetailsTo ¶
func (mg *BalancerService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this BalancerService.
func (*BalancerService) SetWriteConnectionSecretToReference ¶
func (mg *BalancerService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this BalancerService.
type BalancerServiceHTTPInitParameters ¶
type BalancerServiceHTTPInitParameters struct { // List of IDs from certificates which the Load Balancer has. // +listType=set Certificates []*float64 `json:"certificates,omitempty" tf:"certificates,omitempty"` // Lifetime of the cookie for sticky session (in seconds). Default: 300 CookieLifetime *float64 `json:"cookieLifetime,omitempty" tf:"cookie_lifetime,omitempty"` // Name of the cookie for sticky session. Default: HCLBSTICKY CookieName *string `json:"cookieName,omitempty" tf:"cookie_name,omitempty"` // Redirect HTTP to HTTPS traffic. Only supported for services with protocol https using the default HTTP port 80. RedirectHTTP *bool `json:"redirectHttp,omitempty" tf:"redirect_http,omitempty"` // Enable sticky sessions StickySessions *bool `json:"stickySessions,omitempty" tf:"sticky_sessions,omitempty"` }
func (*BalancerServiceHTTPInitParameters) DeepCopy ¶
func (in *BalancerServiceHTTPInitParameters) DeepCopy() *BalancerServiceHTTPInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceHTTPInitParameters.
func (*BalancerServiceHTTPInitParameters) DeepCopyInto ¶
func (in *BalancerServiceHTTPInitParameters) DeepCopyInto(out *BalancerServiceHTTPInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerServiceHTTPObservation ¶
type BalancerServiceHTTPObservation struct { // List of IDs from certificates which the Load Balancer has. // +listType=set Certificates []*float64 `json:"certificates,omitempty" tf:"certificates,omitempty"` // Lifetime of the cookie for sticky session (in seconds). Default: 300 CookieLifetime *float64 `json:"cookieLifetime,omitempty" tf:"cookie_lifetime,omitempty"` // Name of the cookie for sticky session. Default: HCLBSTICKY CookieName *string `json:"cookieName,omitempty" tf:"cookie_name,omitempty"` // Redirect HTTP to HTTPS traffic. Only supported for services with protocol https using the default HTTP port 80. RedirectHTTP *bool `json:"redirectHttp,omitempty" tf:"redirect_http,omitempty"` // Enable sticky sessions StickySessions *bool `json:"stickySessions,omitempty" tf:"sticky_sessions,omitempty"` }
func (*BalancerServiceHTTPObservation) DeepCopy ¶
func (in *BalancerServiceHTTPObservation) DeepCopy() *BalancerServiceHTTPObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceHTTPObservation.
func (*BalancerServiceHTTPObservation) DeepCopyInto ¶
func (in *BalancerServiceHTTPObservation) DeepCopyInto(out *BalancerServiceHTTPObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerServiceHTTPParameters ¶
type BalancerServiceHTTPParameters struct { // List of IDs from certificates which the Load Balancer has. // +kubebuilder:validation:Optional // +listType=set Certificates []*float64 `json:"certificates,omitempty" tf:"certificates,omitempty"` // Lifetime of the cookie for sticky session (in seconds). Default: 300 // +kubebuilder:validation:Optional CookieLifetime *float64 `json:"cookieLifetime,omitempty" tf:"cookie_lifetime,omitempty"` // Name of the cookie for sticky session. Default: HCLBSTICKY // +kubebuilder:validation:Optional CookieName *string `json:"cookieName,omitempty" tf:"cookie_name,omitempty"` // Redirect HTTP to HTTPS traffic. Only supported for services with protocol https using the default HTTP port 80. // +kubebuilder:validation:Optional RedirectHTTP *bool `json:"redirectHttp,omitempty" tf:"redirect_http,omitempty"` // Enable sticky sessions // +kubebuilder:validation:Optional StickySessions *bool `json:"stickySessions,omitempty" tf:"sticky_sessions,omitempty"` }
func (*BalancerServiceHTTPParameters) DeepCopy ¶
func (in *BalancerServiceHTTPParameters) DeepCopy() *BalancerServiceHTTPParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceHTTPParameters.
func (*BalancerServiceHTTPParameters) DeepCopyInto ¶
func (in *BalancerServiceHTTPParameters) DeepCopyInto(out *BalancerServiceHTTPParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerServiceInitParameters ¶
type BalancerServiceInitParameters struct { // Port the service connects to the targets on, required if protocol is tcp. Can be everything between 1 and 65535. DestinationPort *float64 `json:"destinationPort,omitempty" tf:"destination_port,omitempty"` // HTTP configuration when protocol is http or https. HTTP []BalancerServiceHTTPInitParameters `json:"http,omitempty" tf:"http,omitempty"` // Health Check configuration when protocol is http or https. HealthCheck []HealthCheckInitParameters `json:"healthCheck,omitempty" tf:"health_check,omitempty"` // Port the service listen on, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer. ListenPort *float64 `json:"listenPort,omitempty" tf:"listen_port,omitempty"` // Id of the load balancer this service belongs to. LoadBalancerID *string `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // Protocol of the service. http, https or tcp Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // Enable proxyprotocol. Proxyprotocol *bool `json:"proxyprotocol,omitempty" tf:"proxyprotocol,omitempty"` }
func (*BalancerServiceInitParameters) DeepCopy ¶
func (in *BalancerServiceInitParameters) DeepCopy() *BalancerServiceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceInitParameters.
func (*BalancerServiceInitParameters) DeepCopyInto ¶
func (in *BalancerServiceInitParameters) DeepCopyInto(out *BalancerServiceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerServiceList ¶
type BalancerServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BalancerService `json:"items"` }
BalancerServiceList contains a list of BalancerServices
func (*BalancerServiceList) DeepCopy ¶
func (in *BalancerServiceList) DeepCopy() *BalancerServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceList.
func (*BalancerServiceList) DeepCopyInto ¶
func (in *BalancerServiceList) DeepCopyInto(out *BalancerServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BalancerServiceList) DeepCopyObject ¶
func (in *BalancerServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BalancerServiceList) GetItems ¶
func (l *BalancerServiceList) GetItems() []resource.Managed
GetItems of this BalancerServiceList.
type BalancerServiceObservation ¶
type BalancerServiceObservation struct { // Port the service connects to the targets on, required if protocol is tcp. Can be everything between 1 and 65535. DestinationPort *float64 `json:"destinationPort,omitempty" tf:"destination_port,omitempty"` // HTTP configuration when protocol is http or https. HTTP []BalancerServiceHTTPObservation `json:"http,omitempty" tf:"http,omitempty"` // Health Check configuration when protocol is http or https. HealthCheck []HealthCheckObservation `json:"healthCheck,omitempty" tf:"health_check,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Port the service listen on, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer. ListenPort *float64 `json:"listenPort,omitempty" tf:"listen_port,omitempty"` // Id of the load balancer this service belongs to. LoadBalancerID *string `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // Protocol of the service. http, https or tcp Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // Enable proxyprotocol. Proxyprotocol *bool `json:"proxyprotocol,omitempty" tf:"proxyprotocol,omitempty"` }
func (*BalancerServiceObservation) DeepCopy ¶
func (in *BalancerServiceObservation) DeepCopy() *BalancerServiceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceObservation.
func (*BalancerServiceObservation) DeepCopyInto ¶
func (in *BalancerServiceObservation) DeepCopyInto(out *BalancerServiceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerServiceParameters ¶
type BalancerServiceParameters struct { // Port the service connects to the targets on, required if protocol is tcp. Can be everything between 1 and 65535. // +kubebuilder:validation:Optional DestinationPort *float64 `json:"destinationPort,omitempty" tf:"destination_port,omitempty"` // HTTP configuration when protocol is http or https. // +kubebuilder:validation:Optional HTTP []BalancerServiceHTTPParameters `json:"http,omitempty" tf:"http,omitempty"` // Health Check configuration when protocol is http or https. // +kubebuilder:validation:Optional HealthCheck []HealthCheckParameters `json:"healthCheck,omitempty" tf:"health_check,omitempty"` // Port the service listen on, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer. // +kubebuilder:validation:Optional ListenPort *float64 `json:"listenPort,omitempty" tf:"listen_port,omitempty"` // Id of the load balancer this service belongs to. // +kubebuilder:validation:Optional LoadBalancerID *string `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // Protocol of the service. http, https or tcp // +kubebuilder:validation:Optional Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // Enable proxyprotocol. // +kubebuilder:validation:Optional Proxyprotocol *bool `json:"proxyprotocol,omitempty" tf:"proxyprotocol,omitempty"` }
func (*BalancerServiceParameters) DeepCopy ¶
func (in *BalancerServiceParameters) DeepCopy() *BalancerServiceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceParameters.
func (*BalancerServiceParameters) DeepCopyInto ¶
func (in *BalancerServiceParameters) DeepCopyInto(out *BalancerServiceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerServiceSpec ¶
type BalancerServiceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider BalancerServiceParameters `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 BalancerServiceInitParameters `json:"initProvider,omitempty"` }
BalancerServiceSpec defines the desired state of BalancerService
func (*BalancerServiceSpec) DeepCopy ¶
func (in *BalancerServiceSpec) DeepCopy() *BalancerServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceSpec.
func (*BalancerServiceSpec) DeepCopyInto ¶
func (in *BalancerServiceSpec) DeepCopyInto(out *BalancerServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerServiceStatus ¶
type BalancerServiceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BalancerServiceObservation `json:"atProvider,omitempty"` }
BalancerServiceStatus defines the observed state of BalancerService.
func (*BalancerServiceStatus) DeepCopy ¶
func (in *BalancerServiceStatus) DeepCopy() *BalancerServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerServiceStatus.
func (*BalancerServiceStatus) DeepCopyInto ¶
func (in *BalancerServiceStatus) DeepCopyInto(out *BalancerServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPInitParameters ¶
type HTTPInitParameters struct { // Domain we try to access when performing the Health Check. Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` // Path we try to access when performing the Health Check. Path *string `json:"path,omitempty" tf:"path,omitempty"` // Response we expect to be included in the Target response when a Health Check was performed. Response *string `json:"response,omitempty" tf:"response,omitempty"` // We expect that the target answers with these status codes. If not the target is marked as unhealthy. StatusCodes []*string `json:"statusCodes,omitempty" tf:"status_codes,omitempty"` // Enable TLS certificate checking. TLS *bool `json:"tls,omitempty" tf:"tls,omitempty"` }
func (*HTTPInitParameters) DeepCopy ¶
func (in *HTTPInitParameters) DeepCopy() *HTTPInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPInitParameters.
func (*HTTPInitParameters) DeepCopyInto ¶
func (in *HTTPInitParameters) DeepCopyInto(out *HTTPInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPObservation ¶
type HTTPObservation struct { // Domain we try to access when performing the Health Check. Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` // Path we try to access when performing the Health Check. Path *string `json:"path,omitempty" tf:"path,omitempty"` // Response we expect to be included in the Target response when a Health Check was performed. Response *string `json:"response,omitempty" tf:"response,omitempty"` // We expect that the target answers with these status codes. If not the target is marked as unhealthy. StatusCodes []*string `json:"statusCodes,omitempty" tf:"status_codes,omitempty"` // Enable TLS certificate checking. TLS *bool `json:"tls,omitempty" tf:"tls,omitempty"` }
func (*HTTPObservation) DeepCopy ¶
func (in *HTTPObservation) DeepCopy() *HTTPObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPObservation.
func (*HTTPObservation) DeepCopyInto ¶
func (in *HTTPObservation) DeepCopyInto(out *HTTPObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPParameters ¶
type HTTPParameters struct { // Domain we try to access when performing the Health Check. // +kubebuilder:validation:Optional Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` // Path we try to access when performing the Health Check. // +kubebuilder:validation:Optional Path *string `json:"path,omitempty" tf:"path,omitempty"` // Response we expect to be included in the Target response when a Health Check was performed. // +kubebuilder:validation:Optional Response *string `json:"response,omitempty" tf:"response,omitempty"` // We expect that the target answers with these status codes. If not the target is marked as unhealthy. // +kubebuilder:validation:Optional StatusCodes []*string `json:"statusCodes,omitempty" tf:"status_codes,omitempty"` // Enable TLS certificate checking. // +kubebuilder:validation:Optional TLS *bool `json:"tls,omitempty" tf:"tls,omitempty"` }
func (*HTTPParameters) DeepCopy ¶
func (in *HTTPParameters) DeepCopy() *HTTPParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPParameters.
func (*HTTPParameters) DeepCopyInto ¶
func (in *HTTPParameters) DeepCopyInto(out *HTTPParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthCheckInitParameters ¶
type HealthCheckInitParameters struct { // HTTP configuration when protocol is http or https. HTTP []HTTPInitParameters `json:"http,omitempty" tf:"http,omitempty"` // Interval how often the health check will be performed, in seconds. Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"` // Port the health check tries to connect to, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // Protocol of the service. http, https or tcp Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // Number of tries a health check will be performed until a target will be listed as unhealthy. Retries *float64 `json:"retries,omitempty" tf:"retries,omitempty"` // Timeout when a health check try will be canceled if there is no response, in seconds. Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` }
func (*HealthCheckInitParameters) DeepCopy ¶
func (in *HealthCheckInitParameters) DeepCopy() *HealthCheckInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckInitParameters.
func (*HealthCheckInitParameters) DeepCopyInto ¶
func (in *HealthCheckInitParameters) DeepCopyInto(out *HealthCheckInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthCheckObservation ¶
type HealthCheckObservation struct { // HTTP configuration when protocol is http or https. HTTP []HTTPObservation `json:"http,omitempty" tf:"http,omitempty"` // Interval how often the health check will be performed, in seconds. Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"` // Port the health check tries to connect to, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // Protocol of the service. http, https or tcp Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // Number of tries a health check will be performed until a target will be listed as unhealthy. Retries *float64 `json:"retries,omitempty" tf:"retries,omitempty"` // Timeout when a health check try will be canceled if there is no response, in seconds. Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` }
func (*HealthCheckObservation) DeepCopy ¶
func (in *HealthCheckObservation) DeepCopy() *HealthCheckObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckObservation.
func (*HealthCheckObservation) DeepCopyInto ¶
func (in *HealthCheckObservation) DeepCopyInto(out *HealthCheckObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthCheckParameters ¶
type HealthCheckParameters struct { // HTTP configuration when protocol is http or https. // +kubebuilder:validation:Optional HTTP []HTTPParameters `json:"http,omitempty" tf:"http,omitempty"` // Interval how often the health check will be performed, in seconds. // +kubebuilder:validation:Optional Interval *float64 `json:"interval" tf:"interval,omitempty"` // Port the health check tries to connect to, required if protocol is tcp. Can be everything between 1 and 65535. Must be unique per Load Balancer. // +kubebuilder:validation:Optional Port *float64 `json:"port" tf:"port,omitempty"` // Protocol of the service. http, https or tcp // +kubebuilder:validation:Optional Protocol *string `json:"protocol" tf:"protocol,omitempty"` // Number of tries a health check will be performed until a target will be listed as unhealthy. // +kubebuilder:validation:Optional Retries *float64 `json:"retries,omitempty" tf:"retries,omitempty"` // Timeout when a health check try will be canceled if there is no response, in seconds. // +kubebuilder:validation:Optional Timeout *float64 `json:"timeout" tf:"timeout,omitempty"` }
func (*HealthCheckParameters) DeepCopy ¶
func (in *HealthCheckParameters) DeepCopy() *HealthCheckParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckParameters.
func (*HealthCheckParameters) DeepCopyInto ¶
func (in *HealthCheckParameters) DeepCopyInto(out *HealthCheckParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.