xds

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalResources

func UnmarshalResources(config *mv2.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 *mv2.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
// Code generated by protoc-gen-gogo.
// Code generated by protoc-gen-gogo.
v2
rds

Jump to

Keyboard shortcuts

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