class EdgeAI::Status

Defined in:

controllers/status.cr

Constant Summary

OPENAPI = YAML.parse(File.exists?("openapi.yml") ? File.read("openapi.yml") : "{}")

this file is built as part of the docker build

PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json", "application/yaml"]

Class Method Summary

Instance Method Summary

Instance methods inherited from class EdgeAI::Base

bad_media_type(error) : AC::Error::ContentResponse bad_media_type, invalid_param(error) : AC::Error::ParameterResponse invalid_param, not_found(error) : NamedTuple(error: String | Nil) not_found, set_request_id set_request_id

Class Method Detail

def self.base_route #

Helper for obtaining base route


def self.index(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts) #

Helper methods for performing redirect_to calls


Instance Method Detail

def base_route(*args, **options) #

Helper for obtaining base route


def base_route(*args, **options, &) #

Helper for obtaining base route


def get_status(id : String) : PipelineStatus #

[View source]
def index : Hash(String, PipelineStatus) #

status of all configured pipelines


[View source]
def openapi : YAML::Any #

returns the OpenAPI representation of this service


[View source]
def show(id : String) : PipelineStatus #

status of the specified pipeline


[View source]