Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Project) predicate.Project
- func BinaryPath(v string) predicate.Project
- func BinaryPathContains(v string) predicate.Project
- func BinaryPathContainsFold(v string) predicate.Project
- func BinaryPathEQ(v string) predicate.Project
- func BinaryPathEqualFold(v string) predicate.Project
- func BinaryPathGT(v string) predicate.Project
- func BinaryPathGTE(v string) predicate.Project
- func BinaryPathHasPrefix(v string) predicate.Project
- func BinaryPathHasSuffix(v string) predicate.Project
- func BinaryPathIn(vs ...string) predicate.Project
- func BinaryPathLT(v string) predicate.Project
- func BinaryPathLTE(v string) predicate.Project
- func BinaryPathNEQ(v string) predicate.Project
- func BinaryPathNotIn(vs ...string) predicate.Project
- func BinaryTargetPath(v string) predicate.Project
- func BinaryTargetPathContains(v string) predicate.Project
- func BinaryTargetPathContainsFold(v string) predicate.Project
- func BinaryTargetPathEQ(v string) predicate.Project
- func BinaryTargetPathEqualFold(v string) predicate.Project
- func BinaryTargetPathGT(v string) predicate.Project
- func BinaryTargetPathGTE(v string) predicate.Project
- func BinaryTargetPathHasPrefix(v string) predicate.Project
- func BinaryTargetPathHasSuffix(v string) predicate.Project
- func BinaryTargetPathIn(vs ...string) predicate.Project
- func BinaryTargetPathIsNil() predicate.Project
- func BinaryTargetPathLT(v string) predicate.Project
- func BinaryTargetPathLTE(v string) predicate.Project
- func BinaryTargetPathNEQ(v string) predicate.Project
- func BinaryTargetPathNotIn(vs ...string) predicate.Project
- func BinaryTargetPathNotNil() predicate.Project
- func CreateTime(v time.Time) predicate.Project
- func CreateTimeEQ(v time.Time) predicate.Project
- func CreateTimeGT(v time.Time) predicate.Project
- func CreateTimeGTE(v time.Time) predicate.Project
- func CreateTimeIn(vs ...time.Time) predicate.Project
- func CreateTimeLT(v time.Time) predicate.Project
- func CreateTimeLTE(v time.Time) predicate.Project
- func CreateTimeNEQ(v time.Time) predicate.Project
- func CreateTimeNotIn(vs ...time.Time) predicate.Project
- func Group(v string) predicate.Project
- func GroupContains(v string) predicate.Project
- func GroupContainsFold(v string) predicate.Project
- func GroupEQ(v string) predicate.Project
- func GroupEqualFold(v string) predicate.Project
- func GroupGT(v string) predicate.Project
- func GroupGTE(v string) predicate.Project
- func GroupHasPrefix(v string) predicate.Project
- func GroupHasSuffix(v string) predicate.Project
- func GroupIn(vs ...string) predicate.Project
- func GroupLT(v string) predicate.Project
- func GroupLTE(v string) predicate.Project
- func GroupNEQ(v string) predicate.Project
- func GroupNotIn(vs ...string) predicate.Project
- func HasLogentries() predicate.Project
- func HasLogentriesWith(preds ...predicate.Logentry) predicate.Project
- func ID(id int) predicate.Project
- func IDEQ(id int) predicate.Project
- func IDGT(id int) predicate.Project
- func IDGTE(id int) predicate.Project
- func IDIn(ids ...int) predicate.Project
- func IDLT(id int) predicate.Project
- func IDLTE(id int) predicate.Project
- func IDNEQ(id int) predicate.Project
- func IDNotIn(ids ...int) predicate.Project
- func MoveToTarget(v bool) predicate.Project
- func MoveToTargetEQ(v bool) predicate.Project
- func MoveToTargetNEQ(v bool) predicate.Project
- func Not(p predicate.Project) predicate.Project
- func Or(predicates ...predicate.Project) predicate.Project
- func RootPath(v string) predicate.Project
- func RootPathContains(v string) predicate.Project
- func RootPathContainsFold(v string) predicate.Project
- func RootPathEQ(v string) predicate.Project
- func RootPathEqualFold(v string) predicate.Project
- func RootPathGT(v string) predicate.Project
- func RootPathGTE(v string) predicate.Project
- func RootPathHasPrefix(v string) predicate.Project
- func RootPathHasSuffix(v string) predicate.Project
- func RootPathIn(vs ...string) predicate.Project
- func RootPathLT(v string) predicate.Project
- func RootPathLTE(v string) predicate.Project
- func RootPathNEQ(v string) predicate.Project
- func RootPathNotIn(vs ...string) predicate.Project
- func ServiceName(v string) predicate.Project
- func ServiceNameContains(v string) predicate.Project
- func ServiceNameContainsFold(v string) predicate.Project
- func ServiceNameEQ(v string) predicate.Project
- func ServiceNameEqualFold(v string) predicate.Project
- func ServiceNameGT(v string) predicate.Project
- func ServiceNameGTE(v string) predicate.Project
- func ServiceNameHasPrefix(v string) predicate.Project
- func ServiceNameHasSuffix(v string) predicate.Project
- func ServiceNameIn(vs ...string) predicate.Project
- func ServiceNameLT(v string) predicate.Project
- func ServiceNameLTE(v string) predicate.Project
- func ServiceNameNEQ(v string) predicate.Project
- func ServiceNameNotIn(vs ...string) predicate.Project
- func User(v string) predicate.Project
- func UserContains(v string) predicate.Project
- func UserContainsFold(v string) predicate.Project
- func UserEQ(v string) predicate.Project
- func UserEqualFold(v string) predicate.Project
- func UserGT(v string) predicate.Project
- func UserGTE(v string) predicate.Project
- func UserHasPrefix(v string) predicate.Project
- func UserHasSuffix(v string) predicate.Project
- func UserIn(vs ...string) predicate.Project
- func UserLT(v string) predicate.Project
- func UserLTE(v string) predicate.Project
- func UserNEQ(v string) predicate.Project
- func UserNotIn(vs ...string) predicate.Project
- func ValidColumn(column string) bool
- type OrderOption
- func ByBinaryPath(opts ...sql.OrderTermOption) OrderOption
- func ByBinaryTargetPath(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByGroup(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLogentries(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLogentriesCount(opts ...sql.OrderTermOption) OrderOption
- func ByMoveToTarget(opts ...sql.OrderTermOption) OrderOption
- func ByRootPath(opts ...sql.OrderTermOption) OrderOption
- func ByServiceName(opts ...sql.OrderTermOption) OrderOption
- func ByUser(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreateTime, FieldUser, FieldGroup, FieldRootPath, FieldServiceName, FieldBinaryPath, FieldMoveToTarget, FieldBinaryTargetPath, }
Columns holds all SQL columns for project fields.
Functions ¶
func BinaryPath ¶
BinaryPath applies equality check predicate on the "binary_path" field. It's identical to BinaryPathEQ.
func BinaryPathContains ¶
BinaryPathContains applies the Contains predicate on the "binary_path" field.
func BinaryPathContainsFold ¶
BinaryPathContainsFold applies the ContainsFold predicate on the "binary_path" field.
func BinaryPathEQ ¶
BinaryPathEQ applies the EQ predicate on the "binary_path" field.
func BinaryPathEqualFold ¶
BinaryPathEqualFold applies the EqualFold predicate on the "binary_path" field.
func BinaryPathGT ¶
BinaryPathGT applies the GT predicate on the "binary_path" field.
func BinaryPathGTE ¶
BinaryPathGTE applies the GTE predicate on the "binary_path" field.
func BinaryPathHasPrefix ¶
BinaryPathHasPrefix applies the HasPrefix predicate on the "binary_path" field.
func BinaryPathHasSuffix ¶
BinaryPathHasSuffix applies the HasSuffix predicate on the "binary_path" field.
func BinaryPathIn ¶
BinaryPathIn applies the In predicate on the "binary_path" field.
func BinaryPathLT ¶
BinaryPathLT applies the LT predicate on the "binary_path" field.
func BinaryPathLTE ¶
BinaryPathLTE applies the LTE predicate on the "binary_path" field.
func BinaryPathNEQ ¶
BinaryPathNEQ applies the NEQ predicate on the "binary_path" field.
func BinaryPathNotIn ¶
BinaryPathNotIn applies the NotIn predicate on the "binary_path" field.
func BinaryTargetPath ¶
BinaryTargetPath applies equality check predicate on the "binary_target_path" field. It's identical to BinaryTargetPathEQ.
func BinaryTargetPathContains ¶
BinaryTargetPathContains applies the Contains predicate on the "binary_target_path" field.
func BinaryTargetPathContainsFold ¶
BinaryTargetPathContainsFold applies the ContainsFold predicate on the "binary_target_path" field.
func BinaryTargetPathEQ ¶
BinaryTargetPathEQ applies the EQ predicate on the "binary_target_path" field.
func BinaryTargetPathEqualFold ¶
BinaryTargetPathEqualFold applies the EqualFold predicate on the "binary_target_path" field.
func BinaryTargetPathGT ¶
BinaryTargetPathGT applies the GT predicate on the "binary_target_path" field.
func BinaryTargetPathGTE ¶
BinaryTargetPathGTE applies the GTE predicate on the "binary_target_path" field.
func BinaryTargetPathHasPrefix ¶
BinaryTargetPathHasPrefix applies the HasPrefix predicate on the "binary_target_path" field.
func BinaryTargetPathHasSuffix ¶
BinaryTargetPathHasSuffix applies the HasSuffix predicate on the "binary_target_path" field.
func BinaryTargetPathIn ¶
BinaryTargetPathIn applies the In predicate on the "binary_target_path" field.
func BinaryTargetPathIsNil ¶
BinaryTargetPathIsNil applies the IsNil predicate on the "binary_target_path" field.
func BinaryTargetPathLT ¶
BinaryTargetPathLT applies the LT predicate on the "binary_target_path" field.
func BinaryTargetPathLTE ¶
BinaryTargetPathLTE applies the LTE predicate on the "binary_target_path" field.
func BinaryTargetPathNEQ ¶
BinaryTargetPathNEQ applies the NEQ predicate on the "binary_target_path" field.
func BinaryTargetPathNotIn ¶
BinaryTargetPathNotIn applies the NotIn predicate on the "binary_target_path" field.
func BinaryTargetPathNotNil ¶
BinaryTargetPathNotNil applies the NotNil predicate on the "binary_target_path" field.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Group ¶
Group applies equality check predicate on the "group" field. It's identical to GroupEQ.
func GroupContains ¶
GroupContains applies the Contains predicate on the "group" field.
func GroupContainsFold ¶
GroupContainsFold applies the ContainsFold predicate on the "group" field.
func GroupEqualFold ¶
GroupEqualFold applies the EqualFold predicate on the "group" field.
func GroupHasPrefix ¶
GroupHasPrefix applies the HasPrefix predicate on the "group" field.
func GroupHasSuffix ¶
GroupHasSuffix applies the HasSuffix predicate on the "group" field.
func GroupNotIn ¶
GroupNotIn applies the NotIn predicate on the "group" field.
func HasLogentries ¶
HasLogentries applies the HasEdge predicate on the "logentries" edge.
func HasLogentriesWith ¶
HasLogentriesWith applies the HasEdge predicate on the "logentries" edge with a given conditions (other predicates).
func MoveToTarget ¶
MoveToTarget applies equality check predicate on the "move_to_target" field. It's identical to MoveToTargetEQ.
func MoveToTargetEQ ¶
MoveToTargetEQ applies the EQ predicate on the "move_to_target" field.
func MoveToTargetNEQ ¶
MoveToTargetNEQ applies the NEQ predicate on the "move_to_target" field.
func RootPath ¶
RootPath applies equality check predicate on the "root_path" field. It's identical to RootPathEQ.
func RootPathContains ¶
RootPathContains applies the Contains predicate on the "root_path" field.
func RootPathContainsFold ¶
RootPathContainsFold applies the ContainsFold predicate on the "root_path" field.
func RootPathEQ ¶
RootPathEQ applies the EQ predicate on the "root_path" field.
func RootPathEqualFold ¶
RootPathEqualFold applies the EqualFold predicate on the "root_path" field.
func RootPathGT ¶
RootPathGT applies the GT predicate on the "root_path" field.
func RootPathGTE ¶
RootPathGTE applies the GTE predicate on the "root_path" field.
func RootPathHasPrefix ¶
RootPathHasPrefix applies the HasPrefix predicate on the "root_path" field.
func RootPathHasSuffix ¶
RootPathHasSuffix applies the HasSuffix predicate on the "root_path" field.
func RootPathIn ¶
RootPathIn applies the In predicate on the "root_path" field.
func RootPathLT ¶
RootPathLT applies the LT predicate on the "root_path" field.
func RootPathLTE ¶
RootPathLTE applies the LTE predicate on the "root_path" field.
func RootPathNEQ ¶
RootPathNEQ applies the NEQ predicate on the "root_path" field.
func RootPathNotIn ¶
RootPathNotIn applies the NotIn predicate on the "root_path" field.
func ServiceName ¶
ServiceName applies equality check predicate on the "service_name" field. It's identical to ServiceNameEQ.
func ServiceNameContains ¶
ServiceNameContains applies the Contains predicate on the "service_name" field.
func ServiceNameContainsFold ¶
ServiceNameContainsFold applies the ContainsFold predicate on the "service_name" field.
func ServiceNameEQ ¶
ServiceNameEQ applies the EQ predicate on the "service_name" field.
func ServiceNameEqualFold ¶
ServiceNameEqualFold applies the EqualFold predicate on the "service_name" field.
func ServiceNameGT ¶
ServiceNameGT applies the GT predicate on the "service_name" field.
func ServiceNameGTE ¶
ServiceNameGTE applies the GTE predicate on the "service_name" field.
func ServiceNameHasPrefix ¶
ServiceNameHasPrefix applies the HasPrefix predicate on the "service_name" field.
func ServiceNameHasSuffix ¶
ServiceNameHasSuffix applies the HasSuffix predicate on the "service_name" field.
func ServiceNameIn ¶
ServiceNameIn applies the In predicate on the "service_name" field.
func ServiceNameLT ¶
ServiceNameLT applies the LT predicate on the "service_name" field.
func ServiceNameLTE ¶
ServiceNameLTE applies the LTE predicate on the "service_name" field.
func ServiceNameNEQ ¶
ServiceNameNEQ applies the NEQ predicate on the "service_name" field.
func ServiceNameNotIn ¶
ServiceNameNotIn applies the NotIn predicate on the "service_name" field.
func UserContains ¶
UserContains applies the Contains predicate on the "user" field.
func UserContainsFold ¶
UserContainsFold applies the ContainsFold predicate on the "user" field.
func UserEqualFold ¶
UserEqualFold applies the EqualFold predicate on the "user" field.
func UserHasPrefix ¶
UserHasPrefix applies the HasPrefix predicate on the "user" field.
func UserHasSuffix ¶
UserHasSuffix applies the HasSuffix predicate on the "user" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.