Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SLSAAttestation) predicate.SLSAAttestation
- func BuildType(v string) predicate.SLSAAttestation
- func BuildTypeContains(v string) predicate.SLSAAttestation
- func BuildTypeContainsFold(v string) predicate.SLSAAttestation
- func BuildTypeEQ(v string) predicate.SLSAAttestation
- func BuildTypeEqualFold(v string) predicate.SLSAAttestation
- func BuildTypeGT(v string) predicate.SLSAAttestation
- func BuildTypeGTE(v string) predicate.SLSAAttestation
- func BuildTypeHasPrefix(v string) predicate.SLSAAttestation
- func BuildTypeHasSuffix(v string) predicate.SLSAAttestation
- func BuildTypeIn(vs ...string) predicate.SLSAAttestation
- func BuildTypeLT(v string) predicate.SLSAAttestation
- func BuildTypeLTE(v string) predicate.SLSAAttestation
- func BuildTypeNEQ(v string) predicate.SLSAAttestation
- func BuildTypeNotIn(vs ...string) predicate.SLSAAttestation
- func BuiltByID(v uuid.UUID) predicate.SLSAAttestation
- func BuiltByIDEQ(v uuid.UUID) predicate.SLSAAttestation
- func BuiltByIDIn(vs ...uuid.UUID) predicate.SLSAAttestation
- func BuiltByIDNEQ(v uuid.UUID) predicate.SLSAAttestation
- func BuiltByIDNotIn(vs ...uuid.UUID) predicate.SLSAAttestation
- func BuiltFromHash(v string) predicate.SLSAAttestation
- func BuiltFromHashContains(v string) predicate.SLSAAttestation
- func BuiltFromHashContainsFold(v string) predicate.SLSAAttestation
- func BuiltFromHashEQ(v string) predicate.SLSAAttestation
- func BuiltFromHashEqualFold(v string) predicate.SLSAAttestation
- func BuiltFromHashGT(v string) predicate.SLSAAttestation
- func BuiltFromHashGTE(v string) predicate.SLSAAttestation
- func BuiltFromHashHasPrefix(v string) predicate.SLSAAttestation
- func BuiltFromHashHasSuffix(v string) predicate.SLSAAttestation
- func BuiltFromHashIn(vs ...string) predicate.SLSAAttestation
- func BuiltFromHashLT(v string) predicate.SLSAAttestation
- func BuiltFromHashLTE(v string) predicate.SLSAAttestation
- func BuiltFromHashNEQ(v string) predicate.SLSAAttestation
- func BuiltFromHashNotIn(vs ...string) predicate.SLSAAttestation
- func Collector(v string) predicate.SLSAAttestation
- func CollectorContains(v string) predicate.SLSAAttestation
- func CollectorContainsFold(v string) predicate.SLSAAttestation
- func CollectorEQ(v string) predicate.SLSAAttestation
- func CollectorEqualFold(v string) predicate.SLSAAttestation
- func CollectorGT(v string) predicate.SLSAAttestation
- func CollectorGTE(v string) predicate.SLSAAttestation
- func CollectorHasPrefix(v string) predicate.SLSAAttestation
- func CollectorHasSuffix(v string) predicate.SLSAAttestation
- func CollectorIn(vs ...string) predicate.SLSAAttestation
- func CollectorLT(v string) predicate.SLSAAttestation
- func CollectorLTE(v string) predicate.SLSAAttestation
- func CollectorNEQ(v string) predicate.SLSAAttestation
- func CollectorNotIn(vs ...string) predicate.SLSAAttestation
- func DocumentRef(v string) predicate.SLSAAttestation
- func DocumentRefContains(v string) predicate.SLSAAttestation
- func DocumentRefContainsFold(v string) predicate.SLSAAttestation
- func DocumentRefEQ(v string) predicate.SLSAAttestation
- func DocumentRefEqualFold(v string) predicate.SLSAAttestation
- func DocumentRefGT(v string) predicate.SLSAAttestation
- func DocumentRefGTE(v string) predicate.SLSAAttestation
- func DocumentRefHasPrefix(v string) predicate.SLSAAttestation
- func DocumentRefHasSuffix(v string) predicate.SLSAAttestation
- func DocumentRefIn(vs ...string) predicate.SLSAAttestation
- func DocumentRefLT(v string) predicate.SLSAAttestation
- func DocumentRefLTE(v string) predicate.SLSAAttestation
- func DocumentRefNEQ(v string) predicate.SLSAAttestation
- func DocumentRefNotIn(vs ...string) predicate.SLSAAttestation
- func FinishedOn(v time.Time) predicate.SLSAAttestation
- func FinishedOnEQ(v time.Time) predicate.SLSAAttestation
- func FinishedOnGT(v time.Time) predicate.SLSAAttestation
- func FinishedOnGTE(v time.Time) predicate.SLSAAttestation
- func FinishedOnIn(vs ...time.Time) predicate.SLSAAttestation
- func FinishedOnLT(v time.Time) predicate.SLSAAttestation
- func FinishedOnLTE(v time.Time) predicate.SLSAAttestation
- func FinishedOnNEQ(v time.Time) predicate.SLSAAttestation
- func FinishedOnNotIn(vs ...time.Time) predicate.SLSAAttestation
- func HasBuiltBy() predicate.SLSAAttestation
- func HasBuiltByWith(preds ...predicate.Builder) predicate.SLSAAttestation
- func HasBuiltFrom() predicate.SLSAAttestation
- func HasBuiltFromWith(preds ...predicate.Artifact) predicate.SLSAAttestation
- func HasSubject() predicate.SLSAAttestation
- func HasSubjectWith(preds ...predicate.Artifact) predicate.SLSAAttestation
- func ID(id uuid.UUID) predicate.SLSAAttestation
- func IDEQ(id uuid.UUID) predicate.SLSAAttestation
- func IDGT(id uuid.UUID) predicate.SLSAAttestation
- func IDGTE(id uuid.UUID) predicate.SLSAAttestation
- func IDIn(ids ...uuid.UUID) predicate.SLSAAttestation
- func IDLT(id uuid.UUID) predicate.SLSAAttestation
- func IDLTE(id uuid.UUID) predicate.SLSAAttestation
- func IDNEQ(id uuid.UUID) predicate.SLSAAttestation
- func IDNotIn(ids ...uuid.UUID) predicate.SLSAAttestation
- func Not(p predicate.SLSAAttestation) predicate.SLSAAttestation
- func Or(predicates ...predicate.SLSAAttestation) predicate.SLSAAttestation
- func Origin(v string) predicate.SLSAAttestation
- func OriginContains(v string) predicate.SLSAAttestation
- func OriginContainsFold(v string) predicate.SLSAAttestation
- func OriginEQ(v string) predicate.SLSAAttestation
- func OriginEqualFold(v string) predicate.SLSAAttestation
- func OriginGT(v string) predicate.SLSAAttestation
- func OriginGTE(v string) predicate.SLSAAttestation
- func OriginHasPrefix(v string) predicate.SLSAAttestation
- func OriginHasSuffix(v string) predicate.SLSAAttestation
- func OriginIn(vs ...string) predicate.SLSAAttestation
- func OriginLT(v string) predicate.SLSAAttestation
- func OriginLTE(v string) predicate.SLSAAttestation
- func OriginNEQ(v string) predicate.SLSAAttestation
- func OriginNotIn(vs ...string) predicate.SLSAAttestation
- func SlsaPredicateIsNil() predicate.SLSAAttestation
- func SlsaPredicateNotNil() predicate.SLSAAttestation
- func SlsaVersion(v string) predicate.SLSAAttestation
- func SlsaVersionContains(v string) predicate.SLSAAttestation
- func SlsaVersionContainsFold(v string) predicate.SLSAAttestation
- func SlsaVersionEQ(v string) predicate.SLSAAttestation
- func SlsaVersionEqualFold(v string) predicate.SLSAAttestation
- func SlsaVersionGT(v string) predicate.SLSAAttestation
- func SlsaVersionGTE(v string) predicate.SLSAAttestation
- func SlsaVersionHasPrefix(v string) predicate.SLSAAttestation
- func SlsaVersionHasSuffix(v string) predicate.SLSAAttestation
- func SlsaVersionIn(vs ...string) predicate.SLSAAttestation
- func SlsaVersionLT(v string) predicate.SLSAAttestation
- func SlsaVersionLTE(v string) predicate.SLSAAttestation
- func SlsaVersionNEQ(v string) predicate.SLSAAttestation
- func SlsaVersionNotIn(vs ...string) predicate.SLSAAttestation
- func StartedOn(v time.Time) predicate.SLSAAttestation
- func StartedOnEQ(v time.Time) predicate.SLSAAttestation
- func StartedOnGT(v time.Time) predicate.SLSAAttestation
- func StartedOnGTE(v time.Time) predicate.SLSAAttestation
- func StartedOnIn(vs ...time.Time) predicate.SLSAAttestation
- func StartedOnLT(v time.Time) predicate.SLSAAttestation
- func StartedOnLTE(v time.Time) predicate.SLSAAttestation
- func StartedOnNEQ(v time.Time) predicate.SLSAAttestation
- func StartedOnNotIn(vs ...time.Time) predicate.SLSAAttestation
- func SubjectID(v uuid.UUID) predicate.SLSAAttestation
- func SubjectIDEQ(v uuid.UUID) predicate.SLSAAttestation
- func SubjectIDIn(vs ...uuid.UUID) predicate.SLSAAttestation
- func SubjectIDNEQ(v uuid.UUID) predicate.SLSAAttestation
- func SubjectIDNotIn(vs ...uuid.UUID) predicate.SLSAAttestation
- func ValidColumn(column string) bool
- type OrderOption
- func ByBuildType(opts ...sql.OrderTermOption) OrderOption
- func ByBuiltByField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBuiltByID(opts ...sql.OrderTermOption) OrderOption
- func ByBuiltFrom(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBuiltFromCount(opts ...sql.OrderTermOption) OrderOption
- func ByBuiltFromHash(opts ...sql.OrderTermOption) OrderOption
- func ByCollector(opts ...sql.OrderTermOption) OrderOption
- func ByDocumentRef(opts ...sql.OrderTermOption) OrderOption
- func ByFinishedOn(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOrigin(opts ...sql.OrderTermOption) OrderOption
- func BySlsaVersion(opts ...sql.OrderTermOption) OrderOption
- func ByStartedOn(opts ...sql.OrderTermOption) OrderOption
- func BySubjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySubjectID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the slsaattestation type in the database. Label = "slsa_attestation" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBuildType holds the string denoting the build_type field in the database. FieldBuildType = "build_type" // FieldBuiltByID holds the string denoting the built_by_id field in the database. FieldBuiltByID = "built_by_id" // FieldSubjectID holds the string denoting the subject_id field in the database. FieldSubjectID = "subject_id" // FieldSlsaPredicate holds the string denoting the slsa_predicate field in the database. FieldSlsaPredicate = "slsa_predicate" // FieldSlsaVersion holds the string denoting the slsa_version field in the database. FieldSlsaVersion = "slsa_version" // FieldStartedOn holds the string denoting the started_on field in the database. FieldStartedOn = "started_on" // FieldFinishedOn holds the string denoting the finished_on field in the database. FieldFinishedOn = "finished_on" // FieldOrigin holds the string denoting the origin field in the database. FieldOrigin = "origin" // FieldCollector holds the string denoting the collector field in the database. FieldCollector = "collector" // FieldDocumentRef holds the string denoting the document_ref field in the database. FieldDocumentRef = "document_ref" // FieldBuiltFromHash holds the string denoting the built_from_hash field in the database. FieldBuiltFromHash = "built_from_hash" // EdgeBuiltFrom holds the string denoting the built_from edge name in mutations. EdgeBuiltFrom = "built_from" // EdgeBuiltBy holds the string denoting the built_by edge name in mutations. EdgeBuiltBy = "built_by" // EdgeSubject holds the string denoting the subject edge name in mutations. EdgeSubject = "subject" // Table holds the table name of the slsaattestation in the database. Table = "slsa_attestations" // BuiltFromTable is the table that holds the built_from relation/edge. The primary key declared below. BuiltFromTable = "slsa_attestation_built_from" // BuiltFromInverseTable is the table name for the Artifact entity. // It exists in this package in order to avoid circular dependency with the "artifact" package. BuiltFromInverseTable = "artifacts" // BuiltByTable is the table that holds the built_by relation/edge. BuiltByTable = "slsa_attestations" // BuiltByInverseTable is the table name for the Builder entity. // It exists in this package in order to avoid circular dependency with the "builder" package. BuiltByInverseTable = "builders" // BuiltByColumn is the table column denoting the built_by relation/edge. BuiltByColumn = "built_by_id" // SubjectTable is the table that holds the subject relation/edge. SubjectTable = "slsa_attestations" // SubjectInverseTable is the table name for the Artifact entity. // It exists in this package in order to avoid circular dependency with the "artifact" package. SubjectInverseTable = "artifacts" // SubjectColumn is the table column denoting the subject relation/edge. SubjectColumn = "subject_id" )
Variables ¶
var ( // BuiltFromPrimaryKey and BuiltFromColumn2 are the table columns denoting the // primary key for the built_from relation (M2M). BuiltFromPrimaryKey = []string{"slsa_attestation_id", "artifact_id"} )
var Columns = []string{ FieldID, FieldBuildType, FieldBuiltByID, FieldSubjectID, FieldSlsaPredicate, FieldSlsaVersion, FieldStartedOn, FieldFinishedOn, FieldOrigin, FieldCollector, FieldDocumentRef, FieldBuiltFromHash, }
Columns holds all SQL columns for slsaattestation fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func And ¶
func And(predicates ...predicate.SLSAAttestation) predicate.SLSAAttestation
And groups predicates with the AND operator between them.
func BuildType ¶
func BuildType(v string) predicate.SLSAAttestation
BuildType applies equality check predicate on the "build_type" field. It's identical to BuildTypeEQ.
func BuildTypeContains ¶
func BuildTypeContains(v string) predicate.SLSAAttestation
BuildTypeContains applies the Contains predicate on the "build_type" field.
func BuildTypeContainsFold ¶
func BuildTypeContainsFold(v string) predicate.SLSAAttestation
BuildTypeContainsFold applies the ContainsFold predicate on the "build_type" field.
func BuildTypeEQ ¶
func BuildTypeEQ(v string) predicate.SLSAAttestation
BuildTypeEQ applies the EQ predicate on the "build_type" field.
func BuildTypeEqualFold ¶
func BuildTypeEqualFold(v string) predicate.SLSAAttestation
BuildTypeEqualFold applies the EqualFold predicate on the "build_type" field.
func BuildTypeGT ¶
func BuildTypeGT(v string) predicate.SLSAAttestation
BuildTypeGT applies the GT predicate on the "build_type" field.
func BuildTypeGTE ¶
func BuildTypeGTE(v string) predicate.SLSAAttestation
BuildTypeGTE applies the GTE predicate on the "build_type" field.
func BuildTypeHasPrefix ¶
func BuildTypeHasPrefix(v string) predicate.SLSAAttestation
BuildTypeHasPrefix applies the HasPrefix predicate on the "build_type" field.
func BuildTypeHasSuffix ¶
func BuildTypeHasSuffix(v string) predicate.SLSAAttestation
BuildTypeHasSuffix applies the HasSuffix predicate on the "build_type" field.
func BuildTypeIn ¶
func BuildTypeIn(vs ...string) predicate.SLSAAttestation
BuildTypeIn applies the In predicate on the "build_type" field.
func BuildTypeLT ¶
func BuildTypeLT(v string) predicate.SLSAAttestation
BuildTypeLT applies the LT predicate on the "build_type" field.
func BuildTypeLTE ¶
func BuildTypeLTE(v string) predicate.SLSAAttestation
BuildTypeLTE applies the LTE predicate on the "build_type" field.
func BuildTypeNEQ ¶
func BuildTypeNEQ(v string) predicate.SLSAAttestation
BuildTypeNEQ applies the NEQ predicate on the "build_type" field.
func BuildTypeNotIn ¶
func BuildTypeNotIn(vs ...string) predicate.SLSAAttestation
BuildTypeNotIn applies the NotIn predicate on the "build_type" field.
func BuiltByID ¶
func BuiltByID(v uuid.UUID) predicate.SLSAAttestation
BuiltByID applies equality check predicate on the "built_by_id" field. It's identical to BuiltByIDEQ.
func BuiltByIDEQ ¶
func BuiltByIDEQ(v uuid.UUID) predicate.SLSAAttestation
BuiltByIDEQ applies the EQ predicate on the "built_by_id" field.
func BuiltByIDIn ¶
func BuiltByIDIn(vs ...uuid.UUID) predicate.SLSAAttestation
BuiltByIDIn applies the In predicate on the "built_by_id" field.
func BuiltByIDNEQ ¶
func BuiltByIDNEQ(v uuid.UUID) predicate.SLSAAttestation
BuiltByIDNEQ applies the NEQ predicate on the "built_by_id" field.
func BuiltByIDNotIn ¶
func BuiltByIDNotIn(vs ...uuid.UUID) predicate.SLSAAttestation
BuiltByIDNotIn applies the NotIn predicate on the "built_by_id" field.
func BuiltFromHash ¶
func BuiltFromHash(v string) predicate.SLSAAttestation
BuiltFromHash applies equality check predicate on the "built_from_hash" field. It's identical to BuiltFromHashEQ.
func BuiltFromHashContains ¶
func BuiltFromHashContains(v string) predicate.SLSAAttestation
BuiltFromHashContains applies the Contains predicate on the "built_from_hash" field.
func BuiltFromHashContainsFold ¶
func BuiltFromHashContainsFold(v string) predicate.SLSAAttestation
BuiltFromHashContainsFold applies the ContainsFold predicate on the "built_from_hash" field.
func BuiltFromHashEQ ¶
func BuiltFromHashEQ(v string) predicate.SLSAAttestation
BuiltFromHashEQ applies the EQ predicate on the "built_from_hash" field.
func BuiltFromHashEqualFold ¶
func BuiltFromHashEqualFold(v string) predicate.SLSAAttestation
BuiltFromHashEqualFold applies the EqualFold predicate on the "built_from_hash" field.
func BuiltFromHashGT ¶
func BuiltFromHashGT(v string) predicate.SLSAAttestation
BuiltFromHashGT applies the GT predicate on the "built_from_hash" field.
func BuiltFromHashGTE ¶
func BuiltFromHashGTE(v string) predicate.SLSAAttestation
BuiltFromHashGTE applies the GTE predicate on the "built_from_hash" field.
func BuiltFromHashHasPrefix ¶
func BuiltFromHashHasPrefix(v string) predicate.SLSAAttestation
BuiltFromHashHasPrefix applies the HasPrefix predicate on the "built_from_hash" field.
func BuiltFromHashHasSuffix ¶
func BuiltFromHashHasSuffix(v string) predicate.SLSAAttestation
BuiltFromHashHasSuffix applies the HasSuffix predicate on the "built_from_hash" field.
func BuiltFromHashIn ¶
func BuiltFromHashIn(vs ...string) predicate.SLSAAttestation
BuiltFromHashIn applies the In predicate on the "built_from_hash" field.
func BuiltFromHashLT ¶
func BuiltFromHashLT(v string) predicate.SLSAAttestation
BuiltFromHashLT applies the LT predicate on the "built_from_hash" field.
func BuiltFromHashLTE ¶
func BuiltFromHashLTE(v string) predicate.SLSAAttestation
BuiltFromHashLTE applies the LTE predicate on the "built_from_hash" field.
func BuiltFromHashNEQ ¶
func BuiltFromHashNEQ(v string) predicate.SLSAAttestation
BuiltFromHashNEQ applies the NEQ predicate on the "built_from_hash" field.
func BuiltFromHashNotIn ¶
func BuiltFromHashNotIn(vs ...string) predicate.SLSAAttestation
BuiltFromHashNotIn applies the NotIn predicate on the "built_from_hash" field.
func Collector ¶
func Collector(v string) predicate.SLSAAttestation
Collector applies equality check predicate on the "collector" field. It's identical to CollectorEQ.
func CollectorContains ¶
func CollectorContains(v string) predicate.SLSAAttestation
CollectorContains applies the Contains predicate on the "collector" field.
func CollectorContainsFold ¶
func CollectorContainsFold(v string) predicate.SLSAAttestation
CollectorContainsFold applies the ContainsFold predicate on the "collector" field.
func CollectorEQ ¶
func CollectorEQ(v string) predicate.SLSAAttestation
CollectorEQ applies the EQ predicate on the "collector" field.
func CollectorEqualFold ¶
func CollectorEqualFold(v string) predicate.SLSAAttestation
CollectorEqualFold applies the EqualFold predicate on the "collector" field.
func CollectorGT ¶
func CollectorGT(v string) predicate.SLSAAttestation
CollectorGT applies the GT predicate on the "collector" field.
func CollectorGTE ¶
func CollectorGTE(v string) predicate.SLSAAttestation
CollectorGTE applies the GTE predicate on the "collector" field.
func CollectorHasPrefix ¶
func CollectorHasPrefix(v string) predicate.SLSAAttestation
CollectorHasPrefix applies the HasPrefix predicate on the "collector" field.
func CollectorHasSuffix ¶
func CollectorHasSuffix(v string) predicate.SLSAAttestation
CollectorHasSuffix applies the HasSuffix predicate on the "collector" field.
func CollectorIn ¶
func CollectorIn(vs ...string) predicate.SLSAAttestation
CollectorIn applies the In predicate on the "collector" field.
func CollectorLT ¶
func CollectorLT(v string) predicate.SLSAAttestation
CollectorLT applies the LT predicate on the "collector" field.
func CollectorLTE ¶
func CollectorLTE(v string) predicate.SLSAAttestation
CollectorLTE applies the LTE predicate on the "collector" field.
func CollectorNEQ ¶
func CollectorNEQ(v string) predicate.SLSAAttestation
CollectorNEQ applies the NEQ predicate on the "collector" field.
func CollectorNotIn ¶
func CollectorNotIn(vs ...string) predicate.SLSAAttestation
CollectorNotIn applies the NotIn predicate on the "collector" field.
func DocumentRef ¶ added in v0.6.0
func DocumentRef(v string) predicate.SLSAAttestation
DocumentRef applies equality check predicate on the "document_ref" field. It's identical to DocumentRefEQ.
func DocumentRefContains ¶ added in v0.6.0
func DocumentRefContains(v string) predicate.SLSAAttestation
DocumentRefContains applies the Contains predicate on the "document_ref" field.
func DocumentRefContainsFold ¶ added in v0.6.0
func DocumentRefContainsFold(v string) predicate.SLSAAttestation
DocumentRefContainsFold applies the ContainsFold predicate on the "document_ref" field.
func DocumentRefEQ ¶ added in v0.6.0
func DocumentRefEQ(v string) predicate.SLSAAttestation
DocumentRefEQ applies the EQ predicate on the "document_ref" field.
func DocumentRefEqualFold ¶ added in v0.6.0
func DocumentRefEqualFold(v string) predicate.SLSAAttestation
DocumentRefEqualFold applies the EqualFold predicate on the "document_ref" field.
func DocumentRefGT ¶ added in v0.6.0
func DocumentRefGT(v string) predicate.SLSAAttestation
DocumentRefGT applies the GT predicate on the "document_ref" field.
func DocumentRefGTE ¶ added in v0.6.0
func DocumentRefGTE(v string) predicate.SLSAAttestation
DocumentRefGTE applies the GTE predicate on the "document_ref" field.
func DocumentRefHasPrefix ¶ added in v0.6.0
func DocumentRefHasPrefix(v string) predicate.SLSAAttestation
DocumentRefHasPrefix applies the HasPrefix predicate on the "document_ref" field.
func DocumentRefHasSuffix ¶ added in v0.6.0
func DocumentRefHasSuffix(v string) predicate.SLSAAttestation
DocumentRefHasSuffix applies the HasSuffix predicate on the "document_ref" field.
func DocumentRefIn ¶ added in v0.6.0
func DocumentRefIn(vs ...string) predicate.SLSAAttestation
DocumentRefIn applies the In predicate on the "document_ref" field.
func DocumentRefLT ¶ added in v0.6.0
func DocumentRefLT(v string) predicate.SLSAAttestation
DocumentRefLT applies the LT predicate on the "document_ref" field.
func DocumentRefLTE ¶ added in v0.6.0
func DocumentRefLTE(v string) predicate.SLSAAttestation
DocumentRefLTE applies the LTE predicate on the "document_ref" field.
func DocumentRefNEQ ¶ added in v0.6.0
func DocumentRefNEQ(v string) predicate.SLSAAttestation
DocumentRefNEQ applies the NEQ predicate on the "document_ref" field.
func DocumentRefNotIn ¶ added in v0.6.0
func DocumentRefNotIn(vs ...string) predicate.SLSAAttestation
DocumentRefNotIn applies the NotIn predicate on the "document_ref" field.
func FinishedOn ¶
func FinishedOn(v time.Time) predicate.SLSAAttestation
FinishedOn applies equality check predicate on the "finished_on" field. It's identical to FinishedOnEQ.
func FinishedOnEQ ¶
func FinishedOnEQ(v time.Time) predicate.SLSAAttestation
FinishedOnEQ applies the EQ predicate on the "finished_on" field.
func FinishedOnGT ¶
func FinishedOnGT(v time.Time) predicate.SLSAAttestation
FinishedOnGT applies the GT predicate on the "finished_on" field.
func FinishedOnGTE ¶
func FinishedOnGTE(v time.Time) predicate.SLSAAttestation
FinishedOnGTE applies the GTE predicate on the "finished_on" field.
func FinishedOnIn ¶
func FinishedOnIn(vs ...time.Time) predicate.SLSAAttestation
FinishedOnIn applies the In predicate on the "finished_on" field.
func FinishedOnLT ¶
func FinishedOnLT(v time.Time) predicate.SLSAAttestation
FinishedOnLT applies the LT predicate on the "finished_on" field.
func FinishedOnLTE ¶
func FinishedOnLTE(v time.Time) predicate.SLSAAttestation
FinishedOnLTE applies the LTE predicate on the "finished_on" field.
func FinishedOnNEQ ¶
func FinishedOnNEQ(v time.Time) predicate.SLSAAttestation
FinishedOnNEQ applies the NEQ predicate on the "finished_on" field.
func FinishedOnNotIn ¶
func FinishedOnNotIn(vs ...time.Time) predicate.SLSAAttestation
FinishedOnNotIn applies the NotIn predicate on the "finished_on" field.
func HasBuiltBy ¶
func HasBuiltBy() predicate.SLSAAttestation
HasBuiltBy applies the HasEdge predicate on the "built_by" edge.
func HasBuiltByWith ¶
func HasBuiltByWith(preds ...predicate.Builder) predicate.SLSAAttestation
HasBuiltByWith applies the HasEdge predicate on the "built_by" edge with a given conditions (other predicates).
func HasBuiltFrom ¶
func HasBuiltFrom() predicate.SLSAAttestation
HasBuiltFrom applies the HasEdge predicate on the "built_from" edge.
func HasBuiltFromWith ¶
func HasBuiltFromWith(preds ...predicate.Artifact) predicate.SLSAAttestation
HasBuiltFromWith applies the HasEdge predicate on the "built_from" edge with a given conditions (other predicates).
func HasSubject ¶
func HasSubject() predicate.SLSAAttestation
HasSubject applies the HasEdge predicate on the "subject" edge.
func HasSubjectWith ¶
func HasSubjectWith(preds ...predicate.Artifact) predicate.SLSAAttestation
HasSubjectWith applies the HasEdge predicate on the "subject" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.SLSAAttestation
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.SLSAAttestation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.SLSAAttestation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.SLSAAttestation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.SLSAAttestation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.SLSAAttestation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.SLSAAttestation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.SLSAAttestation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.SLSAAttestation
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.SLSAAttestation) predicate.SLSAAttestation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SLSAAttestation) predicate.SLSAAttestation
Or groups predicates with the OR operator between them.
func Origin ¶
func Origin(v string) predicate.SLSAAttestation
Origin applies equality check predicate on the "origin" field. It's identical to OriginEQ.
func OriginContains ¶
func OriginContains(v string) predicate.SLSAAttestation
OriginContains applies the Contains predicate on the "origin" field.
func OriginContainsFold ¶
func OriginContainsFold(v string) predicate.SLSAAttestation
OriginContainsFold applies the ContainsFold predicate on the "origin" field.
func OriginEQ ¶
func OriginEQ(v string) predicate.SLSAAttestation
OriginEQ applies the EQ predicate on the "origin" field.
func OriginEqualFold ¶
func OriginEqualFold(v string) predicate.SLSAAttestation
OriginEqualFold applies the EqualFold predicate on the "origin" field.
func OriginGT ¶
func OriginGT(v string) predicate.SLSAAttestation
OriginGT applies the GT predicate on the "origin" field.
func OriginGTE ¶
func OriginGTE(v string) predicate.SLSAAttestation
OriginGTE applies the GTE predicate on the "origin" field.
func OriginHasPrefix ¶
func OriginHasPrefix(v string) predicate.SLSAAttestation
OriginHasPrefix applies the HasPrefix predicate on the "origin" field.
func OriginHasSuffix ¶
func OriginHasSuffix(v string) predicate.SLSAAttestation
OriginHasSuffix applies the HasSuffix predicate on the "origin" field.
func OriginIn ¶
func OriginIn(vs ...string) predicate.SLSAAttestation
OriginIn applies the In predicate on the "origin" field.
func OriginLT ¶
func OriginLT(v string) predicate.SLSAAttestation
OriginLT applies the LT predicate on the "origin" field.
func OriginLTE ¶
func OriginLTE(v string) predicate.SLSAAttestation
OriginLTE applies the LTE predicate on the "origin" field.
func OriginNEQ ¶
func OriginNEQ(v string) predicate.SLSAAttestation
OriginNEQ applies the NEQ predicate on the "origin" field.
func OriginNotIn ¶
func OriginNotIn(vs ...string) predicate.SLSAAttestation
OriginNotIn applies the NotIn predicate on the "origin" field.
func SlsaPredicateIsNil ¶
func SlsaPredicateIsNil() predicate.SLSAAttestation
SlsaPredicateIsNil applies the IsNil predicate on the "slsa_predicate" field.
func SlsaPredicateNotNil ¶
func SlsaPredicateNotNil() predicate.SLSAAttestation
SlsaPredicateNotNil applies the NotNil predicate on the "slsa_predicate" field.
func SlsaVersion ¶
func SlsaVersion(v string) predicate.SLSAAttestation
SlsaVersion applies equality check predicate on the "slsa_version" field. It's identical to SlsaVersionEQ.
func SlsaVersionContains ¶
func SlsaVersionContains(v string) predicate.SLSAAttestation
SlsaVersionContains applies the Contains predicate on the "slsa_version" field.
func SlsaVersionContainsFold ¶
func SlsaVersionContainsFold(v string) predicate.SLSAAttestation
SlsaVersionContainsFold applies the ContainsFold predicate on the "slsa_version" field.
func SlsaVersionEQ ¶
func SlsaVersionEQ(v string) predicate.SLSAAttestation
SlsaVersionEQ applies the EQ predicate on the "slsa_version" field.
func SlsaVersionEqualFold ¶
func SlsaVersionEqualFold(v string) predicate.SLSAAttestation
SlsaVersionEqualFold applies the EqualFold predicate on the "slsa_version" field.
func SlsaVersionGT ¶
func SlsaVersionGT(v string) predicate.SLSAAttestation
SlsaVersionGT applies the GT predicate on the "slsa_version" field.
func SlsaVersionGTE ¶
func SlsaVersionGTE(v string) predicate.SLSAAttestation
SlsaVersionGTE applies the GTE predicate on the "slsa_version" field.
func SlsaVersionHasPrefix ¶
func SlsaVersionHasPrefix(v string) predicate.SLSAAttestation
SlsaVersionHasPrefix applies the HasPrefix predicate on the "slsa_version" field.
func SlsaVersionHasSuffix ¶
func SlsaVersionHasSuffix(v string) predicate.SLSAAttestation
SlsaVersionHasSuffix applies the HasSuffix predicate on the "slsa_version" field.
func SlsaVersionIn ¶
func SlsaVersionIn(vs ...string) predicate.SLSAAttestation
SlsaVersionIn applies the In predicate on the "slsa_version" field.
func SlsaVersionLT ¶
func SlsaVersionLT(v string) predicate.SLSAAttestation
SlsaVersionLT applies the LT predicate on the "slsa_version" field.
func SlsaVersionLTE ¶
func SlsaVersionLTE(v string) predicate.SLSAAttestation
SlsaVersionLTE applies the LTE predicate on the "slsa_version" field.
func SlsaVersionNEQ ¶
func SlsaVersionNEQ(v string) predicate.SLSAAttestation
SlsaVersionNEQ applies the NEQ predicate on the "slsa_version" field.
func SlsaVersionNotIn ¶
func SlsaVersionNotIn(vs ...string) predicate.SLSAAttestation
SlsaVersionNotIn applies the NotIn predicate on the "slsa_version" field.
func StartedOn ¶
func StartedOn(v time.Time) predicate.SLSAAttestation
StartedOn applies equality check predicate on the "started_on" field. It's identical to StartedOnEQ.
func StartedOnEQ ¶
func StartedOnEQ(v time.Time) predicate.SLSAAttestation
StartedOnEQ applies the EQ predicate on the "started_on" field.
func StartedOnGT ¶
func StartedOnGT(v time.Time) predicate.SLSAAttestation
StartedOnGT applies the GT predicate on the "started_on" field.
func StartedOnGTE ¶
func StartedOnGTE(v time.Time) predicate.SLSAAttestation
StartedOnGTE applies the GTE predicate on the "started_on" field.
func StartedOnIn ¶
func StartedOnIn(vs ...time.Time) predicate.SLSAAttestation
StartedOnIn applies the In predicate on the "started_on" field.
func StartedOnLT ¶
func StartedOnLT(v time.Time) predicate.SLSAAttestation
StartedOnLT applies the LT predicate on the "started_on" field.
func StartedOnLTE ¶
func StartedOnLTE(v time.Time) predicate.SLSAAttestation
StartedOnLTE applies the LTE predicate on the "started_on" field.
func StartedOnNEQ ¶
func StartedOnNEQ(v time.Time) predicate.SLSAAttestation
StartedOnNEQ applies the NEQ predicate on the "started_on" field.
func StartedOnNotIn ¶
func StartedOnNotIn(vs ...time.Time) predicate.SLSAAttestation
StartedOnNotIn applies the NotIn predicate on the "started_on" field.
func SubjectID ¶
func SubjectID(v uuid.UUID) predicate.SLSAAttestation
SubjectID applies equality check predicate on the "subject_id" field. It's identical to SubjectIDEQ.
func SubjectIDEQ ¶
func SubjectIDEQ(v uuid.UUID) predicate.SLSAAttestation
SubjectIDEQ applies the EQ predicate on the "subject_id" field.
func SubjectIDIn ¶
func SubjectIDIn(vs ...uuid.UUID) predicate.SLSAAttestation
SubjectIDIn applies the In predicate on the "subject_id" field.
func SubjectIDNEQ ¶
func SubjectIDNEQ(v uuid.UUID) predicate.SLSAAttestation
SubjectIDNEQ applies the NEQ predicate on the "subject_id" field.
func SubjectIDNotIn ¶
func SubjectIDNotIn(vs ...uuid.UUID) predicate.SLSAAttestation
SubjectIDNotIn applies the NotIn predicate on the "subject_id" 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 SLSAAttestation queries.
func ByBuildType ¶
func ByBuildType(opts ...sql.OrderTermOption) OrderOption
ByBuildType orders the results by the build_type field.
func ByBuiltByField ¶
func ByBuiltByField(field string, opts ...sql.OrderTermOption) OrderOption
ByBuiltByField orders the results by built_by field.
func ByBuiltByID ¶
func ByBuiltByID(opts ...sql.OrderTermOption) OrderOption
ByBuiltByID orders the results by the built_by_id field.
func ByBuiltFrom ¶
func ByBuiltFrom(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBuiltFrom orders the results by built_from terms.
func ByBuiltFromCount ¶
func ByBuiltFromCount(opts ...sql.OrderTermOption) OrderOption
ByBuiltFromCount orders the results by built_from count.
func ByBuiltFromHash ¶
func ByBuiltFromHash(opts ...sql.OrderTermOption) OrderOption
ByBuiltFromHash orders the results by the built_from_hash field.
func ByCollector ¶
func ByCollector(opts ...sql.OrderTermOption) OrderOption
ByCollector orders the results by the collector field.
func ByDocumentRef ¶ added in v0.6.0
func ByDocumentRef(opts ...sql.OrderTermOption) OrderOption
ByDocumentRef orders the results by the document_ref field.
func ByFinishedOn ¶
func ByFinishedOn(opts ...sql.OrderTermOption) OrderOption
ByFinishedOn orders the results by the finished_on field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOrigin ¶
func ByOrigin(opts ...sql.OrderTermOption) OrderOption
ByOrigin orders the results by the origin field.
func BySlsaVersion ¶
func BySlsaVersion(opts ...sql.OrderTermOption) OrderOption
BySlsaVersion orders the results by the slsa_version field.
func ByStartedOn ¶
func ByStartedOn(opts ...sql.OrderTermOption) OrderOption
ByStartedOn orders the results by the started_on field.
func BySubjectField ¶
func BySubjectField(field string, opts ...sql.OrderTermOption) OrderOption
BySubjectField orders the results by subject field.
func BySubjectID ¶
func BySubjectID(opts ...sql.OrderTermOption) OrderOption
BySubjectID orders the results by the subject_id field.