Documentation ¶
Index ¶
- type Client
- func (_m *Client) AuthorizationsAPI() api.AuthorizationsAPI
- func (_m *Client) BucketsAPI() api.BucketsAPI
- func (_m *Client) Close()
- func (_m *Client) DeleteAPI() api.DeleteAPI
- func (_m *Client) HTTPService() http.Service
- func (_m *Client) Health(ctx context.Context) (*domain.HealthCheck, error)
- func (_m *Client) LabelsAPI() api.LabelsAPI
- func (_m *Client) Options() *influxdb2.Options
- func (_m *Client) OrganizationsAPI() api.OrganizationsAPI
- func (_m *Client) QueryAPI(org string) api.QueryAPI
- func (_m *Client) Ready(ctx context.Context) (bool, error)
- func (_m *Client) ServerURL() string
- func (_m *Client) Setup(ctx context.Context, username string, password string, org string, ...) (*domain.OnboardingResponse, error)
- func (_m *Client) TasksAPI() api.TasksAPI
- func (_m *Client) UsersAPI() api.UsersAPI
- func (_m *Client) WriteAPI(org string, bucket string) api.WriteAPI
- func (_m *Client) WriteAPIBlocking(org string, bucket string) api.WriteAPIBlocking
- type WriteAPIBlocking
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) AuthorizationsAPI ¶
func (_m *Client) AuthorizationsAPI() api.AuthorizationsAPI
AuthorizationsAPI provides a mock function with given fields:
func (*Client) BucketsAPI ¶
func (_m *Client) BucketsAPI() api.BucketsAPI
BucketsAPI provides a mock function with given fields:
func (*Client) HTTPService ¶
HTTPService provides a mock function with given fields:
func (*Client) OrganizationsAPI ¶
func (_m *Client) OrganizationsAPI() api.OrganizationsAPI
OrganizationsAPI provides a mock function with given fields:
func (*Client) Setup ¶
func (_m *Client) Setup(ctx context.Context, username string, password string, org string, bucket string, retentionPeriodHours int) (*domain.OnboardingResponse, error)
Setup provides a mock function with given fields: ctx, username, password, org, bucket, retentionPeriodHours
func (*Client) WriteAPIBlocking ¶
func (_m *Client) WriteAPIBlocking(org string, bucket string) api.WriteAPIBlocking
WriteAPIBlocking provides a mock function with given fields: org, bucket
type WriteAPIBlocking ¶
WriteAPIBlocking is an autogenerated mock type for the WriteAPIBlocking type
func (*WriteAPIBlocking) WritePoint ¶
WritePoint provides a mock function with given fields: ctx, point
func (*WriteAPIBlocking) WriteRecord ¶
func (_m *WriteAPIBlocking) WriteRecord(ctx context.Context, line ...string) error
WriteRecord provides a mock function with given fields: ctx, line