proxy

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxier

type Proxier struct {
	// contains filtered or unexported fields
}

TODO: Add metrics

func New

func New(hostname string, informerFactory informers.SharedInformerFactory, ofClient openflow.Client) *Proxier

func (*Proxier) OnEndpointsAdd

func (p *Proxier) OnEndpointsAdd(endpoints *corev1.Endpoints)

func (*Proxier) OnEndpointsDelete

func (p *Proxier) OnEndpointsDelete(endpoints *corev1.Endpoints)

func (*Proxier) OnEndpointsSynced

func (p *Proxier) OnEndpointsSynced()

func (*Proxier) OnEndpointsUpdate

func (p *Proxier) OnEndpointsUpdate(oldEndpoints, endpoints *corev1.Endpoints)

func (*Proxier) OnServiceAdd

func (p *Proxier) OnServiceAdd(service *corev1.Service)

func (*Proxier) OnServiceDelete

func (p *Proxier) OnServiceDelete(service *corev1.Service)

func (*Proxier) OnServiceSynced

func (p *Proxier) OnServiceSynced()

func (*Proxier) OnServiceUpdate

func (p *Proxier) OnServiceUpdate(oldService, service *corev1.Service)

func (*Proxier) Run

func (p *Proxier) Run(stopCh <-chan struct{})

func (*Proxier) SyncLoop

func (p *Proxier) SyncLoop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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