payloaddigest

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

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

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

Columns holds all SQL columns for payloaddigest fields.

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

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

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.PayloadDigest

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.PayloadDigest

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.PayloadDigest

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.PayloadDigest

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.PayloadDigest

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.PayloadDigest

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.PayloadDigest

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.PayloadDigest

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Value

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

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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