syncer

package
v0.18.14 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTranslatorSyncer

func NewTranslatorSyncer(writeNamespace string, proxyClient gloov1.ProxyClient, gwClient v2.GatewayClient, vsClient v1.VirtualServiceClient, reporter reporter.Reporter, propagator *propagator.Propagator) v2.ApiSyncer

func RunGateway

func RunGateway(opts Opts) error

func Setup

func Setup(ctx context.Context, kubeCache kube.SharedCache, inMemoryCache memory.InMemoryResourceCache, settings *gloov1.Settings) error

Types

type Opts

type Opts struct {
	WriteNamespace  string
	WatchNamespaces []string
	Gateways        factory.ResourceClientFactory
	VirtualServices factory.ResourceClientFactory
	Proxies         factory.ResourceClientFactory
	WatchOpts       clients.WatchOpts
	DevMode         bool
}

Jump to

Keyboard shortcuts

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