validator

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetlinkAdapter

type NetlinkAdapter struct{}

func (*NetlinkAdapter) AddrList

func (*NetlinkAdapter) AddrList(link netlink.Link, family int) ([]netlink.Addr, error)

func (*NetlinkAdapter) LinkByName

func (*NetlinkAdapter) LinkByName(ifname string) (netlink.Link, error)

type Validator

type Validator struct {
	Store datastore.Datastore
}

func (*Validator) Validate

func (v *Validator) Validate(subnet string) error

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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