ads

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ServerType = "ADS"

ServerType is the type identifier for the ADS server

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server implements the Envoy xDS Aggregate Discovery Services

func NewADSServer

func NewADSServer(meshCatalog catalog.MeshCataloger, enableDebug bool, osmNamespace string, cfg configurator.Configurator) *Server

NewADSServer creates a new Aggregated Discovery Service server

func (*Server) DeltaAggregatedResources

DeltaAggregatedResources implements discovery.AggregatedDiscoveryServiceServer

func (*Server) GetID added in v0.4.0

func (s *Server) GetID() string

GetID returns the ID of the probe

func (Server) GetXDSLog

func (s Server) GetXDSLog() *map[certificate.CommonName]map[envoy.TypeURI][]time.Time

GetXDSLog implements XDSDebugger interface and a log of the XDS responses sent to Envoy proxies.

func (*Server) Liveness

func (s *Server) Liveness() bool

Liveness is the Kubernetes liveness probe handler.

func (*Server) Readiness

func (s *Server) Readiness() bool

Readiness is the Kubernetes readiness probe handler.

func (*Server) Start added in v0.4.0

func (s *Server) Start(ctx context.Context, cancel context.CancelFunc, port int, adsCert certificate.Certificater) error

Start starts the ADS server

func (*Server) StreamAggregatedResources

StreamAggregatedResources handles streaming of the clusters to the connected Envoy proxies

Jump to

Keyboard shortcuts

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