mocks

package
v1.199.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

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) Close

func (_m *Client) Close()

Close provides a mock function with given fields:

func (*Client) DeleteAPI

func (_m *Client) DeleteAPI() api.DeleteAPI

DeleteAPI provides a mock function with given fields:

func (*Client) HTTPService

func (_m *Client) HTTPService() http.Service

HTTPService provides a mock function with given fields:

func (*Client) Health

func (_m *Client) Health(ctx context.Context) (*domain.HealthCheck, error)

Health provides a mock function with given fields: ctx

func (*Client) LabelsAPI

func (_m *Client) LabelsAPI() api.LabelsAPI

LabelsAPI provides a mock function with given fields:

func (*Client) Options

func (_m *Client) Options() *influxdb2.Options

Options 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) QueryAPI

func (_m *Client) QueryAPI(org string) api.QueryAPI

QueryAPI provides a mock function with given fields: org

func (*Client) Ready

func (_m *Client) Ready(ctx context.Context) (bool, error)

Ready provides a mock function with given fields: ctx

func (*Client) ServerURL

func (_m *Client) ServerURL() string

ServerURL 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) TasksAPI

func (_m *Client) TasksAPI() api.TasksAPI

TasksAPI provides a mock function with given fields:

func (*Client) UsersAPI

func (_m *Client) UsersAPI() api.UsersAPI

UsersAPI provides a mock function with given fields:

func (*Client) WriteAPI

func (_m *Client) WriteAPI(org string, bucket string) api.WriteAPI

WriteAPI provides a mock function with given fields: org, bucket

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

type WriteAPIBlocking struct {
	mock.Mock
}

WriteAPIBlocking is an autogenerated mock type for the WriteAPIBlocking type

func (*WriteAPIBlocking) WritePoint

func (_m *WriteAPIBlocking) WritePoint(ctx context.Context, point ...*write.Point) error

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

Jump to

Keyboard shortcuts

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