testfile

package
v0.0.0-...-abb76f0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the testfile type in the database.
	Label = "test_file"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldDigest holds the string denoting the digest field in the database.
	FieldDigest = "digest"
	// FieldFile holds the string denoting the file field in the database.
	FieldFile = "file"
	// FieldLength holds the string denoting the length field in the database.
	FieldLength = "length"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldPrefix holds the string denoting the prefix field in the database.
	FieldPrefix = "prefix"
	// EdgeTestResult holds the string denoting the test_result edge name in mutations.
	EdgeTestResult = "test_result"
	// Table holds the table name of the testfile in the database.
	Table = "test_files"
	// TestResultTable is the table that holds the test_result relation/edge.
	TestResultTable = "test_files"
	// TestResultInverseTable is the table name for the TestResultBES entity.
	// It exists in this package in order to avoid circular dependency with the "testresultbes" package.
	TestResultInverseTable = "test_result_be_ss"
	// TestResultColumn is the table column denoting the test_result relation/edge.
	TestResultColumn = "test_result_bes_test_action_output"
)

Variables

Columns holds all SQL columns for testfile fields.

View Source
var ForeignKeys = []string{
	"named_set_of_files_files",
	"output_group_inline_files",
	"target_complete_important_output",
	"target_complete_directory_output",
	"test_result_bes_test_action_output",
	"test_summary_passed",
	"test_summary_failed",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "test_files" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.TestFile) predicate.TestFile

And groups predicates with the AND operator between them.

func Digest

func Digest(v string) predicate.TestFile

Digest applies equality check predicate on the "digest" field. It's identical to DigestEQ.

func DigestContains

func DigestContains(v string) predicate.TestFile

DigestContains applies the Contains predicate on the "digest" field.

func DigestContainsFold

func DigestContainsFold(v string) predicate.TestFile

DigestContainsFold applies the ContainsFold predicate on the "digest" field.

func DigestEQ

func DigestEQ(v string) predicate.TestFile

DigestEQ applies the EQ predicate on the "digest" field.

func DigestEqualFold

func DigestEqualFold(v string) predicate.TestFile

DigestEqualFold applies the EqualFold predicate on the "digest" field.

func DigestGT

func DigestGT(v string) predicate.TestFile

DigestGT applies the GT predicate on the "digest" field.

func DigestGTE

func DigestGTE(v string) predicate.TestFile

DigestGTE applies the GTE predicate on the "digest" field.

func DigestHasPrefix

func DigestHasPrefix(v string) predicate.TestFile

DigestHasPrefix applies the HasPrefix predicate on the "digest" field.

func DigestHasSuffix

func DigestHasSuffix(v string) predicate.TestFile

DigestHasSuffix applies the HasSuffix predicate on the "digest" field.

func DigestIn

func DigestIn(vs ...string) predicate.TestFile

DigestIn applies the In predicate on the "digest" field.

func DigestIsNil

func DigestIsNil() predicate.TestFile

DigestIsNil applies the IsNil predicate on the "digest" field.

func DigestLT

func DigestLT(v string) predicate.TestFile

DigestLT applies the LT predicate on the "digest" field.

func DigestLTE

func DigestLTE(v string) predicate.TestFile

DigestLTE applies the LTE predicate on the "digest" field.

func DigestNEQ

func DigestNEQ(v string) predicate.TestFile

DigestNEQ applies the NEQ predicate on the "digest" field.

func DigestNotIn

func DigestNotIn(vs ...string) predicate.TestFile

DigestNotIn applies the NotIn predicate on the "digest" field.

func DigestNotNil

func DigestNotNil() predicate.TestFile

DigestNotNil applies the NotNil predicate on the "digest" field.

func File

func File(v string) predicate.TestFile

File applies equality check predicate on the "file" field. It's identical to FileEQ.

func FileContains

func FileContains(v string) predicate.TestFile

FileContains applies the Contains predicate on the "file" field.

func FileContainsFold

func FileContainsFold(v string) predicate.TestFile

FileContainsFold applies the ContainsFold predicate on the "file" field.

func FileEQ

func FileEQ(v string) predicate.TestFile

FileEQ applies the EQ predicate on the "file" field.

func FileEqualFold

func FileEqualFold(v string) predicate.TestFile

FileEqualFold applies the EqualFold predicate on the "file" field.

func FileGT

func FileGT(v string) predicate.TestFile

FileGT applies the GT predicate on the "file" field.

func FileGTE

func FileGTE(v string) predicate.TestFile

FileGTE applies the GTE predicate on the "file" field.

func FileHasPrefix

func FileHasPrefix(v string) predicate.TestFile

FileHasPrefix applies the HasPrefix predicate on the "file" field.

func FileHasSuffix

func FileHasSuffix(v string) predicate.TestFile

FileHasSuffix applies the HasSuffix predicate on the "file" field.

func FileIn

func FileIn(vs ...string) predicate.TestFile

FileIn applies the In predicate on the "file" field.

func FileIsNil

func FileIsNil() predicate.TestFile

FileIsNil applies the IsNil predicate on the "file" field.

func FileLT

func FileLT(v string) predicate.TestFile

FileLT applies the LT predicate on the "file" field.

func FileLTE

func FileLTE(v string) predicate.TestFile

FileLTE applies the LTE predicate on the "file" field.

func FileNEQ

func FileNEQ(v string) predicate.TestFile

FileNEQ applies the NEQ predicate on the "file" field.

func FileNotIn

func FileNotIn(vs ...string) predicate.TestFile

FileNotIn applies the NotIn predicate on the "file" field.

func FileNotNil

func FileNotNil() predicate.TestFile

FileNotNil applies the NotNil predicate on the "file" field.

func HasTestResult

func HasTestResult() predicate.TestFile

HasTestResult applies the HasEdge predicate on the "test_result" edge.

func HasTestResultWith

func HasTestResultWith(preds ...predicate.TestResultBES) predicate.TestFile

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

func ID

func ID(id int) predicate.TestFile

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.TestFile

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.TestFile

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.TestFile

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.TestFile

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.TestFile

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.TestFile

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Length

func Length(v int64) predicate.TestFile

Length applies equality check predicate on the "length" field. It's identical to LengthEQ.

func LengthEQ

func LengthEQ(v int64) predicate.TestFile

LengthEQ applies the EQ predicate on the "length" field.

func LengthGT

func LengthGT(v int64) predicate.TestFile

LengthGT applies the GT predicate on the "length" field.

func LengthGTE

func LengthGTE(v int64) predicate.TestFile

LengthGTE applies the GTE predicate on the "length" field.

func LengthIn

func LengthIn(vs ...int64) predicate.TestFile

LengthIn applies the In predicate on the "length" field.

func LengthIsNil

func LengthIsNil() predicate.TestFile

LengthIsNil applies the IsNil predicate on the "length" field.

func LengthLT

func LengthLT(v int64) predicate.TestFile

LengthLT applies the LT predicate on the "length" field.

func LengthLTE

func LengthLTE(v int64) predicate.TestFile

LengthLTE applies the LTE predicate on the "length" field.

func LengthNEQ

func LengthNEQ(v int64) predicate.TestFile

LengthNEQ applies the NEQ predicate on the "length" field.

func LengthNotIn

func LengthNotIn(vs ...int64) predicate.TestFile

LengthNotIn applies the NotIn predicate on the "length" field.

func LengthNotNil

func LengthNotNil() predicate.TestFile

LengthNotNil applies the NotNil predicate on the "length" field.

func Name

func Name(v string) predicate.TestFile

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.TestFile

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.TestFile

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.TestFile

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.TestFile

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.TestFile

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.TestFile

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.TestFile

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.TestFile

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.TestFile

NameIn applies the In predicate on the "name" field.

func NameIsNil

func NameIsNil() predicate.TestFile

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.TestFile

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.TestFile

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.TestFile

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.TestFile

NameNotIn applies the NotIn predicate on the "name" field.

func NameNotNil

func NameNotNil() predicate.TestFile

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.TestFile) predicate.TestFile

Or groups predicates with the OR operator between them.

func PrefixIsNil

func PrefixIsNil() predicate.TestFile

PrefixIsNil applies the IsNil predicate on the "prefix" field.

func PrefixNotNil

func PrefixNotNil() predicate.TestFile

PrefixNotNil applies the NotNil predicate on the "prefix" 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 TestFile queries.

func ByDigest

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

ByDigest orders the results by the digest field.

func ByFile

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

ByFile orders the results by the file field.

func ByID

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

ByID orders the results by the id field.

func ByLength

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

ByLength orders the results by the length field.

func ByName

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

ByName orders the results by the name field.

func ByTestResultField

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

ByTestResultField orders the results by test_result field.

Jump to

Keyboard shortcuts

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