Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ApplicationNamespace) predicate.ApplicationNamespace
- func HasDeploymentPackageFk() predicate.ApplicationNamespace
- func HasDeploymentPackageFkWith(preds ...predicate.DeploymentPackage) predicate.ApplicationNamespace
- func HasSourceFk() predicate.ApplicationNamespace
- func HasSourceFkWith(preds ...predicate.Application) predicate.ApplicationNamespace
- func ID(id uint64) predicate.ApplicationNamespace
- func IDEQ(id uint64) predicate.ApplicationNamespace
- func IDGT(id uint64) predicate.ApplicationNamespace
- func IDGTE(id uint64) predicate.ApplicationNamespace
- func IDIn(ids ...uint64) predicate.ApplicationNamespace
- func IDLT(id uint64) predicate.ApplicationNamespace
- func IDLTE(id uint64) predicate.ApplicationNamespace
- func IDNEQ(id uint64) predicate.ApplicationNamespace
- func IDNotIn(ids ...uint64) predicate.ApplicationNamespace
- func Namespace(v string) predicate.ApplicationNamespace
- func NamespaceContains(v string) predicate.ApplicationNamespace
- func NamespaceContainsFold(v string) predicate.ApplicationNamespace
- func NamespaceEQ(v string) predicate.ApplicationNamespace
- func NamespaceEqualFold(v string) predicate.ApplicationNamespace
- func NamespaceGT(v string) predicate.ApplicationNamespace
- func NamespaceGTE(v string) predicate.ApplicationNamespace
- func NamespaceHasPrefix(v string) predicate.ApplicationNamespace
- func NamespaceHasSuffix(v string) predicate.ApplicationNamespace
- func NamespaceIn(vs ...string) predicate.ApplicationNamespace
- func NamespaceLT(v string) predicate.ApplicationNamespace
- func NamespaceLTE(v string) predicate.ApplicationNamespace
- func NamespaceNEQ(v string) predicate.ApplicationNamespace
- func NamespaceNotIn(vs ...string) predicate.ApplicationNamespace
- func Not(p predicate.ApplicationNamespace) predicate.ApplicationNamespace
- func Or(predicates ...predicate.ApplicationNamespace) predicate.ApplicationNamespace
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the applicationnamespace type in the database. Label = "application_namespace" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // 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" // Table holds the table name of the applicationnamespace in the database. Table = "application_namespaces" // DeploymentPackageFkTable is the table that holds the deployment_package_fk relation/edge. DeploymentPackageFkTable = "application_namespaces" // 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_namespaces" // SourceFkTable is the table that holds the source_fk relation/edge. SourceFkTable = "application_namespaces" // 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_namespace_source_fk" )
Variables ¶
var Columns = []string{ FieldID, FieldNamespace, }
Columns holds all SQL columns for applicationnamespace fields.
var ForeignKeys = []string{
"application_namespace_source_fk",
"deployment_package_application_namespaces",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "application_namespaces" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.ApplicationNamespace) predicate.ApplicationNamespace
And groups predicates with the AND operator between them.
func HasDeploymentPackageFk ¶
func HasDeploymentPackageFk() predicate.ApplicationNamespace
HasDeploymentPackageFk applies the HasEdge predicate on the "deployment_package_fk" edge.
func HasDeploymentPackageFkWith ¶
func HasDeploymentPackageFkWith(preds ...predicate.DeploymentPackage) predicate.ApplicationNamespace
HasDeploymentPackageFkWith applies the HasEdge predicate on the "deployment_package_fk" edge with a given conditions (other predicates).
func HasSourceFk ¶
func HasSourceFk() predicate.ApplicationNamespace
HasSourceFk applies the HasEdge predicate on the "source_fk" edge.
func HasSourceFkWith ¶
func HasSourceFkWith(preds ...predicate.Application) predicate.ApplicationNamespace
HasSourceFkWith applies the HasEdge predicate on the "source_fk" edge with a given conditions (other predicates).
func ID ¶
func ID(id uint64) predicate.ApplicationNamespace
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uint64) predicate.ApplicationNamespace
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.ApplicationNamespace
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.ApplicationNamespace
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.ApplicationNamespace
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.ApplicationNamespace
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.ApplicationNamespace
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.ApplicationNamespace
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.ApplicationNamespace
IDNotIn applies the NotIn predicate on the ID field.
func Namespace ¶
func Namespace(v string) predicate.ApplicationNamespace
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.ApplicationNamespace
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.ApplicationNamespace
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.ApplicationNamespace
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.ApplicationNamespace
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.ApplicationNamespace
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.ApplicationNamespace
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.ApplicationNamespace
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.ApplicationNamespace
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.ApplicationNamespace
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.ApplicationNamespace
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.ApplicationNamespace
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.ApplicationNamespace
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.ApplicationNamespace
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.ApplicationNamespace) predicate.ApplicationNamespace
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ApplicationNamespace) predicate.ApplicationNamespace
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 ApplicationNamespace 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 ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func BySourceFkField ¶
func BySourceFkField(field string, opts ...sql.OrderTermOption) OrderOption
BySourceFkField orders the results by source_fk field.