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) AddAccessConfig

func (_m *Client) AddAccessConfig(zone string, instance string, networkInterface string, accessConfig *compute.AccessConfig) (*compute.Operation, error)

AddAccessConfig provides a mock function with given fields: zone, instance, networkInterface, accessConfig

func (*Client) DeleteAccessConfig

func (_m *Client) DeleteAccessConfig(zone string, instance string, accessConfig string, networkInterface string) (*compute.Operation, error)

DeleteAccessConfig provides a mock function with given fields: zone, instance, accessConfig, networkInterface

func (*Client) DeleteFirewall

func (_m *Client) DeleteFirewall(firewall string) (*compute.Operation, error)

DeleteFirewall provides a mock function with given fields: firewall

func (*Client) DeleteInstance

func (_m *Client) DeleteInstance(zone string, operation string) (*compute.Operation, error)

DeleteInstance provides a mock function with given fields: zone, operation

func (*Client) DeleteNetwork

func (_m *Client) DeleteNetwork(name string) (*compute.Operation, error)

DeleteNetwork provides a mock function with given fields: name

func (*Client) GetGlobalOperation

func (_m *Client) GetGlobalOperation(operation string) (*compute.Operation, error)

GetGlobalOperation provides a mock function with given fields: operation

func (*Client) GetInstance

func (_m *Client) GetInstance(zone string, id string) (*compute.Instance, error)

GetInstance provides a mock function with given fields: zone, id

func (*Client) GetZone

func (_m *Client) GetZone(zone string) (*compute.Zone, error)

GetZone provides a mock function with given fields: zone

func (*Client) GetZoneOperation

func (_m *Client) GetZoneOperation(zone string, operation string) (*compute.Operation, error)

GetZoneOperation provides a mock function with given fields: zone, operation

func (*Client) InsertFirewall

func (_m *Client) InsertFirewall(firewall *compute.Firewall) (*compute.Operation, error)

InsertFirewall provides a mock function with given fields: firewall

func (*Client) InsertInstance

func (_m *Client) InsertInstance(zone string, instance *compute.Instance) (*compute.Operation, error)

InsertInstance provides a mock function with given fields: zone, instance

func (*Client) InsertNetwork

func (_m *Client) InsertNetwork(network *compute.Network) (*compute.Operation, error)

InsertNetwork provides a mock function with given fields: network

func (*Client) ListFirewalls

func (_m *Client) ListFirewalls(description string) (*compute.FirewallList, error)

ListFirewalls provides a mock function with given fields: description

func (*Client) ListFloatingIPs

func (_m *Client) ListFloatingIPs(region string) (*compute.AddressList, error)

ListFloatingIPs provides a mock function with given fields: region

func (*Client) ListInstances

func (_m *Client) ListInstances(zone string, description string) (*compute.InstanceList, error)

ListInstances provides a mock function with given fields: zone, description

func (*Client) ListNetworks

func (_m *Client) ListNetworks(name string) (*compute.NetworkList, error)

ListNetworks provides a mock function with given fields: name

Jump to

Keyboard shortcuts

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