Documentation ¶
Index ¶
- func NetFilterConfigParse(ingressAllowedString string) (*netFilterConfig, error)
- func NewNetFilter(ifaceName string, epOptions map[string]interface{}) *netFilter
- func ParseIpOrNet(ipStr string) *net.IPNet
- type ErrIfaceName
- type IPRange
- type IpamDriver
- func (driver *IpamDriver) GetCapabilities() (*ipamApi.CapabilitiesResponse, error)
- func (driver *IpamDriver) GetDefaultAddressSpaces() (*ipamApi.AddressSpacesResponse, error)
- func (d *IpamDriver) ReleaseAddress(r *ipamApi.ReleaseAddressRequest) error
- func (d *IpamDriver) ReleasePool(r *ipamApi.ReleasePoolRequest) error
- func (d *IpamDriver) RequestAddress(r *ipamApi.RequestAddressRequest) (*ipamApi.RequestAddressResponse, error)
- func (d *IpamDriver) RequestPool(r *ipamApi.RequestPoolRequest) (*ipamApi.RequestPoolResponse, error)
- type NetDriver
- func (d *NetDriver) CreateEndpoint(r *netApi.CreateEndpointRequest) (*netApi.CreateEndpointResponse, error)
- func (d *NetDriver) CreateNetwork(r *netApi.CreateNetworkRequest) error
- func (d *NetDriver) DeleteEndpoint(r *netApi.DeleteEndpointRequest) error
- func (d *NetDriver) DeleteNetwork(r *netApi.DeleteNetworkRequest) error
- func (d *NetDriver) EndpointInfo(r *netApi.InfoRequest) (*netApi.InfoResponse, error)
- func (d *NetDriver) GetCapabilities() (*netApi.CapabilitiesResponse, error)
- func (d *NetDriver) Join(r *netApi.JoinRequest) (*netApi.JoinResponse, error)
- func (d *NetDriver) Leave(r *netApi.LeaveRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetFilterConfigParse ¶
func NewNetFilter ¶
func ParseIpOrNet ¶
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 ¶
type IpamDriver ¶
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 (d *IpamDriver) RequestAddress(r *ipamApi.RequestAddressRequest) (*ipamApi.RequestAddressResponse, error)
func (*IpamDriver) RequestPool ¶
func (d *IpamDriver) RequestPool(r *ipamApi.RequestPoolRequest) (*ipamApi.RequestPoolResponse, error)
type NetDriver ¶
func (*NetDriver) CreateEndpoint ¶
func (d *NetDriver) CreateEndpoint(r *netApi.CreateEndpointRequest) (*netApi.CreateEndpointResponse, error)
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 (d *NetDriver) Join(r *netApi.JoinRequest) (*netApi.JoinResponse, error)
Click to show internal directories.
Click to hide internal directories.