certifyscorecard

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the certifyscorecard type in the database.
	Label = "certify_scorecard"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSourceID holds the string denoting the source_id field in the database.
	FieldSourceID = "source_id"
	// FieldChecks holds the string denoting the checks field in the database.
	FieldChecks = "checks"
	// FieldAggregateScore holds the string denoting the aggregate_score field in the database.
	FieldAggregateScore = "aggregate_score"
	// FieldTimeScanned holds the string denoting the time_scanned field in the database.
	FieldTimeScanned = "time_scanned"
	// FieldScorecardVersion holds the string denoting the scorecard_version field in the database.
	FieldScorecardVersion = "scorecard_version"
	// FieldScorecardCommit holds the string denoting the scorecard_commit field in the database.
	FieldScorecardCommit = "scorecard_commit"
	// 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"
	// FieldChecksHash holds the string denoting the checks_hash field in the database.
	FieldChecksHash = "checks_hash"
	// EdgeSource holds the string denoting the source edge name in mutations.
	EdgeSource = "source"
	// Table holds the table name of the certifyscorecard in the database.
	Table = "certify_scorecards"
	// SourceTable is the table that holds the source relation/edge.
	SourceTable = "certify_scorecards"
	// SourceInverseTable is the table name for the SourceName entity.
	// It exists in this package in order to avoid circular dependency with the "sourcename" package.
	SourceInverseTable = "source_names"
	// SourceColumn is the table column denoting the source relation/edge.
	SourceColumn = "source_id"
)

Variables

View Source
var (
	// DefaultAggregateScore holds the default value on creation for the "aggregate_score" field.
	DefaultAggregateScore float64
	// DefaultTimeScanned holds the default value on creation for the "time_scanned" field.
	DefaultTimeScanned func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for certifyscorecard fields.

Functions

func AggregateScore added in v0.5.0

func AggregateScore(v float64) predicate.CertifyScorecard

AggregateScore applies equality check predicate on the "aggregate_score" field. It's identical to AggregateScoreEQ.

func AggregateScoreEQ added in v0.5.0

func AggregateScoreEQ(v float64) predicate.CertifyScorecard

AggregateScoreEQ applies the EQ predicate on the "aggregate_score" field.

func AggregateScoreGT added in v0.5.0

func AggregateScoreGT(v float64) predicate.CertifyScorecard

AggregateScoreGT applies the GT predicate on the "aggregate_score" field.

func AggregateScoreGTE added in v0.5.0

func AggregateScoreGTE(v float64) predicate.CertifyScorecard

AggregateScoreGTE applies the GTE predicate on the "aggregate_score" field.

func AggregateScoreIn added in v0.5.0

func AggregateScoreIn(vs ...float64) predicate.CertifyScorecard

AggregateScoreIn applies the In predicate on the "aggregate_score" field.

func AggregateScoreLT added in v0.5.0

func AggregateScoreLT(v float64) predicate.CertifyScorecard

AggregateScoreLT applies the LT predicate on the "aggregate_score" field.

func AggregateScoreLTE added in v0.5.0

func AggregateScoreLTE(v float64) predicate.CertifyScorecard

AggregateScoreLTE applies the LTE predicate on the "aggregate_score" field.

func AggregateScoreNEQ added in v0.5.0

func AggregateScoreNEQ(v float64) predicate.CertifyScorecard

AggregateScoreNEQ applies the NEQ predicate on the "aggregate_score" field.

func AggregateScoreNotIn added in v0.5.0

func AggregateScoreNotIn(vs ...float64) predicate.CertifyScorecard

AggregateScoreNotIn applies the NotIn predicate on the "aggregate_score" field.

func And

And groups predicates with the AND operator between them.

func ChecksHash added in v0.5.0

func ChecksHash(v string) predicate.CertifyScorecard

ChecksHash applies equality check predicate on the "checks_hash" field. It's identical to ChecksHashEQ.

func ChecksHashContains added in v0.5.0

func ChecksHashContains(v string) predicate.CertifyScorecard

ChecksHashContains applies the Contains predicate on the "checks_hash" field.

func ChecksHashContainsFold added in v0.5.0

func ChecksHashContainsFold(v string) predicate.CertifyScorecard

ChecksHashContainsFold applies the ContainsFold predicate on the "checks_hash" field.

func ChecksHashEQ added in v0.5.0

func ChecksHashEQ(v string) predicate.CertifyScorecard

ChecksHashEQ applies the EQ predicate on the "checks_hash" field.

func ChecksHashEqualFold added in v0.5.0

func ChecksHashEqualFold(v string) predicate.CertifyScorecard

ChecksHashEqualFold applies the EqualFold predicate on the "checks_hash" field.

func ChecksHashGT added in v0.5.0

func ChecksHashGT(v string) predicate.CertifyScorecard

ChecksHashGT applies the GT predicate on the "checks_hash" field.

func ChecksHashGTE added in v0.5.0

func ChecksHashGTE(v string) predicate.CertifyScorecard

ChecksHashGTE applies the GTE predicate on the "checks_hash" field.

func ChecksHashHasPrefix added in v0.5.0

func ChecksHashHasPrefix(v string) predicate.CertifyScorecard

ChecksHashHasPrefix applies the HasPrefix predicate on the "checks_hash" field.

func ChecksHashHasSuffix added in v0.5.0

func ChecksHashHasSuffix(v string) predicate.CertifyScorecard

ChecksHashHasSuffix applies the HasSuffix predicate on the "checks_hash" field.

func ChecksHashIn added in v0.5.0

func ChecksHashIn(vs ...string) predicate.CertifyScorecard

ChecksHashIn applies the In predicate on the "checks_hash" field.

func ChecksHashLT added in v0.5.0

func ChecksHashLT(v string) predicate.CertifyScorecard

ChecksHashLT applies the LT predicate on the "checks_hash" field.

func ChecksHashLTE added in v0.5.0

func ChecksHashLTE(v string) predicate.CertifyScorecard

ChecksHashLTE applies the LTE predicate on the "checks_hash" field.

func ChecksHashNEQ added in v0.5.0

func ChecksHashNEQ(v string) predicate.CertifyScorecard

ChecksHashNEQ applies the NEQ predicate on the "checks_hash" field.

func ChecksHashNotIn added in v0.5.0

func ChecksHashNotIn(vs ...string) predicate.CertifyScorecard

ChecksHashNotIn applies the NotIn predicate on the "checks_hash" field.

func Collector added in v0.5.0

func Collector(v string) predicate.CertifyScorecard

Collector applies equality check predicate on the "collector" field. It's identical to CollectorEQ.

func CollectorContains added in v0.5.0

func CollectorContains(v string) predicate.CertifyScorecard

CollectorContains applies the Contains predicate on the "collector" field.

func CollectorContainsFold added in v0.5.0

func CollectorContainsFold(v string) predicate.CertifyScorecard

CollectorContainsFold applies the ContainsFold predicate on the "collector" field.

func CollectorEQ added in v0.5.0

func CollectorEQ(v string) predicate.CertifyScorecard

CollectorEQ applies the EQ predicate on the "collector" field.

func CollectorEqualFold added in v0.5.0

func CollectorEqualFold(v string) predicate.CertifyScorecard

CollectorEqualFold applies the EqualFold predicate on the "collector" field.

func CollectorGT added in v0.5.0

func CollectorGT(v string) predicate.CertifyScorecard

CollectorGT applies the GT predicate on the "collector" field.

func CollectorGTE added in v0.5.0

func CollectorGTE(v string) predicate.CertifyScorecard

CollectorGTE applies the GTE predicate on the "collector" field.

func CollectorHasPrefix added in v0.5.0

func CollectorHasPrefix(v string) predicate.CertifyScorecard

CollectorHasPrefix applies the HasPrefix predicate on the "collector" field.

func CollectorHasSuffix added in v0.5.0

func CollectorHasSuffix(v string) predicate.CertifyScorecard

CollectorHasSuffix applies the HasSuffix predicate on the "collector" field.

func CollectorIn added in v0.5.0

func CollectorIn(vs ...string) predicate.CertifyScorecard

CollectorIn applies the In predicate on the "collector" field.

func CollectorLT added in v0.5.0

func CollectorLT(v string) predicate.CertifyScorecard

CollectorLT applies the LT predicate on the "collector" field.

func CollectorLTE added in v0.5.0

func CollectorLTE(v string) predicate.CertifyScorecard

CollectorLTE applies the LTE predicate on the "collector" field.

func CollectorNEQ added in v0.5.0

func CollectorNEQ(v string) predicate.CertifyScorecard

CollectorNEQ applies the NEQ predicate on the "collector" field.

func CollectorNotIn added in v0.5.0

func CollectorNotIn(vs ...string) predicate.CertifyScorecard

CollectorNotIn applies the NotIn predicate on the "collector" field.

func DocumentRef added in v0.6.0

func DocumentRef(v string) predicate.CertifyScorecard

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.CertifyScorecard

DocumentRefContains applies the Contains predicate on the "document_ref" field.

func DocumentRefContainsFold added in v0.6.0

func DocumentRefContainsFold(v string) predicate.CertifyScorecard

DocumentRefContainsFold applies the ContainsFold predicate on the "document_ref" field.

func DocumentRefEQ added in v0.6.0

func DocumentRefEQ(v string) predicate.CertifyScorecard

DocumentRefEQ applies the EQ predicate on the "document_ref" field.

func DocumentRefEqualFold added in v0.6.0

func DocumentRefEqualFold(v string) predicate.CertifyScorecard

DocumentRefEqualFold applies the EqualFold predicate on the "document_ref" field.

func DocumentRefGT added in v0.6.0

func DocumentRefGT(v string) predicate.CertifyScorecard

DocumentRefGT applies the GT predicate on the "document_ref" field.

func DocumentRefGTE added in v0.6.0

func DocumentRefGTE(v string) predicate.CertifyScorecard

DocumentRefGTE applies the GTE predicate on the "document_ref" field.

func DocumentRefHasPrefix added in v0.6.0

func DocumentRefHasPrefix(v string) predicate.CertifyScorecard

DocumentRefHasPrefix applies the HasPrefix predicate on the "document_ref" field.

func DocumentRefHasSuffix added in v0.6.0

func DocumentRefHasSuffix(v string) predicate.CertifyScorecard

DocumentRefHasSuffix applies the HasSuffix predicate on the "document_ref" field.

func DocumentRefIn added in v0.6.0

func DocumentRefIn(vs ...string) predicate.CertifyScorecard

DocumentRefIn applies the In predicate on the "document_ref" field.

func DocumentRefLT added in v0.6.0

func DocumentRefLT(v string) predicate.CertifyScorecard

DocumentRefLT applies the LT predicate on the "document_ref" field.

func DocumentRefLTE added in v0.6.0

func DocumentRefLTE(v string) predicate.CertifyScorecard

DocumentRefLTE applies the LTE predicate on the "document_ref" field.

func DocumentRefNEQ added in v0.6.0

func DocumentRefNEQ(v string) predicate.CertifyScorecard

DocumentRefNEQ applies the NEQ predicate on the "document_ref" field.

func DocumentRefNotIn added in v0.6.0

func DocumentRefNotIn(vs ...string) predicate.CertifyScorecard

DocumentRefNotIn applies the NotIn predicate on the "document_ref" field.

func HasSource

func HasSource() predicate.CertifyScorecard

HasSource applies the HasEdge predicate on the "source" edge.

func HasSourceWith

func HasSourceWith(preds ...predicate.SourceName) predicate.CertifyScorecard

HasSourceWith applies the HasEdge predicate on the "source" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.CertifyScorecard

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.CertifyScorecard

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 Origin added in v0.5.0

Origin applies equality check predicate on the "origin" field. It's identical to OriginEQ.

func OriginContains added in v0.5.0

func OriginContains(v string) predicate.CertifyScorecard

OriginContains applies the Contains predicate on the "origin" field.

func OriginContainsFold added in v0.5.0

func OriginContainsFold(v string) predicate.CertifyScorecard

OriginContainsFold applies the ContainsFold predicate on the "origin" field.

func OriginEQ added in v0.5.0

func OriginEQ(v string) predicate.CertifyScorecard

OriginEQ applies the EQ predicate on the "origin" field.

func OriginEqualFold added in v0.5.0

func OriginEqualFold(v string) predicate.CertifyScorecard

OriginEqualFold applies the EqualFold predicate on the "origin" field.

func OriginGT added in v0.5.0

func OriginGT(v string) predicate.CertifyScorecard

OriginGT applies the GT predicate on the "origin" field.

func OriginGTE added in v0.5.0

func OriginGTE(v string) predicate.CertifyScorecard

OriginGTE applies the GTE predicate on the "origin" field.

func OriginHasPrefix added in v0.5.0

func OriginHasPrefix(v string) predicate.CertifyScorecard

OriginHasPrefix applies the HasPrefix predicate on the "origin" field.

func OriginHasSuffix added in v0.5.0

func OriginHasSuffix(v string) predicate.CertifyScorecard

OriginHasSuffix applies the HasSuffix predicate on the "origin" field.

func OriginIn added in v0.5.0

func OriginIn(vs ...string) predicate.CertifyScorecard

OriginIn applies the In predicate on the "origin" field.

func OriginLT added in v0.5.0

func OriginLT(v string) predicate.CertifyScorecard

OriginLT applies the LT predicate on the "origin" field.

func OriginLTE added in v0.5.0

func OriginLTE(v string) predicate.CertifyScorecard

OriginLTE applies the LTE predicate on the "origin" field.

func OriginNEQ added in v0.5.0

func OriginNEQ(v string) predicate.CertifyScorecard

OriginNEQ applies the NEQ predicate on the "origin" field.

func OriginNotIn added in v0.5.0

func OriginNotIn(vs ...string) predicate.CertifyScorecard

OriginNotIn applies the NotIn predicate on the "origin" field.

func ScorecardCommit added in v0.5.0

func ScorecardCommit(v string) predicate.CertifyScorecard

ScorecardCommit applies equality check predicate on the "scorecard_commit" field. It's identical to ScorecardCommitEQ.

func ScorecardCommitContains added in v0.5.0

func ScorecardCommitContains(v string) predicate.CertifyScorecard

ScorecardCommitContains applies the Contains predicate on the "scorecard_commit" field.

func ScorecardCommitContainsFold added in v0.5.0

func ScorecardCommitContainsFold(v string) predicate.CertifyScorecard

ScorecardCommitContainsFold applies the ContainsFold predicate on the "scorecard_commit" field.

func ScorecardCommitEQ added in v0.5.0

func ScorecardCommitEQ(v string) predicate.CertifyScorecard

ScorecardCommitEQ applies the EQ predicate on the "scorecard_commit" field.

func ScorecardCommitEqualFold added in v0.5.0

func ScorecardCommitEqualFold(v string) predicate.CertifyScorecard

ScorecardCommitEqualFold applies the EqualFold predicate on the "scorecard_commit" field.

func ScorecardCommitGT added in v0.5.0

func ScorecardCommitGT(v string) predicate.CertifyScorecard

ScorecardCommitGT applies the GT predicate on the "scorecard_commit" field.

func ScorecardCommitGTE added in v0.5.0

func ScorecardCommitGTE(v string) predicate.CertifyScorecard

ScorecardCommitGTE applies the GTE predicate on the "scorecard_commit" field.

func ScorecardCommitHasPrefix added in v0.5.0

func ScorecardCommitHasPrefix(v string) predicate.CertifyScorecard

ScorecardCommitHasPrefix applies the HasPrefix predicate on the "scorecard_commit" field.

func ScorecardCommitHasSuffix added in v0.5.0

func ScorecardCommitHasSuffix(v string) predicate.CertifyScorecard

ScorecardCommitHasSuffix applies the HasSuffix predicate on the "scorecard_commit" field.

func ScorecardCommitIn added in v0.5.0

func ScorecardCommitIn(vs ...string) predicate.CertifyScorecard

ScorecardCommitIn applies the In predicate on the "scorecard_commit" field.

func ScorecardCommitLT added in v0.5.0

func ScorecardCommitLT(v string) predicate.CertifyScorecard

ScorecardCommitLT applies the LT predicate on the "scorecard_commit" field.

func ScorecardCommitLTE added in v0.5.0

func ScorecardCommitLTE(v string) predicate.CertifyScorecard

ScorecardCommitLTE applies the LTE predicate on the "scorecard_commit" field.

func ScorecardCommitNEQ added in v0.5.0

func ScorecardCommitNEQ(v string) predicate.CertifyScorecard

ScorecardCommitNEQ applies the NEQ predicate on the "scorecard_commit" field.

func ScorecardCommitNotIn added in v0.5.0

func ScorecardCommitNotIn(vs ...string) predicate.CertifyScorecard

ScorecardCommitNotIn applies the NotIn predicate on the "scorecard_commit" field.

func ScorecardVersion added in v0.5.0

func ScorecardVersion(v string) predicate.CertifyScorecard

ScorecardVersion applies equality check predicate on the "scorecard_version" field. It's identical to ScorecardVersionEQ.

func ScorecardVersionContains added in v0.5.0

func ScorecardVersionContains(v string) predicate.CertifyScorecard

ScorecardVersionContains applies the Contains predicate on the "scorecard_version" field.

func ScorecardVersionContainsFold added in v0.5.0

func ScorecardVersionContainsFold(v string) predicate.CertifyScorecard

ScorecardVersionContainsFold applies the ContainsFold predicate on the "scorecard_version" field.

func ScorecardVersionEQ added in v0.5.0

func ScorecardVersionEQ(v string) predicate.CertifyScorecard

ScorecardVersionEQ applies the EQ predicate on the "scorecard_version" field.

func ScorecardVersionEqualFold added in v0.5.0

func ScorecardVersionEqualFold(v string) predicate.CertifyScorecard

ScorecardVersionEqualFold applies the EqualFold predicate on the "scorecard_version" field.

func ScorecardVersionGT added in v0.5.0

func ScorecardVersionGT(v string) predicate.CertifyScorecard

ScorecardVersionGT applies the GT predicate on the "scorecard_version" field.

func ScorecardVersionGTE added in v0.5.0

func ScorecardVersionGTE(v string) predicate.CertifyScorecard

ScorecardVersionGTE applies the GTE predicate on the "scorecard_version" field.

func ScorecardVersionHasPrefix added in v0.5.0

func ScorecardVersionHasPrefix(v string) predicate.CertifyScorecard

ScorecardVersionHasPrefix applies the HasPrefix predicate on the "scorecard_version" field.

func ScorecardVersionHasSuffix added in v0.5.0

func ScorecardVersionHasSuffix(v string) predicate.CertifyScorecard

ScorecardVersionHasSuffix applies the HasSuffix predicate on the "scorecard_version" field.

func ScorecardVersionIn added in v0.5.0

func ScorecardVersionIn(vs ...string) predicate.CertifyScorecard

ScorecardVersionIn applies the In predicate on the "scorecard_version" field.

func ScorecardVersionLT added in v0.5.0

func ScorecardVersionLT(v string) predicate.CertifyScorecard

ScorecardVersionLT applies the LT predicate on the "scorecard_version" field.

func ScorecardVersionLTE added in v0.5.0

func ScorecardVersionLTE(v string) predicate.CertifyScorecard

ScorecardVersionLTE applies the LTE predicate on the "scorecard_version" field.

func ScorecardVersionNEQ added in v0.5.0

func ScorecardVersionNEQ(v string) predicate.CertifyScorecard

ScorecardVersionNEQ applies the NEQ predicate on the "scorecard_version" field.

func ScorecardVersionNotIn added in v0.5.0

func ScorecardVersionNotIn(vs ...string) predicate.CertifyScorecard

ScorecardVersionNotIn applies the NotIn predicate on the "scorecard_version" field.

func SourceID

func SourceID(v uuid.UUID) predicate.CertifyScorecard

SourceID applies equality check predicate on the "source_id" field. It's identical to SourceIDEQ.

func SourceIDEQ

func SourceIDEQ(v uuid.UUID) predicate.CertifyScorecard

SourceIDEQ applies the EQ predicate on the "source_id" field.

func SourceIDIn

func SourceIDIn(vs ...uuid.UUID) predicate.CertifyScorecard

SourceIDIn applies the In predicate on the "source_id" field.

func SourceIDNEQ

func SourceIDNEQ(v uuid.UUID) predicate.CertifyScorecard

SourceIDNEQ applies the NEQ predicate on the "source_id" field.

func SourceIDNotIn

func SourceIDNotIn(vs ...uuid.UUID) predicate.CertifyScorecard

SourceIDNotIn applies the NotIn predicate on the "source_id" field.

func TimeScanned added in v0.5.0

func TimeScanned(v time.Time) predicate.CertifyScorecard

TimeScanned applies equality check predicate on the "time_scanned" field. It's identical to TimeScannedEQ.

func TimeScannedEQ added in v0.5.0

func TimeScannedEQ(v time.Time) predicate.CertifyScorecard

TimeScannedEQ applies the EQ predicate on the "time_scanned" field.

func TimeScannedGT added in v0.5.0

func TimeScannedGT(v time.Time) predicate.CertifyScorecard

TimeScannedGT applies the GT predicate on the "time_scanned" field.

func TimeScannedGTE added in v0.5.0

func TimeScannedGTE(v time.Time) predicate.CertifyScorecard

TimeScannedGTE applies the GTE predicate on the "time_scanned" field.

func TimeScannedIn added in v0.5.0

func TimeScannedIn(vs ...time.Time) predicate.CertifyScorecard

TimeScannedIn applies the In predicate on the "time_scanned" field.

func TimeScannedLT added in v0.5.0

func TimeScannedLT(v time.Time) predicate.CertifyScorecard

TimeScannedLT applies the LT predicate on the "time_scanned" field.

func TimeScannedLTE added in v0.5.0

func TimeScannedLTE(v time.Time) predicate.CertifyScorecard

TimeScannedLTE applies the LTE predicate on the "time_scanned" field.

func TimeScannedNEQ added in v0.5.0

func TimeScannedNEQ(v time.Time) predicate.CertifyScorecard

TimeScannedNEQ applies the NEQ predicate on the "time_scanned" field.

func TimeScannedNotIn added in v0.5.0

func TimeScannedNotIn(vs ...time.Time) predicate.CertifyScorecard

TimeScannedNotIn applies the NotIn predicate on the "time_scanned" field.

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 CertifyScorecard queries.

func ByAggregateScore added in v0.5.0

func ByAggregateScore(opts ...sql.OrderTermOption) OrderOption

ByAggregateScore orders the results by the aggregate_score field.

func ByChecksHash added in v0.5.0

func ByChecksHash(opts ...sql.OrderTermOption) OrderOption

ByChecksHash orders the results by the checks_hash field.

func ByCollector added in v0.5.0

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 ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByOrigin added in v0.5.0

func ByOrigin(opts ...sql.OrderTermOption) OrderOption

ByOrigin orders the results by the origin field.

func ByScorecardCommit added in v0.5.0

func ByScorecardCommit(opts ...sql.OrderTermOption) OrderOption

ByScorecardCommit orders the results by the scorecard_commit field.

func ByScorecardVersion added in v0.5.0

func ByScorecardVersion(opts ...sql.OrderTermOption) OrderOption

ByScorecardVersion orders the results by the scorecard_version field.

func BySourceField

func BySourceField(field string, opts ...sql.OrderTermOption) OrderOption

BySourceField orders the results by source field.

func BySourceID

func BySourceID(opts ...sql.OrderTermOption) OrderOption

BySourceID orders the results by the source_id field.

func ByTimeScanned added in v0.5.0

func ByTimeScanned(opts ...sql.OrderTermOption) OrderOption

ByTimeScanned orders the results by the time_scanned field.

Jump to

Keyboard shortcuts

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