Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Metrics) predicate.Metrics
- func ErrorCode(v string) predicate.Metrics
- func ErrorCodeContains(v string) predicate.Metrics
- func ErrorCodeContainsFold(v string) predicate.Metrics
- func ErrorCodeEQ(v string) predicate.Metrics
- func ErrorCodeEqualFold(v string) predicate.Metrics
- func ErrorCodeGT(v string) predicate.Metrics
- func ErrorCodeGTE(v string) predicate.Metrics
- func ErrorCodeHasPrefix(v string) predicate.Metrics
- func ErrorCodeHasSuffix(v string) predicate.Metrics
- func ErrorCodeIn(vs ...string) predicate.Metrics
- func ErrorCodeIsNil() predicate.Metrics
- func ErrorCodeLT(v string) predicate.Metrics
- func ErrorCodeLTE(v string) predicate.Metrics
- func ErrorCodeNEQ(v string) predicate.Metrics
- func ErrorCodeNotIn(vs ...string) predicate.Metrics
- func ErrorCodeNotNil() predicate.Metrics
- func ID(id int) predicate.Metrics
- func IDEQ(id int) predicate.Metrics
- func IDGT(id int) predicate.Metrics
- func IDGTE(id int) predicate.Metrics
- func IDIn(ids ...int) predicate.Metrics
- func IDLT(id int) predicate.Metrics
- func IDLTE(id int) predicate.Metrics
- func IDNEQ(id int) predicate.Metrics
- func IDNotIn(ids ...int) predicate.Metrics
- func Instance(v string) predicate.Metrics
- func InstanceContains(v string) predicate.Metrics
- func InstanceContainsFold(v string) predicate.Metrics
- func InstanceEQ(v string) predicate.Metrics
- func InstanceEqualFold(v string) predicate.Metrics
- func InstanceGT(v string) predicate.Metrics
- func InstanceGTE(v string) predicate.Metrics
- func InstanceHasPrefix(v string) predicate.Metrics
- func InstanceHasSuffix(v string) predicate.Metrics
- func InstanceIn(vs ...string) predicate.Metrics
- func InstanceLT(v string) predicate.Metrics
- func InstanceLTE(v string) predicate.Metrics
- func InstanceNEQ(v string) predicate.Metrics
- func InstanceNotIn(vs ...string) predicate.Metrics
- func Invoker(v string) predicate.Metrics
- func InvokerContains(v string) predicate.Metrics
- func InvokerContainsFold(v string) predicate.Metrics
- func InvokerEQ(v string) predicate.Metrics
- func InvokerEqualFold(v string) predicate.Metrics
- func InvokerGT(v string) predicate.Metrics
- func InvokerGTE(v string) predicate.Metrics
- func InvokerHasPrefix(v string) predicate.Metrics
- func InvokerHasSuffix(v string) predicate.Metrics
- func InvokerIn(vs ...string) predicate.Metrics
- func InvokerLT(v string) predicate.Metrics
- func InvokerLTE(v string) predicate.Metrics
- func InvokerNEQ(v string) predicate.Metrics
- func InvokerNotIn(vs ...string) predicate.Metrics
- func IsolateMs(v int64) predicate.Metrics
- func IsolateMsEQ(v int64) predicate.Metrics
- func IsolateMsGT(v int64) predicate.Metrics
- func IsolateMsGTE(v int64) predicate.Metrics
- func IsolateMsIn(vs ...int64) predicate.Metrics
- func IsolateMsLT(v int64) predicate.Metrics
- func IsolateMsLTE(v int64) predicate.Metrics
- func IsolateMsNEQ(v int64) predicate.Metrics
- func IsolateMsNotIn(vs ...int64) predicate.Metrics
- func Namespace(v string) predicate.Metrics
- func NamespaceContains(v string) predicate.Metrics
- func NamespaceContainsFold(v string) predicate.Metrics
- func NamespaceEQ(v string) predicate.Metrics
- func NamespaceEqualFold(v string) predicate.Metrics
- func NamespaceGT(v string) predicate.Metrics
- func NamespaceGTE(v string) predicate.Metrics
- func NamespaceHasPrefix(v string) predicate.Metrics
- func NamespaceHasSuffix(v string) predicate.Metrics
- func NamespaceIn(vs ...string) predicate.Metrics
- func NamespaceLT(v string) predicate.Metrics
- func NamespaceLTE(v string) predicate.Metrics
- func NamespaceNEQ(v string) predicate.Metrics
- func NamespaceNotIn(vs ...string) predicate.Metrics
- func Next(v int8) predicate.Metrics
- func NextEQ(v int8) predicate.Metrics
- func NextGT(v int8) predicate.Metrics
- func NextGTE(v int8) predicate.Metrics
- func NextIn(vs ...int8) predicate.Metrics
- func NextLT(v int8) predicate.Metrics
- func NextLTE(v int8) predicate.Metrics
- func NextNEQ(v int8) predicate.Metrics
- func NextNotIn(vs ...int8) predicate.Metrics
- func Not(p predicate.Metrics) predicate.Metrics
- func Or(predicates ...predicate.Metrics) predicate.Metrics
- func State(v string) predicate.Metrics
- func StateContains(v string) predicate.Metrics
- func StateContainsFold(v string) predicate.Metrics
- func StateEQ(v string) predicate.Metrics
- func StateEqualFold(v string) predicate.Metrics
- func StateGT(v string) predicate.Metrics
- func StateGTE(v string) predicate.Metrics
- func StateHasPrefix(v string) predicate.Metrics
- func StateHasSuffix(v string) predicate.Metrics
- func StateIn(vs ...string) predicate.Metrics
- func StateLT(v string) predicate.Metrics
- func StateLTE(v string) predicate.Metrics
- func StateNEQ(v string) predicate.Metrics
- func StateNotIn(vs ...string) predicate.Metrics
- func Timestamp(v time.Time) predicate.Metrics
- func TimestampEQ(v time.Time) predicate.Metrics
- func TimestampGT(v time.Time) predicate.Metrics
- func TimestampGTE(v time.Time) predicate.Metrics
- func TimestampIn(vs ...time.Time) predicate.Metrics
- func TimestampLT(v time.Time) predicate.Metrics
- func TimestampLTE(v time.Time) predicate.Metrics
- func TimestampNEQ(v time.Time) predicate.Metrics
- func TimestampNotIn(vs ...time.Time) predicate.Metrics
- func Transition(v string) predicate.Metrics
- func TransitionContains(v string) predicate.Metrics
- func TransitionContainsFold(v string) predicate.Metrics
- func TransitionEQ(v string) predicate.Metrics
- func TransitionEqualFold(v string) predicate.Metrics
- func TransitionGT(v string) predicate.Metrics
- func TransitionGTE(v string) predicate.Metrics
- func TransitionHasPrefix(v string) predicate.Metrics
- func TransitionHasSuffix(v string) predicate.Metrics
- func TransitionIn(vs ...string) predicate.Metrics
- func TransitionIsNil() predicate.Metrics
- func TransitionLT(v string) predicate.Metrics
- func TransitionLTE(v string) predicate.Metrics
- func TransitionNEQ(v string) predicate.Metrics
- func TransitionNotIn(vs ...string) predicate.Metrics
- func TransitionNotNil() predicate.Metrics
- func ValidColumn(column string) bool
- func Workflow(v string) predicate.Metrics
- func WorkflowContains(v string) predicate.Metrics
- func WorkflowContainsFold(v string) predicate.Metrics
- func WorkflowEQ(v string) predicate.Metrics
- func WorkflowEqualFold(v string) predicate.Metrics
- func WorkflowGT(v string) predicate.Metrics
- func WorkflowGTE(v string) predicate.Metrics
- func WorkflowHasPrefix(v string) predicate.Metrics
- func WorkflowHasSuffix(v string) predicate.Metrics
- func WorkflowIn(vs ...string) predicate.Metrics
- func WorkflowLT(v string) predicate.Metrics
- func WorkflowLTE(v string) predicate.Metrics
- func WorkflowMs(v int64) predicate.Metrics
- func WorkflowMsEQ(v int64) predicate.Metrics
- func WorkflowMsGT(v int64) predicate.Metrics
- func WorkflowMsGTE(v int64) predicate.Metrics
- func WorkflowMsIn(vs ...int64) predicate.Metrics
- func WorkflowMsLT(v int64) predicate.Metrics
- func WorkflowMsLTE(v int64) predicate.Metrics
- func WorkflowMsNEQ(v int64) predicate.Metrics
- func WorkflowMsNotIn(vs ...int64) predicate.Metrics
- func WorkflowNEQ(v string) predicate.Metrics
- func WorkflowNotIn(vs ...string) predicate.Metrics
Constants ¶
const ( // Label holds the string label denoting the metrics type in the database. Label = "metrics" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldWorkflow holds the string denoting the workflow field in the database. FieldWorkflow = "workflow" // FieldInstance holds the string denoting the instance field in the database. FieldInstance = "instance" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldTimestamp holds the string denoting the timestamp field in the database. FieldTimestamp = "timestamp" // FieldWorkflowMs holds the string denoting the workflow_ms field in the database. FieldWorkflowMs = "workflow_ms" // FieldIsolateMs holds the string denoting the isolate_ms field in the database. FieldIsolateMs = "isolate_ms" // FieldErrorCode holds the string denoting the error_code field in the database. FieldErrorCode = "error_code" // FieldInvoker holds the string denoting the invoker field in the database. FieldInvoker = "invoker" // FieldNext holds the string denoting the next field in the database. FieldNext = "next" // FieldTransition holds the string denoting the transition field in the database. FieldTransition = "transition" // Table holds the table name of the metrics in the database. Table = "metrics" )
Variables ¶
var ( // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // WorkflowValidator is a validator for the "workflow" field. It is called by the builders before save. WorkflowValidator func(string) error // InstanceValidator is a validator for the "instance" field. It is called by the builders before save. InstanceValidator func(string) error // StateValidator is a validator for the "state" field. It is called by the builders before save. StateValidator func(string) error // WorkflowMsValidator is a validator for the "workflow_ms" field. It is called by the builders before save. WorkflowMsValidator func(int64) error // IsolateMsValidator is a validator for the "isolate_ms" field. It is called by the builders before save. IsolateMsValidator func(int64) error // NextValidator is a validator for the "next" field. It is called by the builders before save. NextValidator func(int8) error )
var Columns = []string{ FieldID, FieldNamespace, FieldWorkflow, FieldInstance, FieldState, FieldTimestamp, FieldWorkflowMs, FieldIsolateMs, FieldErrorCode, FieldInvoker, FieldNext, FieldTransition, }
Columns holds all SQL columns for metrics fields.
Functions ¶
func ErrorCode ¶
ErrorCode applies equality check predicate on the "error_code" field. It's identical to ErrorCodeEQ.
func ErrorCodeContains ¶
ErrorCodeContains applies the Contains predicate on the "error_code" field.
func ErrorCodeContainsFold ¶
ErrorCodeContainsFold applies the ContainsFold predicate on the "error_code" field.
func ErrorCodeEQ ¶
ErrorCodeEQ applies the EQ predicate on the "error_code" field.
func ErrorCodeEqualFold ¶
ErrorCodeEqualFold applies the EqualFold predicate on the "error_code" field.
func ErrorCodeGT ¶
ErrorCodeGT applies the GT predicate on the "error_code" field.
func ErrorCodeGTE ¶
ErrorCodeGTE applies the GTE predicate on the "error_code" field.
func ErrorCodeHasPrefix ¶
ErrorCodeHasPrefix applies the HasPrefix predicate on the "error_code" field.
func ErrorCodeHasSuffix ¶
ErrorCodeHasSuffix applies the HasSuffix predicate on the "error_code" field.
func ErrorCodeIn ¶
ErrorCodeIn applies the In predicate on the "error_code" field.
func ErrorCodeIsNil ¶
ErrorCodeIsNil applies the IsNil predicate on the "error_code" field.
func ErrorCodeLT ¶
ErrorCodeLT applies the LT predicate on the "error_code" field.
func ErrorCodeLTE ¶
ErrorCodeLTE applies the LTE predicate on the "error_code" field.
func ErrorCodeNEQ ¶
ErrorCodeNEQ applies the NEQ predicate on the "error_code" field.
func ErrorCodeNotIn ¶
ErrorCodeNotIn applies the NotIn predicate on the "error_code" field.
func ErrorCodeNotNil ¶
ErrorCodeNotNil applies the NotNil predicate on the "error_code" field.
func Instance ¶
Instance applies equality check predicate on the "instance" field. It's identical to InstanceEQ.
func InstanceContains ¶
InstanceContains applies the Contains predicate on the "instance" field.
func InstanceContainsFold ¶
InstanceContainsFold applies the ContainsFold predicate on the "instance" field.
func InstanceEQ ¶
InstanceEQ applies the EQ predicate on the "instance" field.
func InstanceEqualFold ¶
InstanceEqualFold applies the EqualFold predicate on the "instance" field.
func InstanceGT ¶
InstanceGT applies the GT predicate on the "instance" field.
func InstanceGTE ¶
InstanceGTE applies the GTE predicate on the "instance" field.
func InstanceHasPrefix ¶
InstanceHasPrefix applies the HasPrefix predicate on the "instance" field.
func InstanceHasSuffix ¶
InstanceHasSuffix applies the HasSuffix predicate on the "instance" field.
func InstanceIn ¶
InstanceIn applies the In predicate on the "instance" field.
func InstanceLT ¶
InstanceLT applies the LT predicate on the "instance" field.
func InstanceLTE ¶
InstanceLTE applies the LTE predicate on the "instance" field.
func InstanceNEQ ¶
InstanceNEQ applies the NEQ predicate on the "instance" field.
func InstanceNotIn ¶
InstanceNotIn applies the NotIn predicate on the "instance" field.
func Invoker ¶
Invoker applies equality check predicate on the "invoker" field. It's identical to InvokerEQ.
func InvokerContains ¶
InvokerContains applies the Contains predicate on the "invoker" field.
func InvokerContainsFold ¶
InvokerContainsFold applies the ContainsFold predicate on the "invoker" field.
func InvokerEqualFold ¶
InvokerEqualFold applies the EqualFold predicate on the "invoker" field.
func InvokerGTE ¶
InvokerGTE applies the GTE predicate on the "invoker" field.
func InvokerHasPrefix ¶
InvokerHasPrefix applies the HasPrefix predicate on the "invoker" field.
func InvokerHasSuffix ¶
InvokerHasSuffix applies the HasSuffix predicate on the "invoker" field.
func InvokerLTE ¶
InvokerLTE applies the LTE predicate on the "invoker" field.
func InvokerNEQ ¶
InvokerNEQ applies the NEQ predicate on the "invoker" field.
func InvokerNotIn ¶
InvokerNotIn applies the NotIn predicate on the "invoker" field.
func IsolateMs ¶
IsolateMs applies equality check predicate on the "isolate_ms" field. It's identical to IsolateMsEQ.
func IsolateMsEQ ¶
IsolateMsEQ applies the EQ predicate on the "isolate_ms" field.
func IsolateMsGT ¶
IsolateMsGT applies the GT predicate on the "isolate_ms" field.
func IsolateMsGTE ¶
IsolateMsGTE applies the GTE predicate on the "isolate_ms" field.
func IsolateMsIn ¶
IsolateMsIn applies the In predicate on the "isolate_ms" field.
func IsolateMsLT ¶
IsolateMsLT applies the LT predicate on the "isolate_ms" field.
func IsolateMsLTE ¶
IsolateMsLTE applies the LTE predicate on the "isolate_ms" field.
func IsolateMsNEQ ¶
IsolateMsNEQ applies the NEQ predicate on the "isolate_ms" field.
func IsolateMsNotIn ¶
IsolateMsNotIn applies the NotIn predicate on the "isolate_ms" field.
func Namespace ¶
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateContains ¶
StateContains applies the Contains predicate on the "state" field.
func StateContainsFold ¶
StateContainsFold applies the ContainsFold predicate on the "state" field.
func StateEqualFold ¶
StateEqualFold applies the EqualFold predicate on the "state" field.
func StateHasPrefix ¶
StateHasPrefix applies the HasPrefix predicate on the "state" field.
func StateHasSuffix ¶
StateHasSuffix applies the HasSuffix predicate on the "state" field.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func Timestamp ¶
Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.
func TimestampEQ ¶
TimestampEQ applies the EQ predicate on the "timestamp" field.
func TimestampGT ¶
TimestampGT applies the GT predicate on the "timestamp" field.
func TimestampGTE ¶
TimestampGTE applies the GTE predicate on the "timestamp" field.
func TimestampIn ¶
TimestampIn applies the In predicate on the "timestamp" field.
func TimestampLT ¶
TimestampLT applies the LT predicate on the "timestamp" field.
func TimestampLTE ¶
TimestampLTE applies the LTE predicate on the "timestamp" field.
func TimestampNEQ ¶
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
func TimestampNotIn ¶
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
func Transition ¶
Transition applies equality check predicate on the "transition" field. It's identical to TransitionEQ.
func TransitionContains ¶
TransitionContains applies the Contains predicate on the "transition" field.
func TransitionContainsFold ¶
TransitionContainsFold applies the ContainsFold predicate on the "transition" field.
func TransitionEQ ¶
TransitionEQ applies the EQ predicate on the "transition" field.
func TransitionEqualFold ¶
TransitionEqualFold applies the EqualFold predicate on the "transition" field.
func TransitionGT ¶
TransitionGT applies the GT predicate on the "transition" field.
func TransitionGTE ¶
TransitionGTE applies the GTE predicate on the "transition" field.
func TransitionHasPrefix ¶
TransitionHasPrefix applies the HasPrefix predicate on the "transition" field.
func TransitionHasSuffix ¶
TransitionHasSuffix applies the HasSuffix predicate on the "transition" field.
func TransitionIn ¶
TransitionIn applies the In predicate on the "transition" field.
func TransitionIsNil ¶
TransitionIsNil applies the IsNil predicate on the "transition" field.
func TransitionLT ¶
TransitionLT applies the LT predicate on the "transition" field.
func TransitionLTE ¶
TransitionLTE applies the LTE predicate on the "transition" field.
func TransitionNEQ ¶
TransitionNEQ applies the NEQ predicate on the "transition" field.
func TransitionNotIn ¶
TransitionNotIn applies the NotIn predicate on the "transition" field.
func TransitionNotNil ¶
TransitionNotNil applies the NotNil predicate on the "transition" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Workflow ¶
Workflow applies equality check predicate on the "workflow" field. It's identical to WorkflowEQ.
func WorkflowContains ¶
WorkflowContains applies the Contains predicate on the "workflow" field.
func WorkflowContainsFold ¶
WorkflowContainsFold applies the ContainsFold predicate on the "workflow" field.
func WorkflowEQ ¶
WorkflowEQ applies the EQ predicate on the "workflow" field.
func WorkflowEqualFold ¶
WorkflowEqualFold applies the EqualFold predicate on the "workflow" field.
func WorkflowGT ¶
WorkflowGT applies the GT predicate on the "workflow" field.
func WorkflowGTE ¶
WorkflowGTE applies the GTE predicate on the "workflow" field.
func WorkflowHasPrefix ¶
WorkflowHasPrefix applies the HasPrefix predicate on the "workflow" field.
func WorkflowHasSuffix ¶
WorkflowHasSuffix applies the HasSuffix predicate on the "workflow" field.
func WorkflowIn ¶
WorkflowIn applies the In predicate on the "workflow" field.
func WorkflowLT ¶
WorkflowLT applies the LT predicate on the "workflow" field.
func WorkflowLTE ¶
WorkflowLTE applies the LTE predicate on the "workflow" field.
func WorkflowMs ¶
WorkflowMs applies equality check predicate on the "workflow_ms" field. It's identical to WorkflowMsEQ.
func WorkflowMsEQ ¶
WorkflowMsEQ applies the EQ predicate on the "workflow_ms" field.
func WorkflowMsGT ¶
WorkflowMsGT applies the GT predicate on the "workflow_ms" field.
func WorkflowMsGTE ¶
WorkflowMsGTE applies the GTE predicate on the "workflow_ms" field.
func WorkflowMsIn ¶
WorkflowMsIn applies the In predicate on the "workflow_ms" field.
func WorkflowMsLT ¶
WorkflowMsLT applies the LT predicate on the "workflow_ms" field.
func WorkflowMsLTE ¶
WorkflowMsLTE applies the LTE predicate on the "workflow_ms" field.
func WorkflowMsNEQ ¶
WorkflowMsNEQ applies the NEQ predicate on the "workflow_ms" field.
func WorkflowMsNotIn ¶
WorkflowMsNotIn applies the NotIn predicate on the "workflow_ms" field.
func WorkflowNEQ ¶
WorkflowNEQ applies the NEQ predicate on the "workflow" field.
func WorkflowNotIn ¶
WorkflowNotIn applies the NotIn predicate on the "workflow" field.
Types ¶
This section is empty.