service

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvoyAdminFn

type EnvoyAdminFn = func(ctx context.Context, proxy core_model.ResourceWithAddress) ([]byte, error)

type EnvoyAdminProcessor

type EnvoyAdminProcessor interface {
	StartProcessingXDSConfigs(stream mesh_proto.GlobalKDSService_StreamXDSConfigsClient, errorCh chan error)
	StartProcessingStats(stream mesh_proto.GlobalKDSService_StreamStatsClient, errorCh chan error)
	StartProcessingClusters(stream mesh_proto.GlobalKDSService_StreamClustersClient, errorCh chan error)
}

func NewEnvoyAdminProcessor

func NewEnvoyAdminProcessor(
	resManager core_manager.ReadOnlyResourceManager,
	configDumpFn EnvoyAdminFn,
	statsFn EnvoyAdminFn,
	clustersFn EnvoyAdminFn,
) EnvoyAdminProcessor

type EnvoyAdminRPCs

type EnvoyAdminRPCs struct {
	XDSConfigDump util_grpc.ReverseUnaryRPCs
	Stats         util_grpc.ReverseUnaryRPCs
	Clusters      util_grpc.ReverseUnaryRPCs
}

func NewEnvoyAdminRPCs

func NewEnvoyAdminRPCs() EnvoyAdminRPCs

type GlobalKDSServiceServer

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

func NewGlobalKDSServiceServer

func NewGlobalKDSServiceServer(envoyAdminRPCs EnvoyAdminRPCs) *GlobalKDSServiceServer

func (*GlobalKDSServiceServer) StreamClusters

func (*GlobalKDSServiceServer) StreamStats

func (*GlobalKDSServiceServer) StreamXDSConfigs

Jump to

Keyboard shortcuts

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