Documentation ¶
Index ¶
Constants ¶
View Source
const ( InvocationStatusPending = "pending" InvocationStatusRunning = "running" InvocationStatusFailed = "failed" InvocationStatusSucceeded = "succeeded" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct { ID string `db:"id"` Name string `db:"name"` Image string `db:"image"` SkipLogging bool `db:"skip_logging"` CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` Environment types.JSONText `db:"environment"` Secrets types.JSONText `db:"secrets"` }
func (Function) EnvironmentJSON ¶ added in v1.6.0
type Invocation ¶
type Invocation struct { ID string `db:"id"` Status InvocationStatus `db:"status"` FunctionName string `db:"function_name"` FunctionID sql.NullString `db:"function_id"` Image string `db:"image"` ClientName string `db:"client_name"` Input sql.NullString `db:"input"` Output sql.NullString `db:"output"` ErrorMessage sql.NullString `db:"error_message"` CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` StartedAt *time.Time `db:"started_at"` EndedAt *time.Time `db:"ended_at"` }
type InvocationStatus ¶
type InvocationStatus string
Click to show internal directories.
Click to hide internal directories.