Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LogMsg) predicate.LogMsg
- func HasInstance() predicate.LogMsg
- func HasInstanceWith(preds ...predicate.Instance) predicate.LogMsg
- func HasNamespace() predicate.LogMsg
- func HasNamespaceWith(preds ...predicate.Namespace) predicate.LogMsg
- func HasWorkflow() predicate.LogMsg
- func HasWorkflowWith(preds ...predicate.Workflow) predicate.LogMsg
- func ID(id uuid.UUID) predicate.LogMsg
- func IDEQ(id uuid.UUID) predicate.LogMsg
- func IDGT(id uuid.UUID) predicate.LogMsg
- func IDGTE(id uuid.UUID) predicate.LogMsg
- func IDIn(ids ...uuid.UUID) predicate.LogMsg
- func IDLT(id uuid.UUID) predicate.LogMsg
- func IDLTE(id uuid.UUID) predicate.LogMsg
- func IDNEQ(id uuid.UUID) predicate.LogMsg
- func IDNotIn(ids ...uuid.UUID) predicate.LogMsg
- func Msg(v string) predicate.LogMsg
- func MsgContains(v string) predicate.LogMsg
- func MsgContainsFold(v string) predicate.LogMsg
- func MsgEQ(v string) predicate.LogMsg
- func MsgEqualFold(v string) predicate.LogMsg
- func MsgGT(v string) predicate.LogMsg
- func MsgGTE(v string) predicate.LogMsg
- func MsgHasPrefix(v string) predicate.LogMsg
- func MsgHasSuffix(v string) predicate.LogMsg
- func MsgIn(vs ...string) predicate.LogMsg
- func MsgLT(v string) predicate.LogMsg
- func MsgLTE(v string) predicate.LogMsg
- func MsgNEQ(v string) predicate.LogMsg
- func MsgNotIn(vs ...string) predicate.LogMsg
- func Not(p predicate.LogMsg) predicate.LogMsg
- func Or(predicates ...predicate.LogMsg) predicate.LogMsg
- func T(v time.Time) predicate.LogMsg
- func TEQ(v time.Time) predicate.LogMsg
- func TGT(v time.Time) predicate.LogMsg
- func TGTE(v time.Time) predicate.LogMsg
- func TIn(vs ...time.Time) predicate.LogMsg
- func TLT(v time.Time) predicate.LogMsg
- func TLTE(v time.Time) predicate.LogMsg
- func TNEQ(v time.Time) predicate.LogMsg
- func TNotIn(vs ...time.Time) predicate.LogMsg
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the logmsg type in the database. Label = "log_msg" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldT holds the string denoting the t field in the database. FieldT = "t" // FieldMsg holds the string denoting the msg field in the database. FieldMsg = "msg" // EdgeNamespace holds the string denoting the namespace edge name in mutations. EdgeNamespace = "namespace" // EdgeWorkflow holds the string denoting the workflow edge name in mutations. EdgeWorkflow = "workflow" // EdgeInstance holds the string denoting the instance edge name in mutations. EdgeInstance = "instance" // Table holds the table name of the logmsg in the database. Table = "log_msgs" // NamespaceTable is the table that holds the namespace relation/edge. NamespaceTable = "log_msgs" // NamespaceInverseTable is the table name for the Namespace entity. // It exists in this package in order to avoid circular dependency with the "namespace" package. NamespaceInverseTable = "namespaces" // NamespaceColumn is the table column denoting the namespace relation/edge. NamespaceColumn = "namespace_logs" // WorkflowTable is the table that holds the workflow relation/edge. WorkflowTable = "log_msgs" // WorkflowInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowInverseTable = "workflows" // WorkflowColumn is the table column denoting the workflow relation/edge. WorkflowColumn = "workflow_logs" // InstanceTable is the table that holds the instance relation/edge. InstanceTable = "log_msgs" // InstanceInverseTable is the table name for the Instance entity. // It exists in this package in order to avoid circular dependency with the "instance" package. InstanceInverseTable = "instances" // InstanceColumn is the table column denoting the instance relation/edge. InstanceColumn = "instance_logs" )
Variables ¶
var Columns = []string{ FieldID, FieldT, FieldMsg, }
Columns holds all SQL columns for logmsg fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var ForeignKeys = []string{
"instance_logs",
"namespace_logs",
"workflow_logs",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "log_msgs" table and are not defined as standalone fields in the schema.
Functions ¶
func HasInstance ¶
HasInstance applies the HasEdge predicate on the "instance" edge.
func HasInstanceWith ¶
HasInstanceWith applies the HasEdge predicate on the "instance" edge with a given conditions (other predicates).
func HasNamespace ¶
HasNamespace applies the HasEdge predicate on the "namespace" edge.
func HasNamespaceWith ¶
HasNamespaceWith applies the HasEdge predicate on the "namespace" edge with a given conditions (other predicates).
func HasWorkflow ¶
HasWorkflow applies the HasEdge predicate on the "workflow" edge.
func HasWorkflowWith ¶
HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).
func MsgContains ¶
MsgContains applies the Contains predicate on the "msg" field.
func MsgContainsFold ¶
MsgContainsFold applies the ContainsFold predicate on the "msg" field.
func MsgEqualFold ¶
MsgEqualFold applies the EqualFold predicate on the "msg" field.
func MsgHasPrefix ¶
MsgHasPrefix applies the HasPrefix predicate on the "msg" field.
func MsgHasSuffix ¶
MsgHasSuffix applies the HasSuffix predicate on the "msg" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.