Help us shape the future of Go! Take the 2026 Go Developer Survey

sessionmarker

package
v1.102.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the sessionmarker type in the database.
	Label = "session_marker"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldAgentID holds the string denoting the agent_id field in the database.
	FieldAgentID = "agent_id"
	// FieldBackupSet holds the string denoting the backup_set field in the database.
	FieldBackupSet = "backup_set"
	// FieldRestore holds the string denoting the restore field in the database.
	FieldRestore = "restore"
	// FieldStarted holds the string denoting the started field in the database.
	FieldStarted = "started"
	// FieldSealed holds the string denoting the sealed field in the database.
	FieldSealed = "sealed"
	// FieldOutcome holds the string denoting the outcome field in the database.
	FieldOutcome = "outcome"
	// FieldEndedAt holds the string denoting the ended_at field in the database.
	FieldEndedAt = "ended_at"
	// Table holds the table name of the sessionmarker in the database.
	Table = "session_markers"
)

Variables

Columns holds all SQL columns for sessionmarker fields.

View Source
var (
	// DefaultSealed holds the default value on creation for the "sealed" field.
	DefaultSealed uint64
)

Functions

func AgentID

func AgentID(v string) predicate.SessionMarker

AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.

func AgentIDContains

func AgentIDContains(v string) predicate.SessionMarker

AgentIDContains applies the Contains predicate on the "agent_id" field.

func AgentIDContainsFold

func AgentIDContainsFold(v string) predicate.SessionMarker

AgentIDContainsFold applies the ContainsFold predicate on the "agent_id" field.

func AgentIDEQ

func AgentIDEQ(v string) predicate.SessionMarker

AgentIDEQ applies the EQ predicate on the "agent_id" field.

func AgentIDEqualFold

func AgentIDEqualFold(v string) predicate.SessionMarker

AgentIDEqualFold applies the EqualFold predicate on the "agent_id" field.

func AgentIDGT

func AgentIDGT(v string) predicate.SessionMarker

AgentIDGT applies the GT predicate on the "agent_id" field.

func AgentIDGTE

func AgentIDGTE(v string) predicate.SessionMarker

AgentIDGTE applies the GTE predicate on the "agent_id" field.

func AgentIDHasPrefix

func AgentIDHasPrefix(v string) predicate.SessionMarker

AgentIDHasPrefix applies the HasPrefix predicate on the "agent_id" field.

func AgentIDHasSuffix

func AgentIDHasSuffix(v string) predicate.SessionMarker

AgentIDHasSuffix applies the HasSuffix predicate on the "agent_id" field.

func AgentIDIn

func AgentIDIn(vs ...string) predicate.SessionMarker

AgentIDIn applies the In predicate on the "agent_id" field.

func AgentIDLT

func AgentIDLT(v string) predicate.SessionMarker

AgentIDLT applies the LT predicate on the "agent_id" field.

func AgentIDLTE

func AgentIDLTE(v string) predicate.SessionMarker

AgentIDLTE applies the LTE predicate on the "agent_id" field.

func AgentIDNEQ

func AgentIDNEQ(v string) predicate.SessionMarker

AgentIDNEQ applies the NEQ predicate on the "agent_id" field.

func AgentIDNotIn

func AgentIDNotIn(vs ...string) predicate.SessionMarker

AgentIDNotIn applies the NotIn predicate on the "agent_id" field.

func And

And groups predicates with the AND operator between them.

func BackupSet

func BackupSet(v string) predicate.SessionMarker

BackupSet applies equality check predicate on the "backup_set" field. It's identical to BackupSetEQ.

func BackupSetContains

func BackupSetContains(v string) predicate.SessionMarker

BackupSetContains applies the Contains predicate on the "backup_set" field.

func BackupSetContainsFold

func BackupSetContainsFold(v string) predicate.SessionMarker

BackupSetContainsFold applies the ContainsFold predicate on the "backup_set" field.

func BackupSetEQ

func BackupSetEQ(v string) predicate.SessionMarker

BackupSetEQ applies the EQ predicate on the "backup_set" field.

func BackupSetEqualFold

func BackupSetEqualFold(v string) predicate.SessionMarker

BackupSetEqualFold applies the EqualFold predicate on the "backup_set" field.

func BackupSetGT

func BackupSetGT(v string) predicate.SessionMarker

BackupSetGT applies the GT predicate on the "backup_set" field.

func BackupSetGTE

func BackupSetGTE(v string) predicate.SessionMarker

BackupSetGTE applies the GTE predicate on the "backup_set" field.

func BackupSetHasPrefix

func BackupSetHasPrefix(v string) predicate.SessionMarker

BackupSetHasPrefix applies the HasPrefix predicate on the "backup_set" field.

func BackupSetHasSuffix

func BackupSetHasSuffix(v string) predicate.SessionMarker

BackupSetHasSuffix applies the HasSuffix predicate on the "backup_set" field.

func BackupSetIn

func BackupSetIn(vs ...string) predicate.SessionMarker

BackupSetIn applies the In predicate on the "backup_set" field.

func BackupSetLT

func BackupSetLT(v string) predicate.SessionMarker

BackupSetLT applies the LT predicate on the "backup_set" field.

func BackupSetLTE

func BackupSetLTE(v string) predicate.SessionMarker

BackupSetLTE applies the LTE predicate on the "backup_set" field.

func BackupSetNEQ

func BackupSetNEQ(v string) predicate.SessionMarker

BackupSetNEQ applies the NEQ predicate on the "backup_set" field.

func BackupSetNotIn

func BackupSetNotIn(vs ...string) predicate.SessionMarker

BackupSetNotIn applies the NotIn predicate on the "backup_set" field.

func EndedAt

func EndedAt(v time.Time) predicate.SessionMarker

EndedAt applies equality check predicate on the "ended_at" field. It's identical to EndedAtEQ.

func EndedAtEQ

func EndedAtEQ(v time.Time) predicate.SessionMarker

EndedAtEQ applies the EQ predicate on the "ended_at" field.

func EndedAtGT

func EndedAtGT(v time.Time) predicate.SessionMarker

EndedAtGT applies the GT predicate on the "ended_at" field.

func EndedAtGTE

func EndedAtGTE(v time.Time) predicate.SessionMarker

EndedAtGTE applies the GTE predicate on the "ended_at" field.

func EndedAtIn

func EndedAtIn(vs ...time.Time) predicate.SessionMarker

EndedAtIn applies the In predicate on the "ended_at" field.

func EndedAtIsNil

func EndedAtIsNil() predicate.SessionMarker

EndedAtIsNil applies the IsNil predicate on the "ended_at" field.

func EndedAtLT

func EndedAtLT(v time.Time) predicate.SessionMarker

EndedAtLT applies the LT predicate on the "ended_at" field.

func EndedAtLTE

func EndedAtLTE(v time.Time) predicate.SessionMarker

EndedAtLTE applies the LTE predicate on the "ended_at" field.

func EndedAtNEQ

func EndedAtNEQ(v time.Time) predicate.SessionMarker

EndedAtNEQ applies the NEQ predicate on the "ended_at" field.

func EndedAtNotIn

func EndedAtNotIn(vs ...time.Time) predicate.SessionMarker

EndedAtNotIn applies the NotIn predicate on the "ended_at" field.

func EndedAtNotNil

func EndedAtNotNil() predicate.SessionMarker

EndedAtNotNil applies the NotNil predicate on the "ended_at" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.SessionMarker

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.SessionMarker

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.SessionMarker

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.SessionMarker

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.SessionMarker

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Outcome

func Outcome(v string) predicate.SessionMarker

Outcome applies equality check predicate on the "outcome" field. It's identical to OutcomeEQ.

func OutcomeContains

func OutcomeContains(v string) predicate.SessionMarker

OutcomeContains applies the Contains predicate on the "outcome" field.

func OutcomeContainsFold

func OutcomeContainsFold(v string) predicate.SessionMarker

OutcomeContainsFold applies the ContainsFold predicate on the "outcome" field.

func OutcomeEQ

func OutcomeEQ(v string) predicate.SessionMarker

OutcomeEQ applies the EQ predicate on the "outcome" field.

func OutcomeEqualFold

func OutcomeEqualFold(v string) predicate.SessionMarker

OutcomeEqualFold applies the EqualFold predicate on the "outcome" field.

func OutcomeGT

func OutcomeGT(v string) predicate.SessionMarker

OutcomeGT applies the GT predicate on the "outcome" field.

func OutcomeGTE

func OutcomeGTE(v string) predicate.SessionMarker

OutcomeGTE applies the GTE predicate on the "outcome" field.

func OutcomeHasPrefix

func OutcomeHasPrefix(v string) predicate.SessionMarker

OutcomeHasPrefix applies the HasPrefix predicate on the "outcome" field.

func OutcomeHasSuffix

func OutcomeHasSuffix(v string) predicate.SessionMarker

OutcomeHasSuffix applies the HasSuffix predicate on the "outcome" field.

func OutcomeIn

func OutcomeIn(vs ...string) predicate.SessionMarker

OutcomeIn applies the In predicate on the "outcome" field.

func OutcomeIsNil

func OutcomeIsNil() predicate.SessionMarker

OutcomeIsNil applies the IsNil predicate on the "outcome" field.

func OutcomeLT

func OutcomeLT(v string) predicate.SessionMarker

OutcomeLT applies the LT predicate on the "outcome" field.

func OutcomeLTE

func OutcomeLTE(v string) predicate.SessionMarker

OutcomeLTE applies the LTE predicate on the "outcome" field.

func OutcomeNEQ

func OutcomeNEQ(v string) predicate.SessionMarker

OutcomeNEQ applies the NEQ predicate on the "outcome" field.

func OutcomeNotIn

func OutcomeNotIn(vs ...string) predicate.SessionMarker

OutcomeNotIn applies the NotIn predicate on the "outcome" field.

func OutcomeNotNil

func OutcomeNotNil() predicate.SessionMarker

OutcomeNotNil applies the NotNil predicate on the "outcome" field.

func Restore

func Restore(v []byte) predicate.SessionMarker

Restore applies equality check predicate on the "restore" field. It's identical to RestoreEQ.

func RestoreEQ

func RestoreEQ(v []byte) predicate.SessionMarker

RestoreEQ applies the EQ predicate on the "restore" field.

func RestoreGT

func RestoreGT(v []byte) predicate.SessionMarker

RestoreGT applies the GT predicate on the "restore" field.

func RestoreGTE

func RestoreGTE(v []byte) predicate.SessionMarker

RestoreGTE applies the GTE predicate on the "restore" field.

func RestoreIn

func RestoreIn(vs ...[]byte) predicate.SessionMarker

RestoreIn applies the In predicate on the "restore" field.

func RestoreIsNil

func RestoreIsNil() predicate.SessionMarker

RestoreIsNil applies the IsNil predicate on the "restore" field.

func RestoreLT

func RestoreLT(v []byte) predicate.SessionMarker

RestoreLT applies the LT predicate on the "restore" field.

func RestoreLTE

func RestoreLTE(v []byte) predicate.SessionMarker

RestoreLTE applies the LTE predicate on the "restore" field.

func RestoreNEQ

func RestoreNEQ(v []byte) predicate.SessionMarker

RestoreNEQ applies the NEQ predicate on the "restore" field.

func RestoreNotIn

func RestoreNotIn(vs ...[]byte) predicate.SessionMarker

RestoreNotIn applies the NotIn predicate on the "restore" field.

func RestoreNotNil

func RestoreNotNil() predicate.SessionMarker

RestoreNotNil applies the NotNil predicate on the "restore" field.

func Sealed

func Sealed(v uint64) predicate.SessionMarker

Sealed applies equality check predicate on the "sealed" field. It's identical to SealedEQ.

func SealedEQ

func SealedEQ(v uint64) predicate.SessionMarker

SealedEQ applies the EQ predicate on the "sealed" field.

func SealedGT

func SealedGT(v uint64) predicate.SessionMarker

SealedGT applies the GT predicate on the "sealed" field.

func SealedGTE

func SealedGTE(v uint64) predicate.SessionMarker

SealedGTE applies the GTE predicate on the "sealed" field.

func SealedIn

func SealedIn(vs ...uint64) predicate.SessionMarker

SealedIn applies the In predicate on the "sealed" field.

func SealedLT

func SealedLT(v uint64) predicate.SessionMarker

SealedLT applies the LT predicate on the "sealed" field.

func SealedLTE

func SealedLTE(v uint64) predicate.SessionMarker

SealedLTE applies the LTE predicate on the "sealed" field.

func SealedNEQ

func SealedNEQ(v uint64) predicate.SessionMarker

SealedNEQ applies the NEQ predicate on the "sealed" field.

func SealedNotIn

func SealedNotIn(vs ...uint64) predicate.SessionMarker

SealedNotIn applies the NotIn predicate on the "sealed" field.

func Started

func Started(v time.Time) predicate.SessionMarker

Started applies equality check predicate on the "started" field. It's identical to StartedEQ.

func StartedEQ

func StartedEQ(v time.Time) predicate.SessionMarker

StartedEQ applies the EQ predicate on the "started" field.

func StartedGT

func StartedGT(v time.Time) predicate.SessionMarker

StartedGT applies the GT predicate on the "started" field.

func StartedGTE

func StartedGTE(v time.Time) predicate.SessionMarker

StartedGTE applies the GTE predicate on the "started" field.

func StartedIn

func StartedIn(vs ...time.Time) predicate.SessionMarker

StartedIn applies the In predicate on the "started" field.

func StartedLT

func StartedLT(v time.Time) predicate.SessionMarker

StartedLT applies the LT predicate on the "started" field.

func StartedLTE

func StartedLTE(v time.Time) predicate.SessionMarker

StartedLTE applies the LTE predicate on the "started" field.

func StartedNEQ

func StartedNEQ(v time.Time) predicate.SessionMarker

StartedNEQ applies the NEQ predicate on the "started" field.

func StartedNotIn

func StartedNotIn(vs ...time.Time) predicate.SessionMarker

StartedNotIn applies the NotIn predicate on the "started" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the SessionMarker queries.

func ByAgentID

func ByAgentID(opts ...sql.OrderTermOption) OrderOption

ByAgentID orders the results by the agent_id field.

func ByBackupSet

func ByBackupSet(opts ...sql.OrderTermOption) OrderOption

ByBackupSet orders the results by the backup_set field.

func ByEndedAt

func ByEndedAt(opts ...sql.OrderTermOption) OrderOption

ByEndedAt orders the results by the ended_at field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByOutcome

func ByOutcome(opts ...sql.OrderTermOption) OrderOption

ByOutcome orders the results by the outcome field.

func BySealed

func BySealed(opts ...sql.OrderTermOption) OrderOption

BySealed orders the results by the sealed field.

func ByStarted

func ByStarted(opts ...sql.OrderTermOption) OrderOption

ByStarted orders the results by the started field.

Jump to

Keyboard shortcuts

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