Documentation
¶
Index ¶
- type API
- func (_m *API) Close() error
- func (_m *API) GetTrace(_a0 context.Context, _a1 *cloudtrace.TraceQuery) (*trace.Trace, error)
- func (_m *API) ListProjects(_a0 context.Context) ([]string, error)
- func (_m *API) ListTraces(_a0 context.Context, _a1 *cloudtrace.TracesQuery) ([]*trace.Trace, error)
- func (_m *API) TestConnection(ctx context.Context, projectID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an autogenerated mock type for the API type
func NewAPI ¶
func NewAPI(t mockConstructorTestingTNewAPI) *API
NewAPI creates a new instance of API. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*API) GetTrace ¶
func (_m *API) GetTrace(_a0 context.Context, _a1 *cloudtrace.TraceQuery) (*trace.Trace, error)
GetTrace provides a mock function with given fields: _a0, _a1
func (*API) ListProjects ¶
ListProjects provides a mock function with given fields: _a0
func (*API) ListTraces ¶
func (_m *API) ListTraces(_a0 context.Context, _a1 *cloudtrace.TracesQuery) ([]*trace.Trace, error)
ListTraces provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.