syncer

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultValidationServerAddress = "gloo:9988"

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, translator translator.Translator) 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
	RouteTables             factory.ResourceClientFactory
	Proxies                 factory.ResourceClientFactory
	WatchOpts               clients.WatchOpts
	ValidationServerAddress string
	DevMode                 bool
	DisableAutoGenGateways  bool
}

Jump to

Keyboard shortcuts

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