envoy

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBootstrapFile

func GenerateBootstrapFile(cfg kuma_dp.DataplaneRuntime, config proto.Message) (string, error)

Types

type BootstrapConfigFactoryFunc

type BootstrapConfigFactoryFunc func(url string, cfg kuma_dp.Config) (proto.Message, error)

func NewRemoteBootstrapGenerator

func NewRemoteBootstrapGenerator(client *http.Client) BootstrapConfigFactoryFunc

type Envoy

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

func New

func New(opts Opts) (*Envoy, error)

func (*Envoy) NeedLeaderElection

func (e *Envoy) NeedLeaderElection() bool

func (*Envoy) Start

func (e *Envoy) Start(stop <-chan struct{}) error

type Opts

type Opts struct {
	Catalog   catalog.Catalog
	Config    kuma_dp.Config
	Generator BootstrapConfigFactoryFunc
	Stdout    io.Writer
	Stderr    io.Writer
}

Jump to

Keyboard shortcuts

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