snapshot

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RouteTypePath   = "path"
	RouteTypePrefix = "prefix"
)

Variables

This section is empty.

Functions

func MarshalAny added in v0.2.0

func MarshalAny(m proto.Message) *anypb.Any

MarshalAny is a convenience function to marshal protobuf messages into any protos. It will panic if the marshaling fails.

Types

type Snapshot

type Snapshot interface {
	StartRefresher()
	Close()
}

func NewSnapshot

func NewSnapshot(cfg *config.ControllerConfig, cache cache.SnapshotCache) Snapshot

NewSnapshot creates an instan of Snapshot that refreshes itself

Jump to

Keyboard shortcuts

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