Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ServiceGroup) predicate.ServiceGroup
- func CreatedAt(v time.Time) predicate.ServiceGroup
- func CreatedAtEQ(v time.Time) predicate.ServiceGroup
- func CreatedAtGT(v time.Time) predicate.ServiceGroup
- func CreatedAtGTE(v time.Time) predicate.ServiceGroup
- func CreatedAtIn(vs ...time.Time) predicate.ServiceGroup
- func CreatedAtLT(v time.Time) predicate.ServiceGroup
- func CreatedAtLTE(v time.Time) predicate.ServiceGroup
- func CreatedAtNEQ(v time.Time) predicate.ServiceGroup
- func CreatedAtNotIn(vs ...time.Time) predicate.ServiceGroup
- func Description(v string) predicate.ServiceGroup
- func DescriptionContains(v string) predicate.ServiceGroup
- func DescriptionContainsFold(v string) predicate.ServiceGroup
- func DescriptionEQ(v string) predicate.ServiceGroup
- func DescriptionEqualFold(v string) predicate.ServiceGroup
- func DescriptionGT(v string) predicate.ServiceGroup
- func DescriptionGTE(v string) predicate.ServiceGroup
- func DescriptionHasPrefix(v string) predicate.ServiceGroup
- func DescriptionHasSuffix(v string) predicate.ServiceGroup
- func DescriptionIn(vs ...string) predicate.ServiceGroup
- func DescriptionIsNil() predicate.ServiceGroup
- func DescriptionLT(v string) predicate.ServiceGroup
- func DescriptionLTE(v string) predicate.ServiceGroup
- func DescriptionNEQ(v string) predicate.ServiceGroup
- func DescriptionNotIn(vs ...string) predicate.ServiceGroup
- func DescriptionNotNil() predicate.ServiceGroup
- func EnvironmentID(v uuid.UUID) predicate.ServiceGroup
- func EnvironmentIDEQ(v uuid.UUID) predicate.ServiceGroup
- func EnvironmentIDIn(vs ...uuid.UUID) predicate.ServiceGroup
- func EnvironmentIDNEQ(v uuid.UUID) predicate.ServiceGroup
- func EnvironmentIDNotIn(vs ...uuid.UUID) predicate.ServiceGroup
- func HasEnvironment() predicate.ServiceGroup
- func HasEnvironmentWith(preds ...predicate.Environment) predicate.ServiceGroup
- func HasServices() predicate.ServiceGroup
- func HasServicesWith(preds ...predicate.Service) predicate.ServiceGroup
- func ID(id uuid.UUID) predicate.ServiceGroup
- func IDEQ(id uuid.UUID) predicate.ServiceGroup
- func IDGT(id uuid.UUID) predicate.ServiceGroup
- func IDGTE(id uuid.UUID) predicate.ServiceGroup
- func IDIn(ids ...uuid.UUID) predicate.ServiceGroup
- func IDLT(id uuid.UUID) predicate.ServiceGroup
- func IDLTE(id uuid.UUID) predicate.ServiceGroup
- func IDNEQ(id uuid.UUID) predicate.ServiceGroup
- func IDNotIn(ids ...uuid.UUID) predicate.ServiceGroup
- func Icon(v string) predicate.ServiceGroup
- func IconContains(v string) predicate.ServiceGroup
- func IconContainsFold(v string) predicate.ServiceGroup
- func IconEQ(v string) predicate.ServiceGroup
- func IconEqualFold(v string) predicate.ServiceGroup
- func IconGT(v string) predicate.ServiceGroup
- func IconGTE(v string) predicate.ServiceGroup
- func IconHasPrefix(v string) predicate.ServiceGroup
- func IconHasSuffix(v string) predicate.ServiceGroup
- func IconIn(vs ...string) predicate.ServiceGroup
- func IconIsNil() predicate.ServiceGroup
- func IconLT(v string) predicate.ServiceGroup
- func IconLTE(v string) predicate.ServiceGroup
- func IconNEQ(v string) predicate.ServiceGroup
- func IconNotIn(vs ...string) predicate.ServiceGroup
- func IconNotNil() predicate.ServiceGroup
- func Name(v string) predicate.ServiceGroup
- func NameContains(v string) predicate.ServiceGroup
- func NameContainsFold(v string) predicate.ServiceGroup
- func NameEQ(v string) predicate.ServiceGroup
- func NameEqualFold(v string) predicate.ServiceGroup
- func NameGT(v string) predicate.ServiceGroup
- func NameGTE(v string) predicate.ServiceGroup
- func NameHasPrefix(v string) predicate.ServiceGroup
- func NameHasSuffix(v string) predicate.ServiceGroup
- func NameIn(vs ...string) predicate.ServiceGroup
- func NameLT(v string) predicate.ServiceGroup
- func NameLTE(v string) predicate.ServiceGroup
- func NameNEQ(v string) predicate.ServiceGroup
- func NameNotIn(vs ...string) predicate.ServiceGroup
- func Not(p predicate.ServiceGroup) predicate.ServiceGroup
- func Or(predicates ...predicate.ServiceGroup) predicate.ServiceGroup
- func UpdatedAt(v time.Time) predicate.ServiceGroup
- func UpdatedAtEQ(v time.Time) predicate.ServiceGroup
- func UpdatedAtGT(v time.Time) predicate.ServiceGroup
- func UpdatedAtGTE(v time.Time) predicate.ServiceGroup
- func UpdatedAtIn(vs ...time.Time) predicate.ServiceGroup
- func UpdatedAtLT(v time.Time) predicate.ServiceGroup
- func UpdatedAtLTE(v time.Time) predicate.ServiceGroup
- func UpdatedAtNEQ(v time.Time) predicate.ServiceGroup
- func UpdatedAtNotIn(vs ...time.Time) predicate.ServiceGroup
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIcon(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByServices(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByServicesCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the servicegroup type in the database. Label = "service_group" // 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" // FieldIcon holds the string denoting the icon field in the database. FieldIcon = "icon" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_id" // EdgeEnvironment holds the string denoting the environment edge name in mutations. EdgeEnvironment = "environment" // EdgeServices holds the string denoting the services edge name in mutations. EdgeServices = "services" // Table holds the table name of the servicegroup in the database. Table = "service_groups" // EnvironmentTable is the table that holds the environment relation/edge. EnvironmentTable = "service_groups" // EnvironmentInverseTable is the table name for the Environment entity. // It exists in this package in order to avoid circular dependency with the "environment" package. EnvironmentInverseTable = "environments" // EnvironmentColumn is the table column denoting the environment relation/edge. EnvironmentColumn = "environment_id" // ServicesTable is the table that holds the services relation/edge. ServicesTable = "services" // ServicesInverseTable is the table name for the Service entity. // It exists in this package in order to avoid circular dependency with the "service" package. ServicesInverseTable = "services" // ServicesColumn is the table column denoting the services relation/edge. ServicesColumn = "service_group_id" )
Variables ¶
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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldIcon, FieldDescription, FieldEnvironmentID, }
Columns holds all SQL columns for servicegroup fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ServiceGroup) predicate.ServiceGroup
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ServiceGroup
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ServiceGroup
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ServiceGroup
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ServiceGroup
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ServiceGroup
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ServiceGroup
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ServiceGroup
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ServiceGroup
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ServiceGroup
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.ServiceGroup
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ServiceGroup
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ServiceGroup
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ServiceGroup
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ServiceGroup
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ServiceGroup
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ServiceGroup
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ServiceGroup
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ServiceGroup
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ServiceGroup
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ServiceGroup
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ServiceGroup
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ServiceGroup
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ServiceGroup
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ServiceGroup
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ServiceGroup
DescriptionNotNil applies the NotNil predicate on the "description" field.
func EnvironmentID ¶
func EnvironmentID(v uuid.UUID) predicate.ServiceGroup
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDEQ ¶
func EnvironmentIDEQ(v uuid.UUID) predicate.ServiceGroup
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDIn ¶
func EnvironmentIDIn(vs ...uuid.UUID) predicate.ServiceGroup
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
func EnvironmentIDNEQ(v uuid.UUID) predicate.ServiceGroup
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
func EnvironmentIDNotIn(vs ...uuid.UUID) predicate.ServiceGroup
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func HasEnvironment ¶
func HasEnvironment() predicate.ServiceGroup
HasEnvironment applies the HasEdge predicate on the "environment" edge.
func HasEnvironmentWith ¶
func HasEnvironmentWith(preds ...predicate.Environment) predicate.ServiceGroup
HasEnvironmentWith applies the HasEdge predicate on the "environment" edge with a given conditions (other predicates).
func HasServices ¶
func HasServices() predicate.ServiceGroup
HasServices applies the HasEdge predicate on the "services" edge.
func HasServicesWith ¶
func HasServicesWith(preds ...predicate.Service) predicate.ServiceGroup
HasServicesWith applies the HasEdge predicate on the "services" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ServiceGroup
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ServiceGroup
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ServiceGroup
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ServiceGroup
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ServiceGroup
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ServiceGroup
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ServiceGroup
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ServiceGroup
IDNotIn applies the NotIn predicate on the ID field.
func Icon ¶
func Icon(v string) predicate.ServiceGroup
Icon applies equality check predicate on the "icon" field. It's identical to IconEQ.
func IconContains ¶
func IconContains(v string) predicate.ServiceGroup
IconContains applies the Contains predicate on the "icon" field.
func IconContainsFold ¶
func IconContainsFold(v string) predicate.ServiceGroup
IconContainsFold applies the ContainsFold predicate on the "icon" field.
func IconEQ ¶
func IconEQ(v string) predicate.ServiceGroup
IconEQ applies the EQ predicate on the "icon" field.
func IconEqualFold ¶
func IconEqualFold(v string) predicate.ServiceGroup
IconEqualFold applies the EqualFold predicate on the "icon" field.
func IconGT ¶
func IconGT(v string) predicate.ServiceGroup
IconGT applies the GT predicate on the "icon" field.
func IconGTE ¶
func IconGTE(v string) predicate.ServiceGroup
IconGTE applies the GTE predicate on the "icon" field.
func IconHasPrefix ¶
func IconHasPrefix(v string) predicate.ServiceGroup
IconHasPrefix applies the HasPrefix predicate on the "icon" field.
func IconHasSuffix ¶
func IconHasSuffix(v string) predicate.ServiceGroup
IconHasSuffix applies the HasSuffix predicate on the "icon" field.
func IconIn ¶
func IconIn(vs ...string) predicate.ServiceGroup
IconIn applies the In predicate on the "icon" field.
func IconIsNil ¶
func IconIsNil() predicate.ServiceGroup
IconIsNil applies the IsNil predicate on the "icon" field.
func IconLT ¶
func IconLT(v string) predicate.ServiceGroup
IconLT applies the LT predicate on the "icon" field.
func IconLTE ¶
func IconLTE(v string) predicate.ServiceGroup
IconLTE applies the LTE predicate on the "icon" field.
func IconNEQ ¶
func IconNEQ(v string) predicate.ServiceGroup
IconNEQ applies the NEQ predicate on the "icon" field.
func IconNotIn ¶
func IconNotIn(vs ...string) predicate.ServiceGroup
IconNotIn applies the NotIn predicate on the "icon" field.
func IconNotNil ¶
func IconNotNil() predicate.ServiceGroup
IconNotNil applies the NotNil predicate on the "icon" field.
func Name ¶
func Name(v string) predicate.ServiceGroup
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ServiceGroup
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ServiceGroup
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ServiceGroup
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ServiceGroup
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ServiceGroup
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ServiceGroup
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ServiceGroup
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ServiceGroup
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ServiceGroup
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ServiceGroup
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ServiceGroup
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ServiceGroup
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ServiceGroup
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ServiceGroup) predicate.ServiceGroup
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ServiceGroup) predicate.ServiceGroup
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ServiceGroup
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ServiceGroup
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ServiceGroup
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ServiceGroup
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ServiceGroup
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ServiceGroup
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ServiceGroup
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ServiceGroup
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ServiceGroup
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 ServiceGroup queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEnvironmentField ¶
func ByEnvironmentField(field string, opts ...sql.OrderTermOption) OrderOption
ByEnvironmentField orders the results by environment field.
func ByEnvironmentID ¶
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIcon ¶
func ByIcon(opts ...sql.OrderTermOption) OrderOption
ByIcon orders the results by the icon field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByServices ¶
func ByServices(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByServices orders the results by services terms.
func ByServicesCount ¶
func ByServicesCount(opts ...sql.OrderTermOption) OrderOption
ByServicesCount orders the results by services count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.