Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Project) predicate.Project
- func CreatedAt(v time.Time) predicate.Project
- func CreatedAtEQ(v time.Time) predicate.Project
- func CreatedAtGT(v time.Time) predicate.Project
- func CreatedAtGTE(v time.Time) predicate.Project
- func CreatedAtIn(vs ...time.Time) predicate.Project
- func CreatedAtLT(v time.Time) predicate.Project
- func CreatedAtLTE(v time.Time) predicate.Project
- func CreatedAtNEQ(v time.Time) predicate.Project
- func CreatedAtNotIn(vs ...time.Time) predicate.Project
- func HasBlueprints() predicate.Project
- func HasBlueprintsWith(preds ...predicate.Blueprint) predicate.Project
- func HasDeployments() predicate.Project
- func HasDeploymentsWith(preds ...predicate.Deployment) predicate.Project
- func HasGroupMembers() predicate.Project
- func HasGroupMembersWith(preds ...predicate.Group) predicate.Project
- func HasGroupMemberships() predicate.Project
- func HasGroupMembershipsWith(preds ...predicate.GroupMembership) predicate.Project
- func HasMembers() predicate.Project
- func HasMembersWith(preds ...predicate.User) predicate.Project
- func HasMemberships() predicate.Project
- func HasMembershipsWith(preds ...predicate.Membership) predicate.Project
- func ID(id uuid.UUID) predicate.Project
- func IDEQ(id uuid.UUID) predicate.Project
- func IDGT(id uuid.UUID) predicate.Project
- func IDGTE(id uuid.UUID) predicate.Project
- func IDIn(ids ...uuid.UUID) predicate.Project
- func IDLT(id uuid.UUID) predicate.Project
- func IDLTE(id uuid.UUID) predicate.Project
- func IDNEQ(id uuid.UUID) predicate.Project
- func IDNotIn(ids ...uuid.UUID) predicate.Project
- func Name(v string) predicate.Project
- func NameContains(v string) predicate.Project
- func NameContainsFold(v string) predicate.Project
- func NameEQ(v string) predicate.Project
- func NameEqualFold(v string) predicate.Project
- func NameGT(v string) predicate.Project
- func NameGTE(v string) predicate.Project
- func NameHasPrefix(v string) predicate.Project
- func NameHasSuffix(v string) predicate.Project
- func NameIn(vs ...string) predicate.Project
- func NameLT(v string) predicate.Project
- func NameLTE(v string) predicate.Project
- func NameNEQ(v string) predicate.Project
- func NameNotIn(vs ...string) predicate.Project
- func Not(p predicate.Project) predicate.Project
- func Or(predicates ...predicate.Project) predicate.Project
- func QuotaCPU(v int) predicate.Project
- func QuotaCPUEQ(v int) predicate.Project
- func QuotaCPUGT(v int) predicate.Project
- func QuotaCPUGTE(v int) predicate.Project
- func QuotaCPUIn(vs ...int) predicate.Project
- func QuotaCPULT(v int) predicate.Project
- func QuotaCPULTE(v int) predicate.Project
- func QuotaCPUNEQ(v int) predicate.Project
- func QuotaCPUNotIn(vs ...int) predicate.Project
- func QuotaDisk(v int) predicate.Project
- func QuotaDiskEQ(v int) predicate.Project
- func QuotaDiskGT(v int) predicate.Project
- func QuotaDiskGTE(v int) predicate.Project
- func QuotaDiskIn(vs ...int) predicate.Project
- func QuotaDiskLT(v int) predicate.Project
- func QuotaDiskLTE(v int) predicate.Project
- func QuotaDiskNEQ(v int) predicate.Project
- func QuotaDiskNotIn(vs ...int) predicate.Project
- func QuotaNetwork(v int) predicate.Project
- func QuotaNetworkEQ(v int) predicate.Project
- func QuotaNetworkGT(v int) predicate.Project
- func QuotaNetworkGTE(v int) predicate.Project
- func QuotaNetworkIn(vs ...int) predicate.Project
- func QuotaNetworkLT(v int) predicate.Project
- func QuotaNetworkLTE(v int) predicate.Project
- func QuotaNetworkNEQ(v int) predicate.Project
- func QuotaNetworkNotIn(vs ...int) predicate.Project
- func QuotaRAM(v int) predicate.Project
- func QuotaRAMEQ(v int) predicate.Project
- func QuotaRAMGT(v int) predicate.Project
- func QuotaRAMGTE(v int) predicate.Project
- func QuotaRAMIn(vs ...int) predicate.Project
- func QuotaRAMLT(v int) predicate.Project
- func QuotaRAMLTE(v int) predicate.Project
- func QuotaRAMNEQ(v int) predicate.Project
- func QuotaRAMNotIn(vs ...int) predicate.Project
- func QuotaRouter(v int) predicate.Project
- func QuotaRouterEQ(v int) predicate.Project
- func QuotaRouterGT(v int) predicate.Project
- func QuotaRouterGTE(v int) predicate.Project
- func QuotaRouterIn(vs ...int) predicate.Project
- func QuotaRouterLT(v int) predicate.Project
- func QuotaRouterLTE(v int) predicate.Project
- func QuotaRouterNEQ(v int) predicate.Project
- func QuotaRouterNotIn(vs ...int) predicate.Project
- func UpdatedAt(v time.Time) predicate.Project
- func UpdatedAtEQ(v time.Time) predicate.Project
- func UpdatedAtGT(v time.Time) predicate.Project
- func UpdatedAtGTE(v time.Time) predicate.Project
- func UpdatedAtIn(vs ...time.Time) predicate.Project
- func UpdatedAtLT(v time.Time) predicate.Project
- func UpdatedAtLTE(v time.Time) predicate.Project
- func UpdatedAtNEQ(v time.Time) predicate.Project
- func UpdatedAtNotIn(vs ...time.Time) predicate.Project
- func UsageCPU(v int) predicate.Project
- func UsageCPUEQ(v int) predicate.Project
- func UsageCPUGT(v int) predicate.Project
- func UsageCPUGTE(v int) predicate.Project
- func UsageCPUIn(vs ...int) predicate.Project
- func UsageCPULT(v int) predicate.Project
- func UsageCPULTE(v int) predicate.Project
- func UsageCPUNEQ(v int) predicate.Project
- func UsageCPUNotIn(vs ...int) predicate.Project
- func UsageDisk(v int) predicate.Project
- func UsageDiskEQ(v int) predicate.Project
- func UsageDiskGT(v int) predicate.Project
- func UsageDiskGTE(v int) predicate.Project
- func UsageDiskIn(vs ...int) predicate.Project
- func UsageDiskLT(v int) predicate.Project
- func UsageDiskLTE(v int) predicate.Project
- func UsageDiskNEQ(v int) predicate.Project
- func UsageDiskNotIn(vs ...int) predicate.Project
- func UsageNetwork(v int) predicate.Project
- func UsageNetworkEQ(v int) predicate.Project
- func UsageNetworkGT(v int) predicate.Project
- func UsageNetworkGTE(v int) predicate.Project
- func UsageNetworkIn(vs ...int) predicate.Project
- func UsageNetworkLT(v int) predicate.Project
- func UsageNetworkLTE(v int) predicate.Project
- func UsageNetworkNEQ(v int) predicate.Project
- func UsageNetworkNotIn(vs ...int) predicate.Project
- func UsageRAM(v int) predicate.Project
- func UsageRAMEQ(v int) predicate.Project
- func UsageRAMGT(v int) predicate.Project
- func UsageRAMGTE(v int) predicate.Project
- func UsageRAMIn(vs ...int) predicate.Project
- func UsageRAMLT(v int) predicate.Project
- func UsageRAMLTE(v int) predicate.Project
- func UsageRAMNEQ(v int) predicate.Project
- func UsageRAMNotIn(vs ...int) predicate.Project
- func UsageRouter(v int) predicate.Project
- func UsageRouterEQ(v int) predicate.Project
- func UsageRouterGT(v int) predicate.Project
- func UsageRouterGTE(v int) predicate.Project
- func UsageRouterIn(vs ...int) predicate.Project
- func UsageRouterLT(v int) predicate.Project
- func UsageRouterLTE(v int) predicate.Project
- func UsageRouterNEQ(v int) predicate.Project
- func UsageRouterNotIn(vs ...int) predicate.Project
- func ValidColumn(column string) bool
- type OrderOption
- func ByBlueprints(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlueprintsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeployments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDeploymentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroupMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupMembersCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroupMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupMembershipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
- func ByMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembershipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByQuotaCPU(opts ...sql.OrderTermOption) OrderOption
- func ByQuotaDisk(opts ...sql.OrderTermOption) OrderOption
- func ByQuotaNetwork(opts ...sql.OrderTermOption) OrderOption
- func ByQuotaRAM(opts ...sql.OrderTermOption) OrderOption
- func ByQuotaRouter(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsageCPU(opts ...sql.OrderTermOption) OrderOption
- func ByUsageDisk(opts ...sql.OrderTermOption) OrderOption
- func ByUsageNetwork(opts ...sql.OrderTermOption) OrderOption
- func ByUsageRAM(opts ...sql.OrderTermOption) OrderOption
- func ByUsageRouter(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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"} )
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldQuotaCPU, FieldUsageCPU, FieldQuotaRAM, FieldUsageRAM, FieldQuotaDisk, FieldUsageDisk, FieldQuotaNetwork, FieldUsageNetwork, FieldQuotaRouter, FieldUsageRouter, }
Columns holds all SQL columns for project fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasBlueprints ¶
HasBlueprints applies the HasEdge predicate on the "blueprints" edge.
func HasBlueprintsWith ¶
HasBlueprintsWith applies the HasEdge predicate on the "blueprints" edge with a given conditions (other predicates).
func HasDeployments ¶
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 ¶
HasGroupMembers applies the HasEdge predicate on the "group_members" edge.
func HasGroupMembersWith ¶
HasGroupMembersWith applies the HasEdge predicate on the "group_members" edge with a given conditions (other predicates).
func HasGroupMemberships ¶
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 ¶
HasMembers applies the HasEdge predicate on the "members" edge.
func HasMembersWith ¶
HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).
func HasMemberships ¶
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 NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func QuotaCPU ¶
QuotaCPU applies equality check predicate on the "quota_cpu" field. It's identical to QuotaCPUEQ.
func QuotaCPUEQ ¶
QuotaCPUEQ applies the EQ predicate on the "quota_cpu" field.
func QuotaCPUGT ¶
QuotaCPUGT applies the GT predicate on the "quota_cpu" field.
func QuotaCPUGTE ¶
QuotaCPUGTE applies the GTE predicate on the "quota_cpu" field.
func QuotaCPUIn ¶
QuotaCPUIn applies the In predicate on the "quota_cpu" field.
func QuotaCPULT ¶
QuotaCPULT applies the LT predicate on the "quota_cpu" field.
func QuotaCPULTE ¶
QuotaCPULTE applies the LTE predicate on the "quota_cpu" field.
func QuotaCPUNEQ ¶
QuotaCPUNEQ applies the NEQ predicate on the "quota_cpu" field.
func QuotaCPUNotIn ¶
QuotaCPUNotIn applies the NotIn predicate on the "quota_cpu" field.
func QuotaDisk ¶
QuotaDisk applies equality check predicate on the "quota_disk" field. It's identical to QuotaDiskEQ.
func QuotaDiskEQ ¶
QuotaDiskEQ applies the EQ predicate on the "quota_disk" field.
func QuotaDiskGT ¶
QuotaDiskGT applies the GT predicate on the "quota_disk" field.
func QuotaDiskGTE ¶
QuotaDiskGTE applies the GTE predicate on the "quota_disk" field.
func QuotaDiskIn ¶
QuotaDiskIn applies the In predicate on the "quota_disk" field.
func QuotaDiskLT ¶
QuotaDiskLT applies the LT predicate on the "quota_disk" field.
func QuotaDiskLTE ¶
QuotaDiskLTE applies the LTE predicate on the "quota_disk" field.
func QuotaDiskNEQ ¶
QuotaDiskNEQ applies the NEQ predicate on the "quota_disk" field.
func QuotaDiskNotIn ¶
QuotaDiskNotIn applies the NotIn predicate on the "quota_disk" field.
func QuotaNetwork ¶
QuotaNetwork applies equality check predicate on the "quota_network" field. It's identical to QuotaNetworkEQ.
func QuotaNetworkEQ ¶
QuotaNetworkEQ applies the EQ predicate on the "quota_network" field.
func QuotaNetworkGT ¶
QuotaNetworkGT applies the GT predicate on the "quota_network" field.
func QuotaNetworkGTE ¶
QuotaNetworkGTE applies the GTE predicate on the "quota_network" field.
func QuotaNetworkIn ¶
QuotaNetworkIn applies the In predicate on the "quota_network" field.
func QuotaNetworkLT ¶
QuotaNetworkLT applies the LT predicate on the "quota_network" field.
func QuotaNetworkLTE ¶
QuotaNetworkLTE applies the LTE predicate on the "quota_network" field.
func QuotaNetworkNEQ ¶
QuotaNetworkNEQ applies the NEQ predicate on the "quota_network" field.
func QuotaNetworkNotIn ¶
QuotaNetworkNotIn applies the NotIn predicate on the "quota_network" field.
func QuotaRAM ¶
QuotaRAM applies equality check predicate on the "quota_ram" field. It's identical to QuotaRAMEQ.
func QuotaRAMEQ ¶
QuotaRAMEQ applies the EQ predicate on the "quota_ram" field.
func QuotaRAMGT ¶
QuotaRAMGT applies the GT predicate on the "quota_ram" field.
func QuotaRAMGTE ¶
QuotaRAMGTE applies the GTE predicate on the "quota_ram" field.
func QuotaRAMIn ¶
QuotaRAMIn applies the In predicate on the "quota_ram" field.
func QuotaRAMLT ¶
QuotaRAMLT applies the LT predicate on the "quota_ram" field.
func QuotaRAMLTE ¶
QuotaRAMLTE applies the LTE predicate on the "quota_ram" field.
func QuotaRAMNEQ ¶
QuotaRAMNEQ applies the NEQ predicate on the "quota_ram" field.
func QuotaRAMNotIn ¶
QuotaRAMNotIn applies the NotIn predicate on the "quota_ram" field.
func QuotaRouter ¶
QuotaRouter applies equality check predicate on the "quota_router" field. It's identical to QuotaRouterEQ.
func QuotaRouterEQ ¶
QuotaRouterEQ applies the EQ predicate on the "quota_router" field.
func QuotaRouterGT ¶
QuotaRouterGT applies the GT predicate on the "quota_router" field.
func QuotaRouterGTE ¶
QuotaRouterGTE applies the GTE predicate on the "quota_router" field.
func QuotaRouterIn ¶
QuotaRouterIn applies the In predicate on the "quota_router" field.
func QuotaRouterLT ¶
QuotaRouterLT applies the LT predicate on the "quota_router" field.
func QuotaRouterLTE ¶
QuotaRouterLTE applies the LTE predicate on the "quota_router" field.
func QuotaRouterNEQ ¶
QuotaRouterNEQ applies the NEQ predicate on the "quota_router" field.
func QuotaRouterNotIn ¶
QuotaRouterNotIn applies the NotIn predicate on the "quota_router" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UsageCPU ¶
UsageCPU applies equality check predicate on the "usage_cpu" field. It's identical to UsageCPUEQ.
func UsageCPUEQ ¶
UsageCPUEQ applies the EQ predicate on the "usage_cpu" field.
func UsageCPUGT ¶
UsageCPUGT applies the GT predicate on the "usage_cpu" field.
func UsageCPUGTE ¶
UsageCPUGTE applies the GTE predicate on the "usage_cpu" field.
func UsageCPUIn ¶
UsageCPUIn applies the In predicate on the "usage_cpu" field.
func UsageCPULT ¶
UsageCPULT applies the LT predicate on the "usage_cpu" field.
func UsageCPULTE ¶
UsageCPULTE applies the LTE predicate on the "usage_cpu" field.
func UsageCPUNEQ ¶
UsageCPUNEQ applies the NEQ predicate on the "usage_cpu" field.
func UsageCPUNotIn ¶
UsageCPUNotIn applies the NotIn predicate on the "usage_cpu" field.
func UsageDisk ¶
UsageDisk applies equality check predicate on the "usage_disk" field. It's identical to UsageDiskEQ.
func UsageDiskEQ ¶
UsageDiskEQ applies the EQ predicate on the "usage_disk" field.
func UsageDiskGT ¶
UsageDiskGT applies the GT predicate on the "usage_disk" field.
func UsageDiskGTE ¶
UsageDiskGTE applies the GTE predicate on the "usage_disk" field.
func UsageDiskIn ¶
UsageDiskIn applies the In predicate on the "usage_disk" field.
func UsageDiskLT ¶
UsageDiskLT applies the LT predicate on the "usage_disk" field.
func UsageDiskLTE ¶
UsageDiskLTE applies the LTE predicate on the "usage_disk" field.
func UsageDiskNEQ ¶
UsageDiskNEQ applies the NEQ predicate on the "usage_disk" field.
func UsageDiskNotIn ¶
UsageDiskNotIn applies the NotIn predicate on the "usage_disk" field.
func UsageNetwork ¶
UsageNetwork applies equality check predicate on the "usage_network" field. It's identical to UsageNetworkEQ.
func UsageNetworkEQ ¶
UsageNetworkEQ applies the EQ predicate on the "usage_network" field.
func UsageNetworkGT ¶
UsageNetworkGT applies the GT predicate on the "usage_network" field.
func UsageNetworkGTE ¶
UsageNetworkGTE applies the GTE predicate on the "usage_network" field.
func UsageNetworkIn ¶
UsageNetworkIn applies the In predicate on the "usage_network" field.
func UsageNetworkLT ¶
UsageNetworkLT applies the LT predicate on the "usage_network" field.
func UsageNetworkLTE ¶
UsageNetworkLTE applies the LTE predicate on the "usage_network" field.
func UsageNetworkNEQ ¶
UsageNetworkNEQ applies the NEQ predicate on the "usage_network" field.
func UsageNetworkNotIn ¶
UsageNetworkNotIn applies the NotIn predicate on the "usage_network" field.
func UsageRAM ¶
UsageRAM applies equality check predicate on the "usage_ram" field. It's identical to UsageRAMEQ.
func UsageRAMEQ ¶
UsageRAMEQ applies the EQ predicate on the "usage_ram" field.
func UsageRAMGT ¶
UsageRAMGT applies the GT predicate on the "usage_ram" field.
func UsageRAMGTE ¶
UsageRAMGTE applies the GTE predicate on the "usage_ram" field.
func UsageRAMIn ¶
UsageRAMIn applies the In predicate on the "usage_ram" field.
func UsageRAMLT ¶
UsageRAMLT applies the LT predicate on the "usage_ram" field.
func UsageRAMLTE ¶
UsageRAMLTE applies the LTE predicate on the "usage_ram" field.
func UsageRAMNEQ ¶
UsageRAMNEQ applies the NEQ predicate on the "usage_ram" field.
func UsageRAMNotIn ¶
UsageRAMNotIn applies the NotIn predicate on the "usage_ram" field.
func UsageRouter ¶
UsageRouter applies equality check predicate on the "usage_router" field. It's identical to UsageRouterEQ.
func UsageRouterEQ ¶
UsageRouterEQ applies the EQ predicate on the "usage_router" field.
func UsageRouterGT ¶
UsageRouterGT applies the GT predicate on the "usage_router" field.
func UsageRouterGTE ¶
UsageRouterGTE applies the GTE predicate on the "usage_router" field.
func UsageRouterIn ¶
UsageRouterIn applies the In predicate on the "usage_router" field.
func UsageRouterLT ¶
UsageRouterLT applies the LT predicate on the "usage_router" field.
func UsageRouterLTE ¶
UsageRouterLTE applies the LTE predicate on the "usage_router" field.
func UsageRouterNEQ ¶
UsageRouterNEQ applies the NEQ predicate on the "usage_router" field.
func UsageRouterNotIn ¶
UsageRouterNotIn applies the NotIn predicate on the "usage_router" field.
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 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.