Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TestRun) predicate.TestRun
- func HasEntry() predicate.TestRun
- func HasEntryWith(preds ...predicate.ReleaseEntry) predicate.TestRun
- func HasRelease() predicate.TestRun
- func HasReleaseWith(preds ...predicate.Release) predicate.TestRun
- func HasTests() predicate.TestRun
- func HasTestsWith(preds ...predicate.TestCase) predicate.TestRun
- func ID(id int) predicate.TestRun
- func IDEQ(id int) predicate.TestRun
- func IDGT(id int) predicate.TestRun
- func IDGTE(id int) predicate.TestRun
- func IDIn(ids ...int) predicate.TestRun
- func IDLT(id int) predicate.TestRun
- func IDLTE(id int) predicate.TestRun
- func IDNEQ(id int) predicate.TestRun
- func IDNotIn(ids ...int) predicate.TestRun
- func MetadataIsNil() predicate.TestRun
- func MetadataNotNil() predicate.TestRun
- func Not(p predicate.TestRun) predicate.TestRun
- func Or(predicates ...predicate.TestRun) predicate.TestRun
- func Time(v time.Time) predicate.TestRun
- func TimeEQ(v time.Time) predicate.TestRun
- func TimeGT(v time.Time) predicate.TestRun
- func TimeGTE(v time.Time) predicate.TestRun
- func TimeIn(vs ...time.Time) predicate.TestRun
- func TimeLT(v time.Time) predicate.TestRun
- func TimeLTE(v time.Time) predicate.TestRun
- func TimeNEQ(v time.Time) predicate.TestRun
- func TimeNotIn(vs ...time.Time) predicate.TestRun
- func Tool(v string) predicate.TestRun
- func ToolContains(v string) predicate.TestRun
- func ToolContainsFold(v string) predicate.TestRun
- func ToolEQ(v string) predicate.TestRun
- func ToolEqualFold(v string) predicate.TestRun
- func ToolGT(v string) predicate.TestRun
- func ToolGTE(v string) predicate.TestRun
- func ToolHasPrefix(v string) predicate.TestRun
- func ToolHasSuffix(v string) predicate.TestRun
- func ToolIn(vs ...string) predicate.TestRun
- func ToolLT(v string) predicate.TestRun
- func ToolLTE(v string) predicate.TestRun
- func ToolNEQ(v string) predicate.TestRun
- func ToolNotIn(vs ...string) predicate.TestRun
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the testrun type in the database. Label = "test_run" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTool holds the string denoting the tool field in the database. FieldTool = "tool" // FieldTime holds the string denoting the time field in the database. FieldTime = "time" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // EdgeRelease holds the string denoting the release edge name in mutations. EdgeRelease = "release" // EdgeEntry holds the string denoting the entry edge name in mutations. EdgeEntry = "entry" // EdgeTests holds the string denoting the tests edge name in mutations. EdgeTests = "tests" // Table holds the table name of the testrun in the database. Table = "test_run" // ReleaseTable is the table that holds the release relation/edge. ReleaseTable = "test_run" // ReleaseInverseTable is the table name for the Release entity. // It exists in this package in order to avoid circular dependency with the "release" package. ReleaseInverseTable = "release" // ReleaseColumn is the table column denoting the release relation/edge. ReleaseColumn = "test_run_release" // EntryTable is the table that holds the entry relation/edge. EntryTable = "test_run" // EntryInverseTable is the table name for the ReleaseEntry entity. // It exists in this package in order to avoid circular dependency with the "releaseentry" package. EntryInverseTable = "release_entry" // EntryColumn is the table column denoting the entry relation/edge. EntryColumn = "release_entry_test_run" // TestsTable is the table that holds the tests relation/edge. TestsTable = "test_case" // TestsInverseTable is the table name for the TestCase entity. // It exists in this package in order to avoid circular dependency with the "testcase" package. TestsInverseTable = "test_case" // TestsColumn is the table column denoting the tests relation/edge. TestsColumn = "test_case_run" )
Variables ¶
var ( Hooks [1]ent.Hook // ToolValidator is a validator for the "tool" field. It is called by the builders before save. ToolValidator func(string) error // DefaultTime holds the default value on creation for the "time" field. DefaultTime func() time.Time )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/valocode/bubbly/ent/runtime"
var Columns = []string{ FieldID, FieldTool, FieldTime, FieldMetadata, }
Columns holds all SQL columns for testrun fields.
var ForeignKeys = []string{
"release_entry_test_run",
"test_run_release",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "test_run" table and are not defined as standalone fields in the schema.
Functions ¶
func HasEntryWith ¶
func HasEntryWith(preds ...predicate.ReleaseEntry) predicate.TestRun
HasEntryWith applies the HasEdge predicate on the "entry" edge with a given conditions (other predicates).
func HasRelease ¶
HasRelease applies the HasEdge predicate on the "release" edge.
func HasReleaseWith ¶
HasReleaseWith applies the HasEdge predicate on the "release" edge with a given conditions (other predicates).
func HasTestsWith ¶
HasTestsWith applies the HasEdge predicate on the "tests" edge with a given conditions (other predicates).
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func ToolContains ¶
ToolContains applies the Contains predicate on the "tool" field.
func ToolContainsFold ¶
ToolContainsFold applies the ContainsFold predicate on the "tool" field.
func ToolEqualFold ¶
ToolEqualFold applies the EqualFold predicate on the "tool" field.
func ToolHasPrefix ¶
ToolHasPrefix applies the HasPrefix predicate on the "tool" field.
func ToolHasSuffix ¶
ToolHasSuffix applies the HasSuffix predicate on the "tool" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.