Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.FunctionRun) predicate.FunctionRun
- func CreatedAt(v time.Time) predicate.FunctionRun
- func CreatedAtEQ(v time.Time) predicate.FunctionRun
- func CreatedAtGT(v time.Time) predicate.FunctionRun
- func CreatedAtGTE(v time.Time) predicate.FunctionRun
- func CreatedAtIn(vs ...time.Time) predicate.FunctionRun
- func CreatedAtLT(v time.Time) predicate.FunctionRun
- func CreatedAtLTE(v time.Time) predicate.FunctionRun
- func CreatedAtNEQ(v time.Time) predicate.FunctionRun
- func CreatedAtNotIn(vs ...time.Time) predicate.FunctionRun
- func DurationMs(v int64) predicate.FunctionRun
- func DurationMsEQ(v int64) predicate.FunctionRun
- func DurationMsGT(v int64) predicate.FunctionRun
- func DurationMsGTE(v int64) predicate.FunctionRun
- func DurationMsIn(vs ...int64) predicate.FunctionRun
- func DurationMsLT(v int64) predicate.FunctionRun
- func DurationMsLTE(v int64) predicate.FunctionRun
- func DurationMsNEQ(v int64) predicate.FunctionRun
- func DurationMsNotIn(vs ...int64) predicate.FunctionRun
- func Error(v string) predicate.FunctionRun
- func ErrorContains(v string) predicate.FunctionRun
- func ErrorContainsFold(v string) predicate.FunctionRun
- func ErrorEQ(v string) predicate.FunctionRun
- func ErrorEqualFold(v string) predicate.FunctionRun
- func ErrorGT(v string) predicate.FunctionRun
- func ErrorGTE(v string) predicate.FunctionRun
- func ErrorHasPrefix(v string) predicate.FunctionRun
- func ErrorHasSuffix(v string) predicate.FunctionRun
- func ErrorIn(vs ...string) predicate.FunctionRun
- func ErrorLT(v string) predicate.FunctionRun
- func ErrorLTE(v string) predicate.FunctionRun
- func ErrorNEQ(v string) predicate.FunctionRun
- func ErrorNotIn(vs ...string) predicate.FunctionRun
- func ExitCode(v int) predicate.FunctionRun
- func ExitCodeEQ(v int) predicate.FunctionRun
- func ExitCodeGT(v int) predicate.FunctionRun
- func ExitCodeGTE(v int) predicate.FunctionRun
- func ExitCodeIn(vs ...int) predicate.FunctionRun
- func ExitCodeIsNil() predicate.FunctionRun
- func ExitCodeLT(v int) predicate.FunctionRun
- func ExitCodeLTE(v int) predicate.FunctionRun
- func ExitCodeNEQ(v int) predicate.FunctionRun
- func ExitCodeNotIn(vs ...int) predicate.FunctionRun
- func ExitCodeNotNil() predicate.FunctionRun
- func FunctionName(v string) predicate.FunctionRun
- func FunctionNameContains(v string) predicate.FunctionRun
- func FunctionNameContainsFold(v string) predicate.FunctionRun
- func FunctionNameEQ(v string) predicate.FunctionRun
- func FunctionNameEqualFold(v string) predicate.FunctionRun
- func FunctionNameGT(v string) predicate.FunctionRun
- func FunctionNameGTE(v string) predicate.FunctionRun
- func FunctionNameHasPrefix(v string) predicate.FunctionRun
- func FunctionNameHasSuffix(v string) predicate.FunctionRun
- func FunctionNameIn(vs ...string) predicate.FunctionRun
- func FunctionNameLT(v string) predicate.FunctionRun
- func FunctionNameLTE(v string) predicate.FunctionRun
- func FunctionNameNEQ(v string) predicate.FunctionRun
- func FunctionNameNotIn(vs ...string) predicate.FunctionRun
- func ID(id int64) predicate.FunctionRun
- func IDEQ(id int64) predicate.FunctionRun
- func IDGT(id int64) predicate.FunctionRun
- func IDGTE(id int64) predicate.FunctionRun
- func IDIn(ids ...int64) predicate.FunctionRun
- func IDLT(id int64) predicate.FunctionRun
- func IDLTE(id int64) predicate.FunctionRun
- func IDNEQ(id int64) predicate.FunctionRun
- func IDNotIn(ids ...int64) predicate.FunctionRun
- func IdempotencyKey(v string) predicate.FunctionRun
- func IdempotencyKeyContains(v string) predicate.FunctionRun
- func IdempotencyKeyContainsFold(v string) predicate.FunctionRun
- func IdempotencyKeyEQ(v string) predicate.FunctionRun
- func IdempotencyKeyEqualFold(v string) predicate.FunctionRun
- func IdempotencyKeyGT(v string) predicate.FunctionRun
- func IdempotencyKeyGTE(v string) predicate.FunctionRun
- func IdempotencyKeyHasPrefix(v string) predicate.FunctionRun
- func IdempotencyKeyHasSuffix(v string) predicate.FunctionRun
- func IdempotencyKeyIn(vs ...string) predicate.FunctionRun
- func IdempotencyKeyIsNil() predicate.FunctionRun
- func IdempotencyKeyLT(v string) predicate.FunctionRun
- func IdempotencyKeyLTE(v string) predicate.FunctionRun
- func IdempotencyKeyNEQ(v string) predicate.FunctionRun
- func IdempotencyKeyNotIn(vs ...string) predicate.FunctionRun
- func IdempotencyKeyNotNil() predicate.FunctionRun
- func Not(p predicate.FunctionRun) predicate.FunctionRun
- func Or(predicates ...predicate.FunctionRun) predicate.FunctionRun
- func ResultJSON(v string) predicate.FunctionRun
- func ResultJSONContains(v string) predicate.FunctionRun
- func ResultJSONContainsFold(v string) predicate.FunctionRun
- func ResultJSONEQ(v string) predicate.FunctionRun
- func ResultJSONEqualFold(v string) predicate.FunctionRun
- func ResultJSONGT(v string) predicate.FunctionRun
- func ResultJSONGTE(v string) predicate.FunctionRun
- func ResultJSONHasPrefix(v string) predicate.FunctionRun
- func ResultJSONHasSuffix(v string) predicate.FunctionRun
- func ResultJSONIn(vs ...string) predicate.FunctionRun
- func ResultJSONIsNil() predicate.FunctionRun
- func ResultJSONLT(v string) predicate.FunctionRun
- func ResultJSONLTE(v string) predicate.FunctionRun
- func ResultJSONNEQ(v string) predicate.FunctionRun
- func ResultJSONNotIn(vs ...string) predicate.FunctionRun
- func ResultJSONNotNil() predicate.FunctionRun
- func StatusEQ(v Status) predicate.FunctionRun
- func StatusIn(vs ...Status) predicate.FunctionRun
- func StatusNEQ(v Status) predicate.FunctionRun
- func StatusNotIn(vs ...Status) predicate.FunctionRun
- func StatusValidator(s Status) error
- func ValidColumn(column string) bool
- func Version(v int) predicate.FunctionRun
- func VersionEQ(v int) predicate.FunctionRun
- func VersionGT(v int) predicate.FunctionRun
- func VersionGTE(v int) predicate.FunctionRun
- func VersionIn(vs ...int) predicate.FunctionRun
- func VersionLT(v int) predicate.FunctionRun
- func VersionLTE(v int) predicate.FunctionRun
- func VersionNEQ(v int) predicate.FunctionRun
- func VersionNotIn(vs ...int) predicate.FunctionRun
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDurationMs(opts ...sql.OrderTermOption) OrderOption
- func ByError(opts ...sql.OrderTermOption) OrderOption
- func ByExitCode(opts ...sql.OrderTermOption) OrderOption
- func ByFunctionName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdempotencyKey(opts ...sql.OrderTermOption) OrderOption
- func ByResultJSON(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the functionrun type in the database. Label = "function_run" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldFunctionName holds the string denoting the function_name field in the database. FieldFunctionName = "function_name" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldDurationMs holds the string denoting the duration_ms field in the database. FieldDurationMs = "duration_ms" // FieldExitCode holds the string denoting the exit_code field in the database. FieldExitCode = "exit_code" // FieldError holds the string denoting the error field in the database. FieldError = "error" // FieldResultJSON holds the string denoting the result_json field in the database. FieldResultJSON = "result_json" // FieldIdempotencyKey holds the string denoting the idempotency_key field in the database. FieldIdempotencyKey = "idempotency_key" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the functionrun in the database. Table = "function_runs" )
const DefaultStatus = StatusRunning
StatusRunning is the default value of the Status enum.
Variables ¶
var ( // FunctionNameValidator is a validator for the "function_name" field. It is called by the builders before save. FunctionNameValidator func(string) error // DefaultDurationMs holds the default value on creation for the "duration_ms" field. DefaultDurationMs int64 // DefaultError holds the default value on creation for the "error" field. DefaultError string // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldFunctionName, FieldVersion, FieldStatus, FieldDurationMs, FieldExitCode, FieldError, FieldResultJSON, FieldIdempotencyKey, FieldCreatedAt, }
Columns holds all SQL columns for functionrun fields.
Functions ¶
func And ¶
func And(predicates ...predicate.FunctionRun) predicate.FunctionRun
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.FunctionRun
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.FunctionRun
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.FunctionRun
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.FunctionRun
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.FunctionRun
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.FunctionRun
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.FunctionRun
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.FunctionRun
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.FunctionRun
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DurationMs ¶
func DurationMs(v int64) predicate.FunctionRun
DurationMs applies equality check predicate on the "duration_ms" field. It's identical to DurationMsEQ.
func DurationMsEQ ¶
func DurationMsEQ(v int64) predicate.FunctionRun
DurationMsEQ applies the EQ predicate on the "duration_ms" field.
func DurationMsGT ¶
func DurationMsGT(v int64) predicate.FunctionRun
DurationMsGT applies the GT predicate on the "duration_ms" field.
func DurationMsGTE ¶
func DurationMsGTE(v int64) predicate.FunctionRun
DurationMsGTE applies the GTE predicate on the "duration_ms" field.
func DurationMsIn ¶
func DurationMsIn(vs ...int64) predicate.FunctionRun
DurationMsIn applies the In predicate on the "duration_ms" field.
func DurationMsLT ¶
func DurationMsLT(v int64) predicate.FunctionRun
DurationMsLT applies the LT predicate on the "duration_ms" field.
func DurationMsLTE ¶
func DurationMsLTE(v int64) predicate.FunctionRun
DurationMsLTE applies the LTE predicate on the "duration_ms" field.
func DurationMsNEQ ¶
func DurationMsNEQ(v int64) predicate.FunctionRun
DurationMsNEQ applies the NEQ predicate on the "duration_ms" field.
func DurationMsNotIn ¶
func DurationMsNotIn(vs ...int64) predicate.FunctionRun
DurationMsNotIn applies the NotIn predicate on the "duration_ms" field.
func Error ¶
func Error(v string) predicate.FunctionRun
Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.
func ErrorContains ¶
func ErrorContains(v string) predicate.FunctionRun
ErrorContains applies the Contains predicate on the "error" field.
func ErrorContainsFold ¶
func ErrorContainsFold(v string) predicate.FunctionRun
ErrorContainsFold applies the ContainsFold predicate on the "error" field.
func ErrorEQ ¶
func ErrorEQ(v string) predicate.FunctionRun
ErrorEQ applies the EQ predicate on the "error" field.
func ErrorEqualFold ¶
func ErrorEqualFold(v string) predicate.FunctionRun
ErrorEqualFold applies the EqualFold predicate on the "error" field.
func ErrorGT ¶
func ErrorGT(v string) predicate.FunctionRun
ErrorGT applies the GT predicate on the "error" field.
func ErrorGTE ¶
func ErrorGTE(v string) predicate.FunctionRun
ErrorGTE applies the GTE predicate on the "error" field.
func ErrorHasPrefix ¶
func ErrorHasPrefix(v string) predicate.FunctionRun
ErrorHasPrefix applies the HasPrefix predicate on the "error" field.
func ErrorHasSuffix ¶
func ErrorHasSuffix(v string) predicate.FunctionRun
ErrorHasSuffix applies the HasSuffix predicate on the "error" field.
func ErrorIn ¶
func ErrorIn(vs ...string) predicate.FunctionRun
ErrorIn applies the In predicate on the "error" field.
func ErrorLT ¶
func ErrorLT(v string) predicate.FunctionRun
ErrorLT applies the LT predicate on the "error" field.
func ErrorLTE ¶
func ErrorLTE(v string) predicate.FunctionRun
ErrorLTE applies the LTE predicate on the "error" field.
func ErrorNEQ ¶
func ErrorNEQ(v string) predicate.FunctionRun
ErrorNEQ applies the NEQ predicate on the "error" field.
func ErrorNotIn ¶
func ErrorNotIn(vs ...string) predicate.FunctionRun
ErrorNotIn applies the NotIn predicate on the "error" field.
func ExitCode ¶
func ExitCode(v int) predicate.FunctionRun
ExitCode applies equality check predicate on the "exit_code" field. It's identical to ExitCodeEQ.
func ExitCodeEQ ¶
func ExitCodeEQ(v int) predicate.FunctionRun
ExitCodeEQ applies the EQ predicate on the "exit_code" field.
func ExitCodeGT ¶
func ExitCodeGT(v int) predicate.FunctionRun
ExitCodeGT applies the GT predicate on the "exit_code" field.
func ExitCodeGTE ¶
func ExitCodeGTE(v int) predicate.FunctionRun
ExitCodeGTE applies the GTE predicate on the "exit_code" field.
func ExitCodeIn ¶
func ExitCodeIn(vs ...int) predicate.FunctionRun
ExitCodeIn applies the In predicate on the "exit_code" field.
func ExitCodeIsNil ¶
func ExitCodeIsNil() predicate.FunctionRun
ExitCodeIsNil applies the IsNil predicate on the "exit_code" field.
func ExitCodeLT ¶
func ExitCodeLT(v int) predicate.FunctionRun
ExitCodeLT applies the LT predicate on the "exit_code" field.
func ExitCodeLTE ¶
func ExitCodeLTE(v int) predicate.FunctionRun
ExitCodeLTE applies the LTE predicate on the "exit_code" field.
func ExitCodeNEQ ¶
func ExitCodeNEQ(v int) predicate.FunctionRun
ExitCodeNEQ applies the NEQ predicate on the "exit_code" field.
func ExitCodeNotIn ¶
func ExitCodeNotIn(vs ...int) predicate.FunctionRun
ExitCodeNotIn applies the NotIn predicate on the "exit_code" field.
func ExitCodeNotNil ¶
func ExitCodeNotNil() predicate.FunctionRun
ExitCodeNotNil applies the NotNil predicate on the "exit_code" field.
func FunctionName ¶
func FunctionName(v string) predicate.FunctionRun
FunctionName applies equality check predicate on the "function_name" field. It's identical to FunctionNameEQ.
func FunctionNameContains ¶
func FunctionNameContains(v string) predicate.FunctionRun
FunctionNameContains applies the Contains predicate on the "function_name" field.
func FunctionNameContainsFold ¶
func FunctionNameContainsFold(v string) predicate.FunctionRun
FunctionNameContainsFold applies the ContainsFold predicate on the "function_name" field.
func FunctionNameEQ ¶
func FunctionNameEQ(v string) predicate.FunctionRun
FunctionNameEQ applies the EQ predicate on the "function_name" field.
func FunctionNameEqualFold ¶
func FunctionNameEqualFold(v string) predicate.FunctionRun
FunctionNameEqualFold applies the EqualFold predicate on the "function_name" field.
func FunctionNameGT ¶
func FunctionNameGT(v string) predicate.FunctionRun
FunctionNameGT applies the GT predicate on the "function_name" field.
func FunctionNameGTE ¶
func FunctionNameGTE(v string) predicate.FunctionRun
FunctionNameGTE applies the GTE predicate on the "function_name" field.
func FunctionNameHasPrefix ¶
func FunctionNameHasPrefix(v string) predicate.FunctionRun
FunctionNameHasPrefix applies the HasPrefix predicate on the "function_name" field.
func FunctionNameHasSuffix ¶
func FunctionNameHasSuffix(v string) predicate.FunctionRun
FunctionNameHasSuffix applies the HasSuffix predicate on the "function_name" field.
func FunctionNameIn ¶
func FunctionNameIn(vs ...string) predicate.FunctionRun
FunctionNameIn applies the In predicate on the "function_name" field.
func FunctionNameLT ¶
func FunctionNameLT(v string) predicate.FunctionRun
FunctionNameLT applies the LT predicate on the "function_name" field.
func FunctionNameLTE ¶
func FunctionNameLTE(v string) predicate.FunctionRun
FunctionNameLTE applies the LTE predicate on the "function_name" field.
func FunctionNameNEQ ¶
func FunctionNameNEQ(v string) predicate.FunctionRun
FunctionNameNEQ applies the NEQ predicate on the "function_name" field.
func FunctionNameNotIn ¶
func FunctionNameNotIn(vs ...string) predicate.FunctionRun
FunctionNameNotIn applies the NotIn predicate on the "function_name" field.
func IDEQ ¶
func IDEQ(id int64) predicate.FunctionRun
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.FunctionRun
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.FunctionRun
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.FunctionRun
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.FunctionRun
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.FunctionRun
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.FunctionRun
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.FunctionRun
IDNotIn applies the NotIn predicate on the ID field.
func IdempotencyKey ¶
func IdempotencyKey(v string) predicate.FunctionRun
IdempotencyKey applies equality check predicate on the "idempotency_key" field. It's identical to IdempotencyKeyEQ.
func IdempotencyKeyContains ¶
func IdempotencyKeyContains(v string) predicate.FunctionRun
IdempotencyKeyContains applies the Contains predicate on the "idempotency_key" field.
func IdempotencyKeyContainsFold ¶
func IdempotencyKeyContainsFold(v string) predicate.FunctionRun
IdempotencyKeyContainsFold applies the ContainsFold predicate on the "idempotency_key" field.
func IdempotencyKeyEQ ¶
func IdempotencyKeyEQ(v string) predicate.FunctionRun
IdempotencyKeyEQ applies the EQ predicate on the "idempotency_key" field.
func IdempotencyKeyEqualFold ¶
func IdempotencyKeyEqualFold(v string) predicate.FunctionRun
IdempotencyKeyEqualFold applies the EqualFold predicate on the "idempotency_key" field.
func IdempotencyKeyGT ¶
func IdempotencyKeyGT(v string) predicate.FunctionRun
IdempotencyKeyGT applies the GT predicate on the "idempotency_key" field.
func IdempotencyKeyGTE ¶
func IdempotencyKeyGTE(v string) predicate.FunctionRun
IdempotencyKeyGTE applies the GTE predicate on the "idempotency_key" field.
func IdempotencyKeyHasPrefix ¶
func IdempotencyKeyHasPrefix(v string) predicate.FunctionRun
IdempotencyKeyHasPrefix applies the HasPrefix predicate on the "idempotency_key" field.
func IdempotencyKeyHasSuffix ¶
func IdempotencyKeyHasSuffix(v string) predicate.FunctionRun
IdempotencyKeyHasSuffix applies the HasSuffix predicate on the "idempotency_key" field.
func IdempotencyKeyIn ¶
func IdempotencyKeyIn(vs ...string) predicate.FunctionRun
IdempotencyKeyIn applies the In predicate on the "idempotency_key" field.
func IdempotencyKeyIsNil ¶
func IdempotencyKeyIsNil() predicate.FunctionRun
IdempotencyKeyIsNil applies the IsNil predicate on the "idempotency_key" field.
func IdempotencyKeyLT ¶
func IdempotencyKeyLT(v string) predicate.FunctionRun
IdempotencyKeyLT applies the LT predicate on the "idempotency_key" field.
func IdempotencyKeyLTE ¶
func IdempotencyKeyLTE(v string) predicate.FunctionRun
IdempotencyKeyLTE applies the LTE predicate on the "idempotency_key" field.
func IdempotencyKeyNEQ ¶
func IdempotencyKeyNEQ(v string) predicate.FunctionRun
IdempotencyKeyNEQ applies the NEQ predicate on the "idempotency_key" field.
func IdempotencyKeyNotIn ¶
func IdempotencyKeyNotIn(vs ...string) predicate.FunctionRun
IdempotencyKeyNotIn applies the NotIn predicate on the "idempotency_key" field.
func IdempotencyKeyNotNil ¶
func IdempotencyKeyNotNil() predicate.FunctionRun
IdempotencyKeyNotNil applies the NotNil predicate on the "idempotency_key" field.
func Not ¶
func Not(p predicate.FunctionRun) predicate.FunctionRun
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.FunctionRun) predicate.FunctionRun
Or groups predicates with the OR operator between them.
func ResultJSON ¶
func ResultJSON(v string) predicate.FunctionRun
ResultJSON applies equality check predicate on the "result_json" field. It's identical to ResultJSONEQ.
func ResultJSONContains ¶
func ResultJSONContains(v string) predicate.FunctionRun
ResultJSONContains applies the Contains predicate on the "result_json" field.
func ResultJSONContainsFold ¶
func ResultJSONContainsFold(v string) predicate.FunctionRun
ResultJSONContainsFold applies the ContainsFold predicate on the "result_json" field.
func ResultJSONEQ ¶
func ResultJSONEQ(v string) predicate.FunctionRun
ResultJSONEQ applies the EQ predicate on the "result_json" field.
func ResultJSONEqualFold ¶
func ResultJSONEqualFold(v string) predicate.FunctionRun
ResultJSONEqualFold applies the EqualFold predicate on the "result_json" field.
func ResultJSONGT ¶
func ResultJSONGT(v string) predicate.FunctionRun
ResultJSONGT applies the GT predicate on the "result_json" field.
func ResultJSONGTE ¶
func ResultJSONGTE(v string) predicate.FunctionRun
ResultJSONGTE applies the GTE predicate on the "result_json" field.
func ResultJSONHasPrefix ¶
func ResultJSONHasPrefix(v string) predicate.FunctionRun
ResultJSONHasPrefix applies the HasPrefix predicate on the "result_json" field.
func ResultJSONHasSuffix ¶
func ResultJSONHasSuffix(v string) predicate.FunctionRun
ResultJSONHasSuffix applies the HasSuffix predicate on the "result_json" field.
func ResultJSONIn ¶
func ResultJSONIn(vs ...string) predicate.FunctionRun
ResultJSONIn applies the In predicate on the "result_json" field.
func ResultJSONIsNil ¶
func ResultJSONIsNil() predicate.FunctionRun
ResultJSONIsNil applies the IsNil predicate on the "result_json" field.
func ResultJSONLT ¶
func ResultJSONLT(v string) predicate.FunctionRun
ResultJSONLT applies the LT predicate on the "result_json" field.
func ResultJSONLTE ¶
func ResultJSONLTE(v string) predicate.FunctionRun
ResultJSONLTE applies the LTE predicate on the "result_json" field.
func ResultJSONNEQ ¶
func ResultJSONNEQ(v string) predicate.FunctionRun
ResultJSONNEQ applies the NEQ predicate on the "result_json" field.
func ResultJSONNotIn ¶
func ResultJSONNotIn(vs ...string) predicate.FunctionRun
ResultJSONNotIn applies the NotIn predicate on the "result_json" field.
func ResultJSONNotNil ¶
func ResultJSONNotNil() predicate.FunctionRun
ResultJSONNotNil applies the NotNil predicate on the "result_json" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.FunctionRun
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.FunctionRun
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.FunctionRun
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.FunctionRun
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
func Version(v int) predicate.FunctionRun
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.FunctionRun
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.FunctionRun
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.FunctionRun
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.FunctionRun
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.FunctionRun
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.FunctionRun
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.FunctionRun
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.FunctionRun
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the FunctionRun queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDurationMs ¶
func ByDurationMs(opts ...sql.OrderTermOption) OrderOption
ByDurationMs orders the results by the duration_ms field.
func ByError ¶
func ByError(opts ...sql.OrderTermOption) OrderOption
ByError orders the results by the error field.
func ByExitCode ¶
func ByExitCode(opts ...sql.OrderTermOption) OrderOption
ByExitCode orders the results by the exit_code field.
func ByFunctionName ¶
func ByFunctionName(opts ...sql.OrderTermOption) OrderOption
ByFunctionName orders the results by the function_name field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdempotencyKey ¶
func ByIdempotencyKey(opts ...sql.OrderTermOption) OrderOption
ByIdempotencyKey orders the results by the idempotency_key field.
func ByResultJSON ¶
func ByResultJSON(opts ...sql.OrderTermOption) OrderOption
ByResultJSON orders the results by the result_json field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.