execution

package
v0.0.0-...-166cf9e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the execution type in the database.
	Label = "execution"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldFunctionID holds the string denoting the function_id field in the database.
	FieldFunctionID = "function_id"
	// FieldRequestID holds the string denoting the request_id field in the database.
	FieldRequestID = "request_id"
	// FieldVMID holds the string denoting the vm_id field in the database.
	FieldVMID = "vm_id"
	// FieldStatusCode holds the string denoting the status_code field in the database.
	FieldStatusCode = "status_code"
	// FieldRequestPayload holds the string denoting the request_payload field in the database.
	FieldRequestPayload = "request_payload"
	// FieldResponsePayload holds the string denoting the response_payload field in the database.
	FieldResponsePayload = "response_payload"
	// FieldError holds the string denoting the error field in the database.
	FieldError = "error"
	// FieldLogs holds the string denoting the logs field in the database.
	FieldLogs = "logs"
	// FieldDurationMs holds the string denoting the duration_ms field in the database.
	FieldDurationMs = "duration_ms"
	// FieldBilledDurationMs holds the string denoting the billed_duration_ms field in the database.
	FieldBilledDurationMs = "billed_duration_ms"
	// FieldMemoryUsedMB holds the string denoting the memory_used_mb field in the database.
	FieldMemoryUsedMB = "memory_used_mb"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldCompletedAt holds the string denoting the completed_at field in the database.
	FieldCompletedAt = "completed_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeTenant holds the string denoting the tenant edge name in mutations.
	EdgeTenant = "tenant"
	// EdgeFunction holds the string denoting the function edge name in mutations.
	EdgeFunction = "function"
	// Table holds the table name of the execution in the database.
	Table = "executions"
	// TenantTable is the table that holds the tenant relation/edge.
	TenantTable = "executions"
	// TenantInverseTable is the table name for the Tenant entity.
	// It exists in this package in order to avoid circular dependency with the "tenant" package.
	TenantInverseTable = "tenants"
	// TenantColumn is the table column denoting the tenant relation/edge.
	TenantColumn = "tenant_id"
	// FunctionTable is the table that holds the function relation/edge.
	FunctionTable = "executions"
	// FunctionInverseTable is the table name for the Function entity.
	// It exists in this package in order to avoid circular dependency with the "function" package.
	FunctionInverseTable = "functions"
	// FunctionColumn is the table column denoting the function relation/edge.
	FunctionColumn = "function_id"
)

Variables

View Source
var (
	// RequestIDValidator is a validator for the "request_id" field. It is called by the builders before save.
	RequestIDValidator func(string) error
	// DefaultStatusCode holds the default value on creation for the "status_code" field.
	DefaultStatusCode int
	// DefaultDurationMs holds the default value on creation for the "duration_ms" field.
	DefaultDurationMs int64
	// DefaultBilledDurationMs holds the default value on creation for the "billed_duration_ms" field.
	DefaultBilledDurationMs int64
	// DefaultMemoryUsedMB holds the default value on creation for the "memory_used_mb" field.
	DefaultMemoryUsedMB int
	// DefaultStartedAt holds the default value on creation for the "started_at" field.
	DefaultStartedAt func() time.Time
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for execution fields.

Functions

func And

func And(predicates ...predicate.Execution) predicate.Execution

And groups predicates with the AND operator between them.

func BilledDurationMs

func BilledDurationMs(v int64) predicate.Execution

BilledDurationMs applies equality check predicate on the "billed_duration_ms" field. It's identical to BilledDurationMsEQ.

func BilledDurationMsEQ

func BilledDurationMsEQ(v int64) predicate.Execution

BilledDurationMsEQ applies the EQ predicate on the "billed_duration_ms" field.

func BilledDurationMsGT

func BilledDurationMsGT(v int64) predicate.Execution

BilledDurationMsGT applies the GT predicate on the "billed_duration_ms" field.

func BilledDurationMsGTE

func BilledDurationMsGTE(v int64) predicate.Execution

BilledDurationMsGTE applies the GTE predicate on the "billed_duration_ms" field.

func BilledDurationMsIn

func BilledDurationMsIn(vs ...int64) predicate.Execution

BilledDurationMsIn applies the In predicate on the "billed_duration_ms" field.

func BilledDurationMsLT

func BilledDurationMsLT(v int64) predicate.Execution

BilledDurationMsLT applies the LT predicate on the "billed_duration_ms" field.

func BilledDurationMsLTE

func BilledDurationMsLTE(v int64) predicate.Execution

BilledDurationMsLTE applies the LTE predicate on the "billed_duration_ms" field.

func BilledDurationMsNEQ

func BilledDurationMsNEQ(v int64) predicate.Execution

BilledDurationMsNEQ applies the NEQ predicate on the "billed_duration_ms" field.

func BilledDurationMsNotIn

func BilledDurationMsNotIn(vs ...int64) predicate.Execution

BilledDurationMsNotIn applies the NotIn predicate on the "billed_duration_ms" field.

func CompletedAt

func CompletedAt(v time.Time) predicate.Execution

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.Execution

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.Execution

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.Execution

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

func CompletedAtIn(vs ...time.Time) predicate.Execution

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.Execution

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.Execution

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.Execution

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.Execution

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

func CompletedAtNotIn(vs ...time.Time) predicate.Execution

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.Execution

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Execution

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Execution

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Execution

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Execution

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Execution

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Execution

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Execution

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Execution

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Execution

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DurationMs

func DurationMs(v int64) predicate.Execution

DurationMs applies equality check predicate on the "duration_ms" field. It's identical to DurationMsEQ.

func DurationMsEQ

func DurationMsEQ(v int64) predicate.Execution

DurationMsEQ applies the EQ predicate on the "duration_ms" field.

func DurationMsGT

func DurationMsGT(v int64) predicate.Execution

DurationMsGT applies the GT predicate on the "duration_ms" field.

func DurationMsGTE

func DurationMsGTE(v int64) predicate.Execution

DurationMsGTE applies the GTE predicate on the "duration_ms" field.

func DurationMsIn

func DurationMsIn(vs ...int64) predicate.Execution

DurationMsIn applies the In predicate on the "duration_ms" field.

func DurationMsLT

func DurationMsLT(v int64) predicate.Execution

DurationMsLT applies the LT predicate on the "duration_ms" field.

func DurationMsLTE

func DurationMsLTE(v int64) predicate.Execution

DurationMsLTE applies the LTE predicate on the "duration_ms" field.

func DurationMsNEQ

func DurationMsNEQ(v int64) predicate.Execution

DurationMsNEQ applies the NEQ predicate on the "duration_ms" field.

func DurationMsNotIn

func DurationMsNotIn(vs ...int64) predicate.Execution

DurationMsNotIn applies the NotIn predicate on the "duration_ms" field.

func Error

func Error(v string) predicate.Execution

Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.

func ErrorContains

func ErrorContains(v string) predicate.Execution

ErrorContains applies the Contains predicate on the "error" field.

func ErrorContainsFold

func ErrorContainsFold(v string) predicate.Execution

ErrorContainsFold applies the ContainsFold predicate on the "error" field.

func ErrorEQ

func ErrorEQ(v string) predicate.Execution

ErrorEQ applies the EQ predicate on the "error" field.

func ErrorEqualFold

func ErrorEqualFold(v string) predicate.Execution

ErrorEqualFold applies the EqualFold predicate on the "error" field.

func ErrorGT

func ErrorGT(v string) predicate.Execution

ErrorGT applies the GT predicate on the "error" field.

func ErrorGTE

func ErrorGTE(v string) predicate.Execution

ErrorGTE applies the GTE predicate on the "error" field.

func ErrorHasPrefix

func ErrorHasPrefix(v string) predicate.Execution

ErrorHasPrefix applies the HasPrefix predicate on the "error" field.

func ErrorHasSuffix

func ErrorHasSuffix(v string) predicate.Execution

ErrorHasSuffix applies the HasSuffix predicate on the "error" field.

func ErrorIn

func ErrorIn(vs ...string) predicate.Execution

ErrorIn applies the In predicate on the "error" field.

func ErrorIsNil

func ErrorIsNil() predicate.Execution

ErrorIsNil applies the IsNil predicate on the "error" field.

func ErrorLT

func ErrorLT(v string) predicate.Execution

ErrorLT applies the LT predicate on the "error" field.

func ErrorLTE

func ErrorLTE(v string) predicate.Execution

ErrorLTE applies the LTE predicate on the "error" field.

func ErrorNEQ

func ErrorNEQ(v string) predicate.Execution

ErrorNEQ applies the NEQ predicate on the "error" field.

func ErrorNotIn

func ErrorNotIn(vs ...string) predicate.Execution

ErrorNotIn applies the NotIn predicate on the "error" field.

func ErrorNotNil

func ErrorNotNil() predicate.Execution

ErrorNotNil applies the NotNil predicate on the "error" field.

func FunctionID

func FunctionID(v uuid.UUID) predicate.Execution

FunctionID applies equality check predicate on the "function_id" field. It's identical to FunctionIDEQ.

func FunctionIDEQ

func FunctionIDEQ(v uuid.UUID) predicate.Execution

FunctionIDEQ applies the EQ predicate on the "function_id" field.

func FunctionIDIn

func FunctionIDIn(vs ...uuid.UUID) predicate.Execution

FunctionIDIn applies the In predicate on the "function_id" field.

func FunctionIDNEQ

func FunctionIDNEQ(v uuid.UUID) predicate.Execution

FunctionIDNEQ applies the NEQ predicate on the "function_id" field.

func FunctionIDNotIn

func FunctionIDNotIn(vs ...uuid.UUID) predicate.Execution

FunctionIDNotIn applies the NotIn predicate on the "function_id" field.

func HasFunction

func HasFunction() predicate.Execution

HasFunction applies the HasEdge predicate on the "function" edge.

func HasFunctionWith

func HasFunctionWith(preds ...predicate.Function) predicate.Execution

HasFunctionWith applies the HasEdge predicate on the "function" edge with a given conditions (other predicates).

func HasTenant

func HasTenant() predicate.Execution

HasTenant applies the HasEdge predicate on the "tenant" edge.

func HasTenantWith

func HasTenantWith(preds ...predicate.Tenant) predicate.Execution

HasTenantWith applies the HasEdge predicate on the "tenant" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Execution

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Execution

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Execution

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Execution

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Execution

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Execution

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Execution

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Execution

IDNotIn applies the NotIn predicate on the ID field.

func LogsIsNil

func LogsIsNil() predicate.Execution

LogsIsNil applies the IsNil predicate on the "logs" field.

func LogsNotNil

func LogsNotNil() predicate.Execution

LogsNotNil applies the NotNil predicate on the "logs" field.

func MemoryUsedMB

func MemoryUsedMB(v int) predicate.Execution

MemoryUsedMB applies equality check predicate on the "memory_used_mb" field. It's identical to MemoryUsedMBEQ.

func MemoryUsedMBEQ

func MemoryUsedMBEQ(v int) predicate.Execution

MemoryUsedMBEQ applies the EQ predicate on the "memory_used_mb" field.

func MemoryUsedMBGT

func MemoryUsedMBGT(v int) predicate.Execution

MemoryUsedMBGT applies the GT predicate on the "memory_used_mb" field.

func MemoryUsedMBGTE

func MemoryUsedMBGTE(v int) predicate.Execution

MemoryUsedMBGTE applies the GTE predicate on the "memory_used_mb" field.

func MemoryUsedMBIn

func MemoryUsedMBIn(vs ...int) predicate.Execution

MemoryUsedMBIn applies the In predicate on the "memory_used_mb" field.

func MemoryUsedMBLT

func MemoryUsedMBLT(v int) predicate.Execution

MemoryUsedMBLT applies the LT predicate on the "memory_used_mb" field.

func MemoryUsedMBLTE

func MemoryUsedMBLTE(v int) predicate.Execution

MemoryUsedMBLTE applies the LTE predicate on the "memory_used_mb" field.

func MemoryUsedMBNEQ

func MemoryUsedMBNEQ(v int) predicate.Execution

MemoryUsedMBNEQ applies the NEQ predicate on the "memory_used_mb" field.

func MemoryUsedMBNotIn

func MemoryUsedMBNotIn(vs ...int) predicate.Execution

MemoryUsedMBNotIn applies the NotIn predicate on the "memory_used_mb" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Execution) predicate.Execution

Or groups predicates with the OR operator between them.

func RequestID

func RequestID(v string) predicate.Execution

RequestID applies equality check predicate on the "request_id" field. It's identical to RequestIDEQ.

func RequestIDContains

func RequestIDContains(v string) predicate.Execution

RequestIDContains applies the Contains predicate on the "request_id" field.

func RequestIDContainsFold

func RequestIDContainsFold(v string) predicate.Execution

RequestIDContainsFold applies the ContainsFold predicate on the "request_id" field.

func RequestIDEQ

func RequestIDEQ(v string) predicate.Execution

RequestIDEQ applies the EQ predicate on the "request_id" field.

func RequestIDEqualFold

func RequestIDEqualFold(v string) predicate.Execution

RequestIDEqualFold applies the EqualFold predicate on the "request_id" field.

func RequestIDGT

func RequestIDGT(v string) predicate.Execution

RequestIDGT applies the GT predicate on the "request_id" field.

func RequestIDGTE

func RequestIDGTE(v string) predicate.Execution

RequestIDGTE applies the GTE predicate on the "request_id" field.

func RequestIDHasPrefix

func RequestIDHasPrefix(v string) predicate.Execution

RequestIDHasPrefix applies the HasPrefix predicate on the "request_id" field.

func RequestIDHasSuffix

func RequestIDHasSuffix(v string) predicate.Execution

RequestIDHasSuffix applies the HasSuffix predicate on the "request_id" field.

func RequestIDIn

func RequestIDIn(vs ...string) predicate.Execution

RequestIDIn applies the In predicate on the "request_id" field.

func RequestIDLT

func RequestIDLT(v string) predicate.Execution

RequestIDLT applies the LT predicate on the "request_id" field.

func RequestIDLTE

func RequestIDLTE(v string) predicate.Execution

RequestIDLTE applies the LTE predicate on the "request_id" field.

func RequestIDNEQ

func RequestIDNEQ(v string) predicate.Execution

RequestIDNEQ applies the NEQ predicate on the "request_id" field.

func RequestIDNotIn

func RequestIDNotIn(vs ...string) predicate.Execution

RequestIDNotIn applies the NotIn predicate on the "request_id" field.

func RequestPayloadIsNil

func RequestPayloadIsNil() predicate.Execution

RequestPayloadIsNil applies the IsNil predicate on the "request_payload" field.

func RequestPayloadNotNil

func RequestPayloadNotNil() predicate.Execution

RequestPayloadNotNil applies the NotNil predicate on the "request_payload" field.

func ResponsePayloadIsNil

func ResponsePayloadIsNil() predicate.Execution

ResponsePayloadIsNil applies the IsNil predicate on the "response_payload" field.

func ResponsePayloadNotNil

func ResponsePayloadNotNil() predicate.Execution

ResponsePayloadNotNil applies the NotNil predicate on the "response_payload" field.

func StartedAt

func StartedAt(v time.Time) predicate.Execution

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.Execution

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.Execution

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.Execution

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.Execution

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.Execution

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.Execution

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.Execution

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.Execution

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StatusCode

func StatusCode(v int) predicate.Execution

StatusCode applies equality check predicate on the "status_code" field. It's identical to StatusCodeEQ.

func StatusCodeEQ

func StatusCodeEQ(v int) predicate.Execution

StatusCodeEQ applies the EQ predicate on the "status_code" field.

func StatusCodeGT

func StatusCodeGT(v int) predicate.Execution

StatusCodeGT applies the GT predicate on the "status_code" field.

func StatusCodeGTE

func StatusCodeGTE(v int) predicate.Execution

StatusCodeGTE applies the GTE predicate on the "status_code" field.

func StatusCodeIn

func StatusCodeIn(vs ...int) predicate.Execution

StatusCodeIn applies the In predicate on the "status_code" field.

func StatusCodeLT

func StatusCodeLT(v int) predicate.Execution

StatusCodeLT applies the LT predicate on the "status_code" field.

func StatusCodeLTE

func StatusCodeLTE(v int) predicate.Execution

StatusCodeLTE applies the LTE predicate on the "status_code" field.

func StatusCodeNEQ

func StatusCodeNEQ(v int) predicate.Execution

StatusCodeNEQ applies the NEQ predicate on the "status_code" field.

func StatusCodeNotIn

func StatusCodeNotIn(vs ...int) predicate.Execution

StatusCodeNotIn applies the NotIn predicate on the "status_code" field.

func TenantID

func TenantID(v uuid.UUID) predicate.Execution

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDEQ

func TenantIDEQ(v uuid.UUID) predicate.Execution

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...uuid.UUID) predicate.Execution

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v uuid.UUID) predicate.Execution

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...uuid.UUID) predicate.Execution

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func VMID

func VMID(v string) predicate.Execution

VMID applies equality check predicate on the "vm_id" field. It's identical to VMIDEQ.

func VMIDContains

func VMIDContains(v string) predicate.Execution

VMIDContains applies the Contains predicate on the "vm_id" field.

func VMIDContainsFold

func VMIDContainsFold(v string) predicate.Execution

VMIDContainsFold applies the ContainsFold predicate on the "vm_id" field.

func VMIDEQ

func VMIDEQ(v string) predicate.Execution

VMIDEQ applies the EQ predicate on the "vm_id" field.

func VMIDEqualFold

func VMIDEqualFold(v string) predicate.Execution

VMIDEqualFold applies the EqualFold predicate on the "vm_id" field.

func VMIDGT

func VMIDGT(v string) predicate.Execution

VMIDGT applies the GT predicate on the "vm_id" field.

func VMIDGTE

func VMIDGTE(v string) predicate.Execution

VMIDGTE applies the GTE predicate on the "vm_id" field.

func VMIDHasPrefix

func VMIDHasPrefix(v string) predicate.Execution

VMIDHasPrefix applies the HasPrefix predicate on the "vm_id" field.

func VMIDHasSuffix

func VMIDHasSuffix(v string) predicate.Execution

VMIDHasSuffix applies the HasSuffix predicate on the "vm_id" field.

func VMIDIn

func VMIDIn(vs ...string) predicate.Execution

VMIDIn applies the In predicate on the "vm_id" field.

func VMIDIsNil

func VMIDIsNil() predicate.Execution

VMIDIsNil applies the IsNil predicate on the "vm_id" field.

func VMIDLT

func VMIDLT(v string) predicate.Execution

VMIDLT applies the LT predicate on the "vm_id" field.

func VMIDLTE

func VMIDLTE(v string) predicate.Execution

VMIDLTE applies the LTE predicate on the "vm_id" field.

func VMIDNEQ

func VMIDNEQ(v string) predicate.Execution

VMIDNEQ applies the NEQ predicate on the "vm_id" field.

func VMIDNotIn

func VMIDNotIn(vs ...string) predicate.Execution

VMIDNotIn applies the NotIn predicate on the "vm_id" field.

func VMIDNotNil

func VMIDNotNil() predicate.Execution

VMIDNotNil applies the NotNil predicate on the "vm_id" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Execution queries.

func ByBilledDurationMs

func ByBilledDurationMs(opts ...sql.OrderTermOption) OrderOption

ByBilledDurationMs orders the results by the billed_duration_ms field.

func ByCompletedAt

func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption

ByCompletedAt orders the results by the completed_at field.

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 ByFunctionField

func ByFunctionField(field string, opts ...sql.OrderTermOption) OrderOption

ByFunctionField orders the results by function field.

func ByFunctionID

func ByFunctionID(opts ...sql.OrderTermOption) OrderOption

ByFunctionID orders the results by the function_id field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMemoryUsedMB

func ByMemoryUsedMB(opts ...sql.OrderTermOption) OrderOption

ByMemoryUsedMB orders the results by the memory_used_mb field.

func ByRequestID

func ByRequestID(opts ...sql.OrderTermOption) OrderOption

ByRequestID orders the results by the request_id field.

func ByStartedAt

func ByStartedAt(opts ...sql.OrderTermOption) OrderOption

ByStartedAt orders the results by the started_at field.

func ByStatusCode

func ByStatusCode(opts ...sql.OrderTermOption) OrderOption

ByStatusCode orders the results by the status_code field.

func ByTenantField

func ByTenantField(field string, opts ...sql.OrderTermOption) OrderOption

ByTenantField orders the results by tenant field.

func ByTenantID

func ByTenantID(opts ...sql.OrderTermOption) OrderOption

ByTenantID orders the results by the tenant_id field.

func ByVMID

func ByVMID(opts ...sql.OrderTermOption) OrderOption

ByVMID orders the results by the vm_id field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL