Documentation ¶
Overview ¶
Package service contains the logic for Cilium Load Balancer Controller via envoy config
Index ¶
Constants ¶
View Source
const Subsys = "envoy-lb-controller"
Variables ¶
This section is empty.
Functions ¶
func GetLBProtocolModelAnnotation ¶
GetLBProtocolModelAnnotation returns the load balancer mode
func IsLBProtocolAnnotationEnabled ¶
IsLBProtocolAnnotationEnabled returns true if the load balancer protocol is enabled
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func New ¶
func New(client client.Clientset, indexer cache.Store, ports []string, algorithm string) (*Manager, error)
New returns a new Manager for CiliumEnvoyConfig
func (*Manager) MarkSynced ¶
func (m *Manager) MarkSynced()
func (*Manager) OnAddService ¶
func (m *Manager) OnAddService(service *slim_corev1.Service) error
func (*Manager) OnDeleteService ¶
func (m *Manager) OnDeleteService(_ *slim_corev1.Service) error
func (*Manager) OnUpdateService ¶
func (m *Manager) OnUpdateService(_, newObj *slim_corev1.Service) error
Click to show internal directories.
Click to hide internal directories.