Documentation ¶
Index ¶
- func Version() string
- type CidrBlockType
- func (c *CidrBlockType) AllocCidrBlocks(prefixLengths ...int) ([]string, error)
- func (c *CidrBlockType) CidrBlock() string
- func (c *CidrBlockType) Excludes() []string
- func (c *CidrBlockType) Fprint(w io.Writer) error
- func (c *CidrBlockType) SetCidrBlock(prefix string) error
- func (c *CidrBlockType) SetExcludeCidrBlocks(prefixes []string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CidrBlockType ¶
type CidrBlockType struct {
// contains filtered or unexported fields
}
func New ¶
func New() *CidrBlockType
func (*CidrBlockType) AllocCidrBlocks ¶
func (c *CidrBlockType) AllocCidrBlocks(prefixLengths ...int) ([]string, error)
func (*CidrBlockType) CidrBlock ¶ added in v0.0.2
func (c *CidrBlockType) CidrBlock() string
func (*CidrBlockType) Excludes ¶ added in v0.0.2
func (c *CidrBlockType) Excludes() []string
func (*CidrBlockType) SetCidrBlock ¶
func (c *CidrBlockType) SetCidrBlock(prefix string) error
func (*CidrBlockType) SetExcludeCidrBlocks ¶
func (c *CidrBlockType) SetExcludeCidrBlocks(prefixes []string) int
Click to show internal directories.
Click to hide internal directories.