driver

package
v0.0.0-...-c34bea4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PoolIPv4 = "CiliumPoolv4"
	PoolIPv6 = "CiliumPoolv6"
)

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(ciliumSockPath, dockerHostPath 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