driver

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 22 Imported by: 23

Documentation

Index

Constants

View Source
const (
	PoolIPv4 = "CiliumPoolv4"
	PoolIPv6 = "CiliumPoolv6"
)
View Source
const (
	// ContainerInterfacePrefix is the container's internal interface name prefix.
	ContainerInterfacePrefix = "cilium"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEndpointRequest

type CreateEndpointRequest struct {
	NetworkID  string
	EndpointID string
	Interface  api.EndpointInterface
	Options    map[string]json.RawMessage
}

CreateEndpointRequest is the as api.CreateEndpointRequest but with json.RawMessage type for Options map

type Driver

type Driver interface {
	Listen(string) error
}

Driver interface that listens for docker requests.

func NewDriver

func NewDriver(url string) (Driver, error)

NewDriver creates and returns a new Driver for the given API URL. If url is nil then use SockPath provided by CILIUM_SOCK or the cilium default SockPath

Jump to

Keyboard shortcuts

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