routed

package
v0.0.0-...-ac0c3d0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2016 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NetFilterConfigParse

func NetFilterConfigParse(ingressAllowedString string) (*netFilterConfig, error)

func NewNetFilter

func NewNetFilter(ifaceName string, epOptions map[string]interface{}) *netFilter

func ParseIpOrNet

func ParseIpOrNet(ipStr string) *net.IPNet

Types

type ErrIfaceName

type ErrIfaceName struct{}

ErrIfaceName error is returned when a new name could not be generated.

func (*ErrIfaceName) Error

func (ein *ErrIfaceName) Error() string

type IPRange

type IPRange struct {
	// contains filtered or unexported fields
}

func ParseIPRange

func ParseIPRange(ipRange string) *IPRange

func (*IPRange) String

func (r *IPRange) String() string

type IpamDriver

type IpamDriver struct {
	ipamApi.Ipam
	// contains filtered or unexported fields
}

func NewIpamDriver

func NewIpamDriver(version string, gateway string) (*IpamDriver, error)

func (*IpamDriver) GetCapabilities

func (driver *IpamDriver) GetCapabilities() (*ipamApi.CapabilitiesResponse, error)

func (*IpamDriver) GetDefaultAddressSpaces

func (driver *IpamDriver) GetDefaultAddressSpaces() (*ipamApi.AddressSpacesResponse, error)

func (*IpamDriver) ReleaseAddress

func (d *IpamDriver) ReleaseAddress(r *ipamApi.ReleaseAddressRequest) error

func (*IpamDriver) ReleasePool

func (d *IpamDriver) ReleasePool(r *ipamApi.ReleasePoolRequest) error

func (*IpamDriver) RequestAddress

func (*IpamDriver) RequestPool

type NetDriver

type NetDriver struct {
	netApi.Driver
	// contains filtered or unexported fields
}

func NewNetDriver

func NewNetDriver(version string, gateway string, mtu int) (*NetDriver, error)

func (*NetDriver) CreateEndpoint

func (*NetDriver) CreateNetwork

func (d *NetDriver) CreateNetwork(r *netApi.CreateNetworkRequest) error

func (*NetDriver) DeleteEndpoint

func (d *NetDriver) DeleteEndpoint(r *netApi.DeleteEndpointRequest) error

func (*NetDriver) DeleteNetwork

func (d *NetDriver) DeleteNetwork(r *netApi.DeleteNetworkRequest) error

func (*NetDriver) EndpointInfo

func (d *NetDriver) EndpointInfo(r *netApi.InfoRequest) (*netApi.InfoResponse, error)

func (*NetDriver) GetCapabilities

func (d *NetDriver) GetCapabilities() (*netApi.CapabilitiesResponse, error)

func (*NetDriver) Join

func (*NetDriver) Leave

func (d *NetDriver) Leave(r *netApi.LeaveRequest) error

Jump to

Keyboard shortcuts

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