plugin

package
v9.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2016 License: Apache-2.0 Imports: 21 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

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

func NewCNIPlugin

func NewCNIPlugin(weave *weaveapi.Client) *CNIPlugin

func (*CNIPlugin) CmdAdd

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

func (*CNIPlugin) CmdDel

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

type NetConf

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