xds

package
v0.0.0-...-cb950d2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalResources

func UnmarshalResources(config *config.MOSNConfig) (dynamicResources *bootstrap.Bootstrap_DynamicResources, staticResources *bootstrap.Bootstrap_StaticResources, err error)

UnmarshalResources used in order to convert bootstrap_v2 json to pb struct (go-control-plane), some fields must be exchanged format

Types

type Client

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

Client provide an ADS client

func (*Client) Start

func (c *Client) Start(config *config.MOSNConfig) error

Start used to fetch listeners/clusters/clusterloadassignment config from pilot in cycle, usually called when mosn start

func (*Client) Stop

func (c *Client) Stop()

Stop used to stop fetch listeners/clusters/clusterloadassignment config from pilot, usually called when mosn quit

Directories

Path Synopsis
model
filter/network/x_proxy/v2
Package v2 is a generated protocol buffer package.
Package v2 is a generated protocol buffer package.
v2
rds

Jump to

Keyboard shortcuts

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