dhcpv4

package
v0.0.0-...-4b634d0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = core.NewTestCommand(template, params)

Command is the DHCPv4 subcommand.

Functions

func GetOptionCodes

func GetOptionCodes(f *pflag.FlagSet, name string) (dhcpv4.OptionCodeList, error)

GetOptionCodes returns an option code slice from a pflag set.

func GetOptionCodesValue

func GetOptionCodesValue(v pflag.Value) (dhcpv4.OptionCodeList, error)

GetOptionCodesValue returns an option code slice from a pflag value.

func NewOptionCodeSliceValue

func NewOptionCodeSliceValue() pflag.Value

NewOptionCodeSliceValue creates a new option code slice value for pflag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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