discoveryservice

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XdsServer

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

XdsServer is a type that holds configuration and runtime objects for the envoy xds server

func NewXdsServer added in v0.9.0

func NewXdsServer(ctx context.Context, xDSPort uint, tlsConfig *tls.Config, logger logr.Logger) *XdsServer

NewXdsServer creates a new XdsServer object fron the given params

func (*XdsServer) GetCache

func (xdss *XdsServer) GetCache(version envoy.APIVersion) xdss.Cache

GetCache returns the Cache

func (*XdsServer) GetDiscoveryStats added in v0.9.0

func (xdss *XdsServer) GetDiscoveryStats(version envoy.APIVersion) *stats.Stats

GetCache returns the discovery stats

func (*XdsServer) Start

func (xdss *XdsServer) Start(client kubernetes.Interface, namespace string) error

Start starts an xDS server at the given port.

Directories

Path Synopsis
v3

Jump to

Keyboard shortcuts

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