Nuon.Api.Installers (nuon v0.19.26)
API calls for all endpoints tagged Installers
.
Summary
Functions
create an app installer
delete an app installer
get an app installer
create an app install from an installer
get an installer install
render an app installer
update an app installer
Functions
Link to this function
create_app_installer(connection, service_create_app_installer_request, opts \\ [])
@spec create_app_installer( Tesla.Env.client(), Nuon.Model.ServiceCreateAppInstallerRequest.t(), keyword() ) :: {:ok, Nuon.Model.StderrErrResponse.t()} | {:ok, Nuon.Model.AppAppInstaller.t()} | {:error, Tesla.Env.t()}
create an app installer
Parameters
connection
(Nuon.Connection): Connection to serverservice_create_app_installer_request
(ServiceCreateAppInstallerRequest): Inputopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.AppAppInstaller.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
delete_app_installer(connection, installer_id, opts \\ [])
@spec delete_app_installer(Tesla.Env.client(), String.t(), keyword()) :: {:ok, Nuon.Model.StderrErrResponse.t()} | {:ok, boolean()} | {:error, Tesla.Env.t()}
delete an app installer
Parameters
connection
(Nuon.Connection): Connection to serverinstaller_id
(String.t): installer IDopts
(keyword): Optional parameters
Returns
{:ok, boolean()}
on success{:error, Tesla.Env.t}
on failure
Link to this function
get_app_installer(connection, installer_id, opts \\ [])
@spec get_app_installer(Tesla.Env.client(), String.t(), keyword()) :: {:ok, Nuon.Model.StderrErrResponse.t()} | {:ok, Nuon.Model.AppAppInstaller.t()} | {:error, Tesla.Env.t()}
get an app installer
Parameters
connection
(Nuon.Connection): Connection to serverinstaller_id
(String.t): installer IDopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.AppAppInstaller.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
installer_create_install(connection, installer_slug, service_create_install_request, opts \\ [])
@spec installer_create_install( Tesla.Env.client(), String.t(), Nuon.Model.ServiceCreateInstallRequest.t(), keyword() ) :: {:ok, Nuon.Model.AppInstall.t()} | {:ok, Nuon.Model.StderrErrResponse.t()} | {:error, Tesla.Env.t()}
create an app install from an installer
Parameters
connection
(Nuon.Connection): Connection to serverinstaller_slug
(String.t): installer slug or IDservice_create_install_request
(ServiceCreateInstallRequest): Inputopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.AppInstall.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
installer_get_install(connection, installer_slug, install_id, opts \\ [])
@spec installer_get_install(Tesla.Env.client(), String.t(), String.t(), keyword()) :: {:ok, Nuon.Model.AppInstall.t()} | {:ok, Nuon.Model.StderrErrResponse.t()} | {:error, Tesla.Env.t()}
get an installer install
Parameters
connection
(Nuon.Connection): Connection to serverinstaller_slug
(String.t): installer slug or IDinstall_id
(String.t): install idopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.AppInstall.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
render_app_installer(connection, installer_slug, opts \\ [])
@spec render_app_installer(Tesla.Env.client(), String.t(), keyword()) :: {:ok, Nuon.Model.StderrErrResponse.t()} | {:ok, Nuon.Model.ServiceAppInstaller.t()} | {:error, Tesla.Env.t()}
render an app installer
Parameters
connection
(Nuon.Connection): Connection to serverinstaller_slug
(String.t): installer slug or IDopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.ServiceAppInstaller.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
update_app_installer(connection, installer_id, service_update_app_installer_request, opts \\ [])
@spec update_app_installer( Tesla.Env.client(), String.t(), Nuon.Model.ServiceUpdateAppInstallerRequest.t(), keyword() ) :: {:ok, Nuon.Model.StderrErrResponse.t()} | {:ok, Nuon.Model.AppAppInstaller.t()} | {:error, Tesla.Env.t()}
update an app installer
Parameters
connection
(Nuon.Connection): Connection to serverinstaller_id
(String.t): installer IDservice_update_app_installer_request
(ServiceUpdateAppInstallerRequest): Inputopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.AppAppInstaller.t}
on success{:error, Tesla.Env.t}
on failure