missdetail

package
v0.0.0-...-2c43d1c Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const DefaultReason = ReasonUNKNOWN

ReasonUNKNOWN is the default value of the Reason enum.

Variables

Columns holds all SQL columns for missdetail fields.

View Source
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 ID

func ID(id int) predicate.MissDetail

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.MissDetail

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MissDetail

IDGT applies the GT predicate on the ID field.

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 IDLT

func IDLT(id int) predicate.MissDetail

IDLT applies the LT 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

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

func ReasonValidator(r Reason) error

ReasonValidator is a validator for the "reason" 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 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

func (e Reason) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Reason) String

func (r Reason) String() string

func (*Reason) UnmarshalGQL

func (e *Reason) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

Jump to

Keyboard shortcuts

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