backlogstuckstate

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the backlogstuckstate type in the database.
	Label = "backlog_stuck_state"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldItemID holds the string denoting the item_id field in the database.
	FieldItemID = "item_id"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// FieldFirstDetectedAt holds the string denoting the first_detected_at field in the database.
	FieldFirstDetectedAt = "first_detected_at"
	// FieldLastCheckedAt holds the string denoting the last_checked_at field in the database.
	FieldLastCheckedAt = "last_checked_at"
	// FieldNotifiedAt holds the string denoting the notified_at field in the database.
	FieldNotifiedAt = "notified_at"
	// FieldResolvedAt holds the string denoting the resolved_at field in the database.
	FieldResolvedAt = "resolved_at"
	// FieldSnoozedUntil holds the string denoting the snoozed_until field in the database.
	FieldSnoozedUntil = "snoozed_until"
	// FieldContext holds the string denoting the context field in the database.
	FieldContext = "context"
	// FieldRemediationAttempts holds the string denoting the remediation_attempts field in the database.
	FieldRemediationAttempts = "remediation_attempts"
	// FieldNextRemediationAt holds the string denoting the next_remediation_at field in the database.
	FieldNextRemediationAt = "next_remediation_at"
	// FieldGraceBootTime holds the string denoting the grace_boot_time field in the database.
	FieldGraceBootTime = "grace_boot_time"
	// EdgeItem holds the string denoting the item edge name in mutations.
	EdgeItem = "item"
	// Table holds the table name of the backlogstuckstate in the database.
	Table = "backlog_stuck_states"
	// ItemTable is the table that holds the item relation/edge.
	ItemTable = "backlog_stuck_states"
	// ItemInverseTable is the table name for the BacklogItem entity.
	// It exists in this package in order to avoid circular dependency with the "backlogitem" package.
	ItemInverseTable = "backlog_items"
	// ItemColumn is the table column denoting the item relation/edge.
	ItemColumn = "item_id"
)

Variables

View Source
var (
	// DefaultFirstDetectedAt holds the default value on creation for the "first_detected_at" field.
	DefaultFirstDetectedAt func() time.Time
	// DefaultLastCheckedAt holds the default value on creation for the "last_checked_at" field.
	DefaultLastCheckedAt func() time.Time
	// DefaultRemediationAttempts holds the default value on creation for the "remediation_attempts" field.
	DefaultRemediationAttempts int32
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for backlogstuckstate fields.

Functions

func And

And groups predicates with the AND operator between them.

func Context

Context applies equality check predicate on the "context" field. It's identical to ContextEQ.

func ContextContains

func ContextContains(v string) predicate.BacklogStuckState

ContextContains applies the Contains predicate on the "context" field.

func ContextContainsFold

func ContextContainsFold(v string) predicate.BacklogStuckState

ContextContainsFold applies the ContainsFold predicate on the "context" field.

func ContextEQ

func ContextEQ(v string) predicate.BacklogStuckState

ContextEQ applies the EQ predicate on the "context" field.

func ContextEqualFold

func ContextEqualFold(v string) predicate.BacklogStuckState

ContextEqualFold applies the EqualFold predicate on the "context" field.

func ContextGT

func ContextGT(v string) predicate.BacklogStuckState

ContextGT applies the GT predicate on the "context" field.

func ContextGTE

func ContextGTE(v string) predicate.BacklogStuckState

ContextGTE applies the GTE predicate on the "context" field.

func ContextHasPrefix

func ContextHasPrefix(v string) predicate.BacklogStuckState

ContextHasPrefix applies the HasPrefix predicate on the "context" field.

func ContextHasSuffix

func ContextHasSuffix(v string) predicate.BacklogStuckState

ContextHasSuffix applies the HasSuffix predicate on the "context" field.

func ContextIn

func ContextIn(vs ...string) predicate.BacklogStuckState

ContextIn applies the In predicate on the "context" field.

func ContextIsNil

func ContextIsNil() predicate.BacklogStuckState

ContextIsNil applies the IsNil predicate on the "context" field.

func ContextLT

func ContextLT(v string) predicate.BacklogStuckState

ContextLT applies the LT predicate on the "context" field.

func ContextLTE

func ContextLTE(v string) predicate.BacklogStuckState

ContextLTE applies the LTE predicate on the "context" field.

func ContextNEQ

func ContextNEQ(v string) predicate.BacklogStuckState

ContextNEQ applies the NEQ predicate on the "context" field.

func ContextNotIn

func ContextNotIn(vs ...string) predicate.BacklogStuckState

ContextNotIn applies the NotIn predicate on the "context" field.

func ContextNotNil

func ContextNotNil() predicate.BacklogStuckState

ContextNotNil applies the NotNil predicate on the "context" field.

func FirstDetectedAt

func FirstDetectedAt(v time.Time) predicate.BacklogStuckState

FirstDetectedAt applies equality check predicate on the "first_detected_at" field. It's identical to FirstDetectedAtEQ.

func FirstDetectedAtEQ

func FirstDetectedAtEQ(v time.Time) predicate.BacklogStuckState

FirstDetectedAtEQ applies the EQ predicate on the "first_detected_at" field.

func FirstDetectedAtGT

func FirstDetectedAtGT(v time.Time) predicate.BacklogStuckState

FirstDetectedAtGT applies the GT predicate on the "first_detected_at" field.

func FirstDetectedAtGTE

func FirstDetectedAtGTE(v time.Time) predicate.BacklogStuckState

FirstDetectedAtGTE applies the GTE predicate on the "first_detected_at" field.

func FirstDetectedAtIn

func FirstDetectedAtIn(vs ...time.Time) predicate.BacklogStuckState

FirstDetectedAtIn applies the In predicate on the "first_detected_at" field.

func FirstDetectedAtLT

func FirstDetectedAtLT(v time.Time) predicate.BacklogStuckState

FirstDetectedAtLT applies the LT predicate on the "first_detected_at" field.

func FirstDetectedAtLTE

func FirstDetectedAtLTE(v time.Time) predicate.BacklogStuckState

FirstDetectedAtLTE applies the LTE predicate on the "first_detected_at" field.

func FirstDetectedAtNEQ

func FirstDetectedAtNEQ(v time.Time) predicate.BacklogStuckState

FirstDetectedAtNEQ applies the NEQ predicate on the "first_detected_at" field.

func FirstDetectedAtNotIn

func FirstDetectedAtNotIn(vs ...time.Time) predicate.BacklogStuckState

FirstDetectedAtNotIn applies the NotIn predicate on the "first_detected_at" field.

func GraceBootTime added in v1.39.0

func GraceBootTime(v time.Time) predicate.BacklogStuckState

GraceBootTime applies equality check predicate on the "grace_boot_time" field. It's identical to GraceBootTimeEQ.

func GraceBootTimeEQ added in v1.39.0

func GraceBootTimeEQ(v time.Time) predicate.BacklogStuckState

GraceBootTimeEQ applies the EQ predicate on the "grace_boot_time" field.

func GraceBootTimeGT added in v1.39.0

func GraceBootTimeGT(v time.Time) predicate.BacklogStuckState

GraceBootTimeGT applies the GT predicate on the "grace_boot_time" field.

func GraceBootTimeGTE added in v1.39.0

func GraceBootTimeGTE(v time.Time) predicate.BacklogStuckState

GraceBootTimeGTE applies the GTE predicate on the "grace_boot_time" field.

func GraceBootTimeIn added in v1.39.0

func GraceBootTimeIn(vs ...time.Time) predicate.BacklogStuckState

GraceBootTimeIn applies the In predicate on the "grace_boot_time" field.

func GraceBootTimeIsNil added in v1.39.0

func GraceBootTimeIsNil() predicate.BacklogStuckState

GraceBootTimeIsNil applies the IsNil predicate on the "grace_boot_time" field.

func GraceBootTimeLT added in v1.39.0

func GraceBootTimeLT(v time.Time) predicate.BacklogStuckState

GraceBootTimeLT applies the LT predicate on the "grace_boot_time" field.

func GraceBootTimeLTE added in v1.39.0

func GraceBootTimeLTE(v time.Time) predicate.BacklogStuckState

GraceBootTimeLTE applies the LTE predicate on the "grace_boot_time" field.

func GraceBootTimeNEQ added in v1.39.0

func GraceBootTimeNEQ(v time.Time) predicate.BacklogStuckState

GraceBootTimeNEQ applies the NEQ predicate on the "grace_boot_time" field.

func GraceBootTimeNotIn added in v1.39.0

func GraceBootTimeNotIn(vs ...time.Time) predicate.BacklogStuckState

GraceBootTimeNotIn applies the NotIn predicate on the "grace_boot_time" field.

func GraceBootTimeNotNil added in v1.39.0

func GraceBootTimeNotNil() predicate.BacklogStuckState

GraceBootTimeNotNil applies the NotNil predicate on the "grace_boot_time" field.

func HasItem

func HasItem() predicate.BacklogStuckState

HasItem applies the HasEdge predicate on the "item" edge.

func HasItemWith

func HasItemWith(preds ...predicate.BacklogItem) predicate.BacklogStuckState

HasItemWith applies the HasEdge predicate on the "item" 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 ...uuid.UUID) predicate.BacklogStuckState

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 ...uuid.UUID) predicate.BacklogStuckState

IDNotIn applies the NotIn predicate on the ID field.

func ItemID

ItemID applies equality check predicate on the "item_id" field. It's identical to ItemIDEQ.

func ItemIDEQ

ItemIDEQ applies the EQ predicate on the "item_id" field.

func ItemIDIn

func ItemIDIn(vs ...uuid.UUID) predicate.BacklogStuckState

ItemIDIn applies the In predicate on the "item_id" field.

func ItemIDNEQ

func ItemIDNEQ(v uuid.UUID) predicate.BacklogStuckState

ItemIDNEQ applies the NEQ predicate on the "item_id" field.

func ItemIDNotIn

func ItemIDNotIn(vs ...uuid.UUID) predicate.BacklogStuckState

ItemIDNotIn applies the NotIn predicate on the "item_id" field.

func LastCheckedAt

func LastCheckedAt(v time.Time) predicate.BacklogStuckState

LastCheckedAt applies equality check predicate on the "last_checked_at" field. It's identical to LastCheckedAtEQ.

func LastCheckedAtEQ

func LastCheckedAtEQ(v time.Time) predicate.BacklogStuckState

LastCheckedAtEQ applies the EQ predicate on the "last_checked_at" field.

func LastCheckedAtGT

func LastCheckedAtGT(v time.Time) predicate.BacklogStuckState

LastCheckedAtGT applies the GT predicate on the "last_checked_at" field.

func LastCheckedAtGTE

func LastCheckedAtGTE(v time.Time) predicate.BacklogStuckState

LastCheckedAtGTE applies the GTE predicate on the "last_checked_at" field.

func LastCheckedAtIn

func LastCheckedAtIn(vs ...time.Time) predicate.BacklogStuckState

LastCheckedAtIn applies the In predicate on the "last_checked_at" field.

func LastCheckedAtLT

func LastCheckedAtLT(v time.Time) predicate.BacklogStuckState

LastCheckedAtLT applies the LT predicate on the "last_checked_at" field.

func LastCheckedAtLTE

func LastCheckedAtLTE(v time.Time) predicate.BacklogStuckState

LastCheckedAtLTE applies the LTE predicate on the "last_checked_at" field.

func LastCheckedAtNEQ

func LastCheckedAtNEQ(v time.Time) predicate.BacklogStuckState

LastCheckedAtNEQ applies the NEQ predicate on the "last_checked_at" field.

func LastCheckedAtNotIn

func LastCheckedAtNotIn(vs ...time.Time) predicate.BacklogStuckState

LastCheckedAtNotIn applies the NotIn predicate on the "last_checked_at" field.

func NextRemediationAt added in v1.39.0

func NextRemediationAt(v time.Time) predicate.BacklogStuckState

NextRemediationAt applies equality check predicate on the "next_remediation_at" field. It's identical to NextRemediationAtEQ.

func NextRemediationAtEQ added in v1.39.0

func NextRemediationAtEQ(v time.Time) predicate.BacklogStuckState

NextRemediationAtEQ applies the EQ predicate on the "next_remediation_at" field.

func NextRemediationAtGT added in v1.39.0

func NextRemediationAtGT(v time.Time) predicate.BacklogStuckState

NextRemediationAtGT applies the GT predicate on the "next_remediation_at" field.

func NextRemediationAtGTE added in v1.39.0

func NextRemediationAtGTE(v time.Time) predicate.BacklogStuckState

NextRemediationAtGTE applies the GTE predicate on the "next_remediation_at" field.

func NextRemediationAtIn added in v1.39.0

func NextRemediationAtIn(vs ...time.Time) predicate.BacklogStuckState

NextRemediationAtIn applies the In predicate on the "next_remediation_at" field.

func NextRemediationAtIsNil added in v1.39.0

func NextRemediationAtIsNil() predicate.BacklogStuckState

NextRemediationAtIsNil applies the IsNil predicate on the "next_remediation_at" field.

func NextRemediationAtLT added in v1.39.0

func NextRemediationAtLT(v time.Time) predicate.BacklogStuckState

NextRemediationAtLT applies the LT predicate on the "next_remediation_at" field.

func NextRemediationAtLTE added in v1.39.0

func NextRemediationAtLTE(v time.Time) predicate.BacklogStuckState

NextRemediationAtLTE applies the LTE predicate on the "next_remediation_at" field.

func NextRemediationAtNEQ added in v1.39.0

func NextRemediationAtNEQ(v time.Time) predicate.BacklogStuckState

NextRemediationAtNEQ applies the NEQ predicate on the "next_remediation_at" field.

func NextRemediationAtNotIn added in v1.39.0

func NextRemediationAtNotIn(vs ...time.Time) predicate.BacklogStuckState

NextRemediationAtNotIn applies the NotIn predicate on the "next_remediation_at" field.

func NextRemediationAtNotNil added in v1.39.0

func NextRemediationAtNotNil() predicate.BacklogStuckState

NextRemediationAtNotNil applies the NotNil predicate on the "next_remediation_at" field.

func Not

Not applies the not operator on the given predicate.

func NotifiedAt

func NotifiedAt(v time.Time) predicate.BacklogStuckState

NotifiedAt applies equality check predicate on the "notified_at" field. It's identical to NotifiedAtEQ.

func NotifiedAtEQ

func NotifiedAtEQ(v time.Time) predicate.BacklogStuckState

NotifiedAtEQ applies the EQ predicate on the "notified_at" field.

func NotifiedAtGT

func NotifiedAtGT(v time.Time) predicate.BacklogStuckState

NotifiedAtGT applies the GT predicate on the "notified_at" field.

func NotifiedAtGTE

func NotifiedAtGTE(v time.Time) predicate.BacklogStuckState

NotifiedAtGTE applies the GTE predicate on the "notified_at" field.

func NotifiedAtIn

func NotifiedAtIn(vs ...time.Time) predicate.BacklogStuckState

NotifiedAtIn applies the In predicate on the "notified_at" field.

func NotifiedAtIsNil

func NotifiedAtIsNil() predicate.BacklogStuckState

NotifiedAtIsNil applies the IsNil predicate on the "notified_at" field.

func NotifiedAtLT

func NotifiedAtLT(v time.Time) predicate.BacklogStuckState

NotifiedAtLT applies the LT predicate on the "notified_at" field.

func NotifiedAtLTE

func NotifiedAtLTE(v time.Time) predicate.BacklogStuckState

NotifiedAtLTE applies the LTE predicate on the "notified_at" field.

func NotifiedAtNEQ

func NotifiedAtNEQ(v time.Time) predicate.BacklogStuckState

NotifiedAtNEQ applies the NEQ predicate on the "notified_at" field.

func NotifiedAtNotIn

func NotifiedAtNotIn(vs ...time.Time) predicate.BacklogStuckState

NotifiedAtNotIn applies the NotIn predicate on the "notified_at" field.

func NotifiedAtNotNil

func NotifiedAtNotNil() predicate.BacklogStuckState

NotifiedAtNotNil applies the NotNil predicate on the "notified_at" field.

func Or

Or groups predicates with the OR operator between them.

func Reason

Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.

func ReasonContains

func ReasonContains(v string) predicate.BacklogStuckState

ReasonContains applies the Contains predicate on the "reason" field.

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.BacklogStuckState

ReasonContainsFold applies the ContainsFold predicate on the "reason" field.

func ReasonEQ

ReasonEQ applies the EQ predicate on the "reason" field.

func ReasonEqualFold

func ReasonEqualFold(v string) predicate.BacklogStuckState

ReasonEqualFold applies the EqualFold predicate on the "reason" field.

func ReasonGT

ReasonGT applies the GT predicate on the "reason" field.

func ReasonGTE

func ReasonGTE(v string) predicate.BacklogStuckState

ReasonGTE applies the GTE predicate on the "reason" field.

func ReasonHasPrefix

func ReasonHasPrefix(v string) predicate.BacklogStuckState

ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.

func ReasonHasSuffix

func ReasonHasSuffix(v string) predicate.BacklogStuckState

ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.

func ReasonIn

func ReasonIn(vs ...string) predicate.BacklogStuckState

ReasonIn applies the In predicate on the "reason" field.

func ReasonLT

ReasonLT applies the LT predicate on the "reason" field.

func ReasonLTE

func ReasonLTE(v string) predicate.BacklogStuckState

ReasonLTE applies the LTE predicate on the "reason" field.

func ReasonNEQ

func ReasonNEQ(v string) predicate.BacklogStuckState

ReasonNEQ applies the NEQ predicate on the "reason" field.

func ReasonNotIn

func ReasonNotIn(vs ...string) predicate.BacklogStuckState

ReasonNotIn applies the NotIn predicate on the "reason" field.

func RemediationAttempts added in v1.39.0

func RemediationAttempts(v int32) predicate.BacklogStuckState

RemediationAttempts applies equality check predicate on the "remediation_attempts" field. It's identical to RemediationAttemptsEQ.

func RemediationAttemptsEQ added in v1.39.0

func RemediationAttemptsEQ(v int32) predicate.BacklogStuckState

RemediationAttemptsEQ applies the EQ predicate on the "remediation_attempts" field.

func RemediationAttemptsGT added in v1.39.0

func RemediationAttemptsGT(v int32) predicate.BacklogStuckState

RemediationAttemptsGT applies the GT predicate on the "remediation_attempts" field.

func RemediationAttemptsGTE added in v1.39.0

func RemediationAttemptsGTE(v int32) predicate.BacklogStuckState

RemediationAttemptsGTE applies the GTE predicate on the "remediation_attempts" field.

func RemediationAttemptsIn added in v1.39.0

func RemediationAttemptsIn(vs ...int32) predicate.BacklogStuckState

RemediationAttemptsIn applies the In predicate on the "remediation_attempts" field.

func RemediationAttemptsLT added in v1.39.0

func RemediationAttemptsLT(v int32) predicate.BacklogStuckState

RemediationAttemptsLT applies the LT predicate on the "remediation_attempts" field.

func RemediationAttemptsLTE added in v1.39.0

func RemediationAttemptsLTE(v int32) predicate.BacklogStuckState

RemediationAttemptsLTE applies the LTE predicate on the "remediation_attempts" field.

func RemediationAttemptsNEQ added in v1.39.0

func RemediationAttemptsNEQ(v int32) predicate.BacklogStuckState

RemediationAttemptsNEQ applies the NEQ predicate on the "remediation_attempts" field.

func RemediationAttemptsNotIn added in v1.39.0

func RemediationAttemptsNotIn(vs ...int32) predicate.BacklogStuckState

RemediationAttemptsNotIn applies the NotIn predicate on the "remediation_attempts" field.

func ResolvedAt

func ResolvedAt(v time.Time) predicate.BacklogStuckState

ResolvedAt applies equality check predicate on the "resolved_at" field. It's identical to ResolvedAtEQ.

func ResolvedAtEQ

func ResolvedAtEQ(v time.Time) predicate.BacklogStuckState

ResolvedAtEQ applies the EQ predicate on the "resolved_at" field.

func ResolvedAtGT

func ResolvedAtGT(v time.Time) predicate.BacklogStuckState

ResolvedAtGT applies the GT predicate on the "resolved_at" field.

func ResolvedAtGTE

func ResolvedAtGTE(v time.Time) predicate.BacklogStuckState

ResolvedAtGTE applies the GTE predicate on the "resolved_at" field.

func ResolvedAtIn

func ResolvedAtIn(vs ...time.Time) predicate.BacklogStuckState

ResolvedAtIn applies the In predicate on the "resolved_at" field.

func ResolvedAtIsNil

func ResolvedAtIsNil() predicate.BacklogStuckState

ResolvedAtIsNil applies the IsNil predicate on the "resolved_at" field.

func ResolvedAtLT

func ResolvedAtLT(v time.Time) predicate.BacklogStuckState

ResolvedAtLT applies the LT predicate on the "resolved_at" field.

func ResolvedAtLTE

func ResolvedAtLTE(v time.Time) predicate.BacklogStuckState

ResolvedAtLTE applies the LTE predicate on the "resolved_at" field.

func ResolvedAtNEQ

func ResolvedAtNEQ(v time.Time) predicate.BacklogStuckState

ResolvedAtNEQ applies the NEQ predicate on the "resolved_at" field.

func ResolvedAtNotIn

func ResolvedAtNotIn(vs ...time.Time) predicate.BacklogStuckState

ResolvedAtNotIn applies the NotIn predicate on the "resolved_at" field.

func ResolvedAtNotNil

func ResolvedAtNotNil() predicate.BacklogStuckState

ResolvedAtNotNil applies the NotNil predicate on the "resolved_at" field.

func SnoozedUntil

func SnoozedUntil(v time.Time) predicate.BacklogStuckState

SnoozedUntil applies equality check predicate on the "snoozed_until" field. It's identical to SnoozedUntilEQ.

func SnoozedUntilEQ

func SnoozedUntilEQ(v time.Time) predicate.BacklogStuckState

SnoozedUntilEQ applies the EQ predicate on the "snoozed_until" field.

func SnoozedUntilGT

func SnoozedUntilGT(v time.Time) predicate.BacklogStuckState

SnoozedUntilGT applies the GT predicate on the "snoozed_until" field.

func SnoozedUntilGTE

func SnoozedUntilGTE(v time.Time) predicate.BacklogStuckState

SnoozedUntilGTE applies the GTE predicate on the "snoozed_until" field.

func SnoozedUntilIn

func SnoozedUntilIn(vs ...time.Time) predicate.BacklogStuckState

SnoozedUntilIn applies the In predicate on the "snoozed_until" field.

func SnoozedUntilIsNil

func SnoozedUntilIsNil() predicate.BacklogStuckState

SnoozedUntilIsNil applies the IsNil predicate on the "snoozed_until" field.

func SnoozedUntilLT

func SnoozedUntilLT(v time.Time) predicate.BacklogStuckState

SnoozedUntilLT applies the LT predicate on the "snoozed_until" field.

func SnoozedUntilLTE

func SnoozedUntilLTE(v time.Time) predicate.BacklogStuckState

SnoozedUntilLTE applies the LTE predicate on the "snoozed_until" field.

func SnoozedUntilNEQ

func SnoozedUntilNEQ(v time.Time) predicate.BacklogStuckState

SnoozedUntilNEQ applies the NEQ predicate on the "snoozed_until" field.

func SnoozedUntilNotIn

func SnoozedUntilNotIn(vs ...time.Time) predicate.BacklogStuckState

SnoozedUntilNotIn applies the NotIn predicate on the "snoozed_until" field.

func SnoozedUntilNotNil

func SnoozedUntilNotNil() predicate.BacklogStuckState

SnoozedUntilNotNil applies the NotNil predicate on the "snoozed_until" 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 BacklogStuckState queries.

func ByContext

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

ByContext orders the results by the context field.

func ByFirstDetectedAt

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

ByFirstDetectedAt orders the results by the first_detected_at field.

func ByGraceBootTime added in v1.39.0

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

ByGraceBootTime orders the results by the grace_boot_time field.

func ByID

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

ByID orders the results by the id field.

func ByItemField

func ByItemField(field string, opts ...sql.OrderTermOption) OrderOption

ByItemField orders the results by item field.

func ByItemID

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

ByItemID orders the results by the item_id field.

func ByLastCheckedAt

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

ByLastCheckedAt orders the results by the last_checked_at field.

func ByNextRemediationAt added in v1.39.0

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

ByNextRemediationAt orders the results by the next_remediation_at field.

func ByNotifiedAt

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

ByNotifiedAt orders the results by the notified_at field.

func ByReason

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

ByReason orders the results by the reason field.

func ByRemediationAttempts added in v1.39.0

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

ByRemediationAttempts orders the results by the remediation_attempts field.

func ByResolvedAt

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

ByResolvedAt orders the results by the resolved_at field.

func BySnoozedUntil

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

BySnoozedUntil orders the results by the snoozed_until field.

Jump to

Keyboard shortcuts

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