handler

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery struct {
	kubehandler.DefaultHandler
	CoreClient corev1types.CoreV1Interface
	SVCTrigger func(eventType envoy.LBEventType, svc *corev1.Service)
}

Discovery handles addition, updation and deletion of headless services

func (*Discovery) AddFunc

func (d *Discovery) AddFunc(namespace, name string) error

func (*Discovery) DeleteFunc

func (d *Discovery) DeleteFunc(namespace, name string) error

func (*Discovery) UpdateFunc

func (d *Discovery) UpdateFunc(namespace, name string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL