Nuon.Api.Vcs (nuon v0.19.90)
API calls for all endpoints tagged Vcs
.
Summary
Functions
create a vcs connection for Github
public connection to create a vcs connection via a callback
get all vcs connected repos for an org
get vcs connection for an org
returns a vcs connection for an org
Functions
Link to this function
create_vcs_connection(connection, service_create_connection_request, opts \\ [])
@spec create_vcs_connection( Tesla.Env.client(), Nuon.Model.ServiceCreateConnectionRequest.t(), keyword() ) :: {:ok, Nuon.Model.AppVcsConnection.t()} | {:ok, Nuon.Model.StderrErrResponse.t()} | {:error, Tesla.Env.t()}
create a vcs connection for Github
Parameters
connection
(Nuon.Connection): Connection to serverservice_create_connection_request
(ServiceCreateConnectionRequest): Inputopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.AppVcsConnection.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
create_vcs_connection_callback(connection, service_create_connection_callback_request, opts \\ [])
@spec create_vcs_connection_callback( Tesla.Env.client(), Nuon.Model.ServiceCreateConnectionCallbackRequest.t(), keyword() ) :: {:ok, Nuon.Model.AppVcsConnection.t()} | {:ok, Nuon.Model.StderrErrResponse.t()} | {:error, Tesla.Env.t()}
public connection to create a vcs connection via a callback
Parameters
connection
(Nuon.Connection): Connection to serverservice_create_connection_callback_request
(ServiceCreateConnectionCallbackRequest): Inputopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.AppVcsConnection.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
get_all_vcs_connected_repos(connection, opts \\ [])
@spec get_all_vcs_connected_repos( Tesla.Env.client(), keyword() ) :: {:ok, Nuon.Model.StderrErrResponse.t()} | {:ok, [Nuon.Model.ServiceRepository.t()]} | {:error, Tesla.Env.t()}
get all vcs connected repos for an org
Parameters
connection
(Nuon.Connection): Connection to serveropts
(keyword): Optional parameters
Returns
{:ok, [%ServiceRepository{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
get_org_vcs_connections(connection, opts \\ [])
@spec get_org_vcs_connections( Tesla.Env.client(), keyword() ) :: {:ok, [Nuon.Model.AppVcsConnection.t()]} | {:ok, Nuon.Model.StderrErrResponse.t()} | {:error, Tesla.Env.t()}
get vcs connection for an org
Parameters
connection
(Nuon.Connection): Connection to serveropts
(keyword): Optional parameters
Returns
{:ok, [%AppVcsConnection{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
get_vcs_connection(connection, connection_id, opts \\ [])
@spec get_vcs_connection(Tesla.Env.client(), String.t(), keyword()) :: {:ok, Nuon.Model.AppVcsConnection.t()} | {:ok, Nuon.Model.StderrErrResponse.t()} | {:error, Tesla.Env.t()}
returns a vcs connection for an org
Parameters
connection
(Nuon.Connection): Connection to serverconnection_id
(String.t): connection IDopts
(keyword): Optional parameters
Returns
{:ok, Nuon.Model.AppVcsConnection.t}
on success{:error, Tesla.Env.t}
on failure