module

Yozgat::DB::Projects

Constants

ALLOWED_TYPES = {"static", "dockerfile", "dockercompose"}
DEFAULT_STATUS = "not_initialized"
HAS_CREDS_SQL = " (auth_username IS NOT NULL AND TRIM(auth_username) != ''\n AND auth_token IS NOT NULL AND TRIM(auth_token) != '')"
STATUS_REMOVING = "removing"

Class methods

auth_creds(id : Int64) : AuthCreds | Nil
Source
create(name : String, repo_url : String, project_type : String, auth_username : String | Nil, auth_token : String | Nil, webhook_secret : String, host_port : Int64 | Nil = nil) : ListRow
Source
delete(id : Int64) : Bool
Source
deploy_source(id : Int64) : DeploySource
Source
fetch_project_type(project_id : Int64) : String | Nil
Source
fetch_webhook_secret(project_id : Int64) : String | Nil
Source
find(id : Int64) : DetailRow | Nil
Source
list
Source
mint_webhook_secret
Source
validate_project_type(raw : String) : String | Nil
Source

Nested types