xds

package
v0.0.0-...-c8e46ad Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EndpointType = types.Endpoint
	ClusterType  = types.Cluster
	RouteType    = types.Route
	ListenerType = types.Listener
	SecretType   = types.Secret
	RuntimeType  = types.Runtime
	UnknownType  = types.UnknownType
)

Variables

This section is empty.

Functions

func RegisterServer

func RegisterServer(g *grpc.Server, x Server)

Types

type Cache

type Cache = cache.Cache

type CallbackFuncs

type CallbackFuncs = server.CallbackFuncs

type Callbacks

type Callbacks = server.Callbacks

type ConstantHash

type ConstantHash string

func (ConstantHash) ID

type IDHash

type IDHash = cache.IDHash

type Logger

type Logger = logger.Logger

type NodeHash

type NodeHash = cache.NodeHash

type Resources

type Resources = cache.Resources

func NewResources

func NewResources(version string, items ...proto.Message) Resources

type ResponseType

type ResponseType = types.ResponseType

type Server

type Server = server.Server

func NewServer

func NewServer(ctx context.Context, configCache Cache, cb Callbacks) Server

type Snapshot

type Snapshot = cache.Snapshot

type SnapshotCache

type SnapshotCache = cache.SnapshotCache

func NewSnapshotCache

func NewSnapshotCache(hash cache.NodeHash, l Logger) SnapshotCache

type StandardLogger

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

StandardLogger implements Logger using the Go log package.

func (*StandardLogger) Debugf

func (s *StandardLogger) Debugf(format string, args ...interface{})

Debugf logs a formatted debugging message.

func (*StandardLogger) Errorf

func (s *StandardLogger) Errorf(format string, args ...interface{})

Errorf logs a formatted error message.

func (*StandardLogger) Infof

func (s *StandardLogger) Infof(format string, args ...interface{})

Infof logs a formatted informational message.

func (*StandardLogger) Warnf

func (s *StandardLogger) Warnf(format string, args ...interface{})

Warnf logs a formatted warning message.

Jump to

Keyboard shortcuts

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