membersecuritylog

package
v1.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the membersecuritylog type in the database.
	Label = "member_security_log"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldAction holds the string denoting the action field in the database.
	FieldAction = "action"
	// FieldIP holds the string denoting the ip field in the database.
	FieldIP = "ip"
	// FieldRequestID holds the string denoting the request_id field in the database.
	FieldRequestID = "request_id"
	// FieldServerVersion holds the string denoting the server_version field in the database.
	FieldServerVersion = "server_version"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldRemark holds the string denoting the remark field in the database.
	FieldRemark = "remark"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// EdgeSecurityLogsOwner holds the string denoting the security_logs_owner edge name in mutations.
	EdgeSecurityLogsOwner = "security_logs_owner"
	// Table holds the table name of the membersecuritylog in the database.
	Table = "member_security_log"
	// SecurityLogsOwnerTable is the table that holds the security_logs_owner relation/edge.
	SecurityLogsOwnerTable = "member_security_log"
	// SecurityLogsOwnerInverseTable is the table name for the Member entity.
	// It exists in this package in order to avoid circular dependency with the "member" package.
	SecurityLogsOwnerInverseTable = "member"
	// SecurityLogsOwnerColumn is the table column denoting the security_logs_owner relation/edge.
	SecurityLogsOwnerColumn = "owner_id"
)
View Source
const DefaultAction = ActionUNKNOWN

ActionUNKNOWN is the default value of the Action enum.

Variables

View Source
var (
	// IPValidator is a validator for the "ip" field. It is called by the builders before save.
	IPValidator func(string) error
	// RequestIDValidator is a validator for the "request_id" field. It is called by the builders before save.
	RequestIDValidator func(string) error
	// ServerVersionValidator is a validator for the "server_version" field. It is called by the builders before save.
	ServerVersionValidator func(string) error
	// DescriptionValidator is a validator for the "description" field. It is called by the builders before save.
	DescriptionValidator func(string) error
	// RemarkValidator is a validator for the "remark" field. It is called by the builders before save.
	RemarkValidator func(string) error
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
)

Columns holds all SQL columns for membersecuritylog fields.

Functions

func ActionEQ

ActionEQ applies the EQ predicate on the "action" field.

func ActionIn

func ActionIn(vs ...Action) predicate.MemberSecurityLog

ActionIn applies the In predicate on the "action" field.

func ActionNEQ

func ActionNEQ(v Action) predicate.MemberSecurityLog

ActionNEQ applies the NEQ predicate on the "action" field.

func ActionNotIn

func ActionNotIn(vs ...Action) predicate.MemberSecurityLog

ActionNotIn applies the NotIn predicate on the "action" field.

func ActionValidator

func ActionValidator(a Action) error

ActionValidator is a validator for the "action" field enum values. It is called by the builders before save.

func And

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.MemberSecurityLog

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.MemberSecurityLog

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.MemberSecurityLog

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.MemberSecurityLog

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.MemberSecurityLog

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.MemberSecurityLog

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.MemberSecurityLog

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.MemberSecurityLog

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.MemberSecurityLog

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Description

func Description(v string) predicate.MemberSecurityLog

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.MemberSecurityLog

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.MemberSecurityLog

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.MemberSecurityLog

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.MemberSecurityLog

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.MemberSecurityLog

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.MemberSecurityLog

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.MemberSecurityLog

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.MemberSecurityLog

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.MemberSecurityLog

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.MemberSecurityLog

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.MemberSecurityLog

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.MemberSecurityLog

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.MemberSecurityLog

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.MemberSecurityLog

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.MemberSecurityLog

DescriptionNotNil applies the NotNil predicate on the "description" field.

func HasSecurityLogsOwner added in v1.0.10

func HasSecurityLogsOwner() predicate.MemberSecurityLog

HasSecurityLogsOwner applies the HasEdge predicate on the "security_logs_owner" edge.

func HasSecurityLogsOwnerWith added in v1.0.10

func HasSecurityLogsOwnerWith(preds ...predicate.Member) predicate.MemberSecurityLog

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.MemberSecurityLog

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.MemberSecurityLog

IDNotIn applies the NotIn predicate on the ID field.

func IP

IP applies equality check predicate on the "ip" field. It's identical to IPEQ.

func IPContains

func IPContains(v string) predicate.MemberSecurityLog

IPContains applies the Contains predicate on the "ip" field.

func IPContainsFold

func IPContainsFold(v string) predicate.MemberSecurityLog

IPContainsFold applies the ContainsFold predicate on the "ip" field.

func IPEQ

IPEQ applies the EQ predicate on the "ip" field.

func IPEqualFold

func IPEqualFold(v string) predicate.MemberSecurityLog

IPEqualFold applies the EqualFold predicate on the "ip" field.

func IPGT

IPGT applies the GT predicate on the "ip" field.

func IPGTE

IPGTE applies the GTE predicate on the "ip" field.

func IPHasPrefix

func IPHasPrefix(v string) predicate.MemberSecurityLog

IPHasPrefix applies the HasPrefix predicate on the "ip" field.

func IPHasSuffix

func IPHasSuffix(v string) predicate.MemberSecurityLog

IPHasSuffix applies the HasSuffix predicate on the "ip" field.

func IPIn

IPIn applies the In predicate on the "ip" field.

func IPIsNil

func IPIsNil() predicate.MemberSecurityLog

IPIsNil applies the IsNil predicate on the "ip" field.

func IPLT

IPLT applies the LT predicate on the "ip" field.

func IPLTE

IPLTE applies the LTE predicate on the "ip" field.

func IPNEQ

IPNEQ applies the NEQ predicate on the "ip" field.

func IPNotIn

func IPNotIn(vs ...string) predicate.MemberSecurityLog

IPNotIn applies the NotIn predicate on the "ip" field.

func IPNotNil

func IPNotNil() predicate.MemberSecurityLog

IPNotNil applies the NotNil predicate on the "ip" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID added in v1.0.10

func OwnerID(v int) predicate.MemberSecurityLog

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDEQ added in v1.0.10

func OwnerIDEQ(v int) predicate.MemberSecurityLog

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDIn added in v1.0.10

func OwnerIDIn(vs ...int) predicate.MemberSecurityLog

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDNEQ added in v1.0.10

func OwnerIDNEQ(v int) predicate.MemberSecurityLog

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn added in v1.0.10

func OwnerIDNotIn(vs ...int) predicate.MemberSecurityLog

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func Remark

Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.

func RemarkContains

func RemarkContains(v string) predicate.MemberSecurityLog

RemarkContains applies the Contains predicate on the "remark" field.

func RemarkContainsFold

func RemarkContainsFold(v string) predicate.MemberSecurityLog

RemarkContainsFold applies the ContainsFold predicate on the "remark" field.

func RemarkEQ

RemarkEQ applies the EQ predicate on the "remark" field.

func RemarkEqualFold

func RemarkEqualFold(v string) predicate.MemberSecurityLog

RemarkEqualFold applies the EqualFold predicate on the "remark" field.

func RemarkGT

RemarkGT applies the GT predicate on the "remark" field.

func RemarkGTE

func RemarkGTE(v string) predicate.MemberSecurityLog

RemarkGTE applies the GTE predicate on the "remark" field.

func RemarkHasPrefix

func RemarkHasPrefix(v string) predicate.MemberSecurityLog

RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.

func RemarkHasSuffix

func RemarkHasSuffix(v string) predicate.MemberSecurityLog

RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.

func RemarkIn

func RemarkIn(vs ...string) predicate.MemberSecurityLog

RemarkIn applies the In predicate on the "remark" field.

func RemarkIsNil

func RemarkIsNil() predicate.MemberSecurityLog

RemarkIsNil applies the IsNil predicate on the "remark" field.

func RemarkLT

RemarkLT applies the LT predicate on the "remark" field.

func RemarkLTE

func RemarkLTE(v string) predicate.MemberSecurityLog

RemarkLTE applies the LTE predicate on the "remark" field.

func RemarkNEQ

func RemarkNEQ(v string) predicate.MemberSecurityLog

RemarkNEQ applies the NEQ predicate on the "remark" field.

func RemarkNotIn

func RemarkNotIn(vs ...string) predicate.MemberSecurityLog

RemarkNotIn applies the NotIn predicate on the "remark" field.

func RemarkNotNil

func RemarkNotNil() predicate.MemberSecurityLog

RemarkNotNil applies the NotNil predicate on the "remark" field.

func RequestID

func RequestID(v string) predicate.MemberSecurityLog

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

func RequestIDContains

func RequestIDContains(v string) predicate.MemberSecurityLog

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

func RequestIDContainsFold

func RequestIDContainsFold(v string) predicate.MemberSecurityLog

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

func RequestIDEQ

func RequestIDEQ(v string) predicate.MemberSecurityLog

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

func RequestIDEqualFold

func RequestIDEqualFold(v string) predicate.MemberSecurityLog

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

func RequestIDGT

func RequestIDGT(v string) predicate.MemberSecurityLog

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

func RequestIDGTE

func RequestIDGTE(v string) predicate.MemberSecurityLog

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

func RequestIDHasPrefix

func RequestIDHasPrefix(v string) predicate.MemberSecurityLog

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

func RequestIDHasSuffix

func RequestIDHasSuffix(v string) predicate.MemberSecurityLog

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

func RequestIDIn

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

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

func RequestIDIsNil

func RequestIDIsNil() predicate.MemberSecurityLog

RequestIDIsNil applies the IsNil predicate on the "request_id" field.

func RequestIDLT

func RequestIDLT(v string) predicate.MemberSecurityLog

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

func RequestIDLTE

func RequestIDLTE(v string) predicate.MemberSecurityLog

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

func RequestIDNEQ

func RequestIDNEQ(v string) predicate.MemberSecurityLog

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

func RequestIDNotIn

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

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

func RequestIDNotNil

func RequestIDNotNil() predicate.MemberSecurityLog

RequestIDNotNil applies the NotNil predicate on the "request_id" field.

func ServerVersion

func ServerVersion(v string) predicate.MemberSecurityLog

ServerVersion applies equality check predicate on the "server_version" field. It's identical to ServerVersionEQ.

func ServerVersionContains

func ServerVersionContains(v string) predicate.MemberSecurityLog

ServerVersionContains applies the Contains predicate on the "server_version" field.

func ServerVersionContainsFold

func ServerVersionContainsFold(v string) predicate.MemberSecurityLog

ServerVersionContainsFold applies the ContainsFold predicate on the "server_version" field.

func ServerVersionEQ

func ServerVersionEQ(v string) predicate.MemberSecurityLog

ServerVersionEQ applies the EQ predicate on the "server_version" field.

func ServerVersionEqualFold

func ServerVersionEqualFold(v string) predicate.MemberSecurityLog

ServerVersionEqualFold applies the EqualFold predicate on the "server_version" field.

func ServerVersionGT

func ServerVersionGT(v string) predicate.MemberSecurityLog

ServerVersionGT applies the GT predicate on the "server_version" field.

func ServerVersionGTE

func ServerVersionGTE(v string) predicate.MemberSecurityLog

ServerVersionGTE applies the GTE predicate on the "server_version" field.

func ServerVersionHasPrefix

func ServerVersionHasPrefix(v string) predicate.MemberSecurityLog

ServerVersionHasPrefix applies the HasPrefix predicate on the "server_version" field.

func ServerVersionHasSuffix

func ServerVersionHasSuffix(v string) predicate.MemberSecurityLog

ServerVersionHasSuffix applies the HasSuffix predicate on the "server_version" field.

func ServerVersionIn

func ServerVersionIn(vs ...string) predicate.MemberSecurityLog

ServerVersionIn applies the In predicate on the "server_version" field.

func ServerVersionIsNil

func ServerVersionIsNil() predicate.MemberSecurityLog

ServerVersionIsNil applies the IsNil predicate on the "server_version" field.

func ServerVersionLT

func ServerVersionLT(v string) predicate.MemberSecurityLog

ServerVersionLT applies the LT predicate on the "server_version" field.

func ServerVersionLTE

func ServerVersionLTE(v string) predicate.MemberSecurityLog

ServerVersionLTE applies the LTE predicate on the "server_version" field.

func ServerVersionNEQ

func ServerVersionNEQ(v string) predicate.MemberSecurityLog

ServerVersionNEQ applies the NEQ predicate on the "server_version" field.

func ServerVersionNotIn

func ServerVersionNotIn(vs ...string) predicate.MemberSecurityLog

ServerVersionNotIn applies the NotIn predicate on the "server_version" field.

func ServerVersionNotNil

func ServerVersionNotNil() predicate.MemberSecurityLog

ServerVersionNotNil applies the NotNil predicate on the "server_version" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type Action

type Action string

Action defines the type for the "action" enum field.

const (
	ActionUNKNOWN         Action = "UNKNOWN"
	ActionSIGN_IN         Action = "SIGN_IN"
	ActionSIGN_OUT        Action = "SIGN_OUT"
	ActionPWD_AUTH        Action = "PWD_AUTH"
	ActionSIGN_UP_EMAIL   Action = "SIGN_UP_EMAIL"
	ActionSIGN_IN___PWD   Action = "SIGN_IN___PWD"
	ActionSIGN_IN___PHONE Action = "SIGN_IN___PHONE"
	ActionSIGN_IN___EMAIL Action = "SIGN_IN___EMAIL"
	Action2NDAUTHPWD      Action = "2ND_AUTH___PWD"
	Action2NDAUTHPHONE    Action = "2ND_AUTH___PHONE"
	Action2NDAUTHEMAIL    Action = "2ND_AUTH___EMAIL"
)

Action values.

func (Action) String

func (a Action) String() string

Jump to

Keyboard shortcuts

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