ipaddress

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignCommand

func AssignCommand() commands.Command

AssignCommand creates the 'ip-address assign' command

func BaseIPAddressCommand

func BaseIPAddressCommand() commands.Command

BaseIPAddressCommand creates the base 'ip-address' command

func GetFamily

func GetFamily(address string) (string, error)

GetFamily returns a human-readable string (`"IPv4"` or `"IPv6"`) of the address family of the ip parsed from the string

func ListCommand

func ListCommand() commands.Command

ListCommand creates the "ip-address list" command

func ModifyCommand

func ModifyCommand() commands.Command

ModifyCommand creates the 'ip-address modify' command

func RemoveCommand

func RemoveCommand() commands.Command

RemoveCommand creates the 'ip-address remove' command

func ShowCommand

func ShowCommand() commands.Command

ShowCommand creates the 'ip-address show' command

Types

This section is empty.

Jump to

Keyboard shortcuts

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