domain

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher struct{}

Hasher is a calculator that calculates the node id.

func (Hasher) ID

func (h Hasher) ID(node *core.Node) string

ID generates a key for cache Snapshot is cached per node type. ID reads the node type from the node id. Also, envoy id needs to be as follows. "sidecar-app1"

type NodeType

type NodeType = string

NodeType is node type of data-plane

type Resources

type Resources struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`

	Clusters  []*api.Cluster               `protobuf:"bytes,2,opt,name=clusters,proto3" json:"clusters,omitempty"`
	Endpoints []*api.ClusterLoadAssignment `protobuf:"bytes,3,opt,name=endpoints,proto3" json:"endpoints,omitempty"`
	Routes    []*api.RouteConfiguration    `protobuf:"bytes,4,opt,name=routes,proto3" json:"routes,omitempty"`
	Listeners []*api.Listener              `protobuf:"bytes,5,opt,name=listeners,proto3" json:"listeners,omitempty"`
}

Resources are resources for xDS response. See below. https://www.envoyproxy.io/docs/envoy/latest/api-v2/api

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) Reset

func (m *Resources) Reset()

func (*Resources) String

func (m *Resources) String() string

Jump to

Keyboard shortcuts

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