state

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package state provides an interface for querying mesh state.

Index

Constants

This section is empty.

Variables

View Source
var (
	// MeshStatePrefix is the prefix for mesh state keys.
	MeshStatePrefix = []byte("/registry/meshstate")
	// IPv6PrefixKey is the key for the IPv6 prefix.
	IPv6PrefixKey = append(MeshStatePrefix, []byte("/ipv6prefix")...)
	// IPv4PrefixKey is the key for the IPv4 prefix.
	IPv4PrefixKey = append(MeshStatePrefix, []byte("/ipv4prefix")...)
	// MeshDomainKey is the key for the mesh domain.
	MeshDomainKey = append(MeshStatePrefix, []byte("/meshdomain")...)
)

Functions

This section is empty.

Types

type State

type State = storage.MeshState

func New

func New(db storage.MeshStorage) State

New returns a new State.

Jump to

Keyboard shortcuts

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