github.com/semaphoreui/semaphore/db
No package summary is available.
Package
Files: 18. Third party imports: 2. Imports from organisation: 0. Tests: 0. Benchmarks: 0.
Constants
Vars
Types
APIToken
APIToken is given to a user to allow API access
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Created |
|
No comment on field. |
| Expired |
|
No comment on field. |
| UserID |
|
No comment on field. |
AccessKey
AccessKey represents a key used to access a machine with ansible from semaphore
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Name |
|
No comment on field. |
| Type |
|
'ssh/login_password/none' |
| ProjectID |
|
No comment on field. |
| Secret |
|
Secret used internally, do not assign this field. You should use methods SerializeSecret to fill this field. |
| String |
|
No comment on field. |
| LoginPassword |
|
No comment on field. |
| SshKey |
|
No comment on field. |
| OverrideSecret |
|
No comment on field. |
| EnvironmentID |
|
EnvironmentID is an ID of environment which owns the access key. |
| UserID |
|
UserID is an ID of user which owns the access key. |
| Empty |
|
No comment on field. |
AccessKeyInstallation
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| SSHAgent |
|
No comment on field. |
| Login |
|
No comment on field. |
| Password |
|
No comment on field. |
| Script |
|
No comment on field. |
AccessKeyRole
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
AccessKeyType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
Alias
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Alias |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
Aliasable
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
AnsibleTaskError
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| TaskID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| Host |
|
No comment on field. |
| Task |
|
No comment on field. |
| Error |
|
No comment on field. |
| Created |
|
No comment on field. |
AnsibleTaskHost
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| TaskID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| Host |
|
No comment on field. |
| Changed |
|
No comment on field. |
| Failed |
|
No comment on field. |
| Ignored |
|
No comment on field. |
| Ok |
|
No comment on field. |
| Rescued |
|
No comment on field. |
| Skipped |
|
No comment on field. |
| Unreachable |
|
No comment on field. |
| Created |
|
No comment on field. |
AnsibleTaskParams
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Debug |
|
No comment on field. |
| DebugLevel |
|
No comment on field. |
| DryRun |
|
No comment on field. |
| Diff |
|
No comment on field. |
| Limit |
|
No comment on field. |
| Tags |
|
No comment on field. |
| SkipTags |
|
No comment on field. |
AnsibleTemplateParams
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| AllowDebug |
|
No comment on field. |
| AllowOverrideInventory |
|
No comment on field. |
| AllowOverrideLimit |
|
No comment on field. |
| AllowOverrideTags |
|
No comment on field. |
| AllowOverrideSkipTags |
|
No comment on field. |
| Limit |
|
No comment on field. |
| Tags |
|
No comment on field. |
| SkipTags |
|
No comment on field. |
BackupEntity
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
DefaultTaskParams
This type doesn't have documentation.
Environment
Environment is used to pass additional arguments, in json form to ansible
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Name |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| Password |
|
No comment on field. |
| JSON |
|
No comment on field. |
| ENV |
|
No comment on field. |
| Secrets |
|
Secrets is a field which used to update secrets associated with the environment. |
EnvironmentSecret
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Type |
|
No comment on field. |
| Name |
|
No comment on field. |
| Secret |
|
No comment on field. |
| Operation |
|
No comment on field. |
EnvironmentSecretOperation
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
EnvironmentSecretType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
Event
Event represents information generated by ansible or api action captured to the database during execution
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| UserID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| IntegrationID |
|
No comment on field. |
| ObjectID |
|
No comment on field. |
| ObjectType |
|
No comment on field. |
| Description |
|
No comment on field. |
| Created |
|
No comment on field. |
| ObjectName |
|
No comment on field. |
| ProjectName |
|
No comment on field. |
| Username |
|
No comment on field. |
EventObjectType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
Integration
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Name |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| TemplateID |
|
No comment on field. |
| AuthMethod |
|
No comment on field. |
| AuthSecretID |
|
No comment on field. |
| AuthHeader |
|
No comment on field. |
| AuthSecret |
|
No comment on field. |
| Searchable |
|
No comment on field. |
| TaskParams |
|
No comment on field. |
IntegrationAlias
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Alias |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| IntegrationID |
|
No comment on field. |
IntegrationAliasLevel
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
IntegrationAuthMethod
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
IntegrationBodyDataType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
IntegrationExtractValue
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| IntegrationID |
|
No comment on field. |
| Name |
|
No comment on field. |
| ValueSource |
|
No comment on field. |
| BodyDataType |
|
No comment on field. |
| Key |
|
No comment on field. |
| Variable |
|
No comment on field. |
| VariableType |
|
No comment on field. |
IntegrationExtractValueSource
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
IntegrationExtractorChildReferrers
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Integrations |
|
No comment on field. |
IntegrationMatchMethodType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
IntegrationMatchType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
IntegrationMatcher
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| IntegrationID |
|
No comment on field. |
| Name |
|
No comment on field. |
| MatchType |
|
No comment on field. |
| Method |
|
No comment on field. |
| BodyDataType |
|
No comment on field. |
| Key |
|
No comment on field. |
| Value |
|
No comment on field. |
IntegrationReferrers
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| IntegrationMatchers |
|
No comment on field. |
| IntegrationExtractValues |
|
No comment on field. |
IntegrationVariableType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
Inventory
Inventory is the model of an ansible inventory file
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Name |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| Inventory |
|
No comment on field. |
| SSHKeyID |
|
accesses hosts in inventory |
| SSHKey |
|
No comment on field. |
| BecomeKeyID |
|
No comment on field. |
| BecomeKey |
|
No comment on field. |
| Type |
|
static/file |
| TemplateID |
|
TemplateID is an ID of template which holds the inventory It is not used now but can be used in feature for inventories which can not be used more than one template at once. |
| RepositoryID |
|
RepositoryID is an ID of repo where inventory stored. If null than inventory will be got from template repository. |
| Repository |
|
No comment on field. |
| RunnerTag |
|
RunnerTag is a tag which allow join inventory to the runner. |
InventoryType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
LoginPassword
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Login |
|
No comment on field. |
| Password |
|
No comment on field. |
MapStringAnyField
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
Migration
Migration represents sql schema version
| Field name | Field type | Comment |
|---|---|---|
| Version |
|
No comment on field. |
| UpgradedDate |
|
No comment on field. |
| Notes |
|
No comment on field. |
MigrationVersion
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Major |
|
No comment on field. |
| Minor |
|
No comment on field. |
| Patch |
|
No comment on field. |
ObjectProps
ObjectProps describe database entities. It mainly used for NoSQL implementations (currently BoltDB) to preserve same data structure of different implementations and easy change it if required.
| Field name | Field type | Comment |
|---|---|---|
| TableName |
|
No comment on field. |
| Type |
|
No comment on field. |
| IsGlobal |
|
No comment on field. |
| ReferringColumnSuffix |
|
No comment on field. |
| PrimaryColumnName |
|
No comment on field. |
| SortableColumns |
|
No comment on field. |
| DefaultSortingColumn |
|
No comment on field. |
| SortInverted |
|
No comment on field. |
| Ownerships |
|
No comment on field. |
| SelectColumns |
|
No comment on field. |
ObjectReferrer
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Name |
|
No comment on field. |
ObjectReferrers
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Templates |
|
No comment on field. |
| Inventories |
|
No comment on field. |
| Repositories |
|
No comment on field. |
| Integrations |
|
No comment on field. |
| Schedules |
|
No comment on field. |
Option
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Key |
|
No comment on field. |
| Value |
|
No comment on field. |
OwnershipFilter
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| WithoutOwnerOnly |
|
No comment on field. |
| TemplateID |
|
No comment on field. |
| EnvironmentID |
|
No comment on field. |
Project
Project is the top level structure in Semaphore
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Name |
|
No comment on field. |
| Created |
|
No comment on field. |
| Alert |
|
No comment on field. |
| AlertChat |
|
No comment on field. |
| MaxParallelTasks |
|
No comment on field. |
| Type |
|
No comment on field. |
ProjectStats
This type doesn't have documentation.
ProjectUser
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| UserID |
|
No comment on field. |
| Role |
|
No comment on field. |
ProjectUserPermission
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
ProjectUserRole
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
Repository
Repository is the model for code stored in a git repository
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Name |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| GitURL |
|
No comment on field. |
| GitBranch |
|
No comment on field. |
| SSHKeyID |
|
No comment on field. |
| SSHKey |
|
No comment on field. |
RepositoryType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
RetrieveQueryParams
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Offset |
|
No comment on field. |
| Count |
|
No comment on field. |
| SortBy |
|
No comment on field. |
| SortInverted |
|
No comment on field. |
| Filter |
|
No comment on field. |
| Ownership |
|
No comment on field. |
Runner
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Token |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| Webhook |
|
No comment on field. |
| MaxParallelTasks |
|
No comment on field. |
| Active |
|
No comment on field. |
| Name |
|
No comment on field. |
| Tag |
|
No comment on field. |
| Touched |
|
No comment on field. |
| CleaningRequested |
|
No comment on field. |
| PublicKey |
|
No comment on field. |
RunnerState
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
RunnerTag
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Tag |
|
No comment on field. |
| NumberOfRunners |
|
No comment on field. |
Schedule
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| TemplateID |
|
No comment on field. |
| CronFormat |
|
No comment on field. |
| Name |
|
No comment on field. |
| Active |
|
No comment on field. |
| LastCommitHash |
|
No comment on field. |
| RepositoryID |
|
No comment on field. |
ScheduleWithTpl
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
|
No comment on field. | |
| TemplateName |
|
No comment on field. |
Session
Session is a connection to the API
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| UserID |
|
No comment on field. |
| Created |
|
No comment on field. |
| LastActive |
|
No comment on field. |
| IP |
|
No comment on field. |
| UserAgent |
|
No comment on field. |
| Expired |
|
No comment on field. |
| VerificationMethod |
|
No comment on field. |
| Verified |
|
No comment on field. |
SessionVerificationMethod
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
SshKey
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Login |
|
No comment on field. |
| Passphrase |
|
No comment on field. |
| PrivateKey |
|
No comment on field. |
Store
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
StringArrayField
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
SurveyVar
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Name |
|
No comment on field. |
| Title |
|
No comment on field. |
| Required |
|
No comment on field. |
| Type |
|
No comment on field. |
| Description |
|
No comment on field. |
| Values |
|
No comment on field. |
| DefaultValue |
|
No comment on field. |
SurveyVarEnumValue
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Name |
|
No comment on field. |
| Value |
|
No comment on field. |
SurveyVarType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
Task
Task is a model of a task which will be executed by the runner
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| TemplateID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| Status |
|
No comment on field. |
| Playbook |
|
override variables |
| Environment |
|
No comment on field. |
| Secret |
|
No comment on field. |
| Arguments |
|
No comment on field. |
| GitBranch |
|
No comment on field. |
| UserID |
|
No comment on field. |
| IntegrationID |
|
No comment on field. |
| ScheduleID |
|
No comment on field. |
| Created |
|
No comment on field. |
| Start |
|
No comment on field. |
| End |
|
No comment on field. |
| Message |
|
No comment on field. |
| CommitHash |
|
CommitMessage is a git commit hash of playbook repository which was active when task was created. |
| CommitMessage |
|
CommitMessage contains message retrieved from git repository after checkout to CommitHash. It is readonly by API. |
| BuildTaskID |
|
No comment on field. |
| Version |
|
Version is a build version. This field available only for Build tasks. |
| InventoryID |
|
No comment on field. |
| Params |
|
No comment on field. |
| Limit |
|
Limit is deprecated, use Params.Limit instead |
TaskFilter
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Start |
|
No comment on field. |
| End |
|
No comment on field. |
| UserID |
|
No comment on field. |
TaskOutput
TaskOutput is the ansible log output from the task
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| TaskID |
|
No comment on field. |
| Time |
|
No comment on field. |
| Output |
|
No comment on field. |
TaskStage
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| TaskID |
|
No comment on field. |
| Start |
|
No comment on field. |
| End |
|
No comment on field. |
| StartOutputID |
|
No comment on field. |
| EndOutputID |
|
No comment on field. |
| Type |
|
No comment on field. |
TaskStageResult
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| TaskID |
|
No comment on field. |
| StageID |
|
No comment on field. |
| JSON |
|
No comment on field. |
TaskStageType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
TaskStageWithResult
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| TaskID |
|
No comment on field. |
| Start |
|
No comment on field. |
| End |
|
No comment on field. |
| StartOutputID |
|
No comment on field. |
| EndOutputID |
|
No comment on field. |
| Type |
|
No comment on field. |
| JSON |
|
No comment on field. |
| Result |
|
No comment on field. |
TaskStat
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Date |
|
No comment on field. |
| CountByStatus |
|
No comment on field. |
| AvgDuration |
|
No comment on field. |
TaskStatUnit
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
TaskWithTpl
TaskWithTpl is the task data with additional fields
| Field name | Field type | Comment |
|---|---|---|
|
No comment on field. | |
| TemplatePlaybook |
|
No comment on field. |
| TemplateAlias |
|
No comment on field. |
| TemplateType |
|
No comment on field. |
| TemplateApp |
|
No comment on field. |
| UserName |
|
No comment on field. |
| BuildTask |
|
No comment on field. |
Template
Template is a user defined model that is used to run a task
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| InventoryID |
|
No comment on field. |
| RepositoryID |
|
No comment on field. |
| EnvironmentID |
|
No comment on field. |
| Name |
|
Name as described in https://github.com/semaphoreui/semaphore/issues/188 |
| Playbook |
|
playbook name in the form of "some_play.yml" |
| Arguments |
|
to fit into []string |
| AllowOverrideArgsInTask |
|
if true, semaphore will not prepend any arguments to |
| Description |
|
No comment on field. |
| Vaults |
|
No comment on field. |
| Type |
|
No comment on field. |
| StartVersion |
|
No comment on field. |
| BuildTemplateID |
|
No comment on field. |
| ViewID |
|
No comment on field. |
| LastTask |
|
No comment on field. |
| Autorun |
|
No comment on field. |
| GitBranch |
|
override variables |
| SurveyVarsJSON |
|
SurveyVarsJSON used internally for read from database. It is not used for store survey vars to database. Do not use it in your code. Use SurveyVars instead. |
| SurveyVars |
|
No comment on field. |
| SuppressSuccessAlerts |
|
No comment on field. |
| App |
|
No comment on field. |
| Tasks |
|
No comment on field. |
| TaskParams |
|
No comment on field. |
| RunnerTag |
|
No comment on field. |
| AllowOverrideBranchInTask |
|
No comment on field. |
TemplateApp
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
TemplateFilter
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ViewID |
|
No comment on field. |
| BuildTemplateID |
|
No comment on field. |
| AutorunOnly |
|
No comment on field. |
| App |
|
No comment on field. |
TemplateType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
TemplateVault
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| TemplateID |
|
No comment on field. |
| VaultKeyID |
|
No comment on field. |
| Name |
|
No comment on field. |
| Type |
|
No comment on field. |
| Script |
|
No comment on field. |
| Vault |
|
No comment on field. |
TemplateVaultType
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
TerraformInventoryAlias
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| InventoryID |
|
No comment on field. |
| AuthKeyID |
|
No comment on field. |
| Alias |
|
No comment on field. |
| TaskID |
|
No comment on field. |
TerraformTaskParams
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Plan |
|
No comment on field. |
| Destroy |
|
No comment on field. |
| AutoApprove |
|
No comment on field. |
| Upgrade |
|
No comment on field. |
| Reconfigure |
|
No comment on field. |
TerraformTemplateParams
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| AllowDestroy |
|
No comment on field. |
| AllowAutoApprove |
|
No comment on field. |
| AutoApprove |
|
No comment on field. |
| OverrideBackend |
|
No comment on field. |
| BackendFilename |
|
No comment on field. |
User
User is the model for an entity which has access to the API
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Created |
|
No comment on field. |
| Username |
|
No comment on field. |
| Name |
|
No comment on field. |
|
No comment on field. | |
| Password |
|
No comment on field. |
| Admin |
|
No comment on field. |
| External |
|
No comment on field. |
| Alert |
|
No comment on field. |
| Pro |
|
No comment on field. |
| Totp |
|
No comment on field. |
UserEmailOtp
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Created |
|
No comment on field. |
| UserID |
|
No comment on field. |
| Code |
|
No comment on field. |
UserTotp
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Created |
|
No comment on field. |
| UserID |
|
No comment on field. |
| URL |
|
No comment on field. |
| RecoveryHash |
|
No comment on field. |
| RecoveryCode |
|
No comment on field. |
UserWithProjectRole
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Role |
|
No comment on field. |
|
No comment on field. |
UserWithPwd
UserWithPwd extends User structure with field for unhashed password received from JSON.
| Field name | Field type | Comment |
|---|---|---|
| Pwd |
|
No comment on field. |
|
No comment on field. |
ValidationError
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Message |
|
No comment on field. |
View
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| Title |
|
No comment on field. |
| Position |
|
No comment on field. |
Functions
func ConvertFlatToNested
func FillConfigFromDB
func FillEnvironmentSecrets
func FillEvents
func FillIntegration
func FillInventory
func FillTemplate
func FillTemplateVault
func GetMigrations
func GetParsedTime
GetParsedTime returns the timestamp as it will retrieved from the database This allows us to create timestamp consistency on return values from create requests
Uses: log.Error, time.Parse.func Migrate
func ObjectToJSON
func Rollback
func StoreSession
func ValidateInventory
func ValidateOptionKey
func ValidateRepository
func ValidateUser
func (*AccessKey) DeserializeSecret
func (*AccessKey) DeserializeSecret2
func (*AccessKey) Install
func (*AccessKey) SerializeSecret
func (*AccessKey) Validate
func (*AccessKeyInstallation) Destroy
func (*AccessKeyInstallation) GetGitEnv
func (*Environment) Validate
func (*EnvironmentSecret) Validate
func (*Integration) Validate
func (*IntegrationExtractValue) String
func (*IntegrationExtractValue) Validate
func (*IntegrationMatcher) String
func (*IntegrationMatcher) Validate
func (*MapStringAnyField) Scan
func (*OwnershipFilter) GetOwnerID
func (*OwnershipFilter) SetOwnerID
func (*RetrieveQueryParams) Validate
func (*Session) IsVerified
func (*StringArrayField) Scan
func (*StringArrayField) Value
Value implements the driver.Valuer interface for MapStringAnyField
Uses: json.Marshal.func (*Task) FillParams
func (*Task) GetIncomingVersion
func (*Task) GetUrl
func (*Task) PreInsert
PreInsert is a hook which is called before inserting task into database. Called directly in BoltDB implementation.
Uses: strings.Split, strings.TrimSpace, tz.In.func (*Task) PreUpdate
func (*Task) ValidateNewTask
func (*TaskWithTpl) Fill
func (*Template) CanOverrideInventory
func (*Template) FillParams
func (*Template) Validate
func (*ValidationError) Error
func (*View) Validate
func (AccessKey) GetID
func (AccessKey) GetName
func (Environment) GetID
func (Environment) GetName
func (Event) ToFields
func (IntegrationAlias) ToAlias
func (Inventory) GetFilename
func (Inventory) GetID
func (Inventory) GetName
func (Inventory) Validate
func (InventoryType) IsStatic
func (MapStringAnyField) Value
Value implements the driver.Valuer interface for MapStringAnyField DO NOT ADD *, It breaks method call
Uses: json.Marshal.func (Migration) Compare
func (Migration) HumanoidVersion
HumanoidVersion adds a v to the VersionString
func (Migration) ParseVersion
func (Migration) Validate
func (MigrationVersion) Compare
func (ObjectProps) GetReferringFieldsFrom
func (ProjectUserRole) Can
func (ProjectUserRole) GetPermissions
func (ProjectUserRole) IsValid
func (Repository) ClearCache
func (Repository) GetDirName
func (Repository) GetFullPath
func (Repository) GetGitURL
func (Repository) GetID
func (Repository) GetName
func (Repository) GetType
func (Repository) Validate
func (Schedule) GetName
func (Template) GetID
func (Template) GetName
func (TemplateApp) HasInventoryType
func (TemplateApp) InventoryTypes
func (TemplateApp) IsTerraform
func (TemplateApp) NeedTaskAlias
func (TerraformInventoryAlias) ToAlias
func (View) GetID
func (View) GetName
Private functions
func containsStr
func getEventObjectName
func getEventUsername
func validateJSON
func startSSHAgent
func unmarshalAppropriateField
func getDirNamePrefix
Tests
Files: 6. Third party imports: 2. Imports from organisation: 0. Tests: 18. Benchmarks: 0.