applicationnamespace

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var Columns = []string{
	FieldID,
	FieldNamespace,
}

Columns holds all SQL columns for applicationnamespace fields.

View Source
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

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

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 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.

Jump to

Keyboard shortcuts

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