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 MockComputeServiceInterface ¶
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
Click to show internal directories.
Click to hide internal directories.