domain

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Consumer

	Prefix    netip.Prefix
	Name      string
	Namespace string
	Subnet    string
}

func CreateNewAddress

func CreateNewAddress(
	address netip.Addr,
	prefixBits int,
	name string,
	namespace string,
	subnetName string,
) Address

func (*Address) SetConsumerInfo

func (a *Address) SetConsumerInfo(name, consumerType string)

type Consumer

type Consumer struct {
	Name string
	Type string
}

Jump to

Keyboard shortcuts

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