Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MissDetail) predicate.MissDetail
- func Count(v int32) predicate.MissDetail
- func CountEQ(v int32) predicate.MissDetail
- func CountGT(v int32) predicate.MissDetail
- func CountGTE(v int32) predicate.MissDetail
- func CountIn(vs ...int32) predicate.MissDetail
- func CountIsNil() predicate.MissDetail
- func CountLT(v int32) predicate.MissDetail
- func CountLTE(v int32) predicate.MissDetail
- func CountNEQ(v int32) predicate.MissDetail
- func CountNotIn(vs ...int32) predicate.MissDetail
- func CountNotNil() predicate.MissDetail
- func HasActionCacheStatistics() predicate.MissDetail
- func HasActionCacheStatisticsWith(preds ...predicate.ActionCacheStatistics) predicate.MissDetail
- func ID(id int) predicate.MissDetail
- func IDEQ(id int) predicate.MissDetail
- func IDGT(id int) predicate.MissDetail
- func IDGTE(id int) predicate.MissDetail
- func IDIn(ids ...int) predicate.MissDetail
- func IDLT(id int) predicate.MissDetail
- func IDLTE(id int) predicate.MissDetail
- func IDNEQ(id int) predicate.MissDetail
- func IDNotIn(ids ...int) predicate.MissDetail
- func Not(p predicate.MissDetail) predicate.MissDetail
- func Or(predicates ...predicate.MissDetail) predicate.MissDetail
- func ReasonEQ(v Reason) predicate.MissDetail
- func ReasonIn(vs ...Reason) predicate.MissDetail
- func ReasonIsNil() predicate.MissDetail
- func ReasonNEQ(v Reason) predicate.MissDetail
- func ReasonNotIn(vs ...Reason) predicate.MissDetail
- func ReasonNotNil() predicate.MissDetail
- func ReasonValidator(r Reason) error
- func ValidColumn(column string) bool
- type OrderOption
- type Reason
Constants ¶
const ( // Label holds the string label denoting the missdetail type in the database. Label = "miss_detail" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldReason holds the string denoting the reason field in the database. FieldReason = "reason" // FieldCount holds the string denoting the count field in the database. FieldCount = "count" // EdgeActionCacheStatistics holds the string denoting the action_cache_statistics edge name in mutations. EdgeActionCacheStatistics = "action_cache_statistics" // Table holds the table name of the missdetail in the database. Table = "miss_details" // ActionCacheStatisticsTable is the table that holds the action_cache_statistics relation/edge. ActionCacheStatisticsTable = "miss_details" // ActionCacheStatisticsInverseTable is the table name for the ActionCacheStatistics entity. // It exists in this package in order to avoid circular dependency with the "actioncachestatistics" package. ActionCacheStatisticsInverseTable = "action_cache_statistics" // ActionCacheStatisticsColumn is the table column denoting the action_cache_statistics relation/edge. ActionCacheStatisticsColumn = "action_cache_statistics_miss_details" )
const DefaultReason = ReasonUNKNOWN
ReasonUNKNOWN is the default value of the Reason enum.
Variables ¶
var Columns = []string{ FieldID, FieldReason, FieldCount, }
Columns holds all SQL columns for missdetail fields.
var ForeignKeys = []string{
"action_cache_statistics_miss_details",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "miss_details" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.MissDetail) predicate.MissDetail
And groups predicates with the AND operator between them.
func Count ¶
func Count(v int32) predicate.MissDetail
Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func CountEQ ¶
func CountEQ(v int32) predicate.MissDetail
CountEQ applies the EQ predicate on the "count" field.
func CountGT ¶
func CountGT(v int32) predicate.MissDetail
CountGT applies the GT predicate on the "count" field.
func CountGTE ¶
func CountGTE(v int32) predicate.MissDetail
CountGTE applies the GTE predicate on the "count" field.
func CountIn ¶
func CountIn(vs ...int32) predicate.MissDetail
CountIn applies the In predicate on the "count" field.
func CountIsNil ¶
func CountIsNil() predicate.MissDetail
CountIsNil applies the IsNil predicate on the "count" field.
func CountLT ¶
func CountLT(v int32) predicate.MissDetail
CountLT applies the LT predicate on the "count" field.
func CountLTE ¶
func CountLTE(v int32) predicate.MissDetail
CountLTE applies the LTE predicate on the "count" field.
func CountNEQ ¶
func CountNEQ(v int32) predicate.MissDetail
CountNEQ applies the NEQ predicate on the "count" field.
func CountNotIn ¶
func CountNotIn(vs ...int32) predicate.MissDetail
CountNotIn applies the NotIn predicate on the "count" field.
func CountNotNil ¶
func CountNotNil() predicate.MissDetail
CountNotNil applies the NotNil predicate on the "count" field.
func HasActionCacheStatistics ¶
func HasActionCacheStatistics() predicate.MissDetail
HasActionCacheStatistics applies the HasEdge predicate on the "action_cache_statistics" edge.
func HasActionCacheStatisticsWith ¶
func HasActionCacheStatisticsWith(preds ...predicate.ActionCacheStatistics) predicate.MissDetail
HasActionCacheStatisticsWith applies the HasEdge predicate on the "action_cache_statistics" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.MissDetail
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MissDetail
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MissDetail
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MissDetail
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MissDetail
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.MissDetail) predicate.MissDetail
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MissDetail) predicate.MissDetail
Or groups predicates with the OR operator between them.
func ReasonEQ ¶
func ReasonEQ(v Reason) predicate.MissDetail
ReasonEQ applies the EQ predicate on the "reason" field.
func ReasonIn ¶
func ReasonIn(vs ...Reason) predicate.MissDetail
ReasonIn applies the In predicate on the "reason" field.
func ReasonIsNil ¶
func ReasonIsNil() predicate.MissDetail
ReasonIsNil applies the IsNil predicate on the "reason" field.
func ReasonNEQ ¶
func ReasonNEQ(v Reason) predicate.MissDetail
ReasonNEQ applies the NEQ predicate on the "reason" field.
func ReasonNotIn ¶
func ReasonNotIn(vs ...Reason) predicate.MissDetail
ReasonNotIn applies the NotIn predicate on the "reason" field.
func ReasonNotNil ¶
func ReasonNotNil() predicate.MissDetail
ReasonNotNil applies the NotNil predicate on the "reason" field.
func ReasonValidator ¶
ReasonValidator is a validator for the "reason" field enum values. It is called by the builders before save.
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 MissDetail queries.
func ByActionCacheStatisticsField ¶
func ByActionCacheStatisticsField(field string, opts ...sql.OrderTermOption) OrderOption
ByActionCacheStatisticsField orders the results by action_cache_statistics field.
func ByCount ¶
func ByCount(opts ...sql.OrderTermOption) OrderOption
ByCount orders the results by the count field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByReason ¶
func ByReason(opts ...sql.OrderTermOption) OrderOption
ByReason orders the results by the reason field.
type Reason ¶
type Reason string
Reason defines the type for the "reason" enum field.
const ( ReasonDIFFERENT_ACTION_KEY Reason = "DIFFERENT_ACTION_KEY" ReasonDIFFERENT_DEPS Reason = "DIFFERENT_DEPS" ReasonDIFFERENT_ENVIRONMENT Reason = "DIFFERENT_ENVIRONMENT" ReasonDIFFERENT_FILES Reason = "DIFFERENT_FILES" ReasonCORRUPTED_CACHE_ENTRY Reason = "CORRUPTED_CACHE_ENTRY" ReasonNOT_CACHED Reason = "NOT_CACHED" ReasonUNCONDITIONAL_EXECUTION Reason = "UNCONDITIONAL_EXECUTION" ReasonUNKNOWN Reason = "UNKNOWN" )
Reason values.
func (Reason) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Reason) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.