mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) CreateACL

func (_m *Client) CreateACL(lswitch string, direction string, priority int, match string, action string) error

CreateACL provides a mock function with given fields: lswitch, direction, priority, match, action

func (*Client) CreateAddressSet

func (_m *Client) CreateAddressSet(name string, addresses []string) error

CreateAddressSet provides a mock function with given fields: name, addresses

func (*Client) CreateLogicalPort

func (_m *Client) CreateLogicalPort(lswitch string, name string, mac string, ip string) error

CreateLogicalPort provides a mock function with given fields: lswitch, name, mac, ip

func (*Client) CreateLogicalSwitch

func (_m *Client) CreateLogicalSwitch(lswitch string) error

CreateLogicalSwitch provides a mock function with given fields: lswitch

func (*Client) DeleteACL

func (_m *Client) DeleteACL(lswitch string, ovsdbACL ovsdb.ACL) error

DeleteACL provides a mock function with given fields: lswitch, ovsdbACL

func (*Client) DeleteAddressSet

func (_m *Client) DeleteAddressSet(name string) error

DeleteAddressSet provides a mock function with given fields: name

func (*Client) DeleteLogicalPort

func (_m *Client) DeleteLogicalPort(lswitch string, lport ovsdb.LPort) error

DeleteLogicalPort provides a mock function with given fields: lswitch, lport

func (*Client) Disconnect

func (_m *Client) Disconnect()

Disconnect provides a mock function with given fields:

func (*Client) ListACLs

func (_m *Client) ListACLs() ([]ovsdb.ACL, error)

ListACLs provides a mock function with given fields:

func (*Client) ListAddressSets

func (_m *Client) ListAddressSets() ([]ovsdb.AddressSet, error)

ListAddressSets provides a mock function with given fields:

func (*Client) ListLogicalPorts

func (_m *Client) ListLogicalPorts() ([]ovsdb.LPort, error)

ListLogicalPorts provides a mock function with given fields:

func (*Client) OpenFlowPorts

func (_m *Client) OpenFlowPorts() (map[string]int, error)

OpenFlowPorts provides a mock function with given fields:

Jump to

Keyboard shortcuts

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