runjournal

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the runjournal type in the database.
	Label = "run_journal"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRunID holds the string denoting the run_id field in the database.
	FieldRunID = "run_id"
	// FieldSeq holds the string denoting the seq field in the database.
	FieldSeq = "seq"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldTimestamp holds the string denoting the timestamp field in the database.
	FieldTimestamp = "timestamp"
	// FieldPayload holds the string denoting the payload field in the database.
	FieldPayload = "payload"
	// Table holds the table name of the runjournal in the database.
	Table = "run_journals"
)

Variables

View Source
var (
	// RunIDValidator is a validator for the "run_id" field. It is called by the builders before save.
	RunIDValidator func(string) error
	// DefaultTimestamp holds the default value on creation for the "timestamp" field.
	DefaultTimestamp func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for runjournal fields.

Functions

func And

func And(predicates ...predicate.RunJournal) predicate.RunJournal

And groups predicates with the AND operator between them.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.RunJournal

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.RunJournal

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.RunJournal

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.RunJournal

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.RunJournal

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.RunJournal

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.RunJournal) predicate.RunJournal

Or groups predicates with the OR operator between them.

func Payload

func Payload(v string) predicate.RunJournal

Payload applies equality check predicate on the "payload" field. It's identical to PayloadEQ.

func PayloadContains

func PayloadContains(v string) predicate.RunJournal

PayloadContains applies the Contains predicate on the "payload" field.

func PayloadContainsFold

func PayloadContainsFold(v string) predicate.RunJournal

PayloadContainsFold applies the ContainsFold predicate on the "payload" field.

func PayloadEQ

func PayloadEQ(v string) predicate.RunJournal

PayloadEQ applies the EQ predicate on the "payload" field.

func PayloadEqualFold

func PayloadEqualFold(v string) predicate.RunJournal

PayloadEqualFold applies the EqualFold predicate on the "payload" field.

func PayloadGT

func PayloadGT(v string) predicate.RunJournal

PayloadGT applies the GT predicate on the "payload" field.

func PayloadGTE

func PayloadGTE(v string) predicate.RunJournal

PayloadGTE applies the GTE predicate on the "payload" field.

func PayloadHasPrefix

func PayloadHasPrefix(v string) predicate.RunJournal

PayloadHasPrefix applies the HasPrefix predicate on the "payload" field.

func PayloadHasSuffix

func PayloadHasSuffix(v string) predicate.RunJournal

PayloadHasSuffix applies the HasSuffix predicate on the "payload" field.

func PayloadIn

func PayloadIn(vs ...string) predicate.RunJournal

PayloadIn applies the In predicate on the "payload" field.

func PayloadLT

func PayloadLT(v string) predicate.RunJournal

PayloadLT applies the LT predicate on the "payload" field.

func PayloadLTE

func PayloadLTE(v string) predicate.RunJournal

PayloadLTE applies the LTE predicate on the "payload" field.

func PayloadNEQ

func PayloadNEQ(v string) predicate.RunJournal

PayloadNEQ applies the NEQ predicate on the "payload" field.

func PayloadNotIn

func PayloadNotIn(vs ...string) predicate.RunJournal

PayloadNotIn applies the NotIn predicate on the "payload" field.

func RunID

func RunID(v string) predicate.RunJournal

RunID applies equality check predicate on the "run_id" field. It's identical to RunIDEQ.

func RunIDContains

func RunIDContains(v string) predicate.RunJournal

RunIDContains applies the Contains predicate on the "run_id" field.

func RunIDContainsFold

func RunIDContainsFold(v string) predicate.RunJournal

RunIDContainsFold applies the ContainsFold predicate on the "run_id" field.

func RunIDEQ

func RunIDEQ(v string) predicate.RunJournal

RunIDEQ applies the EQ predicate on the "run_id" field.

func RunIDEqualFold

func RunIDEqualFold(v string) predicate.RunJournal

RunIDEqualFold applies the EqualFold predicate on the "run_id" field.

func RunIDGT

func RunIDGT(v string) predicate.RunJournal

RunIDGT applies the GT predicate on the "run_id" field.

func RunIDGTE

func RunIDGTE(v string) predicate.RunJournal

RunIDGTE applies the GTE predicate on the "run_id" field.

func RunIDHasPrefix

func RunIDHasPrefix(v string) predicate.RunJournal

RunIDHasPrefix applies the HasPrefix predicate on the "run_id" field.

func RunIDHasSuffix

func RunIDHasSuffix(v string) predicate.RunJournal

RunIDHasSuffix applies the HasSuffix predicate on the "run_id" field.

func RunIDIn

func RunIDIn(vs ...string) predicate.RunJournal

RunIDIn applies the In predicate on the "run_id" field.

func RunIDLT

func RunIDLT(v string) predicate.RunJournal

RunIDLT applies the LT predicate on the "run_id" field.

func RunIDLTE

func RunIDLTE(v string) predicate.RunJournal

RunIDLTE applies the LTE predicate on the "run_id" field.

func RunIDNEQ

func RunIDNEQ(v string) predicate.RunJournal

RunIDNEQ applies the NEQ predicate on the "run_id" field.

func RunIDNotIn

func RunIDNotIn(vs ...string) predicate.RunJournal

RunIDNotIn applies the NotIn predicate on the "run_id" field.

func Seq

func Seq(v int64) predicate.RunJournal

Seq applies equality check predicate on the "seq" field. It's identical to SeqEQ.

func SeqEQ

func SeqEQ(v int64) predicate.RunJournal

SeqEQ applies the EQ predicate on the "seq" field.

func SeqGT

func SeqGT(v int64) predicate.RunJournal

SeqGT applies the GT predicate on the "seq" field.

func SeqGTE

func SeqGTE(v int64) predicate.RunJournal

SeqGTE applies the GTE predicate on the "seq" field.

func SeqIn

func SeqIn(vs ...int64) predicate.RunJournal

SeqIn applies the In predicate on the "seq" field.

func SeqLT

func SeqLT(v int64) predicate.RunJournal

SeqLT applies the LT predicate on the "seq" field.

func SeqLTE

func SeqLTE(v int64) predicate.RunJournal

SeqLTE applies the LTE predicate on the "seq" field.

func SeqNEQ

func SeqNEQ(v int64) predicate.RunJournal

SeqNEQ applies the NEQ predicate on the "seq" field.

func SeqNotIn

func SeqNotIn(vs ...int64) predicate.RunJournal

SeqNotIn applies the NotIn predicate on the "seq" field.

func Timestamp

func Timestamp(v time.Time) predicate.RunJournal

Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.

func TimestampEQ

func TimestampEQ(v time.Time) predicate.RunJournal

TimestampEQ applies the EQ predicate on the "timestamp" field.

func TimestampGT

func TimestampGT(v time.Time) predicate.RunJournal

TimestampGT applies the GT predicate on the "timestamp" field.

func TimestampGTE

func TimestampGTE(v time.Time) predicate.RunJournal

TimestampGTE applies the GTE predicate on the "timestamp" field.

func TimestampIn

func TimestampIn(vs ...time.Time) predicate.RunJournal

TimestampIn applies the In predicate on the "timestamp" field.

func TimestampLT

func TimestampLT(v time.Time) predicate.RunJournal

TimestampLT applies the LT predicate on the "timestamp" field.

func TimestampLTE

func TimestampLTE(v time.Time) predicate.RunJournal

TimestampLTE applies the LTE predicate on the "timestamp" field.

func TimestampNEQ

func TimestampNEQ(v time.Time) predicate.RunJournal

TimestampNEQ applies the NEQ predicate on the "timestamp" field.

func TimestampNotIn

func TimestampNotIn(vs ...time.Time) predicate.RunJournal

TimestampNotIn applies the NotIn predicate on the "timestamp" field.

func TypeEQ

func TypeEQ(v Type) predicate.RunJournal

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.RunJournal

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v Type) predicate.RunJournal

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.RunJournal

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

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

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 RunJournal queries.

func ByID

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

ByID orders the results by the id field.

func ByPayload

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

ByPayload orders the results by the payload field.

func ByRunID

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

ByRunID orders the results by the run_id field.

func BySeq

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

BySeq orders the results by the seq field.

func ByTimestamp

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

ByTimestamp orders the results by the timestamp field.

func ByType

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

ByType orders the results by the type field.

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeRunCreated            Type = "run_created"
	TypePlanAttached          Type = "plan_attached"
	TypeStepStarted           Type = "step_started"
	TypeStepResultProposed    Type = "step_result_proposed"
	TypeStepValidationPassed  Type = "step_validation_passed"
	TypeStepValidationFailed  Type = "step_validation_failed"
	TypePolicyDecisionApplied Type = "policy_decision_applied"
	TypeNoteWritten           Type = "note_written"
	TypeRunPaused             Type = "run_paused"
	TypeRunResumed            Type = "run_resumed"
	TypeRunCompleted          Type = "run_completed"
	TypeRunFailed             Type = "run_failed"
	TypeProjectionSynced      Type = "projection_synced"
	TypeCriterionMet          Type = "criterion_met"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

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