moduleversion

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the moduleversion type in the database.
	Label = "module_version"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldMajor holds the string denoting the major vertex property in the database.
	FieldMajor = "major"
	// FieldMinor holds the string denoting the minor vertex property in the database.
	FieldMinor = "minor"
	// FieldPatch holds the string denoting the patch vertex property in the database.
	FieldPatch = "patch"
	// FieldTag holds the string denoting the tag vertex property in the database.
	FieldTag = "tag"

	// Table holds the table name of the moduleversion in the database.
	Table = "module_versions"
	// ModuleTable is the table the holds the module relation/edge.
	ModuleTable = "module_versions"
	// ModuleInverseTable is the table name for the Module entity.
	// It exists in this package in order to avoid circular dependency with the "module" package.
	ModuleInverseTable = "modules"
	// ModuleColumn is the table column denoting the module relation/edge.
	ModuleColumn = "module_id"
)

Variables

View Source
var (

	// MajorValidator is a validator for the "major" field. It is called by the builders before save.
	MajorValidator = descMajor.Validators[0].(func(int) error)

	// MinorValidator is a validator for the "minor" field. It is called by the builders before save.
	MinorValidator = descMinor.Validators[0].(func(int) error)

	// PatchValidator is a validator for the "patch" field. It is called by the builders before save.
	PatchValidator = descPatch.Validators[0].(func(int) error)
)

Columns holds all SQL columns are moduleversion fields.

Functions

func And

And groups list of predicates with the AND operator between them.

func HasModule

func HasModule() predicate.ModuleVersion

HasModule applies the HasEdge predicate on the "module" edge.

func HasModuleWith

func HasModuleWith(preds ...predicate.Module) predicate.ModuleVersion

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

func ID

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.ModuleVersion

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ModuleVersion

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ModuleVersion

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ModuleVersion

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ModuleVersion

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ModuleVersion

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Major

func Major(v int) predicate.ModuleVersion

Major applies equality check predicate on the "major" field. It's identical to MajorEQ.

func MajorEQ

func MajorEQ(v int) predicate.ModuleVersion

MajorEQ applies the EQ predicate on the "major" field.

func MajorGT

func MajorGT(v int) predicate.ModuleVersion

MajorGT applies the GT predicate on the "major" field.

func MajorGTE

func MajorGTE(v int) predicate.ModuleVersion

MajorGTE applies the GTE predicate on the "major" field.

func MajorIn

func MajorIn(vs ...int) predicate.ModuleVersion

MajorIn applies the In predicate on the "major" field.

func MajorLT

func MajorLT(v int) predicate.ModuleVersion

MajorLT applies the LT predicate on the "major" field.

func MajorLTE

func MajorLTE(v int) predicate.ModuleVersion

MajorLTE applies the LTE predicate on the "major" field.

func MajorNEQ

func MajorNEQ(v int) predicate.ModuleVersion

MajorNEQ applies the NEQ predicate on the "major" field.

func MajorNotIn

func MajorNotIn(vs ...int) predicate.ModuleVersion

MajorNotIn applies the NotIn predicate on the "major" field.

func Minor

func Minor(v int) predicate.ModuleVersion

Minor applies equality check predicate on the "minor" field. It's identical to MinorEQ.

func MinorEQ

func MinorEQ(v int) predicate.ModuleVersion

MinorEQ applies the EQ predicate on the "minor" field.

func MinorGT

func MinorGT(v int) predicate.ModuleVersion

MinorGT applies the GT predicate on the "minor" field.

func MinorGTE

func MinorGTE(v int) predicate.ModuleVersion

MinorGTE applies the GTE predicate on the "minor" field.

func MinorIn

func MinorIn(vs ...int) predicate.ModuleVersion

MinorIn applies the In predicate on the "minor" field.

func MinorLT

func MinorLT(v int) predicate.ModuleVersion

MinorLT applies the LT predicate on the "minor" field.

func MinorLTE

func MinorLTE(v int) predicate.ModuleVersion

MinorLTE applies the LTE predicate on the "minor" field.

func MinorNEQ

func MinorNEQ(v int) predicate.ModuleVersion

MinorNEQ applies the NEQ predicate on the "minor" field.

func MinorNotIn

func MinorNotIn(vs ...int) predicate.ModuleVersion

MinorNotIn applies the NotIn predicate on the "minor" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups list of predicates with the OR operator between them.

func Patch

func Patch(v int) predicate.ModuleVersion

Patch applies equality check predicate on the "patch" field. It's identical to PatchEQ.

func PatchEQ

func PatchEQ(v int) predicate.ModuleVersion

PatchEQ applies the EQ predicate on the "patch" field.

func PatchGT

func PatchGT(v int) predicate.ModuleVersion

PatchGT applies the GT predicate on the "patch" field.

func PatchGTE

func PatchGTE(v int) predicate.ModuleVersion

PatchGTE applies the GTE predicate on the "patch" field.

func PatchIn

func PatchIn(vs ...int) predicate.ModuleVersion

PatchIn applies the In predicate on the "patch" field.

func PatchLT

func PatchLT(v int) predicate.ModuleVersion

PatchLT applies the LT predicate on the "patch" field.

func PatchLTE

func PatchLTE(v int) predicate.ModuleVersion

PatchLTE applies the LTE predicate on the "patch" field.

func PatchNEQ

func PatchNEQ(v int) predicate.ModuleVersion

PatchNEQ applies the NEQ predicate on the "patch" field.

func PatchNotIn

func PatchNotIn(vs ...int) predicate.ModuleVersion

PatchNotIn applies the NotIn predicate on the "patch" field.

func Tag

Tag applies equality check predicate on the "tag" field. It's identical to TagEQ.

func TagContains

func TagContains(v string) predicate.ModuleVersion

TagContains applies the Contains predicate on the "tag" field.

func TagContainsFold

func TagContainsFold(v string) predicate.ModuleVersion

TagContainsFold applies the ContainsFold predicate on the "tag" field.

func TagEQ

TagEQ applies the EQ predicate on the "tag" field.

func TagEqualFold

func TagEqualFold(v string) predicate.ModuleVersion

TagEqualFold applies the EqualFold predicate on the "tag" field.

func TagGT

TagGT applies the GT predicate on the "tag" field.

func TagGTE

func TagGTE(v string) predicate.ModuleVersion

TagGTE applies the GTE predicate on the "tag" field.

func TagHasPrefix

func TagHasPrefix(v string) predicate.ModuleVersion

TagHasPrefix applies the HasPrefix predicate on the "tag" field.

func TagHasSuffix

func TagHasSuffix(v string) predicate.ModuleVersion

TagHasSuffix applies the HasSuffix predicate on the "tag" field.

func TagIn

func TagIn(vs ...string) predicate.ModuleVersion

TagIn applies the In predicate on the "tag" field.

func TagLT

TagLT applies the LT predicate on the "tag" field.

func TagLTE

func TagLTE(v string) predicate.ModuleVersion

TagLTE applies the LTE predicate on the "tag" field.

func TagNEQ

func TagNEQ(v string) predicate.ModuleVersion

TagNEQ applies the NEQ predicate on the "tag" field.

func TagNotIn

func TagNotIn(vs ...string) predicate.ModuleVersion

TagNotIn applies the NotIn predicate on the "tag" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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