syncer

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 19 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 {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewGatewaySyncer

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

NewEngine creates a new Engine for the local cluster

func (*GatewaySyncer) CleanupGatewayEntry

func (gs *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 (gs *GatewaySyncer) Run(stopCh <-chan struct{})

func (*GatewaySyncer) SetGatewayStatusError added in v0.7.0

func (gs *GatewaySyncer) SetGatewayStatusError(err error)

Jump to

Keyboard shortcuts

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