Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointsEventHandler ¶
type EndpointsEventHandler struct { Logger *zap.Logger ServiceName string ServiceTargetPortName string Router RouterIface }
func (*EndpointsEventHandler) OnAdd ¶
func (h *EndpointsEventHandler) OnAdd(obj interface{})
func (*EndpointsEventHandler) OnDelete ¶
func (h *EndpointsEventHandler) OnDelete(obj interface{})
func (*EndpointsEventHandler) OnUpdate ¶
func (h *EndpointsEventHandler) OnUpdate(oldObj, newObj interface{})
type IPTables ¶
type IPTables interface { NewChain(table, chain string) error ListChains(table string) ([]string, error) Insert(table, chain string, pos int, rulespec ...string) error Append(table, chain string, rulespec ...string) error AppendUnique(table, chain string, rulespec ...string) error Delete(table, chain string, rulespec ...string) error List(table, chain string) ([]string, error) ClearChain(table, chain string) error DeleteChain(table, chain string) error }
type Router ¶
type RouterIface ¶
Click to show internal directories.
Click to hide internal directories.