Help us shape the future of Go! Take the 2026 Go Developer Survey

subnet

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 14 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
}

Directories

Path Synopsis
Package topology provides parsing of the subnet-topology configuration string into platform-neutral entries.
Package topology provides parsing of the subnet-topology configuration string into platform-neutral entries.

Jump to

Keyboard shortcuts

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