Documentation ¶
Index ¶
- Constants
- Variables
- func Algorithm(v string) predicate.PayloadDigest
- func AlgorithmContains(v string) predicate.PayloadDigest
- func AlgorithmContainsFold(v string) predicate.PayloadDigest
- func AlgorithmEQ(v string) predicate.PayloadDigest
- func AlgorithmEqualFold(v string) predicate.PayloadDigest
- func AlgorithmGT(v string) predicate.PayloadDigest
- func AlgorithmGTE(v string) predicate.PayloadDigest
- func AlgorithmHasPrefix(v string) predicate.PayloadDigest
- func AlgorithmHasSuffix(v string) predicate.PayloadDigest
- func AlgorithmIn(vs ...string) predicate.PayloadDigest
- func AlgorithmLT(v string) predicate.PayloadDigest
- func AlgorithmLTE(v string) predicate.PayloadDigest
- func AlgorithmNEQ(v string) predicate.PayloadDigest
- func AlgorithmNotIn(vs ...string) predicate.PayloadDigest
- func And(predicates ...predicate.PayloadDigest) predicate.PayloadDigest
- func HasDsse() predicate.PayloadDigest
- func HasDsseWith(preds ...predicate.Dsse) predicate.PayloadDigest
- func ID(id uuid.UUID) predicate.PayloadDigest
- func IDEQ(id uuid.UUID) predicate.PayloadDigest
- func IDGT(id uuid.UUID) predicate.PayloadDigest
- func IDGTE(id uuid.UUID) predicate.PayloadDigest
- func IDIn(ids ...uuid.UUID) predicate.PayloadDigest
- func IDLT(id uuid.UUID) predicate.PayloadDigest
- func IDLTE(id uuid.UUID) predicate.PayloadDigest
- func IDNEQ(id uuid.UUID) predicate.PayloadDigest
- func IDNotIn(ids ...uuid.UUID) predicate.PayloadDigest
- func Not(p predicate.PayloadDigest) predicate.PayloadDigest
- func Or(predicates ...predicate.PayloadDigest) predicate.PayloadDigest
- func ValidColumn(column string) bool
- func Value(v string) predicate.PayloadDigest
- func ValueContains(v string) predicate.PayloadDigest
- func ValueContainsFold(v string) predicate.PayloadDigest
- func ValueEQ(v string) predicate.PayloadDigest
- func ValueEqualFold(v string) predicate.PayloadDigest
- func ValueGT(v string) predicate.PayloadDigest
- func ValueGTE(v string) predicate.PayloadDigest
- func ValueHasPrefix(v string) predicate.PayloadDigest
- func ValueHasSuffix(v string) predicate.PayloadDigest
- func ValueIn(vs ...string) predicate.PayloadDigest
- func ValueLT(v string) predicate.PayloadDigest
- func ValueLTE(v string) predicate.PayloadDigest
- func ValueNEQ(v string) predicate.PayloadDigest
- func ValueNotIn(vs ...string) predicate.PayloadDigest
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the payloaddigest type in the database. Label = "payload_digest" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAlgorithm holds the string denoting the algorithm field in the database. FieldAlgorithm = "algorithm" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // EdgeDsse holds the string denoting the dsse edge name in mutations. EdgeDsse = "dsse" // Table holds the table name of the payloaddigest in the database. Table = "payload_digests" // DsseTable is the table that holds the dsse relation/edge. DsseTable = "payload_digests" // DsseInverseTable is the table name for the Dsse entity. // It exists in this package in order to avoid circular dependency with the "dsse" package. DsseInverseTable = "dsses" // DsseColumn is the table column denoting the dsse relation/edge. DsseColumn = "dsse_payload_digests" )
Variables ¶
var ( // AlgorithmValidator is a validator for the "algorithm" field. It is called by the builders before save. AlgorithmValidator func(string) error // ValueValidator is a validator for the "value" field. It is called by the builders before save. ValueValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldAlgorithm, FieldValue, }
Columns holds all SQL columns for payloaddigest fields.
var ForeignKeys = []string{
"dsse_payload_digests",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "payload_digests" table and are not defined as standalone fields in the schema.
Functions ¶
func Algorithm ¶
func Algorithm(v string) predicate.PayloadDigest
Algorithm applies equality check predicate on the "algorithm" field. It's identical to AlgorithmEQ.
func AlgorithmContains ¶
func AlgorithmContains(v string) predicate.PayloadDigest
AlgorithmContains applies the Contains predicate on the "algorithm" field.
func AlgorithmContainsFold ¶
func AlgorithmContainsFold(v string) predicate.PayloadDigest
AlgorithmContainsFold applies the ContainsFold predicate on the "algorithm" field.
func AlgorithmEQ ¶
func AlgorithmEQ(v string) predicate.PayloadDigest
AlgorithmEQ applies the EQ predicate on the "algorithm" field.
func AlgorithmEqualFold ¶
func AlgorithmEqualFold(v string) predicate.PayloadDigest
AlgorithmEqualFold applies the EqualFold predicate on the "algorithm" field.
func AlgorithmGT ¶
func AlgorithmGT(v string) predicate.PayloadDigest
AlgorithmGT applies the GT predicate on the "algorithm" field.
func AlgorithmGTE ¶
func AlgorithmGTE(v string) predicate.PayloadDigest
AlgorithmGTE applies the GTE predicate on the "algorithm" field.
func AlgorithmHasPrefix ¶
func AlgorithmHasPrefix(v string) predicate.PayloadDigest
AlgorithmHasPrefix applies the HasPrefix predicate on the "algorithm" field.
func AlgorithmHasSuffix ¶
func AlgorithmHasSuffix(v string) predicate.PayloadDigest
AlgorithmHasSuffix applies the HasSuffix predicate on the "algorithm" field.
func AlgorithmIn ¶
func AlgorithmIn(vs ...string) predicate.PayloadDigest
AlgorithmIn applies the In predicate on the "algorithm" field.
func AlgorithmLT ¶
func AlgorithmLT(v string) predicate.PayloadDigest
AlgorithmLT applies the LT predicate on the "algorithm" field.
func AlgorithmLTE ¶
func AlgorithmLTE(v string) predicate.PayloadDigest
AlgorithmLTE applies the LTE predicate on the "algorithm" field.
func AlgorithmNEQ ¶
func AlgorithmNEQ(v string) predicate.PayloadDigest
AlgorithmNEQ applies the NEQ predicate on the "algorithm" field.
func AlgorithmNotIn ¶
func AlgorithmNotIn(vs ...string) predicate.PayloadDigest
AlgorithmNotIn applies the NotIn predicate on the "algorithm" field.
func And ¶
func And(predicates ...predicate.PayloadDigest) predicate.PayloadDigest
And groups predicates with the AND operator between them.
func HasDsse ¶
func HasDsse() predicate.PayloadDigest
HasDsse applies the HasEdge predicate on the "dsse" edge.
func HasDsseWith ¶
func HasDsseWith(preds ...predicate.Dsse) predicate.PayloadDigest
HasDsseWith applies the HasEdge predicate on the "dsse" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.PayloadDigest
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.PayloadDigest
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.PayloadDigest
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.PayloadDigest
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.PayloadDigest
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.PayloadDigest
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.PayloadDigest
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.PayloadDigest
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.PayloadDigest
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.PayloadDigest) predicate.PayloadDigest
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.PayloadDigest) predicate.PayloadDigest
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
func Value(v string) predicate.PayloadDigest
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.PayloadDigest
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.PayloadDigest
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.PayloadDigest
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.PayloadDigest
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.PayloadDigest
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.PayloadDigest
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.PayloadDigest
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.PayloadDigest
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.PayloadDigest
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.PayloadDigest
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.PayloadDigest
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.PayloadDigest
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.PayloadDigest
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the PayloadDigest queries.
func ByAlgorithm ¶
func ByAlgorithm(opts ...sql.OrderTermOption) OrderOption
ByAlgorithm orders the results by the algorithm field.
func ByDsseField ¶
func ByDsseField(field string, opts ...sql.OrderTermOption) OrderOption
ByDsseField orders the results by dsse field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByValue ¶
func ByValue(opts ...sql.OrderTermOption) OrderOption
ByValue orders the results by the value field.