Documentation ¶
Index ¶
- type ComputeAPI
- func (_m *ComputeAPI) CheckInstance(project string, zone string, name string) bool
- func (_m *ComputeAPI) DeleteBackendService(project string, backendService string)
- func (_m *ComputeAPI) DeleteForwardingRule(project string, name string, region string)
- func (_m *ComputeAPI) DeleteGlobalForwardingRule(project string, name string)
- func (_m *ComputeAPI) DeleteHTTPProxy(project string, httpProxy string)
- func (_m *ComputeAPI) DeleteHealthChecks(project string, names []string)
- func (_m *ComputeAPI) DeleteInstanceGroup(project string, zone string, instanceGroup string)
- func (_m *ComputeAPI) DeleteTargetPool(project string, name string, region string)
- func (_m *ComputeAPI) DeleteURLMap(project string, urlMap string)
- func (_m *ComputeAPI) LookupBackendServices(project string) ([]*compute.BackendService, error)
- func (_m *ComputeAPI) LookupGlobalForwardingRule(project string) ([]*compute.ForwardingRule, error)
- func (_m *ComputeAPI) LookupHTTPProxy(project string) ([]*compute.TargetHttpProxy, error)
- func (_m *ComputeAPI) LookupInstanceGroup(project string, zone string) ([]string, error)
- func (_m *ComputeAPI) LookupTargetPools(project string) ([]*compute.TargetPool, error)
- func (_m *ComputeAPI) LookupURLMaps(project string) ([]*compute.UrlMap, error)
- func (_m *ComputeAPI) LookupZones(project string, pattern string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeAPI ¶
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