envoy

package
v0.0.0-...-831067b Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConfig

type CloudConfig struct {
	WriteFiles []struct {
		Content string `yaml:"content"`
		Path    string `yaml:"path"`
	} `yaml:"write_files"`
	RunCMD [][]string `yaml:"runcmd"`
}

type Config

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

func NewConfig

func NewConfig() *Config

func (*Config) AddTCPProxy

func (c *Config) AddTCPProxy(proxy TCPProxy) *Config

func (*Config) AdminPort

func (c *Config) AdminPort() int

func (*Config) CloudConfigYaml

func (c *Config) CloudConfigYaml() string

func (*Config) SetAdminPort

func (c *Config) SetAdminPort(port int) *Config

func (*Config) TCPProxies

func (c *Config) TCPProxies() []TCPProxy

func (*Config) ToYaml

func (c *Config) ToYaml() string

type TCPProxy

type TCPProxy struct {
	Name                      string
	ListenerPort, ClusterPort int
}

Jump to

Keyboard shortcuts

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