subnet

package
v1.20.0-pre.3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SubnetTopologyConfigKey = "subnet-topology"
)

Variables

View Source
var Cell = cell.Module(
	"subnet",
	"Subnet watcher and management",

	cell.Config(DefaultConfig),

	cell.Provide(
		newSubnetWatcher,
	),

	cell.Invoke(
		registerSubnetWatcher,
	),
)

Cell provides the subnet watcher functionality

View Source
var DefaultConfig = Config{
	Subnets: "",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Subnets string `mapstructure:"subnet-topology,omitempty"`
}

func (Config) Flags

func (cfg Config) Flags(flags *pflag.FlagSet)

type SubnetWatcher

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

Jump to

Keyboard shortcuts

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