syncer

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GatewayStaleTimeout = GatewayUpdateInterval * 3
View Source
var GatewayUpdateInterval = 5 * time.Second

Functions

This section is empty.

Types

type GatewaySyncer

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

func NewGatewaySyncer

func NewGatewaySyncer(engine cableengine.Engine, client v1typed.GatewayInterface,
	version string) *GatewaySyncer

NewEngine creates a new Engine for the local cluster

func (*GatewaySyncer) CleanupGatewayEntry

func (s *GatewaySyncer) CleanupGatewayEntry()

CleanupGatewayEntry removes this Gateway entry from the k8s API, it does not propagate error up because it's a termination function that we also provide externally

func (*GatewaySyncer) Run

func (s *GatewaySyncer) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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