Files
sdk/docs/SandboxRan.md

3.6 KiB

SandboxRan

Properties

Name Type Description Notes
ExitCode Pointer to int64 ExitCode is the PROGRAM's own status — 0 succeeded, anything else is what it returned, and a Command runs under `sh -c` so its shell's conventions apply. A command that never reached an exit does not arrive here at all: a timeout or a stop cancels the channel, and that is an error on the call rather than a code of ours invented to fill this field. [optional]
Stderr Pointer to string Stderr is standard error, kept apart from Stdout so a caller reading a program's OUTPUT is not reading its diagnostics as data. Same 1 MiB cap, same redaction. A program that failed usually says why here and nowhere else. [optional]
Stdout Pointer to string Stdout is what the program wrote to standard output, collected whole rather than streamed — to watch it arrive instead, name a RunIn.Session and read that session's feed. Capped at 1 MiB, past which it ends in "[truncated at 1MiB]". Every string named in RunIn.Blind is replaced by "[redacted]" before it gets here, and before it reaches the session. [optional]

Methods

NewSandboxRan

func NewSandboxRan() *SandboxRan

NewSandboxRan instantiates a new SandboxRan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewSandboxRanWithDefaults

func NewSandboxRanWithDefaults() *SandboxRan

NewSandboxRanWithDefaults instantiates a new SandboxRan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetExitCode

func (o *SandboxRan) GetExitCode() int64

GetExitCode returns the ExitCode field if non-nil, zero value otherwise.

GetExitCodeOk

func (o *SandboxRan) GetExitCodeOk() (*int64, bool)

GetExitCodeOk returns a tuple with the ExitCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExitCode

func (o *SandboxRan) SetExitCode(v int64)

SetExitCode sets ExitCode field to given value.

HasExitCode

func (o *SandboxRan) HasExitCode() bool

HasExitCode returns a boolean if a field has been set.

GetStderr

func (o *SandboxRan) GetStderr() string

GetStderr returns the Stderr field if non-nil, zero value otherwise.

GetStderrOk

func (o *SandboxRan) GetStderrOk() (*string, bool)

GetStderrOk returns a tuple with the Stderr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStderr

func (o *SandboxRan) SetStderr(v string)

SetStderr sets Stderr field to given value.

HasStderr

func (o *SandboxRan) HasStderr() bool

HasStderr returns a boolean if a field has been set.

GetStdout

func (o *SandboxRan) GetStdout() string

GetStdout returns the Stdout field if non-nil, zero value otherwise.

GetStdoutOk

func (o *SandboxRan) GetStdoutOk() (*string, bool)

GetStdoutOk returns a tuple with the Stdout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStdout

func (o *SandboxRan) SetStdout(v string)

SetStdout sets Stdout field to given value.

HasStdout

func (o *SandboxRan) HasStdout() bool

HasStdout returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]