adapter

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XDS = `unix:./etc/istio/proxy/XDS`
	SDS = `unix:./etc/istio/proxy/SDS`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

func NewAdapter

func NewAdapter(c *Config) (*Adapter, error)

func (*Adapter) Ready

func (a *Adapter) Ready() bool

func (*Adapter) Start

func (a *Adapter) Start(ctx context.Context) error

func (*Adapter) StartAndUpdatePipe

func (a *Adapter) StartAndUpdatePipe(ctx context.Context)

type Config

type Config struct {
	ConfigFile            string
	RestartEpoch          uint32
	DrainTimeS            uint32
	ParentShutdownTimeS   uint32
	ServiceCluster        string
	ServiceNone           string
	LocalAddressIPVersion string
	BootstrapVersion      string
	Bootstrap             *envoy_config_bootstrap_v3.Bootstrap

	BasePath string
}

-c etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster istio-ingressgateway --service-node router~172.17.0.4~istio-ingressgateway-74df9684c8-mbldh.istio-system~istio-system.svc.cluster.local --local-address-ip-version v4 --bootstrap-version 3 --log-format-prefix-with-location 0 --log-format %Y-%m-%dT%T.%fZ.%l.envoy %n.%v -l warning --component-log-level misc:error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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