automock

package
v0.0.0-...-a4b4531 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeAPI

type ComputeAPI struct {
	mock.Mock
}

ComputeAPI is an autogenerated mock type for the ComputeAPI type

func (*ComputeAPI) CheckInstance

func (_m *ComputeAPI) CheckInstance(project string, zone string, name string) bool

CheckInstance provides a mock function with given fields: project, zone, name

func (*ComputeAPI) DeleteBackendService

func (_m *ComputeAPI) DeleteBackendService(project string, backendService string)

DeleteBackendService provides a mock function with given fields: project, backendService

func (*ComputeAPI) DeleteForwardingRule

func (_m *ComputeAPI) DeleteForwardingRule(project string, name string, region string)

DeleteForwardingRule provides a mock function with given fields: project, name, region

func (*ComputeAPI) DeleteGlobalForwardingRule

func (_m *ComputeAPI) DeleteGlobalForwardingRule(project string, name string)

DeleteGlobalForwardingRule provides a mock function with given fields: project, name

func (*ComputeAPI) DeleteHTTPProxy

func (_m *ComputeAPI) DeleteHTTPProxy(project string, httpProxy string)

DeleteHTTPProxy provides a mock function with given fields: project, httpProxy

func (*ComputeAPI) DeleteHealthChecks

func (_m *ComputeAPI) DeleteHealthChecks(project string, names []string)

DeleteHealthChecks provides a mock function with given fields: project, names

func (*ComputeAPI) DeleteInstanceGroup

func (_m *ComputeAPI) DeleteInstanceGroup(project string, zone string, instanceGroup string)

DeleteInstanceGroup provides a mock function with given fields: project, zone, instanceGroup

func (*ComputeAPI) DeleteTargetPool

func (_m *ComputeAPI) DeleteTargetPool(project string, name string, region string)

DeleteTargetPool provides a mock function with given fields: project, name, region

func (*ComputeAPI) DeleteURLMap

func (_m *ComputeAPI) DeleteURLMap(project string, urlMap string)

DeleteURLMap provides a mock function with given fields: project, urlMap

func (*ComputeAPI) LookupBackendServices

func (_m *ComputeAPI) LookupBackendServices(project string) ([]*compute.BackendService, error)

LookupBackendServices provides a mock function with given fields: project

func (*ComputeAPI) LookupGlobalForwardingRule

func (_m *ComputeAPI) LookupGlobalForwardingRule(project string) ([]*compute.ForwardingRule, error)

LookupGlobalForwardingRule provides a mock function with given fields: project

func (*ComputeAPI) LookupHTTPProxy

func (_m *ComputeAPI) LookupHTTPProxy(project string) ([]*compute.TargetHttpProxy, error)

LookupHTTPProxy provides a mock function with given fields: project

func (*ComputeAPI) LookupInstanceGroup

func (_m *ComputeAPI) LookupInstanceGroup(project string, zone string) ([]string, error)

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

func (*ComputeAPI) LookupTargetPools

func (_m *ComputeAPI) LookupTargetPools(project string) ([]*compute.TargetPool, error)

LookupTargetPools provides a mock function with given fields: project

func (*ComputeAPI) LookupURLMaps

func (_m *ComputeAPI) LookupURLMaps(project string) ([]*compute.UrlMap, error)

LookupURLMaps provides a mock function with given fields: project

func (*ComputeAPI) LookupZones

func (_m *ComputeAPI) LookupZones(project string, pattern string) ([]string, error)

LookupZones provides a mock function with given fields: project, pattern

Jump to

Keyboard shortcuts

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