Back to godoc.org

Package skel

v0.0.0-...-9f00f78
Latest Go to latest

The latest major version is .

Published: Feb 26, 2020 | License: Apache-2.0 | Module: bitbucket.org/blackxcloudeng/infra

Index

func Listen

func Listen(socket net.Listener, driver Driver, ipamDriver ipamapi.Ipam) error

type Driver

type Driver interface {
	GetCapabilities() (*api.GetCapabilityResponse, error)
	CreateNetwork(create *api.CreateNetworkRequest) error
	DeleteNetwork(delete *api.DeleteNetworkRequest) error
	CreateEndpoint(create *api.CreateEndpointRequest) (*api.CreateEndpointResponse, error)
	DeleteEndpoint(delete *api.DeleteEndpointRequest) error
	EndpointInfo(req *api.EndpointInfoRequest) (*api.EndpointInfoResponse, error)
	JoinEndpoint(j *api.JoinRequest) (response *api.JoinResponse, error error)
	NetworkAllocate(*api.AllocateNetworkRequest) (*api.AllocateNetworkResponse, error)
	NetworkFree(*api.FreeNetworkRequest) (*api.FreeNetworkResponse, error)
	LeaveEndpoint(leave *api.LeaveRequest) error
	DiscoverNew(discover *api.DiscoveryNotification) error
	DiscoverDelete(delete *api.DiscoveryNotification) error
}

type IpamCapability

type IpamCapability interface {
	GetCapabilities() (RequiresMACAddress bool, RequiresRequestReplay bool, err error)
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier