Documentation
¶
Overview ¶
Package hostipamwrapper is a wrapper method for the hostipam package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostIpam ¶
type HostIpam interface {
ExecAdd(plugin string, netconf []byte) (types.Result, error)
ExecCheck(plugin string, netconf []byte) error
ExecDel(plugin string, netconf []byte) error
ConfigureIface(ifName string, res *current.Result) error
}
HostIpam is an interface created to make code unit testable. Both the hostipam package version and mocked version implement the same interface
Click to show internal directories.
Click to hide internal directories.