# Functions

AssertServiceAnnotated asserts that svc has been annotated with all annotations in expected.
LBToService sets the relevant annotations on svc to their respective values from lb.

# Constants

LBAlgorithmType specifies the algorithm type of the Load Balancer.
LBDisablePrivateIngress disables the use of the private network for ingress.
LBDisablePublicNetwork disables the public network of the Hetzner Cloud Load Balancer.
LBHostname specifies the hostname of the Load Balancer.
LBID is the ID assigned to the Hetzner Cloud Load Balancer by the backend.
LBIPv6Disabled disables the use of IPv6 for the Load Balancer.
LBLocation specifies the location where the Load Balancer will be created in.
LBName is the name of the Load Balancer.
LBNetworkZone specifies the network zone where the Load Balancer will be created in.
LBNodeSelector can be set to restrict which Nodes are added as targets to the Load Balancer.
LBPublicIPv4 is the public IPv4 address assigned to the Load Balancer by the backend.
LBPublicIPv4RDNS is the reverse DNS record assigned to the IPv4 address of the Load Balancer.
LBPublicIPv6 is the public IPv6 address assigned to the Load Balancer by the backend.
LBPublicIPv6RDNS is the reverse DNS record assigned to the IPv6 address of the Load Balancer.
LBSvcHealthCheckHTTPDomain specifies the domain we try to access when performing the health check.
LBSvcHealthCheckHTTPPath specifies the path we try to access when performing the health check.
LBSvcHealthCheckHTTPStatusCodes is a comma separated list of HTTP status codes which we expect.
LBSvcHealthCheckHTTPValidateCertificate specifies whether the health check should validate the SSL certificate that comes from the target nodes.
LBSvcHealthCheckInterval specifies the interval in which time we perform a health check in seconds.
LBSvcHealthCheckPort specifies the port the health check is be performed on.
LBSvcHealthCheckProtocol sets the protocol the health check should be performed over.
LBSvcHealthCheckRetries specifies the number of time a health check is retried until a target is marked as unhealthy.
LBSvcHealthCheckTimeout specifies the timeout of a single health check.
LBSvcHTTPCertificates a comma separated list of IDs or Names of Certificates assigned to the service.
LBSvcHTTPCertificateType defines the type of certificate the Load Balancer should use.
LBSvcHTTPCookieLifetime specifies the lifetime of the HTTP cookie.
LBSvcHTTPCookieName specifies the cookie name when using HTTP or HTTPS as protocol.
LBSvcHTTPManagedCertificateDomains contains a coma separated list of the domain names of the managed certificate.
LBSvcHTTPManagedCertificateName contains the names of the managed certificate to create by the Cloud Controller manager.
LBSvcHTTPManagedCertificateUseACMEStaging tells the cloud controller manager to create the certificate using Let's Encrypt staging.
LBSvcHTTPStickySessions enables the sticky sessions feature of Hetzner Cloud HTTP Load Balancers.
LBSvcProtocol specifies the protocol of the service.
LBSvcProxyProtocol specifies if the Load Balancer services should use the proxy protocol.
LBSvcRedirectHTTP create a redirect from HTTP to HTTPS.
LBType specifies the type of the Load Balancer.
LBUsePrivateIP configures the Load Balancer to use the private IP for Load Balancer server targets.

# Variables

ErrNotSet signals that an annotation was not set.

# Type aliases

Name defines the name of a K8S annotation.