mocks

package
v0.0.0-...-f852ded Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 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) AddRules

func (_m *Client) AddRules(_a0 string, _a1 []godo.InboundRule) (*godo.Response, error)

AddRules provides a mock function with given fields: _a0, _a1

func (*Client) AssignFloatingIP

func (_m *Client) AssignFloatingIP(_a0 string, _a1 int) (*godo.Action, *godo.Response, error)

AssignFloatingIP provides a mock function with given fields: _a0, _a1

func (*Client) CreateDroplets

func (_m *Client) CreateDroplets(_a0 *godo.DropletMultiCreateRequest) ([]godo.Droplet, *godo.Response, error)

CreateDroplets provides a mock function with given fields: _a0

func (*Client) CreateFirewall

func (_m *Client) CreateFirewall(_a0 string, _a1 []godo.OutboundRule, _a2 []godo.InboundRule) (*godo.Firewall, *godo.Response, error)

CreateFirewall provides a mock function with given fields: _a0, _a1, _a2

func (*Client) CreateTag

func (_m *Client) CreateTag(_a0 string) (*godo.Tag, *godo.Response, error)

CreateTag provides a mock function with given fields: _a0

func (*Client) DeleteDroplet

func (_m *Client) DeleteDroplet(_a0 int) (*godo.Response, error)

DeleteDroplet provides a mock function with given fields: _a0

func (*Client) DeleteFirewall

func (_m *Client) DeleteFirewall(_a0 string) (*godo.Response, error)

DeleteFirewall provides a mock function with given fields: _a0

func (*Client) GetDroplet

func (_m *Client) GetDroplet(_a0 int) (*godo.Droplet, *godo.Response, error)

GetDroplet provides a mock function with given fields: _a0

func (*Client) ListDroplets

func (_m *Client) ListDroplets(_a0 *godo.ListOptions) ([]godo.Droplet, *godo.Response, error)

ListDroplets provides a mock function with given fields: _a0

func (*Client) ListFirewalls

func (_m *Client) ListFirewalls(_a0 *godo.ListOptions) ([]godo.Firewall, *godo.Response, error)

ListFirewalls provides a mock function with given fields: _a0

func (*Client) ListFloatingIPs

func (_m *Client) ListFloatingIPs(_a0 *godo.ListOptions) ([]godo.FloatingIP, *godo.Response, error)

ListFloatingIPs provides a mock function with given fields: _a0

func (*Client) RemoveRules

func (_m *Client) RemoveRules(_a0 string, _a1 []godo.InboundRule) (*godo.Response, error)

RemoveRules provides a mock function with given fields: _a0, _a1

func (*Client) UnassignFloatingIP

func (_m *Client) UnassignFloatingIP(_a0 string) (*godo.Action, *godo.Response, error)

UnassignFloatingIP provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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