services

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeService

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

func NewComputeService

func NewComputeService(client *http.Client) (*ComputeService, error)

func (*ComputeService) ListInstances

func (cs *ComputeService) ListInstances(project string, zone string) (*compute.InstanceList, error)

type ComputeServiceInterface

type ComputeServiceInterface interface {
	ListInstances(project string, zone string) (*compute.InstanceList, error)
}

type MockComputeServiceInterface

type MockComputeServiceInterface struct {
	mock.Mock
}

MockComputeServiceInterface is an autogenerated mock type for the ComputeServiceInterface type

func (*MockComputeServiceInterface) ListInstances

func (_m *MockComputeServiceInterface) ListInstances(project string, zone string) (*compute.InstanceList, error)

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

Jump to

Keyboard shortcuts

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