pkg

package
v0.0.0-...-0ce2e87 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustMarshalAny

func MustMarshalAny(pb proto.Message) *any.Any

MustMarshalAny marshals a protobuf into an any.Any type, panicking if that operation fails.

Types

type DiscoveryClient

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

func InitServiceDiscoveryClient

func InitServiceDiscoveryClient(configPath string) *DiscoveryClient

InitServiceDiscoveryClient Create a connection to DKV Service discovery client which provides a view of entire cluster Cluster comprises of all databases and shards (vBuckets) which are registering to this service discovery group

func (*DiscoveryClient) GetEnvoyConfig

func (c *DiscoveryClient) GetEnvoyConfig() (EnvoyDKVConfig, error)

type EnvoyDKVConfig

type EnvoyDKVConfig map[string]interface{}

func (EnvoyDKVConfig) ComputeAndSetSnapshot

func (conf EnvoyDKVConfig) ComputeAndSetSnapshot(snapVer uint, snapCache cache.SnapshotCache) error

Jump to

Keyboard shortcuts

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