module

Yozgat::DB::Environments

Constants

SLUG_ALLOWED = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_."

Class methods

clear_pending_port!(project_id : Int64, env_id : Int64) : Nil
Source
create(project_id : Int64, name : String, slug : String) : Row
Source
fetch_host_port(project_id : Int64, env_id : Int64) : Int64 | Nil
Source
fetch_pending_port(project_id : Int64, env_id : Int64) : Int64 | Nil
Source
find(project_id : Int64, env_id : Int64) : Row | Nil
Source
find_id_by_slug(project_id : Int64, slug : String) : Int64 | Nil
Source
list(project_id : Int64) : Array(Row)
Source
project_exists?(project_id : Int64) : Bool
Source
set_pending_port!(project_id : Int64, env_id : Int64, port : Int64) : Nil
Source
slug_ok?(slug : String) : Bool
Source
slug_taken?(project_id : Int64, slug : String) : Bool
Source
update(project_id : Int64, env_id : Int64, name : String | Nil, host_port : Int64 | Nil) : Row | Nil
Source

Nested types