Documentation
¶
Index ¶
- type API
- func (_m *API) Close() error
- func (_m *API) ListLogs(_a0 context.Context, _a1 *cloudlogging.Query) ([]*logging.LogEntry, error)
- func (_m *API) ListProjectBucketViews(ctx context.Context, projectId string, bucketID string) ([]string, error)
- func (_m *API) ListProjectBuckets(ctx context.Context, projectID string) ([]string, error)
- func (_m *API) ListProjects(_a0 context.Context) ([]string, 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) ListProjectBucketViews ¶ added in v1.2.1
func (_m *API) ListProjectBucketViews(ctx context.Context, projectId string, bucketID string) ([]string, error)
ListProjectBucketViews provides a mock function with given fields: ctx, bucketID
func (*API) ListProjectBuckets ¶ added in v1.2.1
ListProjectBuckets provides a mock function with given fields: ctx, projectID
func (*API) ListProjects ¶
ListProjects provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.