project

package
v0.0.0-...-e59a564 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldQuotaCPU holds the string denoting the quota_cpu field in the database.
	FieldQuotaCPU = "quota_cpu"
	// FieldUsageCPU holds the string denoting the usage_cpu field in the database.
	FieldUsageCPU = "usage_cpu"
	// FieldQuotaRAM holds the string denoting the quota_ram field in the database.
	FieldQuotaRAM = "quota_ram"
	// FieldUsageRAM holds the string denoting the usage_ram field in the database.
	FieldUsageRAM = "usage_ram"
	// FieldQuotaDisk holds the string denoting the quota_disk field in the database.
	FieldQuotaDisk = "quota_disk"
	// FieldUsageDisk holds the string denoting the usage_disk field in the database.
	FieldUsageDisk = "usage_disk"
	// FieldQuotaNetwork holds the string denoting the quota_network field in the database.
	FieldQuotaNetwork = "quota_network"
	// FieldUsageNetwork holds the string denoting the usage_network field in the database.
	FieldUsageNetwork = "usage_network"
	// FieldQuotaRouter holds the string denoting the quota_router field in the database.
	FieldQuotaRouter = "quota_router"
	// FieldUsageRouter holds the string denoting the usage_router field in the database.
	FieldUsageRouter = "usage_router"
	// EdgeMembers holds the string denoting the members edge name in mutations.
	EdgeMembers = "members"
	// EdgeGroupMembers holds the string denoting the group_members edge name in mutations.
	EdgeGroupMembers = "group_members"
	// EdgeBlueprints holds the string denoting the blueprints edge name in mutations.
	EdgeBlueprints = "blueprints"
	// EdgeDeployments holds the string denoting the deployments edge name in mutations.
	EdgeDeployments = "deployments"
	// EdgeMemberships holds the string denoting the memberships edge name in mutations.
	EdgeMemberships = "memberships"
	// EdgeGroupMemberships holds the string denoting the group_memberships edge name in mutations.
	EdgeGroupMemberships = "group_memberships"
	// Table holds the table name of the project in the database.
	Table = "projects"
	// MembersTable is the table that holds the members relation/edge. The primary key declared below.
	MembersTable = "memberships"
	// MembersInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	MembersInverseTable = "users"
	// GroupMembersTable is the table that holds the group_members relation/edge. The primary key declared below.
	GroupMembersTable = "group_memberships"
	// GroupMembersInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupMembersInverseTable = "groups"
	// BlueprintsTable is the table that holds the blueprints relation/edge.
	BlueprintsTable = "blueprints"
	// BlueprintsInverseTable is the table name for the Blueprint entity.
	// It exists in this package in order to avoid circular dependency with the "blueprint" package.
	BlueprintsInverseTable = "blueprints"
	// BlueprintsColumn is the table column denoting the blueprints relation/edge.
	BlueprintsColumn = "blueprint_project"
	// DeploymentsTable is the table that holds the deployments relation/edge.
	DeploymentsTable = "deployments"
	// DeploymentsInverseTable is the table name for the Deployment entity.
	// It exists in this package in order to avoid circular dependency with the "deployment" package.
	DeploymentsInverseTable = "deployments"
	// DeploymentsColumn is the table column denoting the deployments relation/edge.
	DeploymentsColumn = "deployment_project"
	// MembershipsTable is the table that holds the memberships relation/edge.
	MembershipsTable = "memberships"
	// MembershipsInverseTable is the table name for the Membership entity.
	// It exists in this package in order to avoid circular dependency with the "membership" package.
	MembershipsInverseTable = "memberships"
	// MembershipsColumn is the table column denoting the memberships relation/edge.
	MembershipsColumn = "project_id"
	// GroupMembershipsTable is the table that holds the group_memberships relation/edge.
	GroupMembershipsTable = "group_memberships"
	// GroupMembershipsInverseTable is the table name for the GroupMembership entity.
	// It exists in this package in order to avoid circular dependency with the "groupmembership" package.
	GroupMembershipsInverseTable = "group_memberships"
	// GroupMembershipsColumn is the table column denoting the group_memberships relation/edge.
	GroupMembershipsColumn = "project_id"
)

Variables

View Source
var (
	// MembersPrimaryKey and MembersColumn2 are the table columns denoting the
	// primary key for the members relation (M2M).
	MembersPrimaryKey = []string{"project_id", "user_id"}
	// GroupMembersPrimaryKey and GroupMembersColumn2 are the table columns denoting the
	// primary key for the group_members relation (M2M).
	GroupMembersPrimaryKey = []string{"project_id", "group_id"}
)
View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultUsageCPU holds the default value on creation for the "usage_cpu" field.
	DefaultUsageCPU int
	// DefaultUsageRAM holds the default value on creation for the "usage_ram" field.
	DefaultUsageRAM int
	// DefaultUsageDisk holds the default value on creation for the "usage_disk" field.
	DefaultUsageDisk int
	// DefaultUsageNetwork holds the default value on creation for the "usage_network" field.
	DefaultUsageNetwork int
	// DefaultUsageRouter holds the default value on creation for the "usage_router" field.
	DefaultUsageRouter int
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for project fields.

Functions

func And

func And(predicates ...predicate.Project) predicate.Project

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Project

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Project

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Project

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Project

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Project

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Project

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Project

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Project

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Project

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func HasBlueprints

func HasBlueprints() predicate.Project

HasBlueprints applies the HasEdge predicate on the "blueprints" edge.

func HasBlueprintsWith

func HasBlueprintsWith(preds ...predicate.Blueprint) predicate.Project

HasBlueprintsWith applies the HasEdge predicate on the "blueprints" edge with a given conditions (other predicates).

func HasDeployments

func HasDeployments() predicate.Project

HasDeployments applies the HasEdge predicate on the "deployments" edge.

func HasDeploymentsWith

func HasDeploymentsWith(preds ...predicate.Deployment) predicate.Project

HasDeploymentsWith applies the HasEdge predicate on the "deployments" edge with a given conditions (other predicates).

func HasGroupMembers

func HasGroupMembers() predicate.Project

HasGroupMembers applies the HasEdge predicate on the "group_members" edge.

func HasGroupMembersWith

func HasGroupMembersWith(preds ...predicate.Group) predicate.Project

HasGroupMembersWith applies the HasEdge predicate on the "group_members" edge with a given conditions (other predicates).

func HasGroupMemberships

func HasGroupMemberships() predicate.Project

HasGroupMemberships applies the HasEdge predicate on the "group_memberships" edge.

func HasGroupMembershipsWith

func HasGroupMembershipsWith(preds ...predicate.GroupMembership) predicate.Project

HasGroupMembershipsWith applies the HasEdge predicate on the "group_memberships" edge with a given conditions (other predicates).

func HasMembers

func HasMembers() predicate.Project

HasMembers applies the HasEdge predicate on the "members" edge.

func HasMembersWith

func HasMembersWith(preds ...predicate.User) predicate.Project

HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).

func HasMemberships

func HasMemberships() predicate.Project

HasMemberships applies the HasEdge predicate on the "memberships" edge.

func HasMembershipsWith

func HasMembershipsWith(preds ...predicate.Membership) predicate.Project

HasMembershipsWith applies the HasEdge predicate on the "memberships" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Project

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Project

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Project

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Project

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Project

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Project

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Project

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Project

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Project

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Project

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Project

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Project

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Project

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Project

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Project

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Project

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Project

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Project

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Project

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Project

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Project

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Project

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Project

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Project) predicate.Project

Or groups predicates with the OR operator between them.

func QuotaCPU

func QuotaCPU(v int) predicate.Project

QuotaCPU applies equality check predicate on the "quota_cpu" field. It's identical to QuotaCPUEQ.

func QuotaCPUEQ

func QuotaCPUEQ(v int) predicate.Project

QuotaCPUEQ applies the EQ predicate on the "quota_cpu" field.

func QuotaCPUGT

func QuotaCPUGT(v int) predicate.Project

QuotaCPUGT applies the GT predicate on the "quota_cpu" field.

func QuotaCPUGTE

func QuotaCPUGTE(v int) predicate.Project

QuotaCPUGTE applies the GTE predicate on the "quota_cpu" field.

func QuotaCPUIn

func QuotaCPUIn(vs ...int) predicate.Project

QuotaCPUIn applies the In predicate on the "quota_cpu" field.

func QuotaCPULT

func QuotaCPULT(v int) predicate.Project

QuotaCPULT applies the LT predicate on the "quota_cpu" field.

func QuotaCPULTE

func QuotaCPULTE(v int) predicate.Project

QuotaCPULTE applies the LTE predicate on the "quota_cpu" field.

func QuotaCPUNEQ

func QuotaCPUNEQ(v int) predicate.Project

QuotaCPUNEQ applies the NEQ predicate on the "quota_cpu" field.

func QuotaCPUNotIn

func QuotaCPUNotIn(vs ...int) predicate.Project

QuotaCPUNotIn applies the NotIn predicate on the "quota_cpu" field.

func QuotaDisk

func QuotaDisk(v int) predicate.Project

QuotaDisk applies equality check predicate on the "quota_disk" field. It's identical to QuotaDiskEQ.

func QuotaDiskEQ

func QuotaDiskEQ(v int) predicate.Project

QuotaDiskEQ applies the EQ predicate on the "quota_disk" field.

func QuotaDiskGT

func QuotaDiskGT(v int) predicate.Project

QuotaDiskGT applies the GT predicate on the "quota_disk" field.

func QuotaDiskGTE

func QuotaDiskGTE(v int) predicate.Project

QuotaDiskGTE applies the GTE predicate on the "quota_disk" field.

func QuotaDiskIn

func QuotaDiskIn(vs ...int) predicate.Project

QuotaDiskIn applies the In predicate on the "quota_disk" field.

func QuotaDiskLT

func QuotaDiskLT(v int) predicate.Project

QuotaDiskLT applies the LT predicate on the "quota_disk" field.

func QuotaDiskLTE

func QuotaDiskLTE(v int) predicate.Project

QuotaDiskLTE applies the LTE predicate on the "quota_disk" field.

func QuotaDiskNEQ

func QuotaDiskNEQ(v int) predicate.Project

QuotaDiskNEQ applies the NEQ predicate on the "quota_disk" field.

func QuotaDiskNotIn

func QuotaDiskNotIn(vs ...int) predicate.Project

QuotaDiskNotIn applies the NotIn predicate on the "quota_disk" field.

func QuotaNetwork

func QuotaNetwork(v int) predicate.Project

QuotaNetwork applies equality check predicate on the "quota_network" field. It's identical to QuotaNetworkEQ.

func QuotaNetworkEQ

func QuotaNetworkEQ(v int) predicate.Project

QuotaNetworkEQ applies the EQ predicate on the "quota_network" field.

func QuotaNetworkGT

func QuotaNetworkGT(v int) predicate.Project

QuotaNetworkGT applies the GT predicate on the "quota_network" field.

func QuotaNetworkGTE

func QuotaNetworkGTE(v int) predicate.Project

QuotaNetworkGTE applies the GTE predicate on the "quota_network" field.

func QuotaNetworkIn

func QuotaNetworkIn(vs ...int) predicate.Project

QuotaNetworkIn applies the In predicate on the "quota_network" field.

func QuotaNetworkLT

func QuotaNetworkLT(v int) predicate.Project

QuotaNetworkLT applies the LT predicate on the "quota_network" field.

func QuotaNetworkLTE

func QuotaNetworkLTE(v int) predicate.Project

QuotaNetworkLTE applies the LTE predicate on the "quota_network" field.

func QuotaNetworkNEQ

func QuotaNetworkNEQ(v int) predicate.Project

QuotaNetworkNEQ applies the NEQ predicate on the "quota_network" field.

func QuotaNetworkNotIn

func QuotaNetworkNotIn(vs ...int) predicate.Project

QuotaNetworkNotIn applies the NotIn predicate on the "quota_network" field.

func QuotaRAM

func QuotaRAM(v int) predicate.Project

QuotaRAM applies equality check predicate on the "quota_ram" field. It's identical to QuotaRAMEQ.

func QuotaRAMEQ

func QuotaRAMEQ(v int) predicate.Project

QuotaRAMEQ applies the EQ predicate on the "quota_ram" field.

func QuotaRAMGT

func QuotaRAMGT(v int) predicate.Project

QuotaRAMGT applies the GT predicate on the "quota_ram" field.

func QuotaRAMGTE

func QuotaRAMGTE(v int) predicate.Project

QuotaRAMGTE applies the GTE predicate on the "quota_ram" field.

func QuotaRAMIn

func QuotaRAMIn(vs ...int) predicate.Project

QuotaRAMIn applies the In predicate on the "quota_ram" field.

func QuotaRAMLT

func QuotaRAMLT(v int) predicate.Project

QuotaRAMLT applies the LT predicate on the "quota_ram" field.

func QuotaRAMLTE

func QuotaRAMLTE(v int) predicate.Project

QuotaRAMLTE applies the LTE predicate on the "quota_ram" field.

func QuotaRAMNEQ

func QuotaRAMNEQ(v int) predicate.Project

QuotaRAMNEQ applies the NEQ predicate on the "quota_ram" field.

func QuotaRAMNotIn

func QuotaRAMNotIn(vs ...int) predicate.Project

QuotaRAMNotIn applies the NotIn predicate on the "quota_ram" field.

func QuotaRouter

func QuotaRouter(v int) predicate.Project

QuotaRouter applies equality check predicate on the "quota_router" field. It's identical to QuotaRouterEQ.

func QuotaRouterEQ

func QuotaRouterEQ(v int) predicate.Project

QuotaRouterEQ applies the EQ predicate on the "quota_router" field.

func QuotaRouterGT

func QuotaRouterGT(v int) predicate.Project

QuotaRouterGT applies the GT predicate on the "quota_router" field.

func QuotaRouterGTE

func QuotaRouterGTE(v int) predicate.Project

QuotaRouterGTE applies the GTE predicate on the "quota_router" field.

func QuotaRouterIn

func QuotaRouterIn(vs ...int) predicate.Project

QuotaRouterIn applies the In predicate on the "quota_router" field.

func QuotaRouterLT

func QuotaRouterLT(v int) predicate.Project

QuotaRouterLT applies the LT predicate on the "quota_router" field.

func QuotaRouterLTE

func QuotaRouterLTE(v int) predicate.Project

QuotaRouterLTE applies the LTE predicate on the "quota_router" field.

func QuotaRouterNEQ

func QuotaRouterNEQ(v int) predicate.Project

QuotaRouterNEQ applies the NEQ predicate on the "quota_router" field.

func QuotaRouterNotIn

func QuotaRouterNotIn(vs ...int) predicate.Project

QuotaRouterNotIn applies the NotIn predicate on the "quota_router" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Project

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Project

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Project

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Project

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Project

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Project

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Project

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Project

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Project

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UsageCPU

func UsageCPU(v int) predicate.Project

UsageCPU applies equality check predicate on the "usage_cpu" field. It's identical to UsageCPUEQ.

func UsageCPUEQ

func UsageCPUEQ(v int) predicate.Project

UsageCPUEQ applies the EQ predicate on the "usage_cpu" field.

func UsageCPUGT

func UsageCPUGT(v int) predicate.Project

UsageCPUGT applies the GT predicate on the "usage_cpu" field.

func UsageCPUGTE

func UsageCPUGTE(v int) predicate.Project

UsageCPUGTE applies the GTE predicate on the "usage_cpu" field.

func UsageCPUIn

func UsageCPUIn(vs ...int) predicate.Project

UsageCPUIn applies the In predicate on the "usage_cpu" field.

func UsageCPULT

func UsageCPULT(v int) predicate.Project

UsageCPULT applies the LT predicate on the "usage_cpu" field.

func UsageCPULTE

func UsageCPULTE(v int) predicate.Project

UsageCPULTE applies the LTE predicate on the "usage_cpu" field.

func UsageCPUNEQ

func UsageCPUNEQ(v int) predicate.Project

UsageCPUNEQ applies the NEQ predicate on the "usage_cpu" field.

func UsageCPUNotIn

func UsageCPUNotIn(vs ...int) predicate.Project

UsageCPUNotIn applies the NotIn predicate on the "usage_cpu" field.

func UsageDisk

func UsageDisk(v int) predicate.Project

UsageDisk applies equality check predicate on the "usage_disk" field. It's identical to UsageDiskEQ.

func UsageDiskEQ

func UsageDiskEQ(v int) predicate.Project

UsageDiskEQ applies the EQ predicate on the "usage_disk" field.

func UsageDiskGT

func UsageDiskGT(v int) predicate.Project

UsageDiskGT applies the GT predicate on the "usage_disk" field.

func UsageDiskGTE

func UsageDiskGTE(v int) predicate.Project

UsageDiskGTE applies the GTE predicate on the "usage_disk" field.

func UsageDiskIn

func UsageDiskIn(vs ...int) predicate.Project

UsageDiskIn applies the In predicate on the "usage_disk" field.

func UsageDiskLT

func UsageDiskLT(v int) predicate.Project

UsageDiskLT applies the LT predicate on the "usage_disk" field.

func UsageDiskLTE

func UsageDiskLTE(v int) predicate.Project

UsageDiskLTE applies the LTE predicate on the "usage_disk" field.

func UsageDiskNEQ

func UsageDiskNEQ(v int) predicate.Project

UsageDiskNEQ applies the NEQ predicate on the "usage_disk" field.

func UsageDiskNotIn

func UsageDiskNotIn(vs ...int) predicate.Project

UsageDiskNotIn applies the NotIn predicate on the "usage_disk" field.

func UsageNetwork

func UsageNetwork(v int) predicate.Project

UsageNetwork applies equality check predicate on the "usage_network" field. It's identical to UsageNetworkEQ.

func UsageNetworkEQ

func UsageNetworkEQ(v int) predicate.Project

UsageNetworkEQ applies the EQ predicate on the "usage_network" field.

func UsageNetworkGT

func UsageNetworkGT(v int) predicate.Project

UsageNetworkGT applies the GT predicate on the "usage_network" field.

func UsageNetworkGTE

func UsageNetworkGTE(v int) predicate.Project

UsageNetworkGTE applies the GTE predicate on the "usage_network" field.

func UsageNetworkIn

func UsageNetworkIn(vs ...int) predicate.Project

UsageNetworkIn applies the In predicate on the "usage_network" field.

func UsageNetworkLT

func UsageNetworkLT(v int) predicate.Project

UsageNetworkLT applies the LT predicate on the "usage_network" field.

func UsageNetworkLTE

func UsageNetworkLTE(v int) predicate.Project

UsageNetworkLTE applies the LTE predicate on the "usage_network" field.

func UsageNetworkNEQ

func UsageNetworkNEQ(v int) predicate.Project

UsageNetworkNEQ applies the NEQ predicate on the "usage_network" field.

func UsageNetworkNotIn

func UsageNetworkNotIn(vs ...int) predicate.Project

UsageNetworkNotIn applies the NotIn predicate on the "usage_network" field.

func UsageRAM

func UsageRAM(v int) predicate.Project

UsageRAM applies equality check predicate on the "usage_ram" field. It's identical to UsageRAMEQ.

func UsageRAMEQ

func UsageRAMEQ(v int) predicate.Project

UsageRAMEQ applies the EQ predicate on the "usage_ram" field.

func UsageRAMGT

func UsageRAMGT(v int) predicate.Project

UsageRAMGT applies the GT predicate on the "usage_ram" field.

func UsageRAMGTE

func UsageRAMGTE(v int) predicate.Project

UsageRAMGTE applies the GTE predicate on the "usage_ram" field.

func UsageRAMIn

func UsageRAMIn(vs ...int) predicate.Project

UsageRAMIn applies the In predicate on the "usage_ram" field.

func UsageRAMLT

func UsageRAMLT(v int) predicate.Project

UsageRAMLT applies the LT predicate on the "usage_ram" field.

func UsageRAMLTE

func UsageRAMLTE(v int) predicate.Project

UsageRAMLTE applies the LTE predicate on the "usage_ram" field.

func UsageRAMNEQ

func UsageRAMNEQ(v int) predicate.Project

UsageRAMNEQ applies the NEQ predicate on the "usage_ram" field.

func UsageRAMNotIn

func UsageRAMNotIn(vs ...int) predicate.Project

UsageRAMNotIn applies the NotIn predicate on the "usage_ram" field.

func UsageRouter

func UsageRouter(v int) predicate.Project

UsageRouter applies equality check predicate on the "usage_router" field. It's identical to UsageRouterEQ.

func UsageRouterEQ

func UsageRouterEQ(v int) predicate.Project

UsageRouterEQ applies the EQ predicate on the "usage_router" field.

func UsageRouterGT

func UsageRouterGT(v int) predicate.Project

UsageRouterGT applies the GT predicate on the "usage_router" field.

func UsageRouterGTE

func UsageRouterGTE(v int) predicate.Project

UsageRouterGTE applies the GTE predicate on the "usage_router" field.

func UsageRouterIn

func UsageRouterIn(vs ...int) predicate.Project

UsageRouterIn applies the In predicate on the "usage_router" field.

func UsageRouterLT

func UsageRouterLT(v int) predicate.Project

UsageRouterLT applies the LT predicate on the "usage_router" field.

func UsageRouterLTE

func UsageRouterLTE(v int) predicate.Project

UsageRouterLTE applies the LTE predicate on the "usage_router" field.

func UsageRouterNEQ

func UsageRouterNEQ(v int) predicate.Project

UsageRouterNEQ applies the NEQ predicate on the "usage_router" field.

func UsageRouterNotIn

func UsageRouterNotIn(vs ...int) predicate.Project

UsageRouterNotIn applies the NotIn predicate on the "usage_router" field.

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

func ByBlueprints

func ByBlueprints(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBlueprints orders the results by blueprints terms.

func ByBlueprintsCount

func ByBlueprintsCount(opts ...sql.OrderTermOption) OrderOption

ByBlueprintsCount orders the results by blueprints count.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDeployments

func ByDeployments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByDeployments orders the results by deployments terms.

func ByDeploymentsCount

func ByDeploymentsCount(opts ...sql.OrderTermOption) OrderOption

ByDeploymentsCount orders the results by deployments count.

func ByGroupMembers

func ByGroupMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByGroupMembers orders the results by group_members terms.

func ByGroupMembersCount

func ByGroupMembersCount(opts ...sql.OrderTermOption) OrderOption

ByGroupMembersCount orders the results by group_members count.

func ByGroupMemberships

func ByGroupMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByGroupMemberships orders the results by group_memberships terms.

func ByGroupMembershipsCount

func ByGroupMembershipsCount(opts ...sql.OrderTermOption) OrderOption

ByGroupMembershipsCount orders the results by group_memberships count.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMembers

func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByMembers orders the results by members terms.

func ByMembersCount

func ByMembersCount(opts ...sql.OrderTermOption) OrderOption

ByMembersCount orders the results by members count.

func ByMemberships

func ByMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByMemberships orders the results by memberships terms.

func ByMembershipsCount

func ByMembershipsCount(opts ...sql.OrderTermOption) OrderOption

ByMembershipsCount orders the results by memberships count.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByQuotaCPU

func ByQuotaCPU(opts ...sql.OrderTermOption) OrderOption

ByQuotaCPU orders the results by the quota_cpu field.

func ByQuotaDisk

func ByQuotaDisk(opts ...sql.OrderTermOption) OrderOption

ByQuotaDisk orders the results by the quota_disk field.

func ByQuotaNetwork

func ByQuotaNetwork(opts ...sql.OrderTermOption) OrderOption

ByQuotaNetwork orders the results by the quota_network field.

func ByQuotaRAM

func ByQuotaRAM(opts ...sql.OrderTermOption) OrderOption

ByQuotaRAM orders the results by the quota_ram field.

func ByQuotaRouter

func ByQuotaRouter(opts ...sql.OrderTermOption) OrderOption

ByQuotaRouter orders the results by the quota_router field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUsageCPU

func ByUsageCPU(opts ...sql.OrderTermOption) OrderOption

ByUsageCPU orders the results by the usage_cpu field.

func ByUsageDisk

func ByUsageDisk(opts ...sql.OrderTermOption) OrderOption

ByUsageDisk orders the results by the usage_disk field.

func ByUsageNetwork

func ByUsageNetwork(opts ...sql.OrderTermOption) OrderOption

ByUsageNetwork orders the results by the usage_network field.

func ByUsageRAM

func ByUsageRAM(opts ...sql.OrderTermOption) OrderOption

ByUsageRAM orders the results by the usage_ram field.

func ByUsageRouter

func ByUsageRouter(opts ...sql.OrderTermOption) OrderOption

ByUsageRouter orders the results by the usage_router field.

Jump to

Keyboard shortcuts

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