application

package
v0.0.0-...-37de26c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the application type in the database.
	Label = "application"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldScenario holds the string denoting the scenario field in the database.
	FieldScenario = "scenario"
	// FieldGomod holds the string denoting the gomod field in the database.
	FieldGomod = "gomod"
	// FieldGosum holds the string denoting the gosum field in the database.
	FieldGosum = "gosum"

	// EdgeGroups holds the string denoting the groups edge name in mutations.
	EdgeGroups = "groups"
	// EdgeTags holds the string denoting the tags edge name in mutations.
	EdgeTags = "tags"

	// Table holds the table name of the application in the database.
	Table = "applications"
	// GroupsTable is the table the holds the groups relation/edge.
	GroupsTable = "groups"
	// GroupsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupsInverseTable = "groups"
	// GroupsColumn is the table column denoting the groups relation/edge.
	GroupsColumn = "application_groups"
	// TagsTable is the table the holds the tags relation/edge.
	TagsTable = "tags"
	// TagsInverseTable is the table name for the Tag entity.
	// It exists in this package in order to avoid circular dependency with the "tag" package.
	TagsInverseTable = "tags"
	// TagsColumn is the table column denoting the tags relation/edge.
	TagsColumn = "application_tags"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the created_at field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the updated_at field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the updated_at field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultGomod holds the default value on creation for the gomod field.
	DefaultGomod string
	// DefaultGosum holds the default value on creation for the gosum field.
	DefaultGosum string
)

Columns holds all SQL columns for application fields.

Functions

func And

func And(predicates ...predicate.Application) predicate.Application

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

func CreatedAt

func CreatedAt(v time.Time) predicate.Application

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Application

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Application

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Application

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Application

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Application

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Application

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Application

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Application

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Gomod

func Gomod(v string) predicate.Application

Gomod applies equality check predicate on the "gomod" field. It's identical to GomodEQ.

func GomodContains

func GomodContains(v string) predicate.Application

GomodContains applies the Contains predicate on the "gomod" field.

func GomodContainsFold

func GomodContainsFold(v string) predicate.Application

GomodContainsFold applies the ContainsFold predicate on the "gomod" field.

func GomodEQ

func GomodEQ(v string) predicate.Application

GomodEQ applies the EQ predicate on the "gomod" field.

func GomodEqualFold

func GomodEqualFold(v string) predicate.Application

GomodEqualFold applies the EqualFold predicate on the "gomod" field.

func GomodGT

func GomodGT(v string) predicate.Application

GomodGT applies the GT predicate on the "gomod" field.

func GomodGTE

func GomodGTE(v string) predicate.Application

GomodGTE applies the GTE predicate on the "gomod" field.

func GomodHasPrefix

func GomodHasPrefix(v string) predicate.Application

GomodHasPrefix applies the HasPrefix predicate on the "gomod" field.

func GomodHasSuffix

func GomodHasSuffix(v string) predicate.Application

GomodHasSuffix applies the HasSuffix predicate on the "gomod" field.

func GomodIn

func GomodIn(vs ...string) predicate.Application

GomodIn applies the In predicate on the "gomod" field.

func GomodLT

func GomodLT(v string) predicate.Application

GomodLT applies the LT predicate on the "gomod" field.

func GomodLTE

func GomodLTE(v string) predicate.Application

GomodLTE applies the LTE predicate on the "gomod" field.

func GomodNEQ

func GomodNEQ(v string) predicate.Application

GomodNEQ applies the NEQ predicate on the "gomod" field.

func GomodNotIn

func GomodNotIn(vs ...string) predicate.Application

GomodNotIn applies the NotIn predicate on the "gomod" field.

func Gosum

func Gosum(v string) predicate.Application

Gosum applies equality check predicate on the "gosum" field. It's identical to GosumEQ.

func GosumContains

func GosumContains(v string) predicate.Application

GosumContains applies the Contains predicate on the "gosum" field.

func GosumContainsFold

func GosumContainsFold(v string) predicate.Application

GosumContainsFold applies the ContainsFold predicate on the "gosum" field.

func GosumEQ

func GosumEQ(v string) predicate.Application

GosumEQ applies the EQ predicate on the "gosum" field.

func GosumEqualFold

func GosumEqualFold(v string) predicate.Application

GosumEqualFold applies the EqualFold predicate on the "gosum" field.

func GosumGT

func GosumGT(v string) predicate.Application

GosumGT applies the GT predicate on the "gosum" field.

func GosumGTE

func GosumGTE(v string) predicate.Application

GosumGTE applies the GTE predicate on the "gosum" field.

func GosumHasPrefix

func GosumHasPrefix(v string) predicate.Application

GosumHasPrefix applies the HasPrefix predicate on the "gosum" field.

func GosumHasSuffix

func GosumHasSuffix(v string) predicate.Application

GosumHasSuffix applies the HasSuffix predicate on the "gosum" field.

func GosumIn

func GosumIn(vs ...string) predicate.Application

GosumIn applies the In predicate on the "gosum" field.

func GosumLT

func GosumLT(v string) predicate.Application

GosumLT applies the LT predicate on the "gosum" field.

func GosumLTE

func GosumLTE(v string) predicate.Application

GosumLTE applies the LTE predicate on the "gosum" field.

func GosumNEQ

func GosumNEQ(v string) predicate.Application

GosumNEQ applies the NEQ predicate on the "gosum" field.

func GosumNotIn

func GosumNotIn(vs ...string) predicate.Application

GosumNotIn applies the NotIn predicate on the "gosum" field.

func HasGroups

func HasGroups() predicate.Application

HasGroups applies the HasEdge predicate on the "groups" edge.

func HasGroupsWith

func HasGroupsWith(preds ...predicate.Group) predicate.Application

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

func HasTags

func HasTags() predicate.Application

HasTags applies the HasEdge predicate on the "tags" edge.

func HasTagsWith

func HasTagsWith(preds ...predicate.Tag) predicate.Application

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

func ID

func ID(id int) predicate.Application

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Application

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Application

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Application

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Application

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Application

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Application

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

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

func NameContains

func NameContains(v string) predicate.Application

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

func NameContainsFold

func NameContainsFold(v string) predicate.Application

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

func NameEQ

func NameEQ(v string) predicate.Application

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

func NameEqualFold

func NameEqualFold(v string) predicate.Application

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

func NameGT

func NameGT(v string) predicate.Application

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

func NameGTE

func NameGTE(v string) predicate.Application

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Application

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Application

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Application

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

func NameLTE

func NameLTE(v string) predicate.Application

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

func NameNEQ

func NameNEQ(v string) predicate.Application

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Application) predicate.Application

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

func Scenario

func Scenario(v string) predicate.Application

Scenario applies equality check predicate on the "scenario" field. It's identical to ScenarioEQ.

func ScenarioContains

func ScenarioContains(v string) predicate.Application

ScenarioContains applies the Contains predicate on the "scenario" field.

func ScenarioContainsFold

func ScenarioContainsFold(v string) predicate.Application

ScenarioContainsFold applies the ContainsFold predicate on the "scenario" field.

func ScenarioEQ

func ScenarioEQ(v string) predicate.Application

ScenarioEQ applies the EQ predicate on the "scenario" field.

func ScenarioEqualFold

func ScenarioEqualFold(v string) predicate.Application

ScenarioEqualFold applies the EqualFold predicate on the "scenario" field.

func ScenarioGT

func ScenarioGT(v string) predicate.Application

ScenarioGT applies the GT predicate on the "scenario" field.

func ScenarioGTE

func ScenarioGTE(v string) predicate.Application

ScenarioGTE applies the GTE predicate on the "scenario" field.

func ScenarioHasPrefix

func ScenarioHasPrefix(v string) predicate.Application

ScenarioHasPrefix applies the HasPrefix predicate on the "scenario" field.

func ScenarioHasSuffix

func ScenarioHasSuffix(v string) predicate.Application

ScenarioHasSuffix applies the HasSuffix predicate on the "scenario" field.

func ScenarioIn

func ScenarioIn(vs ...string) predicate.Application

ScenarioIn applies the In predicate on the "scenario" field.

func ScenarioLT

func ScenarioLT(v string) predicate.Application

ScenarioLT applies the LT predicate on the "scenario" field.

func ScenarioLTE

func ScenarioLTE(v string) predicate.Application

ScenarioLTE applies the LTE predicate on the "scenario" field.

func ScenarioNEQ

func ScenarioNEQ(v string) predicate.Application

ScenarioNEQ applies the NEQ predicate on the "scenario" field.

func ScenarioNotIn

func ScenarioNotIn(vs ...string) predicate.Application

ScenarioNotIn applies the NotIn predicate on the "scenario" field.

func StartedAt

func StartedAt(v time.Time) predicate.Application

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.Application

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.Application

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.Application

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.Application

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtIsNil

func StartedAtIsNil() predicate.Application

StartedAtIsNil applies the IsNil predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.Application

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.Application

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.Application

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.Application

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StartedAtNotNil

func StartedAtNotNil() predicate.Application

StartedAtNotNil applies the NotNil predicate on the "started_at" field.

func Status

func Status(v string) predicate.Application

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Application

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Application

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Application

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Application

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Application

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Application

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Application

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Application

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Application

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Application

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Application

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Application

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Application

StatusNotIn applies the NotIn predicate on the "status" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Application

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Application

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Application

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Application

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Application

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Application

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Application

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Application

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Application

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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