syncer

package
v0.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const GatewayStaleTimeoutSeconds = GatewayUpdateIntervalSeconds * 3
View Source
const GatewayUpdateIntervalSeconds = 5

Variables

This section is empty.

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