github.com/semaphoreui/semaphore/db/bolt
No package summary is available.
Package
Files: 25.
Third party imports: 4.
Imports from organisation: 0.
Tests: 0.
Benchmarks: 0.
Constants
Vars
Types
BoltDb
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| Filename |
string
|
No comment on field. |
| db |
*bbolt.DB
|
No comment on field. |
| connections |
map[string]bool
|
No comment on field. |
| mu |
sync.Mutex
|
No comment on field. |
| integrationAlias |
publicAlias
|
No comment on field. |
| terraformAlias |
publicAlias
|
No comment on field. |
emptyEnumerable
This type doesn't have documentation.
enumerable
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| type |
any
|
No comment on field. |
globalToken
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| ID |
string
|
No comment on field. |
| UserID |
int
|
No comment on field. |
intObjectID
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| type |
int
|
No comment on field. |
migration
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| db |
*bbolt.DB
|
No comment on field. |
migration_2_10_12
This type doesn't have documentation.
| Field name |
Field type |
Comment |
|
migration
|
No comment on field. |
migration_2_10_16
This type doesn't have documentation.
| Field name |
Field type |
Comment |
|
migration
|
No comment on field. |
migration_2_10_24
This type doesn't have documentation.
| Field name |
Field type |
Comment |
|
migration
|
No comment on field. |
migration_2_10_33
This type doesn't have documentation.
| Field name |
Field type |
Comment |
|
migration
|
No comment on field. |
migration_2_14_7
This type doesn't have documentation.
| Field name |
Field type |
Comment |
|
migration
|
No comment on field. |
migration_2_8_28
This type doesn't have documentation.
| Field name |
Field type |
Comment |
|
migration
|
No comment on field. |
migration_2_8_40
This type doesn't have documentation.
| Field name |
Field type |
Comment |
|
migration
|
No comment on field. |
migration_2_8_91
This type doesn't have documentation.
| Field name |
Field type |
Comment |
|
migration
|
No comment on field. |
objectID
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| type |
any
|
No comment on field. |
publicAlias
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| aliasProps |
db.ObjectProps
|
No comment on field. |
| publicAliasProps |
db.ObjectProps
|
No comment on field. |
| db |
*BoltDb
|
No comment on field. |
strObjectID
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| type |
string
|
No comment on field. |
Functions
func CreateBoltDB
Uses: db.IntegrationAliasProps, db.TerraformInventoryAliasProps.
func CreateTestStore
Uses: util.Config, util.ConfigLog, util.ConfigType, util.DbConfig, util.EventLogType, util.RandString, util.TaskLogType.
func (*BoltDb) AddEmailOtpVerification
Uses: db.ErrNotFound.
func (*BoltDb) AddTotpVerification
Uses: db.GetParsedTime, db.RetrieveQueryParams, db.UserTotp, db.UserTotpProps, fmt.Errorf, tz.Now.
func (*BoltDb) ApplyMigration
Uses: bbolt.Tx, json.Marshal.
func (*BoltDb) ClearRunnerCache
Uses: db.Runner, tz.Now.
func (*BoltDb) Close
func (*BoltDb) Connect
func (*BoltDb) CreateAPIToken
Uses: db.APIToken, db.GetParsedTime, db.TokenProps, tz.Now.
func (*BoltDb) CreateAccessKey
Uses: db.AccessKey, db.AccessKeyProps.
func (*BoltDb) CreateAnsibleTaskError
Uses: errors.New.
func (*BoltDb) CreateAnsibleTaskHost
Uses: errors.New.
func (*BoltDb) CreateEnvironment
Uses: db.Environment, db.EnvironmentProps.
func (*BoltDb) CreateEvent
Uses: bbolt.Tx, json.Marshal, tz.Now.
func (*BoltDb) CreateIntegration
Integrations
Uses: db.Integration, db.IntegrationProps.
func (*BoltDb) CreateIntegrationAlias
Uses: db.IntegrationAlias.
Uses: db.IntegrationExtractValue, db.IntegrationExtractValueProps.
func (*BoltDb) CreateIntegrationMatcher
Integration Matcher
Uses: db.IntegrationMatcher, db.IntegrationMatcherProps.
func (*BoltDb) CreateInventory
Uses: db.Inventory, db.InventoryProps.
func (*BoltDb) CreateProject
Uses: db.Project, db.ProjectProps, tz.Now.
func (*BoltDb) CreateProjectUser
Uses: db.ProjectUser, db.ProjectUserProps.
func (*BoltDb) CreateRepository
Uses: db.Repository, db.RepositoryProps.
func (*BoltDb) CreateRunner
Uses: base64.StdEncoding, db.GlobalRunnerProps, db.Runner, securecookie.GenerateRandomKey.
func (*BoltDb) CreateSchedule
Uses: db.Schedule, db.ScheduleProps.
func (*BoltDb) CreateSession
Uses: db.Session, db.SessionProps.
func (*BoltDb) CreateTask
Uses: db.Task, db.TaskProps.
func (*BoltDb) CreateTaskOutput
Uses: db.TaskOutput, db.TaskOutputProps.
func (*BoltDb) CreateTaskStage
Uses: db.TaskStage, db.TaskStageProps.
func (*BoltDb) CreateTaskStageResult
func (*BoltDb) CreateTemplate
Uses: db.FillTemplate, db.ObjectToJSON, db.Template, db.TemplateProps.
func (*BoltDb) CreateTemplateVault
Uses: db.TemplateVault, db.TemplateVaultProps.
func (*BoltDb) CreateUser
Uses: bcrypt.GenerateFromPassword, db.ErrNotFound, db.GetParsedTime, db.UserProps, db.UserWithPwd, db.ValidateUser, fmt.Errorf, tz.Now.
func (*BoltDb) CreateUserWithoutPassword
Uses: db.ErrNotFound, db.GetParsedTime, db.User, db.UserProps, db.ValidateUser, fmt.Errorf, tz.Now.
func (*BoltDb) CreateView
Uses: db.View, db.ViewProps.
func (*BoltDb) DeleteAPIToken
Uses: db.APIToken, db.ErrNotFound, db.RetrieveQueryParams, db.TokenProps, strings.HasPrefix.
func (*BoltDb) DeleteAccessKey
Uses: db.AccessKeyProps.
func (*BoltDb) DeleteEmailOtpVerification
Uses: db.ErrNotFound.
func (*BoltDb) DeleteEnvironment
Uses: db.EnvironmentProps.
func (*BoltDb) DeleteGlobalRunner
Uses: bbolt.Tx, db.ErrNotFound, db.GlobalRunnerProps, db.Runner.
func (*BoltDb) DeleteIntegration
func (*BoltDb) DeleteIntegrationAlias
Uses: db.IntegrationExtractValueProps.
func (*BoltDb) DeleteIntegrationMatcher
func (*BoltDb) DeleteInventory
Uses: db.InventoryProps.
func (*BoltDb) DeleteOption
Uses: bbolt.Tx, db.OptionProps, db.ValidateOptionKey.
func (*BoltDb) DeleteOptions
Uses: db.Option, db.OptionProps, db.RetrieveQueryParams, db.ValidateOptionKey, strings.HasPrefix.
func (*BoltDb) DeleteProject
Uses: db.ProjectProps.
func (*BoltDb) DeleteProjectUser
Uses: db.ProjectUserProps.
func (*BoltDb) DeleteRepository
Uses: db.RepositoryProps.
func (*BoltDb) DeleteRunner
Uses: db.ErrNotFound.
func (*BoltDb) DeleteSchedule
Uses: bbolt.Tx.
func (*BoltDb) DeleteTaskWithOutputs
Uses: bbolt.Tx.
func (*BoltDb) DeleteTemplate
Uses: bbolt.Tx.
func (*BoltDb) DeleteTotpVerification
Uses: db.UserTotpProps.
func (*BoltDb) DeleteUser
Uses: db.UserProps.
func (*BoltDb) DeleteView
Uses: db.ViewProps.
func (*BoltDb) EndTaskStage
func (*BoltDb) ExpireAPIToken
Uses: db.APIToken, db.TokenProps.
func (*BoltDb) ExpireSession
Uses: db.Session, db.SessionProps.
func (*BoltDb) GetAPIToken
Uses: db.TokenProps.
func (*BoltDb) GetAPITokens
Uses: db.APIToken, db.RetrieveQueryParams, db.TokenProps, slices.SortFunc.
func (*BoltDb) GetAccessKey
Uses: db.AccessKeyProps.
func (*BoltDb) GetAccessKeyRefs
Uses: db.AccessKeyProps.
func (*BoltDb) GetAccessKeys
Uses: db.AccessKey, db.AccessKeyProps.
func (*BoltDb) GetAllAdmins
Uses: db.RetrieveQueryParams, db.User, db.UserProps.
func (*BoltDb) GetAllProjects
Uses: db.ProjectProps, db.RetrieveQueryParams.
func (*BoltDb) GetAllRunners
Uses: db.GlobalRunnerProps, db.RetrieveQueryParams, db.Runner.
func (*BoltDb) GetAnsibleTaskErrors
Uses: errors.New.
func (*BoltDb) GetAnsibleTaskHosts
Uses: errors.New.
func (*BoltDb) GetEnvironment
Uses: db.EnvironmentProps.
func (*BoltDb) GetEnvironmentRefs
Uses: db.EnvironmentProps.
func (*BoltDb) GetEnvironmentSecrets
Uses: db.AccessKey, db.AccessKeyProps, db.RetrieveQueryParams.
func (*BoltDb) GetEnvironments
Uses: db.EnvironmentProps.
func (*BoltDb) GetEvents
Uses: bbolt.Tx, db.Event.
func (*BoltDb) GetGlobalRunner
Uses: db.ErrNotFound, db.GlobalRunnerProps.
func (*BoltDb) GetIntegration
Uses: db.IntegrationProps.
func (*BoltDb) GetIntegrationAliases
Uses: db.IntegrationAlias.
Uses: db.IntegrationExtractValueProps.
Uses: db.IntegrationExtractValueProps.
Uses: db.IntegrationExtractValue, db.IntegrationExtractValueProps.
func (*BoltDb) GetIntegrationMatcher
Uses: db.IntegrationMatcher, db.RetrieveQueryParams.
func (*BoltDb) GetIntegrationMatcherRefs
Uses: db.IntegrationMatcherProps.
func (*BoltDb) GetIntegrationMatchers
Uses: db.IntegrationMatcher, db.IntegrationMatcherProps, db.RetrieveQueryParams.
func (*BoltDb) GetIntegrationRefs
Uses: db.IntegrationReferrers.
func (*BoltDb) GetIntegrations
Uses: db.IntegrationProps.
func (*BoltDb) GetIntegrationsByAlias
Uses: db.ErrNotFound, db.Integration, db.IntegrationAlias, db.IntegrationAliasProject, db.IntegrationAliasSingle, db.IntegrationProps, db.RetrieveQueryParams.
func (*BoltDb) GetInventories
Uses: db.Inventory, db.InventoryProps.
func (*BoltDb) GetInventory
Uses: db.FillInventory, db.InventoryProps.
func (*BoltDb) GetInventoryRefs
Uses: db.InventoryProps.
func (*BoltDb) GetOption
Uses: db.ErrNotFound, db.Option, db.OptionProps, errors.Is.
func (*BoltDb) GetOptions
Uses: db.Option, db.OptionProps, db.RetrieveQueryParams, strings.HasPrefix.
func (*BoltDb) GetProUserCount
Uses: db.RetrieveQueryParams, db.User, db.UserProps.
func (*BoltDb) GetProject
Uses: db.ProjectProps.
func (*BoltDb) GetProjectSchedules
Uses: db.Schedule, db.ScheduleWithTpl, db.Template.
func (*BoltDb) GetProjectTasks
func (*BoltDb) GetProjectUser
Uses: db.ProjectUserProps.
func (*BoltDb) GetProjectUsers
Uses: db.ProjectUser, db.ProjectUserProps, db.User, db.UserWithProjectRole.
func (*BoltDb) GetProjects
Uses: db.ErrNotFound, db.Project, db.ProjectProps, db.RetrieveQueryParams.
func (*BoltDb) GetRepositories
Uses: db.RepositoryProps.
func (*BoltDb) GetRepository
Uses: db.RepositoryProps.
func (*BoltDb) GetRepositoryRefs
Uses: db.RepositoryProps.
func (*BoltDb) GetRunner
Uses: db.ErrNotFound.
func (*BoltDb) GetRunnerByToken
Uses: db.ErrNotFound, db.GlobalRunnerProps, db.RetrieveQueryParams, db.Runner.
Uses: db.RunnerTag.
func (*BoltDb) GetRunners
Uses: db.Runner.
func (*BoltDb) GetSchedule
Uses: db.ScheduleProps.
func (*BoltDb) GetSchedules
Uses: db.Project, db.ProjectProps, db.RetrieveQueryParams, db.Schedule.
func (*BoltDb) GetSession
Uses: db.SessionProps.
func (*BoltDb) GetTask
Uses: db.ErrNotFound, db.Task, db.TaskProps.
func (*BoltDb) GetTaskOutputs
Uses: db.TaskOutputProps.
func (*BoltDb) GetTaskStageOutputs
func (*BoltDb) GetTaskStageResult
func (*BoltDb) GetTaskStages
Uses: db.RetrieveQueryParams, db.TaskStageProps.
func (*BoltDb) GetTaskStats
Uses: bbolt.Tx, db.RetrieveQueryParams, db.Task, db.TaskProps, db.TaskStat, db.TaskStatUnitDay, errors.Is, fmt.Errorf.
func (*BoltDb) GetTemplate
Uses: db.FillTemplate.
func (*BoltDb) GetTemplateRefs
Uses: db.TemplateProps.
func (*BoltDb) GetTemplateSchedules
Uses: db.Schedule.
func (*BoltDb) GetTemplateTasks
func (*BoltDb) GetTemplateVaults
Uses: db.FillTemplateVault, db.RetrieveQueryParams, db.TemplateVault, db.TemplateVaultProps.
func (*BoltDb) GetTemplates
Uses: db.RetrieveQueryParams, db.Task, db.TaskProps, db.TaskWithTpl, db.Template, db.TemplateProps, errors.Is, errors.New, json.Unmarshal.
func (*BoltDb) GetUser
GetUser retrieves a user from the database by ID
Uses: db.UserProps.
func (*BoltDb) GetUserByLoginOrEmail
Uses: db.ErrNotFound, db.RetrieveQueryParams, db.User, db.UserProps.
func (*BoltDb) GetUserCount
Uses: db.RetrieveQueryParams, db.User, db.UserProps.
func (*BoltDb) GetUserEvents
Uses: bbolt.Tx, db.Event.
func (*BoltDb) GetUsers
Uses: db.UserProps.
func (*BoltDb) GetView
Uses: db.ViewProps.
func (*BoltDb) GetViews
Uses: db.RetrieveQueryParams, db.ViewProps.
func (*BoltDb) IsInitialized
Uses: bbolt.Tx.
func (*BoltDb) IsMigrationApplied
Uses: bbolt.Tx, db.ErrNotFound.
func (*BoltDb) PermanentConnection
Uses: util.Config.
func (*BoltDb) RekeyAccessKeys
Uses: bbolt.Tx, db.AccessKey, db.AccessKeyProps, db.Project, db.ProjectProps, db.RetrieveQueryParams.
func (*BoltDb) SetOption
Uses: db.ErrNotFound, db.Option, db.OptionProps, errors.Is.
func (*BoltDb) SetScheduleActive
Uses: db.ScheduleProps.
func (*BoltDb) SetScheduleCommitHash
Uses: db.ScheduleProps.
func (*BoltDb) SetSessionVerificationMethod
func (*BoltDb) SetTemplateDescription
Uses: bbolt.Tx.
func (*BoltDb) SetUserPassword
Uses: bcrypt.GenerateFromPassword, db.UserProps.
func (*BoltDb) SetViewPositions
func (*BoltDb) TouchRunner
Uses: db.Runner, tz.Now.
func (*BoltDb) TouchSession
Uses: db.Session, db.SessionProps, tz.Now.
func (*BoltDb) TryRollbackMigration
func (*BoltDb) UpdateAccessKey
Uses: db.AccessKeyProps.
func (*BoltDb) UpdateEnvironment
Uses: db.EnvironmentProps.
func (*BoltDb) UpdateIntegration
Uses: db.IntegrationProps.
Uses: db.IntegrationExtractValueProps.
func (*BoltDb) UpdateIntegrationMatcher
Uses: db.IntegrationMatcherProps.
func (*BoltDb) UpdateInventory
Uses: db.InventoryProps.
func (*BoltDb) UpdateProject
Uses: db.ProjectProps.
func (*BoltDb) UpdateProjectUser
Uses: db.ProjectUserProps.
func (*BoltDb) UpdateRepository
Uses: db.RepositoryProps.
func (*BoltDb) UpdateRunner
Uses: db.Runner.
func (*BoltDb) UpdateSchedule
Uses: db.ScheduleProps.
func (*BoltDb) UpdateTask
Uses: db.TaskProps.
func (*BoltDb) UpdateTemplate
Uses: db.ObjectToJSON, db.TemplateProps.
func (*BoltDb) UpdateTemplateVaults
Uses: bbolt.Tx, db.TemplateVault, db.TemplateVaultProps.
func (*BoltDb) UpdateUser
Uses: bcrypt.GenerateFromPassword, db.UserProps.
func (*BoltDb) UpdateView
Uses: db.ViewProps.
func (*BoltDb) VerifySession
Uses: db.Session, db.SessionProps.
func (emptyEnumerable) First
func (emptyEnumerable) Next
func (intObjectID) ToBytes
Uses: fmt.Sprintf.
func (migration_2_10_12) Apply
func (migration_2_10_16) Apply
func (migration_2_10_24) Apply
Uses: fmt.Sprintf.
func (migration_2_10_33) Apply
func (migration_2_14_7) Apply
Uses: conv.ConvertFloatToIntIfPossible, fmt.Errorf.
func (migration_2_8_28) Apply
Uses: strings.Split.
func (migration_2_8_40) Apply
func (migration_2_8_91) Apply
func (strObjectID) ToBytes
Private functions
func apply
References: reflect.New, reflect.ValueOf.
func copyObject
References: reflect.New, reflect.Struct, reflect.ValueOf.
func createObjectType
References: reflect.Ptr, reflect.Struct, reflect.StructField, reflect.StructOf, reflect.StructTag.
getFieldNameByTagSuffix tries to find field by tag name and value in provided type.
It returns error if field not found.
References: fmt.Errorf, reflect.Struct, strings.HasSuffix.
func getReferredValue
References: reflect.TypeOf, reflect.ValueOf.
func isObjectReferredBy
References: bytes.Equal, reflect.Int, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int8, reflect.Ptr, reflect.String, reflect.Uint, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint8.
func makeBucketId
References: fmt.Sprintf.
func marshalObject
References: json.Marshal, reflect.TypeOf.
func sortObjects
References: reflect.Float32, reflect.Float64, reflect.Int, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int8, reflect.String, reflect.Uint, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint8, reflect.ValueOf, sort.SliceStable.
func unmarshalObject
References: json.Unmarshal, reflect.New, reflect.TypeOf, reflect.ValueOf.
func unmarshalObjects
References: reflect.Append, reflect.MakeSlice, reflect.ValueOf.
func apply
References: bbolt.Tx.
func clearTasks
References: bbolt.Tx, db.ErrNotFound, db.RetrieveQueryParams, db.Task, db.TaskProps.
func closeSession
References: fmt.Errorf.
func count
References: bbolt.Tx, db.ErrNotFound, db.TaskProps.
func createObject
References: bbolt.Tx.
func createObjectTx
References: fmt.Errorf, reflect.Int, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int8, reflect.Invalid, reflect.New, reflect.String, reflect.TypeOf, reflect.Uint, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint8, reflect.ValueOf.
func deleteIntegration
References: db.IntegrationProps, db.RetrieveQueryParams.
func deleteIntegrationMatcher
References: db.IntegrationMatcherProps.
func deleteObject
References: bbolt.Tx, db.EnvironmentProps, db.ErrInvalidOperation, db.ErrNotFound, db.InventoryProps, db.ObjectProps, db.RepositoryProps, db.TemplateProps.
func deleteSchedule
References: db.ScheduleProps.
func deleteTaskWithOutputs
References: bbolt.ErrBucketNotFound, db.TaskOutputProps, db.TaskProps.
func deleteTemplate
References: db.ErrInvalidOperation, db.RetrieveQueryParams, db.TemplateProps.
func deleteTemplateVault
References: db.TemplateVaultProps.
func getEvents
getEvents filter and sort enumerable object passed via parameter.
References: db.Event, db.FillEvents, db.Project, json.Unmarshal.
func getIntegrationRefs
func getObject
References: bbolt.Tx.
func getObjectRefs
References: db.IntegrationProps, db.InventoryProps, db.RepositoryProps, db.ScheduleProps, db.TemplateProps.
func getObjectRefsFrom
References: db.ObjectReferrer, db.RetrieveQueryParams, db.Schedule, db.ScheduleProps, db.Template, reflect.New, reflect.SliceOf, reflect.Value.
func getObjectTx
References: db.ErrNotFound.
func getObjects
References: bbolt.Tx.
func getObjectsTx
func getOption
References: db.Option, db.OptionProps.
func getProjectSchedules
References: db.RetrieveQueryParams, db.Schedule, db.ScheduleProps.
func getRawTemplate
References: db.TemplateProps.
func getRawTemplateTx
References: db.TemplateProps.
func getReferringObjectByParentID
References: db.ObjectReferrer, db.RetrieveQueryParams, reflect.New, reflect.SliceOf.
func getTasks
References: db.Task, db.TaskProps, db.TaskWithTpl, db.Template, db.User.
func getTotp
References: db.RetrieveQueryParams, db.UserTotp, db.UserTotpProps.
func isObjectInUse
isObjectInUse checks if objID associated with any object in foreignTableProps.
References: db.RetrieveQueryParams, reflect.New, reflect.SliceOf.
func openDbFile
References: bbolt.Open, bbolt.Options, time.Second, util.Config.
func openSession
References: fmt.Errorf.
func setTemplateDescriptionTx
References: db.TemplateProps.
func updateObject
updateObject updates data for object in database.
References: bbolt.Tx.
func updateObjectTx
References: db.ErrNotFound, fmt.Errorf, reflect.Int, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int8, reflect.String, reflect.TypeOf, reflect.Uint, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint8, reflect.ValueOf.
func updateRunner
References: bbolt.Tx, db.ErrNotFound, db.GlobalRunnerProps, db.Runner.
func createAlias
References: db.Aliasable, db.ErrNotFound, errors.Is, fmt.Errorf.
func deleteIntegrationAlias
References: db.Aliasable, reflect.New.
func getAlias
func getAliases
References: db.RetrieveQueryParams.
func getPublicAlias
func deleteObject
References: bbolt.Tx.
func getObject
References: bbolt.Tx, json.Unmarshal.
func getObjects
getObjects returns map of following format: map[OBJECT_ID]map[FIELD_NAME]interface{}
References: bbolt.Tx, json.Unmarshal.
func getProjectIDs
References: bbolt.Tx.
func setObject
References: bbolt.Tx, json.Marshal.
Tests
Files: 17.
Third party imports: 3.
Imports from organisation: 0.
Tests: 48.
Benchmarks: 0.
Vars
Types
test1
This type doesn't have documentation.
| Field name |
Field type |
Comment |
| ID |
int
|
No comment on field. |
| FirstName |
string
|
No comment on field. |
| LastName |
string
|
No comment on field. |
| Password |
string
|
No comment on field. |
| PasswordRepeat |
string
|
No comment on field. |
| PasswordHash |
string
|
No comment on field. |
| Removed |
bool
|
No comment on field. |
Test functions
TestBoltDb_CreateAPIToken
References: assert.Equal, assert.Error, assert.Len, assert.True, db.APIToken, db.User, db.UserWithPwd, require.NoError.
TestBoltDb_DeleteUser
References: db.Project, db.ProjectOwner, db.ProjectUser, db.User, db.UserWithPwd, require.Error, require.NoError, tz.Now.
TestBoltDb_GetRepositoryRefs
References: assert.Len, db.Repository, db.Schedule, db.Template, db.TemplateBuild, require.NoError.
TestBoltDb_UpdateProjectUser
References: db.Project, db.ProjectOwner, db.ProjectUser, db.User, db.UserWithPwd, require.NoError, tz.Now.
TestCreateTemplateVault
References: db.Project, db.Template, db.TemplateVault, tz.Now.
TestCreateView
References: db.Project, db.View, tz.Now.
TestDeleteView
References: db.Project, db.View, tz.Now.
TestGetFieldNameByTag
References: assert.Equal, reflect.TypeOf, require.NoError.
TestGetFieldNameByTag2
References: assert.Equal, db.UserWithPwd, reflect.TypeOf, require.NoError.
TestGetOption
TestGetProject
References: db.Project, tz.Now.
TestGetProjects
References: db.Project, db.ProjectOwner, db.ProjectUser, db.User, db.UserWithPwd, tz.Now.
TestGetSetOption
TestGetTemplateVaults
References: db.Project, db.Template, db.TemplateVault, tz.Now.
TestGetUser
References: db.User, db.UserWithPwd, require.Equal, require.NoError.
TestGetUserCount
References: db.User, db.UserWithPwd, require.Equal, require.NoError.
TestGetUsers
References: db.RetrieveQueryParams, db.User, db.UserWithPwd, require.Equal, require.NoError.
TestGetView
References: db.Project, db.View, tz.Now.
TestGetViews
References: db.Project, db.View, tz.Now.
TestIsObjectInUse
References: assert.True, db.InventoryProps, db.Project, db.Template, db.TemplateProps, require.NoError.
TestIsObjectInUse_Environment
References: assert.True, db.EnvironmentProps, db.Project, db.Template, db.TemplateProps, require.NoError.
TestIsObjectInUse_EnvironmentNil
References: assert.False, db.EnvironmentProps, db.Project, db.Template, db.TemplateProps, require.NoError.
TestMarshalObject
References: assert.Equal, fmt.Println, require.NoError.
TestMarshalObject_UserWithPwd
References: assert.Equal, db.User, db.UserWithPwd, fmt.Println, require.NoError.
TestMigration_2_10_12_Apply
References: bbolt.Tx, json.Unmarshal.
TestMigration_2_10_16_Apply
References: bbolt.Tx, json.Unmarshal.
TestMigration_2_10_16_Apply2
References: bbolt.Tx.
TestMigration_2_10_24_Apply
References: bbolt.Tx, json.Unmarshal.
TestMigration_2_10_24_Apply2
References: bbolt.Tx.
TestMigration_2_10_33_Apply
References: bbolt.Tx, json.Unmarshal.
TestMigration_2_10_33_Apply2
References: bbolt.Tx.
TestMigration_2_14_7_Apply
References: bbolt.Tx.
TestMigration_2_8_28_Apply
References: assert.Equal, assert.NoError, bbolt.Tx, json.Unmarshal.
TestMigration_2_8_28_Apply2
References: assert.NoError, bbolt.Tx.
TestMigration_2_8_40_Apply
References: bbolt.Tx, json.Unmarshal.
TestMigration_2_8_40_Apply2
References: bbolt.Tx.
TestMigration_2_8_91_Apply
References: bbolt.Tx, json.Unmarshal.
TestMigration_2_8_91_Apply2
References: bbolt.Tx.
TestSetViewPositions
References: db.Project, db.View, sort.Slice, tz.Now.
TestSortObjects
References: assert.Equal, db.Inventory, require.NoError.
TestTask_GetVersion
References: db.Task, db.Template, db.TemplateBuild, db.TemplateDeploy.
TestUnmarshalObject
References: assert.Equal, require.NoError.
TestUpdateTemplateVaults
References: db.Project, db.Template, db.TemplateVault, tz.Now.
TestUpdateView
References: db.Project, db.View, tz.Now.
Test_GetGlobalRunner_ReturnsErrorWhenTryingGetProjectRunner
References: assert.ErrorIs, assert.NoError, db.ErrNotFound, db.Project, db.Runner.
Test_GetRunnerByToken_ReturnsGlobalRunnerWhenTokenExists
References: assert.NoError, db.Runner.
Test_GetRunnerByToken_ReturnsRunnerWhenTokenExists
References: assert.NoError, db.Project, db.Runner.
Test_SetTemplateDescription
References: db.Project, db.Template, tz.Now.