driver

package
v0.0.0-...-319b497 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 20 Imported by: 0

Documentation

Index

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

RequestAddress .

func (IPAMDriver) RequestPool

RequestPool .

type NetworkDriver

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

NetworkDriver .

func (NetworkDriver) AllocateNetwork

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 .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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