plugin

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2016 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MulticastOption = "works.weave.multicast"
)
View Source
const (
	WeaveDomain = "weave.local"
)

Variables

This section is empty.

Functions

func New

func New(client *docker.Client, weave *weaveapi.Client, name, scope string) (skel.Driver, error)

Types

type CNIPlugin added in v1.5.0

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

func NewCNIPlugin added in v1.5.0

func NewCNIPlugin(weave *weaveapi.Client) *CNIPlugin

func (*CNIPlugin) CmdAdd added in v1.5.0

func (c *CNIPlugin) CmdAdd(args *skel.CmdArgs) error

func (*CNIPlugin) CmdDel added in v1.5.0

func (c *CNIPlugin) CmdDel(args *skel.CmdArgs) error

type NetConf added in v1.5.0

type NetConf struct {
	types.NetConf
	BrName string `json:"bridge"`
	IsGW   bool   `json:"isGateway"`
	IPMasq bool   `json:"ipMasq"`
	MTU    int    `json:"mtu"`
}

type Watcher

type Watcher interface {
}

func NewWatcher

func NewWatcher(client *docker.Client, weave *weaveapi.Client, driver *driver) (Watcher, error)

Jump to

Keyboard shortcuts

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