package
2.7.11
Repository: https://github.com/influxdata/influxdb.git
Documentation: pkg.go.dev

# Functions

NewAuthorizationService returns a mock AuthorizationService where its methods will return zero values.
NewBucketOperationLogService returns a mock of BucketOperationLogService.
NewBucketService returns a mock BucketService where its methods will return zero values.
NewCheckService returns a mock CheckService where its methods will return zero values.
NewDashboardOperationLogService returns a mock of DashboardOperationLogService.
NewDashboardService returns a mock of DashboardService where its methods will return zero values.
NewDeleteService returns a mock DeleteService where its methods will return zero values.
NewDocumentService returns a mock of DocumentService where its methods will return zero values.
NewDocumentStore returns a mock of DocumentStore where its methods will return zero values.
NewFlagger returns a mock Flagger.
NewIDGenerator is a simple way to create immutable id generator.
NewIncrementingIDGenerator returns an ID generator which starts at the provided ID and increments on each call to ID().
NewLabelService returns a mock of LabelService where its methods will return zero values.
NewLookupService returns a mock of LookupService where its methods will return zero values.
NewMockAnnotationService creates a new mock instance.
NewMockBackupService creates a new mock instance.
NewMockBucketManifestWriter creates a new mock instance.
NewMockNotebookService creates a new mock instance.
NewMockPasswordsService creates a new mock instance.
NewMockRestoreService creates a new mock instance.
NewMockSqlBackupRestoreService creates a new mock instance.
NewNotificationRuleStore creats a fake notification rules tore.
NewOnboardingService returns a mock of OnboardingService where its methods will return zero values.
NewOrganizationOperationLogService returns a mock of OrganizationOperationLogService.
NewOrganizationService returns a mock OrganizationService where its methods will return zero values.
NewPasswordsService returns a mock PasswordsService where its methods will return zero values.
NewResultSetFromSeriesGenerator transforms a SeriesGenerator into a ResultSet, and therefore may be used anywhere a ResultSet is required.
NewSecretService returns a mock SecretService where its methods will return zero values.
NewSessionService returns a mock SessionService where its methods will return zero values.
NewSourceService returns a mock of SourceService where its methods will return zero values.
NewStaticIDGenerator returns an IDGenerator which produces the ID provided to this function on a call to ID().
NewTelegrafConfigStore constructs a new fake TelegrafConfigStore.
NewTokenGenerator is a simple way to create immutable token generator.
NewUserOperationLogService returns a mock of UserOperationLogService.
NewUserResourceMappingService returns a mock of UserResourceMappingService where its methods will return zero values.
NewUserService returns a mock of UserService where its methods will return zero values.
NewVariableService returns a mock of VariableService where its methods will return zero values.
SetIDForFunc replaces the id generator at the end of the pointer with one which returns the provided id.
WithGeneratorMaxValues limits the number of values produced by GeneratorResultSet to n.

# Constants

# Structs

AuthorizationService is a mock implementation of a retention.AuthorizationService, which also makes it a suitable mock to use wherever an platform.AuthorizationService is required.
Authorizer is an Authorizer for testing that can allow everything or use specific permissions.
Bucket is the abstraction used to perform get/put/delete/get-many operations in a key value store.
BucketLookup implements the BucketLookup interface needed by flux "from" and "to".
BucketOperationLogService is a mock implementation of platform.BucketOperationLogService.
BucketService is a mock implementation of a retention.BucketService, which also makes it a suitable mock to use wherever an platform.BucketService is required.
CheckService is a mock implementation of a retention.CheckService, which also makes it a suitable mock to use wherever an influxdb.CheckService is required.
Cursor is an abstraction for iterating/ranging through data.
DashboardOperationLogService is a mock implementation of platform.DashboardOperationLogService.
DeleteService is a mock delete server.
DocumentService is mocked document service.
DocumentStore is the mocked document store.
Flagger is a mock.
IDGenerator is mock implementation of influxdb.IDGenerator.
LabelService is a mock implementation of platform.LabelService.
LookupService provides field lookup for the resource and ID.
MockAnnotationService is a mock of AnnotationService interface.
MockAnnotationServiceMockRecorder is the mock recorder for MockAnnotationService.
MockBackupService is a mock of BackupService interface.
MockBackupServiceMockRecorder is the mock recorder for MockBackupService.
MockBucketManifestWriter is a mock of BucketManifestWriter interface.
MockBucketManifestWriterMockRecorder is the mock recorder for MockBucketManifestWriter.
MockNotebookService is a mock of NotebookService interface.
MockNotebookServiceMockRecorder is the mock recorder for MockNotebookService.
MockPasswordsService is a mock of PasswordsService interface.
MockPasswordsServiceMockRecorder is the mock recorder for MockPasswordsService.
MockRestoreService is a mock of RestoreService interface.
MockRestoreServiceMockRecorder is the mock recorder for MockRestoreService.
MockSqlBackupRestoreService is a mock of SqlBackupRestoreService interface.
MockSqlBackupRestoreServiceMockRecorder is the mock recorder for MockSqlBackupRestoreService.
NotificationEndpointService represents a service for managing notification rule data.
NotificationRuleStore represents a service for managing notification rule data.
OnboardingService is a mock implementation of platform.OnboardingService.
OrganizationLookup implements the OrganizationLookup interface needed by flux "from" and "to".
OrganizationOperationLogService is a mock implementation of platform.OrganizationOperationLogService.
OrganizationService is a mock organization server.
PasswordsService is a mock implementation of a retention.PasswordsService, which also makes it a suitable mock to use wherever an platform.PasswordsService is required.
PointsWriter is a mock structure for writing points.
SafeCount provides a safe counter, useful for call counts to maintain thread safety.
ScraperTargetStoreService is a mock implementation of a platform.ScraperTargetStoreService.
SecretService is a mock implementation of a retention.SecretService, which also makes it a suitable mock to use wherever an platform.SecretService is required.
SessionService is a mock implementation of a retention.SessionService, which also makes it a suitable mock to use wherever an platform.SessionService is required.
SourceService is a mock implementation of platform.SourceService.
Store is a mock kv.Store.
TelegrafConfigStore represents a service for managing telegraf config data.
TimeGenerator stores a fake value of time.
TokenGenerator is mock implementation of influxdb.TokenGenerator.
Tx is mock of a kv.Tx.
UserOperationLogService is a mock implementation of platform.UserOperationLogService.
UserResourceMappingService is a mock implementation of platform.UserResourceMappingService.
UserService is a mock implementation of a retention.UserService, which also makes it a suitable mock to use wherever an platform.UserService is required.
WriteService writes data read from the reader.

# Type aliases