releaseentry

package
v0.0.0-...-aca7f8d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the releaseentry type in the database.
	Label = "release_entry"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldTime holds the string denoting the time field in the database.
	FieldTime = "time"
	// EdgeArtifact holds the string denoting the artifact edge name in mutations.
	EdgeArtifact = "artifact"
	// EdgeCodeScan holds the string denoting the code_scan edge name in mutations.
	EdgeCodeScan = "code_scan"
	// EdgeTestRun holds the string denoting the test_run edge name in mutations.
	EdgeTestRun = "test_run"
	// EdgeRelease holds the string denoting the release edge name in mutations.
	EdgeRelease = "release"
	// Table holds the table name of the releaseentry in the database.
	Table = "release_entry"
	// ArtifactTable is the table that holds the artifact relation/edge.
	ArtifactTable = "artifact"
	// ArtifactInverseTable is the table name for the Artifact entity.
	// It exists in this package in order to avoid circular dependency with the "artifact" package.
	ArtifactInverseTable = "artifact"
	// ArtifactColumn is the table column denoting the artifact relation/edge.
	ArtifactColumn = "release_entry_artifact"
	// CodeScanTable is the table that holds the code_scan relation/edge.
	CodeScanTable = "code_scan"
	// CodeScanInverseTable is the table name for the CodeScan entity.
	// It exists in this package in order to avoid circular dependency with the "codescan" package.
	CodeScanInverseTable = "code_scan"
	// CodeScanColumn is the table column denoting the code_scan relation/edge.
	CodeScanColumn = "release_entry_code_scan"
	// TestRunTable is the table that holds the test_run relation/edge.
	TestRunTable = "test_run"
	// TestRunInverseTable is the table name for the TestRun entity.
	// It exists in this package in order to avoid circular dependency with the "testrun" package.
	TestRunInverseTable = "test_run"
	// TestRunColumn is the table column denoting the test_run relation/edge.
	TestRunColumn = "release_entry_test_run"
	// ReleaseTable is the table that holds the release relation/edge.
	ReleaseTable = "release_entry"
	// 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 = "release_entry_release"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldType,
	FieldTime,
}

Columns holds all SQL columns for releaseentry fields.

View Source
var (
	// DefaultTime holds the default value on creation for the "time" field.
	DefaultTime func() time.Time
)
View Source
var ForeignKeys = []string{
	"release_entry_release",
}

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

Functions

func And

func And(predicates ...predicate.ReleaseEntry) predicate.ReleaseEntry

And groups predicates with the AND operator between them.

func HasArtifact

func HasArtifact() predicate.ReleaseEntry

HasArtifact applies the HasEdge predicate on the "artifact" edge.

func HasArtifactWith

func HasArtifactWith(preds ...predicate.Artifact) predicate.ReleaseEntry

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

func HasCodeScan

func HasCodeScan() predicate.ReleaseEntry

HasCodeScan applies the HasEdge predicate on the "code_scan" edge.

func HasCodeScanWith

func HasCodeScanWith(preds ...predicate.CodeScan) predicate.ReleaseEntry

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

func HasRelease

func HasRelease() predicate.ReleaseEntry

HasRelease applies the HasEdge predicate on the "release" edge.

func HasReleaseWith

func HasReleaseWith(preds ...predicate.Release) predicate.ReleaseEntry

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

func HasTestRun

func HasTestRun() predicate.ReleaseEntry

HasTestRun applies the HasEdge predicate on the "test_run" edge.

func HasTestRunWith

func HasTestRunWith(preds ...predicate.TestRun) predicate.ReleaseEntry

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

func ID

func ID(id int) predicate.ReleaseEntry

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ReleaseEntry

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ReleaseEntry

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ReleaseEntry

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ReleaseEntry

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ReleaseEntry

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ReleaseEntry

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ReleaseEntry) predicate.ReleaseEntry

Or groups predicates with the OR operator between them.

func Time

Time applies equality check predicate on the "time" field. It's identical to TimeEQ.

func TimeEQ

func TimeEQ(v time.Time) predicate.ReleaseEntry

TimeEQ applies the EQ predicate on the "time" field.

func TimeGT

func TimeGT(v time.Time) predicate.ReleaseEntry

TimeGT applies the GT predicate on the "time" field.

func TimeGTE

func TimeGTE(v time.Time) predicate.ReleaseEntry

TimeGTE applies the GTE predicate on the "time" field.

func TimeIn

func TimeIn(vs ...time.Time) predicate.ReleaseEntry

TimeIn applies the In predicate on the "time" field.

func TimeLT

func TimeLT(v time.Time) predicate.ReleaseEntry

TimeLT applies the LT predicate on the "time" field.

func TimeLTE

func TimeLTE(v time.Time) predicate.ReleaseEntry

TimeLTE applies the LTE predicate on the "time" field.

func TimeNEQ

func TimeNEQ(v time.Time) predicate.ReleaseEntry

TimeNEQ applies the NEQ predicate on the "time" field.

func TimeNotIn

func TimeNotIn(vs ...time.Time) predicate.ReleaseEntry

TimeNotIn applies the NotIn predicate on the "time" field.

func TypeEQ

func TypeEQ(v Type) predicate.ReleaseEntry

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.ReleaseEntry

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v Type) predicate.ReleaseEntry

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.ReleaseEntry

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeArtifact Type = "artifact"
	TypeDeploy   Type = "deploy"
	TypeCodeScan Type = "code_scan"
	TypeTestRun  Type = "test_run"
)

Type values.

func (Type) MarshalGQL

func (_type Type) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Type) String

func (_type Type) String() string

func (*Type) UnmarshalGQL

func (_type *Type) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

Jump to

Keyboard shortcuts

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