Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TestFile) predicate.TestFile
- func Digest(v string) predicate.TestFile
- func DigestContains(v string) predicate.TestFile
- func DigestContainsFold(v string) predicate.TestFile
- func DigestEQ(v string) predicate.TestFile
- func DigestEqualFold(v string) predicate.TestFile
- func DigestGT(v string) predicate.TestFile
- func DigestGTE(v string) predicate.TestFile
- func DigestHasPrefix(v string) predicate.TestFile
- func DigestHasSuffix(v string) predicate.TestFile
- func DigestIn(vs ...string) predicate.TestFile
- func DigestIsNil() predicate.TestFile
- func DigestLT(v string) predicate.TestFile
- func DigestLTE(v string) predicate.TestFile
- func DigestNEQ(v string) predicate.TestFile
- func DigestNotIn(vs ...string) predicate.TestFile
- func DigestNotNil() predicate.TestFile
- func File(v string) predicate.TestFile
- func FileContains(v string) predicate.TestFile
- func FileContainsFold(v string) predicate.TestFile
- func FileEQ(v string) predicate.TestFile
- func FileEqualFold(v string) predicate.TestFile
- func FileGT(v string) predicate.TestFile
- func FileGTE(v string) predicate.TestFile
- func FileHasPrefix(v string) predicate.TestFile
- func FileHasSuffix(v string) predicate.TestFile
- func FileIn(vs ...string) predicate.TestFile
- func FileIsNil() predicate.TestFile
- func FileLT(v string) predicate.TestFile
- func FileLTE(v string) predicate.TestFile
- func FileNEQ(v string) predicate.TestFile
- func FileNotIn(vs ...string) predicate.TestFile
- func FileNotNil() predicate.TestFile
- func HasTestResult() predicate.TestFile
- func HasTestResultWith(preds ...predicate.TestResultBES) predicate.TestFile
- func ID(id int) predicate.TestFile
- func IDEQ(id int) predicate.TestFile
- func IDGT(id int) predicate.TestFile
- func IDGTE(id int) predicate.TestFile
- func IDIn(ids ...int) predicate.TestFile
- func IDLT(id int) predicate.TestFile
- func IDLTE(id int) predicate.TestFile
- func IDNEQ(id int) predicate.TestFile
- func IDNotIn(ids ...int) predicate.TestFile
- func Length(v int64) predicate.TestFile
- func LengthEQ(v int64) predicate.TestFile
- func LengthGT(v int64) predicate.TestFile
- func LengthGTE(v int64) predicate.TestFile
- func LengthIn(vs ...int64) predicate.TestFile
- func LengthIsNil() predicate.TestFile
- func LengthLT(v int64) predicate.TestFile
- func LengthLTE(v int64) predicate.TestFile
- func LengthNEQ(v int64) predicate.TestFile
- func LengthNotIn(vs ...int64) predicate.TestFile
- func LengthNotNil() predicate.TestFile
- func Name(v string) predicate.TestFile
- func NameContains(v string) predicate.TestFile
- func NameContainsFold(v string) predicate.TestFile
- func NameEQ(v string) predicate.TestFile
- func NameEqualFold(v string) predicate.TestFile
- func NameGT(v string) predicate.TestFile
- func NameGTE(v string) predicate.TestFile
- func NameHasPrefix(v string) predicate.TestFile
- func NameHasSuffix(v string) predicate.TestFile
- func NameIn(vs ...string) predicate.TestFile
- func NameIsNil() predicate.TestFile
- func NameLT(v string) predicate.TestFile
- func NameLTE(v string) predicate.TestFile
- func NameNEQ(v string) predicate.TestFile
- func NameNotIn(vs ...string) predicate.TestFile
- func NameNotNil() predicate.TestFile
- func Not(p predicate.TestFile) predicate.TestFile
- func Or(predicates ...predicate.TestFile) predicate.TestFile
- func PrefixIsNil() predicate.TestFile
- func PrefixNotNil() predicate.TestFile
- func ValidColumn(column string) bool
- type OrderOption
- func ByDigest(opts ...sql.OrderTermOption) OrderOption
- func ByFile(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLength(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByTestResultField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldDigest, FieldFile, FieldLength, FieldName, FieldPrefix, }
Columns holds all SQL columns for testfile fields.
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 Digest ¶
Digest applies equality check predicate on the "digest" field. It's identical to DigestEQ.
func DigestContains ¶
DigestContains applies the Contains predicate on the "digest" field.
func DigestContainsFold ¶
DigestContainsFold applies the ContainsFold predicate on the "digest" field.
func DigestEqualFold ¶
DigestEqualFold applies the EqualFold predicate on the "digest" field.
func DigestHasPrefix ¶
DigestHasPrefix applies the HasPrefix predicate on the "digest" field.
func DigestHasSuffix ¶
DigestHasSuffix applies the HasSuffix predicate on the "digest" field.
func DigestIsNil ¶
DigestIsNil applies the IsNil predicate on the "digest" field.
func DigestNotIn ¶
DigestNotIn applies the NotIn predicate on the "digest" field.
func DigestNotNil ¶
DigestNotNil applies the NotNil predicate on the "digest" field.
func FileContains ¶
FileContains applies the Contains predicate on the "file" field.
func FileContainsFold ¶
FileContainsFold applies the ContainsFold predicate on the "file" field.
func FileEqualFold ¶
FileEqualFold applies the EqualFold predicate on the "file" field.
func FileHasPrefix ¶
FileHasPrefix applies the HasPrefix predicate on the "file" field.
func FileHasSuffix ¶
FileHasSuffix applies the HasSuffix predicate on the "file" field.
func FileNotNil ¶
FileNotNil applies the NotNil predicate on the "file" field.
func HasTestResult ¶
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 Length ¶
Length applies equality check predicate on the "length" field. It's identical to LengthEQ.
func LengthIsNil ¶
LengthIsNil applies the IsNil predicate on the "length" field.
func LengthNotIn ¶
LengthNotIn applies the NotIn predicate on the "length" field.
func LengthNotNil ¶
LengthNotNil applies the NotNil predicate on the "length" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func PrefixIsNil ¶
PrefixIsNil applies the IsNil predicate on the "prefix" field.
func PrefixNotNil ¶
PrefixNotNil applies the NotNil predicate on the "prefix" 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 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.