# Functions
AddLogEntry tests the AddLogEntry for the KeyValueLog contract.
AddTarget testing.
AuthorizationService tests all the service functions.
BucketService tests all the service functions.
CleanupDBRPMappingsV2 finds and removes all dbrp mappings.
CompareAndSetPassword tests implementations of PasswordsService.
ComparePassword tests setting and comparing passwords.
CreateAuthorization testing.
CreateBucket testing.
CreateOrganization testing.
CreateSession testing.
CreateSource testing.
CreateUser testing.
CreateVariable tests influxdb.VariableService CreateVariable interface method.
DBRPMappingService tests all the service functions.
DeleteAuthorization testing.
DeleteBucket testing.
DeleteOrganization testing.
DeleteSecrets tests the DeleteSecrets method for the SecretService interface.
DeleteSource testing.
DeleteUser testing.
DeleteVariable tests influxdb.VariableService DeleteVariable interface method.
ErrorsEqual checks to see if the provided errors are equivalent.
ExpireSession testing.
FindAuthorizationByID testing.
FindAuthorizationByToken testing.
FindAuthorizations testing.
FindBucket testing.
FindBucketByID testing.
FindBuckets testing.
FindOrganization testing.
FindOrganizationByID testing.
FindOrganizations testing.
FindSession testing.
FindSourceByID testing.
FindSources testing.
FindUser testing.
FindUserByID testing.
FindUsers testing.
FindVariableByID tests influxdb.VariableService FindVariableByID interface method.
FindVariables tests influxdb.variableService FindVariables interface method.
FirstLogEntry tests the FirstLogEntry method for the KeyValueLog contract.
ForEachLogEntry tests the AddLogEntry for the KeyValueLog contract.
GetSecretKeys tests the GetSecretKeys method for the SecretService interface.
GetTargetByID testing.
IDPtr returns a pointer to an influxdb.ID.
KeyValueLog tests all the service functions.
KVConcurrentUpdate tests concurrent calls to update.
KVCursor tests the cursor contract for the key value store.
KVCursor tests the cursor contract for the key value store.
KVDelete tests the delete method contract for the key value store.
KVForwardCursor tests the forward cursor contract for the key value store.
KVGet tests the get method contract for the key value store.
KVGetBatch tests the get batch method contract for the key value store.
KVPut tests the get method contract for the key value store.
KVStore tests the key value store contract.
KVUpdate tests the update method contract for the key value store.
KVView tests the view method contract for the key value store.
LabelService tests all the service functions.
LastLogEntry tests the LastLogEntry method for the KeyValueLog contract.
ListTargets testing.
LoadSecret tests the LoadSecret method for the SecretService interface.
Migrator tests a migrator against a provided store.
MustIDBase16 is an helper to ensure a correct ID is built during testing.
MustIDBase16Ptr is an helper to ensure a correct ID ptr ref is built during testing.
OnboardInitialUser testing.
OrganizationService tests all the service functions.
PasswordsService tests all the service functions.
PatchSecrets tests the PatchSecrets method for the SecretService interface.
PutSecret tests the PutSecret method for the SecretService interface.
PutSecrets tests the PutSecrets method for the SecretService interface.
RemoveTarget testing.
RenewSession testing.
ReplaceVariable tests influxdb.VariableService ReplaceVariable interface method.
ScraperService tests all the service functions.
SecretService will test all methods for the secrets service.
SessionService tests all the service functions.
SetPassword tests overriding the password of a known user.
UpdateAuthorization testing.
UpdateBucket testing.
UpdateOrganization testing.
UpdateTarget testing.
UpdateUser testing.
UpdateVariable tests influxdb.VariableService UpdateVariable interface method.
UserResourceMappingService tests all the service functions.
UserService tests all the service functions.
VariableService tests all the service functions.
WithoutFindByToken allows the Find By Token test case to be skipped when we are testing the http server, since finding by token is not supported by the HTTP API.
# Structs
AuthorizationFields will include the IDGenerator, and authorizations.
BucketFields will include the IDGenerator, and buckets.
KeyValueLogFields will include the IDGenerator, and keyValueLogs.
KVStoreFields are background data that has to be set before the test runs.
LabelFields include the IDGenerator, labels and their mappings.
A log entry is a comparable data structure that is used for testing.
OnboardingFields will include the IDGenerator, TokenGenerator and IsOnboarding.
OrganizationFields will include the IDGenerator, and organizations.
PasswordFields will include the IDGenerator, and users and their passwords.
A secret is a comparable data structure that is used for testing.
SecretServiceFields contain the.
SessionFields will include the IDGenerator, TokenGenerator, Sessions, and Users.
SourceFields will include the IDGenerator, and sources.
TargetFields will include the IDGenerator, and targets.
UserFields will include the IDGenerator, and users.
UserResourceFields includes prepopulated data for mapping tests.
VariableFields defines fields for a variable test.
# Type aliases
NowFunc is a function which returns a time.