logmsg

package
Version: v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var Columns = []string{
	FieldID,
	FieldT,
	FieldMsg,
}

Columns holds all SQL columns for logmsg fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)
View Source
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 And

func And(predicates ...predicate.LogMsg) predicate.LogMsg

And groups predicates with the AND operator between them.

func HasInstance

func HasInstance() predicate.LogMsg

HasInstance applies the HasEdge predicate on the "instance" edge.

func HasInstanceWith

func HasInstanceWith(preds ...predicate.Instance) predicate.LogMsg

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

func HasNamespace

func HasNamespace() predicate.LogMsg

HasNamespace applies the HasEdge predicate on the "namespace" edge.

func HasNamespaceWith

func HasNamespaceWith(preds ...predicate.Namespace) predicate.LogMsg

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

func HasWorkflow

func HasWorkflow() predicate.LogMsg

HasWorkflow applies the HasEdge predicate on the "workflow" edge.

func HasWorkflowWith

func HasWorkflowWith(preds ...predicate.Workflow) predicate.LogMsg

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

func ID

func ID(id uuid.UUID) predicate.LogMsg

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.LogMsg

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.LogMsg

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.LogMsg

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.LogMsg

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.LogMsg

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.LogMsg

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Msg

func Msg(v string) predicate.LogMsg

Msg applies equality check predicate on the "msg" field. It's identical to MsgEQ.

func MsgContains

func MsgContains(v string) predicate.LogMsg

MsgContains applies the Contains predicate on the "msg" field.

func MsgContainsFold

func MsgContainsFold(v string) predicate.LogMsg

MsgContainsFold applies the ContainsFold predicate on the "msg" field.

func MsgEQ

func MsgEQ(v string) predicate.LogMsg

MsgEQ applies the EQ predicate on the "msg" field.

func MsgEqualFold

func MsgEqualFold(v string) predicate.LogMsg

MsgEqualFold applies the EqualFold predicate on the "msg" field.

func MsgGT

func MsgGT(v string) predicate.LogMsg

MsgGT applies the GT predicate on the "msg" field.

func MsgGTE

func MsgGTE(v string) predicate.LogMsg

MsgGTE applies the GTE predicate on the "msg" field.

func MsgHasPrefix

func MsgHasPrefix(v string) predicate.LogMsg

MsgHasPrefix applies the HasPrefix predicate on the "msg" field.

func MsgHasSuffix

func MsgHasSuffix(v string) predicate.LogMsg

MsgHasSuffix applies the HasSuffix predicate on the "msg" field.

func MsgIn

func MsgIn(vs ...string) predicate.LogMsg

MsgIn applies the In predicate on the "msg" field.

func MsgLT

func MsgLT(v string) predicate.LogMsg

MsgLT applies the LT predicate on the "msg" field.

func MsgLTE

func MsgLTE(v string) predicate.LogMsg

MsgLTE applies the LTE predicate on the "msg" field.

func MsgNEQ

func MsgNEQ(v string) predicate.LogMsg

MsgNEQ applies the NEQ predicate on the "msg" field.

func MsgNotIn

func MsgNotIn(vs ...string) predicate.LogMsg

MsgNotIn applies the NotIn predicate on the "msg" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.LogMsg) predicate.LogMsg

Or groups predicates with the OR operator between them.

func T

T applies equality check predicate on the "t" field. It's identical to TEQ.

func TEQ

func TEQ(v time.Time) predicate.LogMsg

TEQ applies the EQ predicate on the "t" field.

func TGT

func TGT(v time.Time) predicate.LogMsg

TGT applies the GT predicate on the "t" field.

func TGTE

func TGTE(v time.Time) predicate.LogMsg

TGTE applies the GTE predicate on the "t" field.

func TIn

func TIn(vs ...time.Time) predicate.LogMsg

TIn applies the In predicate on the "t" field.

func TLT

func TLT(v time.Time) predicate.LogMsg

TLT applies the LT predicate on the "t" field.

func TLTE

func TLTE(v time.Time) predicate.LogMsg

TLTE applies the LTE predicate on the "t" field.

func TNEQ

func TNEQ(v time.Time) predicate.LogMsg

TNEQ applies the NEQ predicate on the "t" field.

func TNotIn

func TNotIn(vs ...time.Time) predicate.LogMsg

TNotIn applies the NotIn predicate on the "t" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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