Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BacklogStuckState) predicate.BacklogStuckState
- func Context(v string) predicate.BacklogStuckState
- func ContextContains(v string) predicate.BacklogStuckState
- func ContextContainsFold(v string) predicate.BacklogStuckState
- func ContextEQ(v string) predicate.BacklogStuckState
- func ContextEqualFold(v string) predicate.BacklogStuckState
- func ContextGT(v string) predicate.BacklogStuckState
- func ContextGTE(v string) predicate.BacklogStuckState
- func ContextHasPrefix(v string) predicate.BacklogStuckState
- func ContextHasSuffix(v string) predicate.BacklogStuckState
- func ContextIn(vs ...string) predicate.BacklogStuckState
- func ContextIsNil() predicate.BacklogStuckState
- func ContextLT(v string) predicate.BacklogStuckState
- func ContextLTE(v string) predicate.BacklogStuckState
- func ContextNEQ(v string) predicate.BacklogStuckState
- func ContextNotIn(vs ...string) predicate.BacklogStuckState
- func ContextNotNil() predicate.BacklogStuckState
- func FirstDetectedAt(v time.Time) predicate.BacklogStuckState
- func FirstDetectedAtEQ(v time.Time) predicate.BacklogStuckState
- func FirstDetectedAtGT(v time.Time) predicate.BacklogStuckState
- func FirstDetectedAtGTE(v time.Time) predicate.BacklogStuckState
- func FirstDetectedAtIn(vs ...time.Time) predicate.BacklogStuckState
- func FirstDetectedAtLT(v time.Time) predicate.BacklogStuckState
- func FirstDetectedAtLTE(v time.Time) predicate.BacklogStuckState
- func FirstDetectedAtNEQ(v time.Time) predicate.BacklogStuckState
- func FirstDetectedAtNotIn(vs ...time.Time) predicate.BacklogStuckState
- func GraceBootTime(v time.Time) predicate.BacklogStuckState
- func GraceBootTimeEQ(v time.Time) predicate.BacklogStuckState
- func GraceBootTimeGT(v time.Time) predicate.BacklogStuckState
- func GraceBootTimeGTE(v time.Time) predicate.BacklogStuckState
- func GraceBootTimeIn(vs ...time.Time) predicate.BacklogStuckState
- func GraceBootTimeIsNil() predicate.BacklogStuckState
- func GraceBootTimeLT(v time.Time) predicate.BacklogStuckState
- func GraceBootTimeLTE(v time.Time) predicate.BacklogStuckState
- func GraceBootTimeNEQ(v time.Time) predicate.BacklogStuckState
- func GraceBootTimeNotIn(vs ...time.Time) predicate.BacklogStuckState
- func GraceBootTimeNotNil() predicate.BacklogStuckState
- func HasItem() predicate.BacklogStuckState
- func HasItemWith(preds ...predicate.BacklogItem) predicate.BacklogStuckState
- func ID(id uuid.UUID) predicate.BacklogStuckState
- func IDEQ(id uuid.UUID) predicate.BacklogStuckState
- func IDGT(id uuid.UUID) predicate.BacklogStuckState
- func IDGTE(id uuid.UUID) predicate.BacklogStuckState
- func IDIn(ids ...uuid.UUID) predicate.BacklogStuckState
- func IDLT(id uuid.UUID) predicate.BacklogStuckState
- func IDLTE(id uuid.UUID) predicate.BacklogStuckState
- func IDNEQ(id uuid.UUID) predicate.BacklogStuckState
- func IDNotIn(ids ...uuid.UUID) predicate.BacklogStuckState
- func ItemID(v uuid.UUID) predicate.BacklogStuckState
- func ItemIDEQ(v uuid.UUID) predicate.BacklogStuckState
- func ItemIDIn(vs ...uuid.UUID) predicate.BacklogStuckState
- func ItemIDNEQ(v uuid.UUID) predicate.BacklogStuckState
- func ItemIDNotIn(vs ...uuid.UUID) predicate.BacklogStuckState
- func LastCheckedAt(v time.Time) predicate.BacklogStuckState
- func LastCheckedAtEQ(v time.Time) predicate.BacklogStuckState
- func LastCheckedAtGT(v time.Time) predicate.BacklogStuckState
- func LastCheckedAtGTE(v time.Time) predicate.BacklogStuckState
- func LastCheckedAtIn(vs ...time.Time) predicate.BacklogStuckState
- func LastCheckedAtLT(v time.Time) predicate.BacklogStuckState
- func LastCheckedAtLTE(v time.Time) predicate.BacklogStuckState
- func LastCheckedAtNEQ(v time.Time) predicate.BacklogStuckState
- func LastCheckedAtNotIn(vs ...time.Time) predicate.BacklogStuckState
- func NextRemediationAt(v time.Time) predicate.BacklogStuckState
- func NextRemediationAtEQ(v time.Time) predicate.BacklogStuckState
- func NextRemediationAtGT(v time.Time) predicate.BacklogStuckState
- func NextRemediationAtGTE(v time.Time) predicate.BacklogStuckState
- func NextRemediationAtIn(vs ...time.Time) predicate.BacklogStuckState
- func NextRemediationAtIsNil() predicate.BacklogStuckState
- func NextRemediationAtLT(v time.Time) predicate.BacklogStuckState
- func NextRemediationAtLTE(v time.Time) predicate.BacklogStuckState
- func NextRemediationAtNEQ(v time.Time) predicate.BacklogStuckState
- func NextRemediationAtNotIn(vs ...time.Time) predicate.BacklogStuckState
- func NextRemediationAtNotNil() predicate.BacklogStuckState
- func Not(p predicate.BacklogStuckState) predicate.BacklogStuckState
- func NotifiedAt(v time.Time) predicate.BacklogStuckState
- func NotifiedAtEQ(v time.Time) predicate.BacklogStuckState
- func NotifiedAtGT(v time.Time) predicate.BacklogStuckState
- func NotifiedAtGTE(v time.Time) predicate.BacklogStuckState
- func NotifiedAtIn(vs ...time.Time) predicate.BacklogStuckState
- func NotifiedAtIsNil() predicate.BacklogStuckState
- func NotifiedAtLT(v time.Time) predicate.BacklogStuckState
- func NotifiedAtLTE(v time.Time) predicate.BacklogStuckState
- func NotifiedAtNEQ(v time.Time) predicate.BacklogStuckState
- func NotifiedAtNotIn(vs ...time.Time) predicate.BacklogStuckState
- func NotifiedAtNotNil() predicate.BacklogStuckState
- func Or(predicates ...predicate.BacklogStuckState) predicate.BacklogStuckState
- func Reason(v string) predicate.BacklogStuckState
- func ReasonContains(v string) predicate.BacklogStuckState
- func ReasonContainsFold(v string) predicate.BacklogStuckState
- func ReasonEQ(v string) predicate.BacklogStuckState
- func ReasonEqualFold(v string) predicate.BacklogStuckState
- func ReasonGT(v string) predicate.BacklogStuckState
- func ReasonGTE(v string) predicate.BacklogStuckState
- func ReasonHasPrefix(v string) predicate.BacklogStuckState
- func ReasonHasSuffix(v string) predicate.BacklogStuckState
- func ReasonIn(vs ...string) predicate.BacklogStuckState
- func ReasonLT(v string) predicate.BacklogStuckState
- func ReasonLTE(v string) predicate.BacklogStuckState
- func ReasonNEQ(v string) predicate.BacklogStuckState
- func ReasonNotIn(vs ...string) predicate.BacklogStuckState
- func RemediationAttempts(v int32) predicate.BacklogStuckState
- func RemediationAttemptsEQ(v int32) predicate.BacklogStuckState
- func RemediationAttemptsGT(v int32) predicate.BacklogStuckState
- func RemediationAttemptsGTE(v int32) predicate.BacklogStuckState
- func RemediationAttemptsIn(vs ...int32) predicate.BacklogStuckState
- func RemediationAttemptsLT(v int32) predicate.BacklogStuckState
- func RemediationAttemptsLTE(v int32) predicate.BacklogStuckState
- func RemediationAttemptsNEQ(v int32) predicate.BacklogStuckState
- func RemediationAttemptsNotIn(vs ...int32) predicate.BacklogStuckState
- func ResolvedAt(v time.Time) predicate.BacklogStuckState
- func ResolvedAtEQ(v time.Time) predicate.BacklogStuckState
- func ResolvedAtGT(v time.Time) predicate.BacklogStuckState
- func ResolvedAtGTE(v time.Time) predicate.BacklogStuckState
- func ResolvedAtIn(vs ...time.Time) predicate.BacklogStuckState
- func ResolvedAtIsNil() predicate.BacklogStuckState
- func ResolvedAtLT(v time.Time) predicate.BacklogStuckState
- func ResolvedAtLTE(v time.Time) predicate.BacklogStuckState
- func ResolvedAtNEQ(v time.Time) predicate.BacklogStuckState
- func ResolvedAtNotIn(vs ...time.Time) predicate.BacklogStuckState
- func ResolvedAtNotNil() predicate.BacklogStuckState
- func SnoozedUntil(v time.Time) predicate.BacklogStuckState
- func SnoozedUntilEQ(v time.Time) predicate.BacklogStuckState
- func SnoozedUntilGT(v time.Time) predicate.BacklogStuckState
- func SnoozedUntilGTE(v time.Time) predicate.BacklogStuckState
- func SnoozedUntilIn(vs ...time.Time) predicate.BacklogStuckState
- func SnoozedUntilIsNil() predicate.BacklogStuckState
- func SnoozedUntilLT(v time.Time) predicate.BacklogStuckState
- func SnoozedUntilLTE(v time.Time) predicate.BacklogStuckState
- func SnoozedUntilNEQ(v time.Time) predicate.BacklogStuckState
- func SnoozedUntilNotIn(vs ...time.Time) predicate.BacklogStuckState
- func SnoozedUntilNotNil() predicate.BacklogStuckState
- func ValidColumn(column string) bool
- type OrderOption
- func ByContext(opts ...sql.OrderTermOption) OrderOption
- func ByFirstDetectedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGraceBootTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByItemField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByItemID(opts ...sql.OrderTermOption) OrderOption
- func ByLastCheckedAt(opts ...sql.OrderTermOption) OrderOption
- func ByNextRemediationAt(opts ...sql.OrderTermOption) OrderOption
- func ByNotifiedAt(opts ...sql.OrderTermOption) OrderOption
- func ByReason(opts ...sql.OrderTermOption) OrderOption
- func ByRemediationAttempts(opts ...sql.OrderTermOption) OrderOption
- func ByResolvedAt(opts ...sql.OrderTermOption) OrderOption
- func BySnoozedUntil(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldItemID, FieldReason, FieldFirstDetectedAt, FieldLastCheckedAt, FieldNotifiedAt, FieldResolvedAt, FieldSnoozedUntil, FieldContext, FieldRemediationAttempts, FieldNextRemediationAt, FieldGraceBootTime, }
Columns holds all SQL columns for backlogstuckstate fields.
Functions ¶
func And ¶
func And(predicates ...predicate.BacklogStuckState) predicate.BacklogStuckState
And groups predicates with the AND operator between them.
func Context ¶
func Context(v string) predicate.BacklogStuckState
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 ¶
func ID(id uuid.UUID) predicate.BacklogStuckState
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.BacklogStuckState
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.BacklogStuckState
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.BacklogStuckState
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 ¶
func IDLT(id uuid.UUID) predicate.BacklogStuckState
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.BacklogStuckState
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.BacklogStuckState
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 ¶
func ItemID(v uuid.UUID) predicate.BacklogStuckState
ItemID applies equality check predicate on the "item_id" field. It's identical to ItemIDEQ.
func ItemIDEQ ¶
func ItemIDEQ(v uuid.UUID) predicate.BacklogStuckState
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 ¶
func Not(p predicate.BacklogStuckState) predicate.BacklogStuckState
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 ¶
func Or(predicates ...predicate.BacklogStuckState) predicate.BacklogStuckState
Or groups predicates with the OR operator between them.
func Reason ¶
func Reason(v string) predicate.BacklogStuckState
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 ¶
func ReasonEQ(v string) predicate.BacklogStuckState
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 ¶
func ReasonGT(v string) predicate.BacklogStuckState
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 ¶
func ReasonLT(v string) predicate.BacklogStuckState
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.