API calls for all endpoints tagged Server.
Summary
Functions
Initialize toolbox server Set the auth token and initialize telemetry for the toolbox server
Update process environment Update the daemon's process environment. Newly spawned processes, sessions and PTYs inherit the change; already-running processes keep their environment.
Functions
@spec initialize(Tesla.Env.client(), ExDaytona.Model.InitializeRequest.t(), keyword()) :: {:ok, %{optional(String.t()) => String.t()}} | {:error, Tesla.Env.t()}
Initialize toolbox server Set the auth token and initialize telemetry for the toolbox server
Parameters
connection(ExDaytona.Connection): Connection to serverinitialize_request(InitializeRequest): Initialization requestopts(keyword): Optional parameters
Returns
{:ok, %{}}on success{:error, Tesla.Env.t}on failure
@spec update_env(Tesla.Env.client(), ExDaytona.Model.UpdateEnvRequest.t(), keyword()) :: {:ok, %{optional(String.t()) => String.t()}} | {:error, Tesla.Env.t()}
Update process environment Update the daemon's process environment. Newly spawned processes, sessions and PTYs inherit the change; already-running processes keep their environment.
Parameters
connection(ExDaytona.Connection): Connection to serverupdate_env_request(UpdateEnvRequest): Environment update requestopts(keyword): Optional parameters
Returns
{:ok, %{}}on success{:error, Tesla.Env.t}on failure