class Build::DefaultApi

Defined in:

build-client/api/default_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_client : Build::ApiClient = ApiClient.default) #

[View source]

Instance Method Detail

def api_client : ApiClient #

[View source]
def api_client=(api_client : ApiClient) #

[View source]
def api_v1_apps_id_builds_post(id : String, api_v1_apps_id_builds_post_request : ApiV1AppsIdBuildsPostRequest | Nil) #

create build @param id [String] app id or name @return [nil]


[View source]
def api_v1_apps_id_builds_post_with_http_info(id : String, api_v1_apps_id_builds_post_request : ApiV1AppsIdBuildsPostRequest | Nil) #

create build @param id [String] app id or name @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers


[View source]
def api_v1_me_get #

identity @return [ApiV1MeGet200Response]


[View source]
def api_v1_me_get_with_http_info #

identity @return [Array<(ApiV1MeGet200Response, Integer, Hash)>] ApiV1MeGet200Response data, response status code and response headers


[View source]
def api_v1_oidc_login_get(region : String | Nil) #

kubernetes oidc-login @return [ApiV1OidcLoginGet200Response]


[View source]
def api_v1_oidc_login_get_with_http_info(region : String | Nil) #

kubernetes oidc-login @return [Array<(ApiV1OidcLoginGet200Response, Integer, Hash)>] ApiV1OidcLoginGet200Response data, response status code and response headers


[View source]
def app(id : String) #

show app @param id [String] app id or name @return [App]


[View source]
def app_with_http_info(id : String) #

show app @param id [String] app id or name @return [Array<(App, Integer, Hash)>] App data, response status code and response headers


[View source]
def apps(team_id : String | Nil) #

list apps List all apps @return [Array(App)]


[View source]
def apps_with_http_info(team_id : String | Nil) #

list apps List all apps @return [Array<(Array(App), Integer, Hash)>] Array(App) data, response status code and response headers


[View source]
def config_vars(app_id_or_name : String) #

list all config-vars @param app_id_or_name [String] app id or name @return [Hash(String, String)]


[View source]
def config_vars_with_http_info(app_id_or_name : String) #

list all config-vars @param app_id_or_name [String] app id or name @return [Array<(Hash(String, String), Integer, Hash)>] Hash(String, String) data, response status code and response headers


[View source]
def create_app(create_app_request : CreateAppRequest | Nil) #

create app @return [App]


[View source]
def create_app_with_http_info(create_app_request : CreateAppRequest | Nil) #

create app @return [Array<(App, Integer, Hash)>] App data, response status code and response headers


[View source]
def create_namespace(create_namespace_request : CreateNamespaceRequest | Nil) #

create a namespace Create a namespace @return [Namespace]


[View source]
def create_namespace_with_http_info(create_namespace_request : CreateNamespaceRequest | Nil) #

create a namespace Create a namespace @return [Array<(Namespace, Integer, Hash)>] Namespace data, response status code and response headers


[View source]
def delete_config_var(app_id_or_name : String, key : String) #

delete config-var Delete a config-var @param app_id_or_name [String] app id or name @param key [String] config var key @return [nil]


[View source]
def delete_config_var_with_http_info(app_id_or_name : String, key : String) #

delete config-var Delete a config-var @param app_id_or_name [String] app id or name @param key [String] config var key @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers


[View source]
def delete_namespace(namespace_id_or_name : String) #

delete a namespace Delete a namespace @param namespace_id_or_name [String] Namespace name or ID @return [nil]


[View source]
def delete_namespace_with_http_info(namespace_id_or_name : String) #

delete a namespace Delete a namespace @param namespace_id_or_name [String] Namespace name or ID @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers


[View source]
def list_dynos(id : String) #

list dynos @param id [String] app id or name @return [Array(Dyno)]


[View source]
def list_dynos_with_http_info(id : String) #

list dynos @param id [String] app id or name @return [Array<(Array(Dyno), Integer, Hash)>] Array(Dyno) data, response status code and response headers


[View source]
def namespace(namespace_id_or_name : String) #

show namespace Show a namespace @param namespace_id_or_name [String] Namespace name or ID @return [Namespace]


[View source]
def namespace_with_http_info(namespace_id_or_name : String) #

show namespace Show a namespace @param namespace_id_or_name [String] Namespace name or ID @return [Array<(Namespace, Integer, Hash)>] Namespace data, response status code and response headers


[View source]
def namespaces #

list all namespaces List all namespaces @return [Array(Namespace)]


[View source]
def namespaces_with_http_info #

list all namespaces List all namespaces @return [Array<(Array(Namespace), Integer, Hash)>] Array(Namespace) data, response status code and response headers


[View source]
def restart_all_dynos(id : String) #

restart all dynos @param id [String] app id or name @return [nil]


[View source]
def restart_all_dynos_with_http_info(id : String) #

restart all dynos @param id [String] app id or name @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers


[View source]
def restart_dynos(id : String, dyno : String) #

restart specific dynos @param id [String] app id or name @param dyno [String] dyno name @return [nil]


[View source]
def restart_dynos_with_http_info(id : String, dyno : String) #

restart specific dynos @param id [String] app id or name @param dyno [String] dyno name @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers


[View source]
def set_config_vars(app_id_or_name : String, request_body : Hash(String, String) | Nil) #

set or update config-vars @param app_id_or_name [String] app id or name @return [nil]


[View source]
def set_config_vars_with_http_info(app_id_or_name : String, request_body : Hash(String, String) | Nil) #

set or update config-vars @param app_id_or_name [String] app id or name @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers


[View source]
def team(id : String) #

show team Show a team @param id [String] Team name or ID @return [Team]


[View source]
def team_with_http_info(id : String) #

show team Show a team @param id [String] Team name or ID @return [Array<(Team, Integer, Hash)>] Team data, response status code and response headers


[View source]
def teams #

list all teams List all teams @return [Array(Team)]


[View source]
def teams_with_http_info #

list all teams List all teams @return [Array<(Array(Team), Integer, Hash)>] Array(Team) data, response status code and response headers


[View source]