client

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Start(ctx context.Context, cc *grpc.ClientConn) error
}

func NewClient

func NewClient(nodeinfo *envoy_api_v2_core.Node, rtype TypeRecord, apply func(cache.Resources) error) Client

type TypeRecord

type TypeRecord interface {
	Type() string
	EmptyProto() cache.ResourceProto
	ProtoToResource(r cache.ResourceProto) cache.Resource
}

func NewTypeRecord

func NewTypeRecord(
	rtype string,
	proto func() cache.ResourceProto,
	protoToResource func(r cache.ResourceProto) cache.Resource,
) TypeRecord

Jump to

Keyboard shortcuts

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