Documentation ¶
Index ¶
- func NewIPAMDriver(clientv3 clientv3.Interface, meta barrelMeta.Meta) pluginIPAM.Ipam
- func NewNetworkDriver(client clientv3.Interface, dockerCli *dockerClient.Client, meta barrel.Meta) network.Driver
- type IPAMDriver
- func (i IPAMDriver) GetCapabilities() (*pluginIPAM.CapabilitiesResponse, error)
- func (i IPAMDriver) GetDefaultAddressSpaces() (*pluginIPAM.AddressSpacesResponse, error)
- func (i IPAMDriver) ReleaseAddress(request *pluginIPAM.ReleaseAddressRequest) error
- func (i IPAMDriver) ReleasePool(request *pluginIPAM.ReleasePoolRequest) error
- func (i IPAMDriver) RequestAddress(request *pluginIPAM.RequestAddressRequest) (*pluginIPAM.RequestAddressResponse, error)
- func (i IPAMDriver) RequestPool(request *pluginIPAM.RequestPoolRequest) (*pluginIPAM.RequestPoolResponse, error)
- type NetworkDriver
- func (driver NetworkDriver) AllocateNetwork(request *network.AllocateNetworkRequest) (*network.AllocateNetworkResponse, error)
- func (driver NetworkDriver) CreateEndpoint(request *network.CreateEndpointRequest) (*network.CreateEndpointResponse, error)
- func (driver NetworkDriver) CreateNetwork(request *network.CreateNetworkRequest) error
- func (driver NetworkDriver) DeleteEndpoint(request *network.DeleteEndpointRequest) error
- func (driver NetworkDriver) DeleteNetwork(request *network.DeleteNetworkRequest) error
- func (driver NetworkDriver) DiscoverDelete(request *network.DiscoveryNotification) error
- func (driver NetworkDriver) DiscoverNew(request *network.DiscoveryNotification) error
- func (driver NetworkDriver) EndpointInfo(request *network.InfoRequest) (*network.InfoResponse, error)
- func (driver NetworkDriver) FreeNetwork(request *network.FreeNetworkRequest) error
- func (driver NetworkDriver) GetCapabilities() (*network.CapabilitiesResponse, error)
- func (driver NetworkDriver) Join(request *network.JoinRequest) (*network.JoinResponse, error)
- func (driver NetworkDriver) Leave(request *network.LeaveRequest) error
- func (driver NetworkDriver) ProgramExternalConnectivity(request *network.ProgramExternalConnectivityRequest) error
- func (driver NetworkDriver) RevokeExternalConnectivity(request *network.RevokeExternalConnectivityRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIPAMDriver ¶
func NewIPAMDriver( clientv3 clientv3.Interface, meta barrelMeta.Meta, ) pluginIPAM.Ipam
NewIPAMDriver .
func NewNetworkDriver ¶
func NewNetworkDriver( client clientv3.Interface, dockerCli *dockerClient.Client, meta barrel.Meta, ) network.Driver
NewNetworkDriver .
Types ¶
type IPAMDriver ¶
type IPAMDriver struct {
// contains filtered or unexported fields
}
IPAMDriver .
func (IPAMDriver) GetCapabilities ¶
func (i IPAMDriver) GetCapabilities() (*pluginIPAM.CapabilitiesResponse, error)
GetCapabilities .
func (IPAMDriver) GetDefaultAddressSpaces ¶
func (i IPAMDriver) GetDefaultAddressSpaces() (*pluginIPAM.AddressSpacesResponse, error)
GetDefaultAddressSpaces .
func (IPAMDriver) ReleaseAddress ¶
func (i IPAMDriver) ReleaseAddress(request *pluginIPAM.ReleaseAddressRequest) error
ReleaseAddress .
func (IPAMDriver) ReleasePool ¶
func (i IPAMDriver) ReleasePool(request *pluginIPAM.ReleasePoolRequest) error
ReleasePool .
func (IPAMDriver) RequestAddress ¶
func (i IPAMDriver) RequestAddress(request *pluginIPAM.RequestAddressRequest) (*pluginIPAM.RequestAddressResponse, error)
RequestAddress .
func (IPAMDriver) RequestPool ¶
func (i IPAMDriver) RequestPool(request *pluginIPAM.RequestPoolRequest) (*pluginIPAM.RequestPoolResponse, error)
RequestPool .
type NetworkDriver ¶
type NetworkDriver struct {
// contains filtered or unexported fields
}
NetworkDriver .
func (NetworkDriver) AllocateNetwork ¶
func (driver NetworkDriver) AllocateNetwork(request *network.AllocateNetworkRequest) (*network.AllocateNetworkResponse, error)
AllocateNetwork .
func (NetworkDriver) CreateEndpoint ¶
func (driver NetworkDriver) CreateEndpoint(request *network.CreateEndpointRequest) (*network.CreateEndpointResponse, error)
CreateEndpoint .
func (NetworkDriver) CreateNetwork ¶
func (driver NetworkDriver) CreateNetwork(request *network.CreateNetworkRequest) error
CreateNetwork .
func (NetworkDriver) DeleteEndpoint ¶
func (driver NetworkDriver) DeleteEndpoint(request *network.DeleteEndpointRequest) error
DeleteEndpoint .
func (NetworkDriver) DeleteNetwork ¶
func (driver NetworkDriver) DeleteNetwork(request *network.DeleteNetworkRequest) error
DeleteNetwork .
func (NetworkDriver) DiscoverDelete ¶
func (driver NetworkDriver) DiscoverDelete(request *network.DiscoveryNotification) error
DiscoverDelete .
func (NetworkDriver) DiscoverNew ¶
func (driver NetworkDriver) DiscoverNew(request *network.DiscoveryNotification) error
DiscoverNew .
func (NetworkDriver) EndpointInfo ¶
func (driver NetworkDriver) EndpointInfo(request *network.InfoRequest) (*network.InfoResponse, error)
EndpointInfo .
func (NetworkDriver) FreeNetwork ¶
func (driver NetworkDriver) FreeNetwork(request *network.FreeNetworkRequest) error
FreeNetwork is used for swarm-mode support in remote plugins, which Calico's libnetwork-plugin doesn't currently support.
func (NetworkDriver) GetCapabilities ¶
func (driver NetworkDriver) GetCapabilities() (*network.CapabilitiesResponse, error)
GetCapabilities .
func (NetworkDriver) Join ¶
func (driver NetworkDriver) Join(request *network.JoinRequest) (*network.JoinResponse, error)
Join .
func (NetworkDriver) Leave ¶
func (driver NetworkDriver) Leave(request *network.LeaveRequest) error
Leave .
func (NetworkDriver) ProgramExternalConnectivity ¶
func (driver NetworkDriver) ProgramExternalConnectivity(request *network.ProgramExternalConnectivityRequest) error
ProgramExternalConnectivity .
func (NetworkDriver) RevokeExternalConnectivity ¶
func (driver NetworkDriver) RevokeExternalConnectivity(request *network.RevokeExternalConnectivityRequest) error
RevokeExternalConnectivity .
Click to show internal directories.
Click to hide internal directories.