Documentation ¶
Index ¶
Constants ¶
View Source
const ProviderIdentifierName = "etcdcluster.etcd.tkestack.io/loadbalancer-provider-name"
ProviderIdentifierName defines the load balancer provider used to expose etcd cluster access
Variables ¶
This section is empty.
Functions ¶
func RegisterLoadBalancerProvider ¶
RegisterLoadBalancerProvider register a loadbalancer provider, the provider is a factory
Types ¶
type Provider ¶
type Provider interface { ApplyTo(annotations map[string]string, service *v1.Service) error NeedUpdate(annotations map[string]string, service *v1.Service) bool }
Provider define loadbalancer provider interface
func GetLoadBalancerProvider ¶
GetLoadBalancerProvider return the specified loadbalancer provider
Click to show internal directories.
Click to hide internal directories.