Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Deployment) predicate.Deployment
- func Branch(v string) predicate.Deployment
- func BranchContains(v string) predicate.Deployment
- func BranchContainsFold(v string) predicate.Deployment
- func BranchEQ(v string) predicate.Deployment
- func BranchEqualFold(v string) predicate.Deployment
- func BranchGT(v string) predicate.Deployment
- func BranchGTE(v string) predicate.Deployment
- func BranchHasPrefix(v string) predicate.Deployment
- func BranchHasSuffix(v string) predicate.Deployment
- func BranchIn(vs ...string) predicate.Deployment
- func BranchIsNil() predicate.Deployment
- func BranchLT(v string) predicate.Deployment
- func BranchLTE(v string) predicate.Deployment
- func BranchNEQ(v string) predicate.Deployment
- func BranchNotIn(vs ...string) predicate.Deployment
- func BranchNotNil() predicate.Deployment
- func BrewType(v string) predicate.Deployment
- func BrewTypeContains(v string) predicate.Deployment
- func BrewTypeContainsFold(v string) predicate.Deployment
- func BrewTypeEQ(v string) predicate.Deployment
- func BrewTypeEqualFold(v string) predicate.Deployment
- func BrewTypeGT(v string) predicate.Deployment
- func BrewTypeGTE(v string) predicate.Deployment
- func BrewTypeHasPrefix(v string) predicate.Deployment
- func BrewTypeHasSuffix(v string) predicate.Deployment
- func BrewTypeIn(vs ...string) predicate.Deployment
- func BrewTypeIsNil() predicate.Deployment
- func BrewTypeLT(v string) predicate.Deployment
- func BrewTypeLTE(v string) predicate.Deployment
- func BrewTypeNEQ(v string) predicate.Deployment
- func BrewTypeNotIn(vs ...string) predicate.Deployment
- func BrewTypeNotNil() predicate.Deployment
- func ByProfile(v bool) predicate.Deployment
- func ByProfileEQ(v bool) predicate.Deployment
- func ByProfileIsNil() predicate.Deployment
- func ByProfileNEQ(v bool) predicate.Deployment
- func ByProfileNotNil() predicate.Deployment
- func Failed(v bool) predicate.Deployment
- func FailedEQ(v bool) predicate.Deployment
- func FailedIsNil() predicate.Deployment
- func FailedNEQ(v bool) predicate.Deployment
- func FailedNotNil() predicate.Deployment
- func HasOwner() predicate.Deployment
- func HasOwnerWith(preds ...predicate.Agent) predicate.Deployment
- func ID(id int) predicate.Deployment
- func IDEQ(id int) predicate.Deployment
- func IDGT(id int) predicate.Deployment
- func IDGTE(id int) predicate.Deployment
- func IDIn(ids ...int) predicate.Deployment
- func IDLT(id int) predicate.Deployment
- func IDLTE(id int) predicate.Deployment
- func IDNEQ(id int) predicate.Deployment
- func IDNotIn(ids ...int) predicate.Deployment
- func Installed(v time.Time) predicate.Deployment
- func InstalledEQ(v time.Time) predicate.Deployment
- func InstalledGT(v time.Time) predicate.Deployment
- func InstalledGTE(v time.Time) predicate.Deployment
- func InstalledIn(vs ...time.Time) predicate.Deployment
- func InstalledIsNil() predicate.Deployment
- func InstalledLT(v time.Time) predicate.Deployment
- func InstalledLTE(v time.Time) predicate.Deployment
- func InstalledNEQ(v time.Time) predicate.Deployment
- func InstalledNotIn(vs ...time.Time) predicate.Deployment
- func InstalledNotNil() predicate.Deployment
- func MoreInfo(v string) predicate.Deployment
- func MoreInfoContains(v string) predicate.Deployment
- func MoreInfoContainsFold(v string) predicate.Deployment
- func MoreInfoEQ(v string) predicate.Deployment
- func MoreInfoEqualFold(v string) predicate.Deployment
- func MoreInfoGT(v string) predicate.Deployment
- func MoreInfoGTE(v string) predicate.Deployment
- func MoreInfoHasPrefix(v string) predicate.Deployment
- func MoreInfoHasSuffix(v string) predicate.Deployment
- func MoreInfoIn(vs ...string) predicate.Deployment
- func MoreInfoIsNil() predicate.Deployment
- func MoreInfoLT(v string) predicate.Deployment
- func MoreInfoLTE(v string) predicate.Deployment
- func MoreInfoNEQ(v string) predicate.Deployment
- func MoreInfoNotIn(vs ...string) predicate.Deployment
- func MoreInfoNotNil() predicate.Deployment
- func Name(v string) predicate.Deployment
- func NameContains(v string) predicate.Deployment
- func NameContainsFold(v string) predicate.Deployment
- func NameEQ(v string) predicate.Deployment
- func NameEqualFold(v string) predicate.Deployment
- func NameGT(v string) predicate.Deployment
- func NameGTE(v string) predicate.Deployment
- func NameHasPrefix(v string) predicate.Deployment
- func NameHasSuffix(v string) predicate.Deployment
- func NameIn(vs ...string) predicate.Deployment
- func NameLT(v string) predicate.Deployment
- func NameLTE(v string) predicate.Deployment
- func NameNEQ(v string) predicate.Deployment
- func NameNotIn(vs ...string) predicate.Deployment
- func Not(p predicate.Deployment) predicate.Deployment
- func Or(predicates ...predicate.Deployment) predicate.Deployment
- func PackageID(v string) predicate.Deployment
- func PackageIDContains(v string) predicate.Deployment
- func PackageIDContainsFold(v string) predicate.Deployment
- func PackageIDEQ(v string) predicate.Deployment
- func PackageIDEqualFold(v string) predicate.Deployment
- func PackageIDGT(v string) predicate.Deployment
- func PackageIDGTE(v string) predicate.Deployment
- func PackageIDHasPrefix(v string) predicate.Deployment
- func PackageIDHasSuffix(v string) predicate.Deployment
- func PackageIDIn(vs ...string) predicate.Deployment
- func PackageIDLT(v string) predicate.Deployment
- func PackageIDLTE(v string) predicate.Deployment
- func PackageIDNEQ(v string) predicate.Deployment
- func PackageIDNotIn(vs ...string) predicate.Deployment
- func Updated(v time.Time) predicate.Deployment
- func UpdatedEQ(v time.Time) predicate.Deployment
- func UpdatedGT(v time.Time) predicate.Deployment
- func UpdatedGTE(v time.Time) predicate.Deployment
- func UpdatedIn(vs ...time.Time) predicate.Deployment
- func UpdatedIsNil() predicate.Deployment
- func UpdatedLT(v time.Time) predicate.Deployment
- func UpdatedLTE(v time.Time) predicate.Deployment
- func UpdatedNEQ(v time.Time) predicate.Deployment
- func UpdatedNotIn(vs ...time.Time) predicate.Deployment
- func UpdatedNotNil() predicate.Deployment
- func ValidColumn(column string) bool
- func Verified(v bool) predicate.Deployment
- func VerifiedEQ(v bool) predicate.Deployment
- func VerifiedIsNil() predicate.Deployment
- func VerifiedNEQ(v bool) predicate.Deployment
- func VerifiedNotNil() predicate.Deployment
- func Version(v string) predicate.Deployment
- func VersionContains(v string) predicate.Deployment
- func VersionContainsFold(v string) predicate.Deployment
- func VersionEQ(v string) predicate.Deployment
- func VersionEqualFold(v string) predicate.Deployment
- func VersionGT(v string) predicate.Deployment
- func VersionGTE(v string) predicate.Deployment
- func VersionHasPrefix(v string) predicate.Deployment
- func VersionHasSuffix(v string) predicate.Deployment
- func VersionIn(vs ...string) predicate.Deployment
- func VersionIsNil() predicate.Deployment
- func VersionLT(v string) predicate.Deployment
- func VersionLTE(v string) predicate.Deployment
- func VersionNEQ(v string) predicate.Deployment
- func VersionNotIn(vs ...string) predicate.Deployment
- func VersionNotNil() predicate.Deployment
- type OrderOption
- func ByBranch(opts ...sql.OrderTermOption) OrderOption
- func ByBrewType(opts ...sql.OrderTermOption) OrderOption
- func ByByProfile(opts ...sql.OrderTermOption) OrderOption
- func ByFailed(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInstalled(opts ...sql.OrderTermOption) OrderOption
- func ByMoreInfo(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPackageID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdated(opts ...sql.OrderTermOption) OrderOption
- func ByVerified(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the deployment type in the database. Label = "deployment" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPackageID holds the string denoting the package_id field in the database. FieldPackageID = "package_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldBranch holds the string denoting the branch field in the database. FieldBranch = "branch" // FieldBrewType holds the string denoting the brew_type field in the database. FieldBrewType = "brew_type" // FieldVerified holds the string denoting the verified field in the database. FieldVerified = "verified" // FieldInstalled holds the string denoting the installed field in the database. FieldInstalled = "installed" // FieldUpdated holds the string denoting the updated field in the database. FieldUpdated = "updated" // FieldFailed holds the string denoting the failed field in the database. FieldFailed = "failed" // FieldByProfile holds the string denoting the by_profile field in the database. FieldByProfile = "by_profile" // FieldMoreInfo holds the string denoting the more_info field in the database. FieldMoreInfo = "more_info" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // AgentFieldID holds the string denoting the ID field of the Agent. AgentFieldID = "oid" // Table holds the table name of the deployment in the database. Table = "deployments" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "deployments" // OwnerInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. OwnerInverseTable = "agents" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "agent_deployments" )
Variables ¶
var ( // DefaultInstalled holds the default value on creation for the "installed" field. DefaultInstalled func() time.Time // DefaultUpdated holds the default value on creation for the "updated" field. DefaultUpdated func() time.Time // UpdateDefaultUpdated holds the default value on update for the "updated" field. UpdateDefaultUpdated func() time.Time // DefaultFailed holds the default value on creation for the "failed" field. DefaultFailed bool // DefaultByProfile holds the default value on creation for the "by_profile" field. DefaultByProfile bool )
var Columns = []string{ FieldID, FieldPackageID, FieldName, FieldVersion, FieldBranch, FieldBrewType, FieldVerified, FieldInstalled, FieldUpdated, FieldFailed, FieldByProfile, FieldMoreInfo, }
Columns holds all SQL columns for deployment fields.
var ForeignKeys = []string{
"agent_deployments",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "deployments" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.Deployment) predicate.Deployment
And groups predicates with the AND operator between them.
func Branch ¶
func Branch(v string) predicate.Deployment
Branch applies equality check predicate on the "branch" field. It's identical to BranchEQ.
func BranchContains ¶
func BranchContains(v string) predicate.Deployment
BranchContains applies the Contains predicate on the "branch" field.
func BranchContainsFold ¶
func BranchContainsFold(v string) predicate.Deployment
BranchContainsFold applies the ContainsFold predicate on the "branch" field.
func BranchEQ ¶
func BranchEQ(v string) predicate.Deployment
BranchEQ applies the EQ predicate on the "branch" field.
func BranchEqualFold ¶
func BranchEqualFold(v string) predicate.Deployment
BranchEqualFold applies the EqualFold predicate on the "branch" field.
func BranchGT ¶
func BranchGT(v string) predicate.Deployment
BranchGT applies the GT predicate on the "branch" field.
func BranchGTE ¶
func BranchGTE(v string) predicate.Deployment
BranchGTE applies the GTE predicate on the "branch" field.
func BranchHasPrefix ¶
func BranchHasPrefix(v string) predicate.Deployment
BranchHasPrefix applies the HasPrefix predicate on the "branch" field.
func BranchHasSuffix ¶
func BranchHasSuffix(v string) predicate.Deployment
BranchHasSuffix applies the HasSuffix predicate on the "branch" field.
func BranchIn ¶
func BranchIn(vs ...string) predicate.Deployment
BranchIn applies the In predicate on the "branch" field.
func BranchIsNil ¶
func BranchIsNil() predicate.Deployment
BranchIsNil applies the IsNil predicate on the "branch" field.
func BranchLT ¶
func BranchLT(v string) predicate.Deployment
BranchLT applies the LT predicate on the "branch" field.
func BranchLTE ¶
func BranchLTE(v string) predicate.Deployment
BranchLTE applies the LTE predicate on the "branch" field.
func BranchNEQ ¶
func BranchNEQ(v string) predicate.Deployment
BranchNEQ applies the NEQ predicate on the "branch" field.
func BranchNotIn ¶
func BranchNotIn(vs ...string) predicate.Deployment
BranchNotIn applies the NotIn predicate on the "branch" field.
func BranchNotNil ¶
func BranchNotNil() predicate.Deployment
BranchNotNil applies the NotNil predicate on the "branch" field.
func BrewType ¶
func BrewType(v string) predicate.Deployment
BrewType applies equality check predicate on the "brew_type" field. It's identical to BrewTypeEQ.
func BrewTypeContains ¶
func BrewTypeContains(v string) predicate.Deployment
BrewTypeContains applies the Contains predicate on the "brew_type" field.
func BrewTypeContainsFold ¶
func BrewTypeContainsFold(v string) predicate.Deployment
BrewTypeContainsFold applies the ContainsFold predicate on the "brew_type" field.
func BrewTypeEQ ¶
func BrewTypeEQ(v string) predicate.Deployment
BrewTypeEQ applies the EQ predicate on the "brew_type" field.
func BrewTypeEqualFold ¶
func BrewTypeEqualFold(v string) predicate.Deployment
BrewTypeEqualFold applies the EqualFold predicate on the "brew_type" field.
func BrewTypeGT ¶
func BrewTypeGT(v string) predicate.Deployment
BrewTypeGT applies the GT predicate on the "brew_type" field.
func BrewTypeGTE ¶
func BrewTypeGTE(v string) predicate.Deployment
BrewTypeGTE applies the GTE predicate on the "brew_type" field.
func BrewTypeHasPrefix ¶
func BrewTypeHasPrefix(v string) predicate.Deployment
BrewTypeHasPrefix applies the HasPrefix predicate on the "brew_type" field.
func BrewTypeHasSuffix ¶
func BrewTypeHasSuffix(v string) predicate.Deployment
BrewTypeHasSuffix applies the HasSuffix predicate on the "brew_type" field.
func BrewTypeIn ¶
func BrewTypeIn(vs ...string) predicate.Deployment
BrewTypeIn applies the In predicate on the "brew_type" field.
func BrewTypeIsNil ¶
func BrewTypeIsNil() predicate.Deployment
BrewTypeIsNil applies the IsNil predicate on the "brew_type" field.
func BrewTypeLT ¶
func BrewTypeLT(v string) predicate.Deployment
BrewTypeLT applies the LT predicate on the "brew_type" field.
func BrewTypeLTE ¶
func BrewTypeLTE(v string) predicate.Deployment
BrewTypeLTE applies the LTE predicate on the "brew_type" field.
func BrewTypeNEQ ¶
func BrewTypeNEQ(v string) predicate.Deployment
BrewTypeNEQ applies the NEQ predicate on the "brew_type" field.
func BrewTypeNotIn ¶
func BrewTypeNotIn(vs ...string) predicate.Deployment
BrewTypeNotIn applies the NotIn predicate on the "brew_type" field.
func BrewTypeNotNil ¶
func BrewTypeNotNil() predicate.Deployment
BrewTypeNotNil applies the NotNil predicate on the "brew_type" field.
func ByProfile ¶
func ByProfile(v bool) predicate.Deployment
ByProfile applies equality check predicate on the "by_profile" field. It's identical to ByProfileEQ.
func ByProfileEQ ¶
func ByProfileEQ(v bool) predicate.Deployment
ByProfileEQ applies the EQ predicate on the "by_profile" field.
func ByProfileIsNil ¶
func ByProfileIsNil() predicate.Deployment
ByProfileIsNil applies the IsNil predicate on the "by_profile" field.
func ByProfileNEQ ¶
func ByProfileNEQ(v bool) predicate.Deployment
ByProfileNEQ applies the NEQ predicate on the "by_profile" field.
func ByProfileNotNil ¶
func ByProfileNotNil() predicate.Deployment
ByProfileNotNil applies the NotNil predicate on the "by_profile" field.
func Failed ¶
func Failed(v bool) predicate.Deployment
Failed applies equality check predicate on the "failed" field. It's identical to FailedEQ.
func FailedEQ ¶
func FailedEQ(v bool) predicate.Deployment
FailedEQ applies the EQ predicate on the "failed" field.
func FailedIsNil ¶
func FailedIsNil() predicate.Deployment
FailedIsNil applies the IsNil predicate on the "failed" field.
func FailedNEQ ¶
func FailedNEQ(v bool) predicate.Deployment
FailedNEQ applies the NEQ predicate on the "failed" field.
func FailedNotNil ¶
func FailedNotNil() predicate.Deployment
FailedNotNil applies the NotNil predicate on the "failed" field.
func HasOwner ¶
func HasOwner() predicate.Deployment
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Agent) predicate.Deployment
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.Deployment
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.Deployment
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.Deployment
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.Deployment
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.Deployment
IDNotIn applies the NotIn predicate on the ID field.
func Installed ¶
func Installed(v time.Time) predicate.Deployment
Installed applies equality check predicate on the "installed" field. It's identical to InstalledEQ.
func InstalledEQ ¶
func InstalledEQ(v time.Time) predicate.Deployment
InstalledEQ applies the EQ predicate on the "installed" field.
func InstalledGT ¶
func InstalledGT(v time.Time) predicate.Deployment
InstalledGT applies the GT predicate on the "installed" field.
func InstalledGTE ¶
func InstalledGTE(v time.Time) predicate.Deployment
InstalledGTE applies the GTE predicate on the "installed" field.
func InstalledIn ¶
func InstalledIn(vs ...time.Time) predicate.Deployment
InstalledIn applies the In predicate on the "installed" field.
func InstalledIsNil ¶
func InstalledIsNil() predicate.Deployment
InstalledIsNil applies the IsNil predicate on the "installed" field.
func InstalledLT ¶
func InstalledLT(v time.Time) predicate.Deployment
InstalledLT applies the LT predicate on the "installed" field.
func InstalledLTE ¶
func InstalledLTE(v time.Time) predicate.Deployment
InstalledLTE applies the LTE predicate on the "installed" field.
func InstalledNEQ ¶
func InstalledNEQ(v time.Time) predicate.Deployment
InstalledNEQ applies the NEQ predicate on the "installed" field.
func InstalledNotIn ¶
func InstalledNotIn(vs ...time.Time) predicate.Deployment
InstalledNotIn applies the NotIn predicate on the "installed" field.
func InstalledNotNil ¶
func InstalledNotNil() predicate.Deployment
InstalledNotNil applies the NotNil predicate on the "installed" field.
func MoreInfo ¶
func MoreInfo(v string) predicate.Deployment
MoreInfo applies equality check predicate on the "more_info" field. It's identical to MoreInfoEQ.
func MoreInfoContains ¶
func MoreInfoContains(v string) predicate.Deployment
MoreInfoContains applies the Contains predicate on the "more_info" field.
func MoreInfoContainsFold ¶
func MoreInfoContainsFold(v string) predicate.Deployment
MoreInfoContainsFold applies the ContainsFold predicate on the "more_info" field.
func MoreInfoEQ ¶
func MoreInfoEQ(v string) predicate.Deployment
MoreInfoEQ applies the EQ predicate on the "more_info" field.
func MoreInfoEqualFold ¶
func MoreInfoEqualFold(v string) predicate.Deployment
MoreInfoEqualFold applies the EqualFold predicate on the "more_info" field.
func MoreInfoGT ¶
func MoreInfoGT(v string) predicate.Deployment
MoreInfoGT applies the GT predicate on the "more_info" field.
func MoreInfoGTE ¶
func MoreInfoGTE(v string) predicate.Deployment
MoreInfoGTE applies the GTE predicate on the "more_info" field.
func MoreInfoHasPrefix ¶
func MoreInfoHasPrefix(v string) predicate.Deployment
MoreInfoHasPrefix applies the HasPrefix predicate on the "more_info" field.
func MoreInfoHasSuffix ¶
func MoreInfoHasSuffix(v string) predicate.Deployment
MoreInfoHasSuffix applies the HasSuffix predicate on the "more_info" field.
func MoreInfoIn ¶
func MoreInfoIn(vs ...string) predicate.Deployment
MoreInfoIn applies the In predicate on the "more_info" field.
func MoreInfoIsNil ¶
func MoreInfoIsNil() predicate.Deployment
MoreInfoIsNil applies the IsNil predicate on the "more_info" field.
func MoreInfoLT ¶
func MoreInfoLT(v string) predicate.Deployment
MoreInfoLT applies the LT predicate on the "more_info" field.
func MoreInfoLTE ¶
func MoreInfoLTE(v string) predicate.Deployment
MoreInfoLTE applies the LTE predicate on the "more_info" field.
func MoreInfoNEQ ¶
func MoreInfoNEQ(v string) predicate.Deployment
MoreInfoNEQ applies the NEQ predicate on the "more_info" field.
func MoreInfoNotIn ¶
func MoreInfoNotIn(vs ...string) predicate.Deployment
MoreInfoNotIn applies the NotIn predicate on the "more_info" field.
func MoreInfoNotNil ¶
func MoreInfoNotNil() predicate.Deployment
MoreInfoNotNil applies the NotNil predicate on the "more_info" field.
func Name ¶
func Name(v string) predicate.Deployment
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.Deployment
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.Deployment
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.Deployment
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.Deployment
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.Deployment
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.Deployment
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.Deployment
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.Deployment
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.Deployment
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.Deployment
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.Deployment
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.Deployment
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.Deployment
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.Deployment) predicate.Deployment
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Deployment) predicate.Deployment
Or groups predicates with the OR operator between them.
func PackageID ¶
func PackageID(v string) predicate.Deployment
PackageID applies equality check predicate on the "package_id" field. It's identical to PackageIDEQ.
func PackageIDContains ¶
func PackageIDContains(v string) predicate.Deployment
PackageIDContains applies the Contains predicate on the "package_id" field.
func PackageIDContainsFold ¶
func PackageIDContainsFold(v string) predicate.Deployment
PackageIDContainsFold applies the ContainsFold predicate on the "package_id" field.
func PackageIDEQ ¶
func PackageIDEQ(v string) predicate.Deployment
PackageIDEQ applies the EQ predicate on the "package_id" field.
func PackageIDEqualFold ¶
func PackageIDEqualFold(v string) predicate.Deployment
PackageIDEqualFold applies the EqualFold predicate on the "package_id" field.
func PackageIDGT ¶
func PackageIDGT(v string) predicate.Deployment
PackageIDGT applies the GT predicate on the "package_id" field.
func PackageIDGTE ¶
func PackageIDGTE(v string) predicate.Deployment
PackageIDGTE applies the GTE predicate on the "package_id" field.
func PackageIDHasPrefix ¶
func PackageIDHasPrefix(v string) predicate.Deployment
PackageIDHasPrefix applies the HasPrefix predicate on the "package_id" field.
func PackageIDHasSuffix ¶
func PackageIDHasSuffix(v string) predicate.Deployment
PackageIDHasSuffix applies the HasSuffix predicate on the "package_id" field.
func PackageIDIn ¶
func PackageIDIn(vs ...string) predicate.Deployment
PackageIDIn applies the In predicate on the "package_id" field.
func PackageIDLT ¶
func PackageIDLT(v string) predicate.Deployment
PackageIDLT applies the LT predicate on the "package_id" field.
func PackageIDLTE ¶
func PackageIDLTE(v string) predicate.Deployment
PackageIDLTE applies the LTE predicate on the "package_id" field.
func PackageIDNEQ ¶
func PackageIDNEQ(v string) predicate.Deployment
PackageIDNEQ applies the NEQ predicate on the "package_id" field.
func PackageIDNotIn ¶
func PackageIDNotIn(vs ...string) predicate.Deployment
PackageIDNotIn applies the NotIn predicate on the "package_id" field.
func Updated ¶
func Updated(v time.Time) predicate.Deployment
Updated applies equality check predicate on the "updated" field. It's identical to UpdatedEQ.
func UpdatedEQ ¶
func UpdatedEQ(v time.Time) predicate.Deployment
UpdatedEQ applies the EQ predicate on the "updated" field.
func UpdatedGT ¶
func UpdatedGT(v time.Time) predicate.Deployment
UpdatedGT applies the GT predicate on the "updated" field.
func UpdatedGTE ¶
func UpdatedGTE(v time.Time) predicate.Deployment
UpdatedGTE applies the GTE predicate on the "updated" field.
func UpdatedIn ¶
func UpdatedIn(vs ...time.Time) predicate.Deployment
UpdatedIn applies the In predicate on the "updated" field.
func UpdatedIsNil ¶
func UpdatedIsNil() predicate.Deployment
UpdatedIsNil applies the IsNil predicate on the "updated" field.
func UpdatedLT ¶
func UpdatedLT(v time.Time) predicate.Deployment
UpdatedLT applies the LT predicate on the "updated" field.
func UpdatedLTE ¶
func UpdatedLTE(v time.Time) predicate.Deployment
UpdatedLTE applies the LTE predicate on the "updated" field.
func UpdatedNEQ ¶
func UpdatedNEQ(v time.Time) predicate.Deployment
UpdatedNEQ applies the NEQ predicate on the "updated" field.
func UpdatedNotIn ¶
func UpdatedNotIn(vs ...time.Time) predicate.Deployment
UpdatedNotIn applies the NotIn predicate on the "updated" field.
func UpdatedNotNil ¶
func UpdatedNotNil() predicate.Deployment
UpdatedNotNil applies the NotNil predicate on the "updated" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Verified ¶
func Verified(v bool) predicate.Deployment
Verified applies equality check predicate on the "verified" field. It's identical to VerifiedEQ.
func VerifiedEQ ¶
func VerifiedEQ(v bool) predicate.Deployment
VerifiedEQ applies the EQ predicate on the "verified" field.
func VerifiedIsNil ¶
func VerifiedIsNil() predicate.Deployment
VerifiedIsNil applies the IsNil predicate on the "verified" field.
func VerifiedNEQ ¶
func VerifiedNEQ(v bool) predicate.Deployment
VerifiedNEQ applies the NEQ predicate on the "verified" field.
func VerifiedNotNil ¶
func VerifiedNotNil() predicate.Deployment
VerifiedNotNil applies the NotNil predicate on the "verified" field.
func Version ¶
func Version(v string) predicate.Deployment
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
func VersionContains(v string) predicate.Deployment
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
func VersionContainsFold(v string) predicate.Deployment
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEQ ¶
func VersionEQ(v string) predicate.Deployment
VersionEQ applies the EQ predicate on the "version" field.
func VersionEqualFold ¶
func VersionEqualFold(v string) predicate.Deployment
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGT ¶
func VersionGT(v string) predicate.Deployment
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v string) predicate.Deployment
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
func VersionHasPrefix(v string) predicate.Deployment
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
func VersionHasSuffix(v string) predicate.Deployment
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...string) predicate.Deployment
VersionIn applies the In predicate on the "version" field.
func VersionIsNil ¶
func VersionIsNil() predicate.Deployment
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLT ¶
func VersionLT(v string) predicate.Deployment
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v string) predicate.Deployment
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v string) predicate.Deployment
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...string) predicate.Deployment
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
func VersionNotNil() predicate.Deployment
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Deployment queries.
func ByBranch ¶
func ByBranch(opts ...sql.OrderTermOption) OrderOption
ByBranch orders the results by the branch field.
func ByBrewType ¶
func ByBrewType(opts ...sql.OrderTermOption) OrderOption
ByBrewType orders the results by the brew_type field.
func ByByProfile ¶
func ByByProfile(opts ...sql.OrderTermOption) OrderOption
ByByProfile orders the results by the by_profile field.
func ByFailed ¶
func ByFailed(opts ...sql.OrderTermOption) OrderOption
ByFailed orders the results by the failed field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInstalled ¶
func ByInstalled(opts ...sql.OrderTermOption) OrderOption
ByInstalled orders the results by the installed field.
func ByMoreInfo ¶
func ByMoreInfo(opts ...sql.OrderTermOption) OrderOption
ByMoreInfo orders the results by the more_info field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByPackageID ¶
func ByPackageID(opts ...sql.OrderTermOption) OrderOption
ByPackageID orders the results by the package_id field.
func ByUpdated ¶
func ByUpdated(opts ...sql.OrderTermOption) OrderOption
ByUpdated orders the results by the updated field.
func ByVerified ¶
func ByVerified(opts ...sql.OrderTermOption) OrderOption
ByVerified orders the results by the verified field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.