applicationdependency

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

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

Columns holds all SQL columns for applicationdependency fields.

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

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

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

IDNotIn applies the NotIn predicate on the ID 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 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.

Jump to

Keyboard shortcuts

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