Documentation
¶
Index ¶
- type Client
- func (_m *Client) AddRules(_a0 string, _a1 []godo.InboundRule) (*godo.Response, error)
- func (_m *Client) AssignFloatingIP(_a0 string, _a1 int) (*godo.Action, *godo.Response, error)
- func (_m *Client) CreateDroplets(_a0 *godo.DropletMultiCreateRequest) ([]godo.Droplet, *godo.Response, error)
- func (_m *Client) CreateFirewall(_a0 string, _a1 []godo.OutboundRule, _a2 []godo.InboundRule) (*godo.Firewall, *godo.Response, error)
- func (_m *Client) CreateTag(_a0 string) (*godo.Tag, *godo.Response, error)
- func (_m *Client) DeleteDroplet(_a0 int) (*godo.Response, error)
- func (_m *Client) DeleteFirewall(_a0 string) (*godo.Response, error)
- func (_m *Client) GetDroplet(_a0 int) (*godo.Droplet, *godo.Response, error)
- func (_m *Client) ListDroplets(_a0 *godo.ListOptions) ([]godo.Droplet, *godo.Response, error)
- func (_m *Client) ListFirewalls(_a0 *godo.ListOptions) ([]godo.Firewall, *godo.Response, error)
- func (_m *Client) ListFloatingIPs(_a0 *godo.ListOptions) ([]godo.FloatingIP, *godo.Response, error)
- func (_m *Client) RemoveRules(_a0 string, _a1 []godo.InboundRule) (*godo.Response, error)
- func (_m *Client) UnassignFloatingIP(_a0 string) (*godo.Action, *godo.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) AssignFloatingIP ¶
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) DeleteDroplet ¶
DeleteDroplet provides a mock function with given fields: _a0
func (*Client) DeleteFirewall ¶
DeleteFirewall provides a mock function with given fields: _a0
func (*Client) GetDroplet ¶
GetDroplet provides a mock function with given fields: _a0
func (*Client) ListDroplets ¶
ListDroplets provides a mock function with given fields: _a0
func (*Client) ListFirewalls ¶
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 ¶
RemoveRules provides a mock function with given fields: _a0, _a1