project

package
v0.0.0-...-7432d34 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the project type in the database.
	Label = "project"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUser holds the string denoting the user field in the database.
	FieldUser = "user"
	// FieldGroup holds the string denoting the group field in the database.
	FieldGroup = "group"
	// FieldRootPath holds the string denoting the root_path field in the database.
	FieldRootPath = "root_path"
	// FieldServiceName holds the string denoting the service_name field in the database.
	FieldServiceName = "service_name"
	// FieldBinaryPath holds the string denoting the binary_path field in the database.
	FieldBinaryPath = "binary_path"
	// FieldMoveToTarget holds the string denoting the move_to_target field in the database.
	FieldMoveToTarget = "move_to_target"
	// FieldBinaryTargetPath holds the string denoting the binary_target_path field in the database.
	FieldBinaryTargetPath = "binary_target_path"
	// EdgeLogentries holds the string denoting the logentries edge name in mutations.
	EdgeLogentries = "logentries"
	// Table holds the table name of the project in the database.
	Table = "projects"
	// LogentriesTable is the table that holds the logentries relation/edge.
	LogentriesTable = "logentries"
	// LogentriesInverseTable is the table name for the Logentry entity.
	// It exists in this package in order to avoid circular dependency with the "logentry" package.
	LogentriesInverseTable = "logentries"
	// LogentriesColumn is the table column denoting the logentries relation/edge.
	LogentriesColumn = "project_logentries"
)

Variables

View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultMoveToTarget holds the default value on creation for the "move_to_target" field.
	DefaultMoveToTarget bool
)

Columns holds all SQL columns for project fields.

Functions

func And

func And(predicates ...predicate.Project) predicate.Project

And groups predicates with the AND operator between them.

func BinaryPath

func BinaryPath(v string) predicate.Project

BinaryPath applies equality check predicate on the "binary_path" field. It's identical to BinaryPathEQ.

func BinaryPathContains

func BinaryPathContains(v string) predicate.Project

BinaryPathContains applies the Contains predicate on the "binary_path" field.

func BinaryPathContainsFold

func BinaryPathContainsFold(v string) predicate.Project

BinaryPathContainsFold applies the ContainsFold predicate on the "binary_path" field.

func BinaryPathEQ

func BinaryPathEQ(v string) predicate.Project

BinaryPathEQ applies the EQ predicate on the "binary_path" field.

func BinaryPathEqualFold

func BinaryPathEqualFold(v string) predicate.Project

BinaryPathEqualFold applies the EqualFold predicate on the "binary_path" field.

func BinaryPathGT

func BinaryPathGT(v string) predicate.Project

BinaryPathGT applies the GT predicate on the "binary_path" field.

func BinaryPathGTE

func BinaryPathGTE(v string) predicate.Project

BinaryPathGTE applies the GTE predicate on the "binary_path" field.

func BinaryPathHasPrefix

func BinaryPathHasPrefix(v string) predicate.Project

BinaryPathHasPrefix applies the HasPrefix predicate on the "binary_path" field.

func BinaryPathHasSuffix

func BinaryPathHasSuffix(v string) predicate.Project

BinaryPathHasSuffix applies the HasSuffix predicate on the "binary_path" field.

func BinaryPathIn

func BinaryPathIn(vs ...string) predicate.Project

BinaryPathIn applies the In predicate on the "binary_path" field.

func BinaryPathLT

func BinaryPathLT(v string) predicate.Project

BinaryPathLT applies the LT predicate on the "binary_path" field.

func BinaryPathLTE

func BinaryPathLTE(v string) predicate.Project

BinaryPathLTE applies the LTE predicate on the "binary_path" field.

func BinaryPathNEQ

func BinaryPathNEQ(v string) predicate.Project

BinaryPathNEQ applies the NEQ predicate on the "binary_path" field.

func BinaryPathNotIn

func BinaryPathNotIn(vs ...string) predicate.Project

BinaryPathNotIn applies the NotIn predicate on the "binary_path" field.

func BinaryTargetPath

func BinaryTargetPath(v string) predicate.Project

BinaryTargetPath applies equality check predicate on the "binary_target_path" field. It's identical to BinaryTargetPathEQ.

func BinaryTargetPathContains

func BinaryTargetPathContains(v string) predicate.Project

BinaryTargetPathContains applies the Contains predicate on the "binary_target_path" field.

func BinaryTargetPathContainsFold

func BinaryTargetPathContainsFold(v string) predicate.Project

BinaryTargetPathContainsFold applies the ContainsFold predicate on the "binary_target_path" field.

func BinaryTargetPathEQ

func BinaryTargetPathEQ(v string) predicate.Project

BinaryTargetPathEQ applies the EQ predicate on the "binary_target_path" field.

func BinaryTargetPathEqualFold

func BinaryTargetPathEqualFold(v string) predicate.Project

BinaryTargetPathEqualFold applies the EqualFold predicate on the "binary_target_path" field.

func BinaryTargetPathGT

func BinaryTargetPathGT(v string) predicate.Project

BinaryTargetPathGT applies the GT predicate on the "binary_target_path" field.

func BinaryTargetPathGTE

func BinaryTargetPathGTE(v string) predicate.Project

BinaryTargetPathGTE applies the GTE predicate on the "binary_target_path" field.

func BinaryTargetPathHasPrefix

func BinaryTargetPathHasPrefix(v string) predicate.Project

BinaryTargetPathHasPrefix applies the HasPrefix predicate on the "binary_target_path" field.

func BinaryTargetPathHasSuffix

func BinaryTargetPathHasSuffix(v string) predicate.Project

BinaryTargetPathHasSuffix applies the HasSuffix predicate on the "binary_target_path" field.

func BinaryTargetPathIn

func BinaryTargetPathIn(vs ...string) predicate.Project

BinaryTargetPathIn applies the In predicate on the "binary_target_path" field.

func BinaryTargetPathIsNil

func BinaryTargetPathIsNil() predicate.Project

BinaryTargetPathIsNil applies the IsNil predicate on the "binary_target_path" field.

func BinaryTargetPathLT

func BinaryTargetPathLT(v string) predicate.Project

BinaryTargetPathLT applies the LT predicate on the "binary_target_path" field.

func BinaryTargetPathLTE

func BinaryTargetPathLTE(v string) predicate.Project

BinaryTargetPathLTE applies the LTE predicate on the "binary_target_path" field.

func BinaryTargetPathNEQ

func BinaryTargetPathNEQ(v string) predicate.Project

BinaryTargetPathNEQ applies the NEQ predicate on the "binary_target_path" field.

func BinaryTargetPathNotIn

func BinaryTargetPathNotIn(vs ...string) predicate.Project

BinaryTargetPathNotIn applies the NotIn predicate on the "binary_target_path" field.

func BinaryTargetPathNotNil

func BinaryTargetPathNotNil() predicate.Project

BinaryTargetPathNotNil applies the NotNil predicate on the "binary_target_path" field.

func CreateTime

func CreateTime(v time.Time) predicate.Project

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.Project

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.Project

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.Project

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.Project

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.Project

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.Project

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.Project

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.Project

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Group

func Group(v string) predicate.Project

Group applies equality check predicate on the "group" field. It's identical to GroupEQ.

func GroupContains

func GroupContains(v string) predicate.Project

GroupContains applies the Contains predicate on the "group" field.

func GroupContainsFold

func GroupContainsFold(v string) predicate.Project

GroupContainsFold applies the ContainsFold predicate on the "group" field.

func GroupEQ

func GroupEQ(v string) predicate.Project

GroupEQ applies the EQ predicate on the "group" field.

func GroupEqualFold

func GroupEqualFold(v string) predicate.Project

GroupEqualFold applies the EqualFold predicate on the "group" field.

func GroupGT

func GroupGT(v string) predicate.Project

GroupGT applies the GT predicate on the "group" field.

func GroupGTE

func GroupGTE(v string) predicate.Project

GroupGTE applies the GTE predicate on the "group" field.

func GroupHasPrefix

func GroupHasPrefix(v string) predicate.Project

GroupHasPrefix applies the HasPrefix predicate on the "group" field.

func GroupHasSuffix

func GroupHasSuffix(v string) predicate.Project

GroupHasSuffix applies the HasSuffix predicate on the "group" field.

func GroupIn

func GroupIn(vs ...string) predicate.Project

GroupIn applies the In predicate on the "group" field.

func GroupLT

func GroupLT(v string) predicate.Project

GroupLT applies the LT predicate on the "group" field.

func GroupLTE

func GroupLTE(v string) predicate.Project

GroupLTE applies the LTE predicate on the "group" field.

func GroupNEQ

func GroupNEQ(v string) predicate.Project

GroupNEQ applies the NEQ predicate on the "group" field.

func GroupNotIn

func GroupNotIn(vs ...string) predicate.Project

GroupNotIn applies the NotIn predicate on the "group" field.

func HasLogentries

func HasLogentries() predicate.Project

HasLogentries applies the HasEdge predicate on the "logentries" edge.

func HasLogentriesWith

func HasLogentriesWith(preds ...predicate.Logentry) predicate.Project

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

func ID

func ID(id int) predicate.Project

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Project

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Project

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Project

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Project

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Project

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Project

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MoveToTarget

func MoveToTarget(v bool) predicate.Project

MoveToTarget applies equality check predicate on the "move_to_target" field. It's identical to MoveToTargetEQ.

func MoveToTargetEQ

func MoveToTargetEQ(v bool) predicate.Project

MoveToTargetEQ applies the EQ predicate on the "move_to_target" field.

func MoveToTargetNEQ

func MoveToTargetNEQ(v bool) predicate.Project

MoveToTargetNEQ applies the NEQ predicate on the "move_to_target" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Project) predicate.Project

Or groups predicates with the OR operator between them.

func RootPath

func RootPath(v string) predicate.Project

RootPath applies equality check predicate on the "root_path" field. It's identical to RootPathEQ.

func RootPathContains

func RootPathContains(v string) predicate.Project

RootPathContains applies the Contains predicate on the "root_path" field.

func RootPathContainsFold

func RootPathContainsFold(v string) predicate.Project

RootPathContainsFold applies the ContainsFold predicate on the "root_path" field.

func RootPathEQ

func RootPathEQ(v string) predicate.Project

RootPathEQ applies the EQ predicate on the "root_path" field.

func RootPathEqualFold

func RootPathEqualFold(v string) predicate.Project

RootPathEqualFold applies the EqualFold predicate on the "root_path" field.

func RootPathGT

func RootPathGT(v string) predicate.Project

RootPathGT applies the GT predicate on the "root_path" field.

func RootPathGTE

func RootPathGTE(v string) predicate.Project

RootPathGTE applies the GTE predicate on the "root_path" field.

func RootPathHasPrefix

func RootPathHasPrefix(v string) predicate.Project

RootPathHasPrefix applies the HasPrefix predicate on the "root_path" field.

func RootPathHasSuffix

func RootPathHasSuffix(v string) predicate.Project

RootPathHasSuffix applies the HasSuffix predicate on the "root_path" field.

func RootPathIn

func RootPathIn(vs ...string) predicate.Project

RootPathIn applies the In predicate on the "root_path" field.

func RootPathLT

func RootPathLT(v string) predicate.Project

RootPathLT applies the LT predicate on the "root_path" field.

func RootPathLTE

func RootPathLTE(v string) predicate.Project

RootPathLTE applies the LTE predicate on the "root_path" field.

func RootPathNEQ

func RootPathNEQ(v string) predicate.Project

RootPathNEQ applies the NEQ predicate on the "root_path" field.

func RootPathNotIn

func RootPathNotIn(vs ...string) predicate.Project

RootPathNotIn applies the NotIn predicate on the "root_path" field.

func ServiceName

func ServiceName(v string) predicate.Project

ServiceName applies equality check predicate on the "service_name" field. It's identical to ServiceNameEQ.

func ServiceNameContains

func ServiceNameContains(v string) predicate.Project

ServiceNameContains applies the Contains predicate on the "service_name" field.

func ServiceNameContainsFold

func ServiceNameContainsFold(v string) predicate.Project

ServiceNameContainsFold applies the ContainsFold predicate on the "service_name" field.

func ServiceNameEQ

func ServiceNameEQ(v string) predicate.Project

ServiceNameEQ applies the EQ predicate on the "service_name" field.

func ServiceNameEqualFold

func ServiceNameEqualFold(v string) predicate.Project

ServiceNameEqualFold applies the EqualFold predicate on the "service_name" field.

func ServiceNameGT

func ServiceNameGT(v string) predicate.Project

ServiceNameGT applies the GT predicate on the "service_name" field.

func ServiceNameGTE

func ServiceNameGTE(v string) predicate.Project

ServiceNameGTE applies the GTE predicate on the "service_name" field.

func ServiceNameHasPrefix

func ServiceNameHasPrefix(v string) predicate.Project

ServiceNameHasPrefix applies the HasPrefix predicate on the "service_name" field.

func ServiceNameHasSuffix

func ServiceNameHasSuffix(v string) predicate.Project

ServiceNameHasSuffix applies the HasSuffix predicate on the "service_name" field.

func ServiceNameIn

func ServiceNameIn(vs ...string) predicate.Project

ServiceNameIn applies the In predicate on the "service_name" field.

func ServiceNameLT

func ServiceNameLT(v string) predicate.Project

ServiceNameLT applies the LT predicate on the "service_name" field.

func ServiceNameLTE

func ServiceNameLTE(v string) predicate.Project

ServiceNameLTE applies the LTE predicate on the "service_name" field.

func ServiceNameNEQ

func ServiceNameNEQ(v string) predicate.Project

ServiceNameNEQ applies the NEQ predicate on the "service_name" field.

func ServiceNameNotIn

func ServiceNameNotIn(vs ...string) predicate.Project

ServiceNameNotIn applies the NotIn predicate on the "service_name" field.

func User

func User(v string) predicate.Project

User applies equality check predicate on the "user" field. It's identical to UserEQ.

func UserContains

func UserContains(v string) predicate.Project

UserContains applies the Contains predicate on the "user" field.

func UserContainsFold

func UserContainsFold(v string) predicate.Project

UserContainsFold applies the ContainsFold predicate on the "user" field.

func UserEQ

func UserEQ(v string) predicate.Project

UserEQ applies the EQ predicate on the "user" field.

func UserEqualFold

func UserEqualFold(v string) predicate.Project

UserEqualFold applies the EqualFold predicate on the "user" field.

func UserGT

func UserGT(v string) predicate.Project

UserGT applies the GT predicate on the "user" field.

func UserGTE

func UserGTE(v string) predicate.Project

UserGTE applies the GTE predicate on the "user" field.

func UserHasPrefix

func UserHasPrefix(v string) predicate.Project

UserHasPrefix applies the HasPrefix predicate on the "user" field.

func UserHasSuffix

func UserHasSuffix(v string) predicate.Project

UserHasSuffix applies the HasSuffix predicate on the "user" field.

func UserIn

func UserIn(vs ...string) predicate.Project

UserIn applies the In predicate on the "user" field.

func UserLT

func UserLT(v string) predicate.Project

UserLT applies the LT predicate on the "user" field.

func UserLTE

func UserLTE(v string) predicate.Project

UserLTE applies the LTE predicate on the "user" field.

func UserNEQ

func UserNEQ(v string) predicate.Project

UserNEQ applies the NEQ predicate on the "user" field.

func UserNotIn

func UserNotIn(vs ...string) predicate.Project

UserNotIn applies the NotIn predicate on the "user" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Project queries.

func ByBinaryPath

func ByBinaryPath(opts ...sql.OrderTermOption) OrderOption

ByBinaryPath orders the results by the binary_path field.

func ByBinaryTargetPath

func ByBinaryTargetPath(opts ...sql.OrderTermOption) OrderOption

ByBinaryTargetPath orders the results by the binary_target_path field.

func ByCreateTime

func ByCreateTime(opts ...sql.OrderTermOption) OrderOption

ByCreateTime orders the results by the create_time field.

func ByGroup

func ByGroup(opts ...sql.OrderTermOption) OrderOption

ByGroup orders the results by the group field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLogentries

func ByLogentries(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLogentries orders the results by logentries terms.

func ByLogentriesCount

func ByLogentriesCount(opts ...sql.OrderTermOption) OrderOption

ByLogentriesCount orders the results by logentries count.

func ByMoveToTarget

func ByMoveToTarget(opts ...sql.OrderTermOption) OrderOption

ByMoveToTarget orders the results by the move_to_target field.

func ByRootPath

func ByRootPath(opts ...sql.OrderTermOption) OrderOption

ByRootPath orders the results by the root_path field.

func ByServiceName

func ByServiceName(opts ...sql.OrderTermOption) OrderOption

ByServiceName orders the results by the service_name field.

func ByUser

func ByUser(opts ...sql.OrderTermOption) OrderOption

ByUser orders the results by the user field.

Jump to

Keyboard shortcuts

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