Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ApplicationDependency) predicate.ApplicationDependency
- func HasDeploymentPackageFk() predicate.ApplicationDependency
- func HasDeploymentPackageFkWith(preds ...predicate.DeploymentPackage) predicate.ApplicationDependency
- func HasSourceFk() predicate.ApplicationDependency
- func HasSourceFkWith(preds ...predicate.Application) predicate.ApplicationDependency
- func HasTargetFk() predicate.ApplicationDependency
- func HasTargetFkWith(preds ...predicate.Application) predicate.ApplicationDependency
- func ID(id uint64) predicate.ApplicationDependency
- func IDEQ(id uint64) predicate.ApplicationDependency
- func IDGT(id uint64) predicate.ApplicationDependency
- func IDGTE(id uint64) predicate.ApplicationDependency
- func IDIn(ids ...uint64) predicate.ApplicationDependency
- func IDLT(id uint64) predicate.ApplicationDependency
- func IDLTE(id uint64) predicate.ApplicationDependency
- func IDNEQ(id uint64) predicate.ApplicationDependency
- func IDNotIn(ids ...uint64) predicate.ApplicationDependency
- func Not(p predicate.ApplicationDependency) predicate.ApplicationDependency
- func Or(predicates ...predicate.ApplicationDependency) predicate.ApplicationDependency
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the applicationdependency type in the database. Label = "application_dependency" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeDeploymentPackageFk holds the string denoting the deployment_package_fk edge name in mutations. EdgeDeploymentPackageFk = "deployment_package_fk" // EdgeSourceFk holds the string denoting the source_fk edge name in mutations. EdgeSourceFk = "source_fk" // EdgeTargetFk holds the string denoting the target_fk edge name in mutations. EdgeTargetFk = "target_fk" // Table holds the table name of the applicationdependency in the database. Table = "application_dependencies" // DeploymentPackageFkTable is the table that holds the deployment_package_fk relation/edge. DeploymentPackageFkTable = "application_dependencies" // DeploymentPackageFkInverseTable is the table name for the DeploymentPackage entity. // It exists in this package in order to avoid circular dependency with the "deploymentpackage" package. DeploymentPackageFkInverseTable = "deployment_packages" // DeploymentPackageFkColumn is the table column denoting the deployment_package_fk relation/edge. DeploymentPackageFkColumn = "deployment_package_application_dependencies" // SourceFkTable is the table that holds the source_fk relation/edge. SourceFkTable = "application_dependencies" // SourceFkInverseTable is the table name for the Application entity. // It exists in this package in order to avoid circular dependency with the "application" package. SourceFkInverseTable = "applications" // SourceFkColumn is the table column denoting the source_fk relation/edge. SourceFkColumn = "application_dependency_source_fk" // TargetFkTable is the table that holds the target_fk relation/edge. TargetFkTable = "application_dependencies" // TargetFkInverseTable is the table name for the Application entity. // It exists in this package in order to avoid circular dependency with the "application" package. TargetFkInverseTable = "applications" // TargetFkColumn is the table column denoting the target_fk relation/edge. TargetFkColumn = "application_dependency_target_fk" )
Variables ¶
var Columns = []string{ FieldID, }
Columns holds all SQL columns for applicationdependency fields.
var ForeignKeys = []string{
"application_dependency_source_fk",
"application_dependency_target_fk",
"deployment_package_application_dependencies",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "application_dependencies" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.ApplicationDependency) predicate.ApplicationDependency
And groups predicates with the AND operator between them.
func HasDeploymentPackageFk ¶
func HasDeploymentPackageFk() predicate.ApplicationDependency
HasDeploymentPackageFk applies the HasEdge predicate on the "deployment_package_fk" edge.
func HasDeploymentPackageFkWith ¶
func HasDeploymentPackageFkWith(preds ...predicate.DeploymentPackage) predicate.ApplicationDependency
HasDeploymentPackageFkWith applies the HasEdge predicate on the "deployment_package_fk" edge with a given conditions (other predicates).
func HasSourceFk ¶
func HasSourceFk() predicate.ApplicationDependency
HasSourceFk applies the HasEdge predicate on the "source_fk" edge.
func HasSourceFkWith ¶
func HasSourceFkWith(preds ...predicate.Application) predicate.ApplicationDependency
HasSourceFkWith applies the HasEdge predicate on the "source_fk" edge with a given conditions (other predicates).
func HasTargetFk ¶
func HasTargetFk() predicate.ApplicationDependency
HasTargetFk applies the HasEdge predicate on the "target_fk" edge.
func HasTargetFkWith ¶
func HasTargetFkWith(preds ...predicate.Application) predicate.ApplicationDependency
HasTargetFkWith applies the HasEdge predicate on the "target_fk" edge with a given conditions (other predicates).
func ID ¶
func ID(id uint64) predicate.ApplicationDependency
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uint64) predicate.ApplicationDependency
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.ApplicationDependency
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.ApplicationDependency
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.ApplicationDependency
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.ApplicationDependency
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.ApplicationDependency
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.ApplicationDependency
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.ApplicationDependency
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ApplicationDependency) predicate.ApplicationDependency
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ApplicationDependency) predicate.ApplicationDependency
Or groups predicates with the OR operator between them.
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 ApplicationDependency queries.
func ByDeploymentPackageFkField ¶
func ByDeploymentPackageFkField(field string, opts ...sql.OrderTermOption) OrderOption
ByDeploymentPackageFkField orders the results by deployment_package_fk field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func BySourceFkField ¶
func BySourceFkField(field string, opts ...sql.OrderTermOption) OrderOption
BySourceFkField orders the results by source_fk field.
func ByTargetFkField ¶
func ByTargetFkField(field string, opts ...sql.OrderTermOption) OrderOption
ByTargetFkField orders the results by target_fk field.