class BitteCI::Listener
- BitteCI::Listener
- Reference
- Object
Defined in:
bitte_ci/line.crbitte_ci/listener.cr
Constructors
Class Method Summary
Instance Method Summary
- #config : Config
- #config=(config : Config)
- #context
- #create_allocation(db : DB::Database, alloc : AllocationPayload::Allocation, index : UInt64)
- #discover(db)
- #discover_apply(db, response)
- #discover_handle(db, node_url)
- #handle_allocation(db, alloc : AllocationPayload::Allocation, index)
- #handle_evaluation(db, eval : Evaluation::EvaluationPayload::Evaluation)
- #handle_job(db, job : Job::JobPayload::Job)
- #handle_line(db, line)
- #handle_node(db, node : Node::NodePayload::Node)
- #headers
- #job_id_to_pr_id(db : DB::Database, job_id : String) : Int64 | Nil
- #listen(db, nomad_url)
- #log : Log
- #log=(log : Log)
-
#run
TODO refactor to use Clear
- #ssl_context(config)
- #update_allocation(db : DB::Database, alloc : AllocationPayload::Allocation, index : UInt64, old_alloc : ::Allocation)
- #update_builds(db : DB::Database, alloc : AllocationPayload::Allocation)
Constructor Detail
Class Method Detail
Instance Method Detail
def create_allocation(db : DB::Database, alloc : AllocationPayload::Allocation, index : UInt64)
#
def update_allocation(db : DB::Database, alloc : AllocationPayload::Allocation, index : UInt64, old_alloc : ::Allocation)
#