syslogging

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the syslogging type in the database.
	Label = "sys_logging"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldIsDel holds the string denoting the is_del field in the database.
	FieldIsDel = "is_del"
	// FieldMemo holds the string denoting the memo field in the database.
	FieldMemo = "memo"
	// FieldLevel holds the string denoting the level field in the database.
	FieldLevel = "level"
	// FieldTraceID holds the string denoting the trace_id field in the database.
	FieldTraceID = "trace_id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldTag holds the string denoting the tag field in the database.
	FieldTag = "tag"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldMessage holds the string denoting the message field in the database.
	FieldMessage = "message"
	// FieldData holds the string denoting the data field in the database.
	FieldData = "data"
	// FieldErrorStack holds the string denoting the error_stack field in the database.
	FieldErrorStack = "error_stack"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "crtd_at"
	// Table holds the table name of the syslogging in the database.
	Table = "sys_logging"
)

Variables

View Source
var (
	// DefaultIsDel holds the default value on creation for the "is_del" field.
	DefaultIsDel bool
	// DefaultMemo holds the default value on creation for the "memo" field.
	DefaultMemo string
	// MemoValidator is a validator for the "memo" field. It is called by the builders before save.
	MemoValidator func(string) error
	// LevelValidator is a validator for the "level" field. It is called by the builders before save.
	LevelValidator func(string) error
	// TraceIDValidator is a validator for the "trace_id" field. It is called by the builders before save.
	TraceIDValidator func(string) error
	// UserIDValidator is a validator for the "user_id" field. It is called by the builders before save.
	UserIDValidator func(string) error
	// TagValidator is a validator for the "tag" field. It is called by the builders before save.
	TagValidator func(string) error
	// VersionValidator is a validator for the "version" field. It is called by the builders before save.
	VersionValidator func(string) error
	// 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() string
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for syslogging fields.

Functions

func And

func And(predicates ...predicate.SysLogging) predicate.SysLogging

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.SysLogging

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SysLogging

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SysLogging

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SysLogging

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SysLogging

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SysLogging

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SysLogging

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

func CreatedAtNotIn

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

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

func Data

func Data(v string) predicate.SysLogging

Data applies equality check predicate on the "data" field. It's identical to DataEQ.

func DataContains

func DataContains(v string) predicate.SysLogging

DataContains applies the Contains predicate on the "data" field.

func DataContainsFold

func DataContainsFold(v string) predicate.SysLogging

DataContainsFold applies the ContainsFold predicate on the "data" field.

func DataEQ

func DataEQ(v string) predicate.SysLogging

DataEQ applies the EQ predicate on the "data" field.

func DataEqualFold

func DataEqualFold(v string) predicate.SysLogging

DataEqualFold applies the EqualFold predicate on the "data" field.

func DataGT

func DataGT(v string) predicate.SysLogging

DataGT applies the GT predicate on the "data" field.

func DataGTE

func DataGTE(v string) predicate.SysLogging

DataGTE applies the GTE predicate on the "data" field.

func DataHasPrefix

func DataHasPrefix(v string) predicate.SysLogging

DataHasPrefix applies the HasPrefix predicate on the "data" field.

func DataHasSuffix

func DataHasSuffix(v string) predicate.SysLogging

DataHasSuffix applies the HasSuffix predicate on the "data" field.

func DataIn

func DataIn(vs ...string) predicate.SysLogging

DataIn applies the In predicate on the "data" field.

func DataIsNil

func DataIsNil() predicate.SysLogging

DataIsNil applies the IsNil predicate on the "data" field.

func DataLT

func DataLT(v string) predicate.SysLogging

DataLT applies the LT predicate on the "data" field.

func DataLTE

func DataLTE(v string) predicate.SysLogging

DataLTE applies the LTE predicate on the "data" field.

func DataNEQ

func DataNEQ(v string) predicate.SysLogging

DataNEQ applies the NEQ predicate on the "data" field.

func DataNotIn

func DataNotIn(vs ...string) predicate.SysLogging

DataNotIn applies the NotIn predicate on the "data" field.

func DataNotNil

func DataNotNil() predicate.SysLogging

DataNotNil applies the NotNil predicate on the "data" field.

func ErrorStack

func ErrorStack(v string) predicate.SysLogging

ErrorStack applies equality check predicate on the "error_stack" field. It's identical to ErrorStackEQ.

func ErrorStackContains

func ErrorStackContains(v string) predicate.SysLogging

ErrorStackContains applies the Contains predicate on the "error_stack" field.

func ErrorStackContainsFold

func ErrorStackContainsFold(v string) predicate.SysLogging

ErrorStackContainsFold applies the ContainsFold predicate on the "error_stack" field.

func ErrorStackEQ

func ErrorStackEQ(v string) predicate.SysLogging

ErrorStackEQ applies the EQ predicate on the "error_stack" field.

func ErrorStackEqualFold

func ErrorStackEqualFold(v string) predicate.SysLogging

ErrorStackEqualFold applies the EqualFold predicate on the "error_stack" field.

func ErrorStackGT

func ErrorStackGT(v string) predicate.SysLogging

ErrorStackGT applies the GT predicate on the "error_stack" field.

func ErrorStackGTE

func ErrorStackGTE(v string) predicate.SysLogging

ErrorStackGTE applies the GTE predicate on the "error_stack" field.

func ErrorStackHasPrefix

func ErrorStackHasPrefix(v string) predicate.SysLogging

ErrorStackHasPrefix applies the HasPrefix predicate on the "error_stack" field.

func ErrorStackHasSuffix

func ErrorStackHasSuffix(v string) predicate.SysLogging

ErrorStackHasSuffix applies the HasSuffix predicate on the "error_stack" field.

func ErrorStackIn

func ErrorStackIn(vs ...string) predicate.SysLogging

ErrorStackIn applies the In predicate on the "error_stack" field.

func ErrorStackLT

func ErrorStackLT(v string) predicate.SysLogging

ErrorStackLT applies the LT predicate on the "error_stack" field.

func ErrorStackLTE

func ErrorStackLTE(v string) predicate.SysLogging

ErrorStackLTE applies the LTE predicate on the "error_stack" field.

func ErrorStackNEQ

func ErrorStackNEQ(v string) predicate.SysLogging

ErrorStackNEQ applies the NEQ predicate on the "error_stack" field.

func ErrorStackNotIn

func ErrorStackNotIn(vs ...string) predicate.SysLogging

ErrorStackNotIn applies the NotIn predicate on the "error_stack" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.SysLogging

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.SysLogging

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.SysLogging

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.SysLogging

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.SysLogging

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.SysLogging

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.SysLogging

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.SysLogging

IDNotIn applies the NotIn predicate on the ID field.

func IsDel

func IsDel(v bool) predicate.SysLogging

IsDel applies equality check predicate on the "is_del" field. It's identical to IsDelEQ.

func IsDelEQ

func IsDelEQ(v bool) predicate.SysLogging

IsDelEQ applies the EQ predicate on the "is_del" field.

func IsDelNEQ

func IsDelNEQ(v bool) predicate.SysLogging

IsDelNEQ applies the NEQ predicate on the "is_del" field.

func Level

func Level(v string) predicate.SysLogging

Level applies equality check predicate on the "level" field. It's identical to LevelEQ.

func LevelContains

func LevelContains(v string) predicate.SysLogging

LevelContains applies the Contains predicate on the "level" field.

func LevelContainsFold

func LevelContainsFold(v string) predicate.SysLogging

LevelContainsFold applies the ContainsFold predicate on the "level" field.

func LevelEQ

func LevelEQ(v string) predicate.SysLogging

LevelEQ applies the EQ predicate on the "level" field.

func LevelEqualFold

func LevelEqualFold(v string) predicate.SysLogging

LevelEqualFold applies the EqualFold predicate on the "level" field.

func LevelGT

func LevelGT(v string) predicate.SysLogging

LevelGT applies the GT predicate on the "level" field.

func LevelGTE

func LevelGTE(v string) predicate.SysLogging

LevelGTE applies the GTE predicate on the "level" field.

func LevelHasPrefix

func LevelHasPrefix(v string) predicate.SysLogging

LevelHasPrefix applies the HasPrefix predicate on the "level" field.

func LevelHasSuffix

func LevelHasSuffix(v string) predicate.SysLogging

LevelHasSuffix applies the HasSuffix predicate on the "level" field.

func LevelIn

func LevelIn(vs ...string) predicate.SysLogging

LevelIn applies the In predicate on the "level" field.

func LevelLT

func LevelLT(v string) predicate.SysLogging

LevelLT applies the LT predicate on the "level" field.

func LevelLTE

func LevelLTE(v string) predicate.SysLogging

LevelLTE applies the LTE predicate on the "level" field.

func LevelNEQ

func LevelNEQ(v string) predicate.SysLogging

LevelNEQ applies the NEQ predicate on the "level" field.

func LevelNotIn

func LevelNotIn(vs ...string) predicate.SysLogging

LevelNotIn applies the NotIn predicate on the "level" field.

func Memo

func Memo(v string) predicate.SysLogging

Memo applies equality check predicate on the "memo" field. It's identical to MemoEQ.

func MemoContains

func MemoContains(v string) predicate.SysLogging

MemoContains applies the Contains predicate on the "memo" field.

func MemoContainsFold

func MemoContainsFold(v string) predicate.SysLogging

MemoContainsFold applies the ContainsFold predicate on the "memo" field.

func MemoEQ

func MemoEQ(v string) predicate.SysLogging

MemoEQ applies the EQ predicate on the "memo" field.

func MemoEqualFold

func MemoEqualFold(v string) predicate.SysLogging

MemoEqualFold applies the EqualFold predicate on the "memo" field.

func MemoGT

func MemoGT(v string) predicate.SysLogging

MemoGT applies the GT predicate on the "memo" field.

func MemoGTE

func MemoGTE(v string) predicate.SysLogging

MemoGTE applies the GTE predicate on the "memo" field.

func MemoHasPrefix

func MemoHasPrefix(v string) predicate.SysLogging

MemoHasPrefix applies the HasPrefix predicate on the "memo" field.

func MemoHasSuffix

func MemoHasSuffix(v string) predicate.SysLogging

MemoHasSuffix applies the HasSuffix predicate on the "memo" field.

func MemoIn

func MemoIn(vs ...string) predicate.SysLogging

MemoIn applies the In predicate on the "memo" field.

func MemoLT

func MemoLT(v string) predicate.SysLogging

MemoLT applies the LT predicate on the "memo" field.

func MemoLTE

func MemoLTE(v string) predicate.SysLogging

MemoLTE applies the LTE predicate on the "memo" field.

func MemoNEQ

func MemoNEQ(v string) predicate.SysLogging

MemoNEQ applies the NEQ predicate on the "memo" field.

func MemoNotIn

func MemoNotIn(vs ...string) predicate.SysLogging

MemoNotIn applies the NotIn predicate on the "memo" field.

func Message

func Message(v string) predicate.SysLogging

Message applies equality check predicate on the "message" field. It's identical to MessageEQ.

func MessageContains

func MessageContains(v string) predicate.SysLogging

MessageContains applies the Contains predicate on the "message" field.

func MessageContainsFold

func MessageContainsFold(v string) predicate.SysLogging

MessageContainsFold applies the ContainsFold predicate on the "message" field.

func MessageEQ

func MessageEQ(v string) predicate.SysLogging

MessageEQ applies the EQ predicate on the "message" field.

func MessageEqualFold

func MessageEqualFold(v string) predicate.SysLogging

MessageEqualFold applies the EqualFold predicate on the "message" field.

func MessageGT

func MessageGT(v string) predicate.SysLogging

MessageGT applies the GT predicate on the "message" field.

func MessageGTE

func MessageGTE(v string) predicate.SysLogging

MessageGTE applies the GTE predicate on the "message" field.

func MessageHasPrefix

func MessageHasPrefix(v string) predicate.SysLogging

MessageHasPrefix applies the HasPrefix predicate on the "message" field.

func MessageHasSuffix

func MessageHasSuffix(v string) predicate.SysLogging

MessageHasSuffix applies the HasSuffix predicate on the "message" field.

func MessageIn

func MessageIn(vs ...string) predicate.SysLogging

MessageIn applies the In predicate on the "message" field.

func MessageLT

func MessageLT(v string) predicate.SysLogging

MessageLT applies the LT predicate on the "message" field.

func MessageLTE

func MessageLTE(v string) predicate.SysLogging

MessageLTE applies the LTE predicate on the "message" field.

func MessageNEQ

func MessageNEQ(v string) predicate.SysLogging

MessageNEQ applies the NEQ predicate on the "message" field.

func MessageNotIn

func MessageNotIn(vs ...string) predicate.SysLogging

MessageNotIn applies the NotIn predicate on the "message" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.SysLogging) predicate.SysLogging

Or groups predicates with the OR operator between them.

func Tag

Tag applies equality check predicate on the "tag" field. It's identical to TagEQ.

func TagContains

func TagContains(v string) predicate.SysLogging

TagContains applies the Contains predicate on the "tag" field.

func TagContainsFold

func TagContainsFold(v string) predicate.SysLogging

TagContainsFold applies the ContainsFold predicate on the "tag" field.

func TagEQ

func TagEQ(v string) predicate.SysLogging

TagEQ applies the EQ predicate on the "tag" field.

func TagEqualFold

func TagEqualFold(v string) predicate.SysLogging

TagEqualFold applies the EqualFold predicate on the "tag" field.

func TagGT

func TagGT(v string) predicate.SysLogging

TagGT applies the GT predicate on the "tag" field.

func TagGTE

func TagGTE(v string) predicate.SysLogging

TagGTE applies the GTE predicate on the "tag" field.

func TagHasPrefix

func TagHasPrefix(v string) predicate.SysLogging

TagHasPrefix applies the HasPrefix predicate on the "tag" field.

func TagHasSuffix

func TagHasSuffix(v string) predicate.SysLogging

TagHasSuffix applies the HasSuffix predicate on the "tag" field.

func TagIn

func TagIn(vs ...string) predicate.SysLogging

TagIn applies the In predicate on the "tag" field.

func TagLT

func TagLT(v string) predicate.SysLogging

TagLT applies the LT predicate on the "tag" field.

func TagLTE

func TagLTE(v string) predicate.SysLogging

TagLTE applies the LTE predicate on the "tag" field.

func TagNEQ

func TagNEQ(v string) predicate.SysLogging

TagNEQ applies the NEQ predicate on the "tag" field.

func TagNotIn

func TagNotIn(vs ...string) predicate.SysLogging

TagNotIn applies the NotIn predicate on the "tag" field.

func TraceID

func TraceID(v string) predicate.SysLogging

TraceID applies equality check predicate on the "trace_id" field. It's identical to TraceIDEQ.

func TraceIDContains

func TraceIDContains(v string) predicate.SysLogging

TraceIDContains applies the Contains predicate on the "trace_id" field.

func TraceIDContainsFold

func TraceIDContainsFold(v string) predicate.SysLogging

TraceIDContainsFold applies the ContainsFold predicate on the "trace_id" field.

func TraceIDEQ

func TraceIDEQ(v string) predicate.SysLogging

TraceIDEQ applies the EQ predicate on the "trace_id" field.

func TraceIDEqualFold

func TraceIDEqualFold(v string) predicate.SysLogging

TraceIDEqualFold applies the EqualFold predicate on the "trace_id" field.

func TraceIDGT

func TraceIDGT(v string) predicate.SysLogging

TraceIDGT applies the GT predicate on the "trace_id" field.

func TraceIDGTE

func TraceIDGTE(v string) predicate.SysLogging

TraceIDGTE applies the GTE predicate on the "trace_id" field.

func TraceIDHasPrefix

func TraceIDHasPrefix(v string) predicate.SysLogging

TraceIDHasPrefix applies the HasPrefix predicate on the "trace_id" field.

func TraceIDHasSuffix

func TraceIDHasSuffix(v string) predicate.SysLogging

TraceIDHasSuffix applies the HasSuffix predicate on the "trace_id" field.

func TraceIDIn

func TraceIDIn(vs ...string) predicate.SysLogging

TraceIDIn applies the In predicate on the "trace_id" field.

func TraceIDLT

func TraceIDLT(v string) predicate.SysLogging

TraceIDLT applies the LT predicate on the "trace_id" field.

func TraceIDLTE

func TraceIDLTE(v string) predicate.SysLogging

TraceIDLTE applies the LTE predicate on the "trace_id" field.

func TraceIDNEQ

func TraceIDNEQ(v string) predicate.SysLogging

TraceIDNEQ applies the NEQ predicate on the "trace_id" field.

func TraceIDNotIn

func TraceIDNotIn(vs ...string) predicate.SysLogging

TraceIDNotIn applies the NotIn predicate on the "trace_id" field.

func UserID

func UserID(v string) predicate.SysLogging

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDContains

func UserIDContains(v string) predicate.SysLogging

UserIDContains applies the Contains predicate on the "user_id" field.

func UserIDContainsFold

func UserIDContainsFold(v string) predicate.SysLogging

UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.

func UserIDEQ

func UserIDEQ(v string) predicate.SysLogging

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDEqualFold

func UserIDEqualFold(v string) predicate.SysLogging

UserIDEqualFold applies the EqualFold predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v string) predicate.SysLogging

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v string) predicate.SysLogging

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDHasPrefix

func UserIDHasPrefix(v string) predicate.SysLogging

UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.

func UserIDHasSuffix

func UserIDHasSuffix(v string) predicate.SysLogging

UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...string) predicate.SysLogging

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v string) predicate.SysLogging

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v string) predicate.SysLogging

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v string) predicate.SysLogging

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...string) predicate.SysLogging

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v string) predicate.SysLogging

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.SysLogging

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.SysLogging

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.SysLogging

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.SysLogging

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.SysLogging

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.SysLogging

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.SysLogging

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.SysLogging

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.SysLogging

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.SysLogging

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.SysLogging

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.SysLogging

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.SysLogging

VersionNotIn applies the NotIn predicate on the "version" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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