Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Deployment) predicate.Deployment
- func CreatedAt(v time.Time) predicate.Deployment
- func CreatedAtEQ(v time.Time) predicate.Deployment
- func CreatedAtGT(v time.Time) predicate.Deployment
- func CreatedAtGTE(v time.Time) predicate.Deployment
- func CreatedAtIn(vs ...time.Time) predicate.Deployment
- func CreatedAtLT(v time.Time) predicate.Deployment
- func CreatedAtLTE(v time.Time) predicate.Deployment
- func CreatedAtNEQ(v time.Time) predicate.Deployment
- func CreatedAtNotIn(vs ...time.Time) predicate.Deployment
- func DynamicPayloadIsNil() predicate.Deployment
- func DynamicPayloadNotNil() predicate.Deployment
- func Env(v string) predicate.Deployment
- func EnvContains(v string) predicate.Deployment
- func EnvContainsFold(v string) predicate.Deployment
- func EnvEQ(v string) predicate.Deployment
- func EnvEqualFold(v string) predicate.Deployment
- func EnvGT(v string) predicate.Deployment
- func EnvGTE(v string) predicate.Deployment
- func EnvHasPrefix(v string) predicate.Deployment
- func EnvHasSuffix(v string) predicate.Deployment
- func EnvIn(vs ...string) predicate.Deployment
- func EnvLT(v string) predicate.Deployment
- func EnvLTE(v string) predicate.Deployment
- func EnvNEQ(v string) predicate.Deployment
- func EnvNotIn(vs ...string) predicate.Deployment
- func HTMLURL(v string) predicate.Deployment
- func HTMLURLContains(v string) predicate.Deployment
- func HTMLURLContainsFold(v string) predicate.Deployment
- func HTMLURLEQ(v string) predicate.Deployment
- func HTMLURLEqualFold(v string) predicate.Deployment
- func HTMLURLGT(v string) predicate.Deployment
- func HTMLURLGTE(v string) predicate.Deployment
- func HTMLURLHasPrefix(v string) predicate.Deployment
- func HTMLURLHasSuffix(v string) predicate.Deployment
- func HTMLURLIn(vs ...string) predicate.Deployment
- func HTMLURLIsNil() predicate.Deployment
- func HTMLURLLT(v string) predicate.Deployment
- func HTMLURLLTE(v string) predicate.Deployment
- func HTMLURLNEQ(v string) predicate.Deployment
- func HTMLURLNotIn(vs ...string) predicate.Deployment
- func HTMLURLNotNil() predicate.Deployment
- func HasDeploymentStatuses() predicate.Deployment
- func HasDeploymentStatusesWith(preds ...predicate.DeploymentStatus) predicate.Deployment
- func HasRepo() predicate.Deployment
- func HasRepoWith(preds ...predicate.Repo) predicate.Deployment
- func HasReviews() predicate.Deployment
- func HasReviewsWith(preds ...predicate.Review) predicate.Deployment
- func HasUser() predicate.Deployment
- func HasUserWith(preds ...predicate.User) 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 IsApprovalEnabled(v bool) predicate.Deployment
- func IsApprovalEnabledEQ(v bool) predicate.Deployment
- func IsApprovalEnabledIsNil() predicate.Deployment
- func IsApprovalEnabledNEQ(v bool) predicate.Deployment
- func IsApprovalEnabledNotNil() predicate.Deployment
- func IsRollback(v bool) predicate.Deployment
- func IsRollbackEQ(v bool) predicate.Deployment
- func IsRollbackNEQ(v bool) predicate.Deployment
- func Not(p predicate.Deployment) predicate.Deployment
- func Number(v int) predicate.Deployment
- func NumberEQ(v int) predicate.Deployment
- func NumberGT(v int) predicate.Deployment
- func NumberGTE(v int) predicate.Deployment
- func NumberIn(vs ...int) predicate.Deployment
- func NumberLT(v int) predicate.Deployment
- func NumberLTE(v int) predicate.Deployment
- func NumberNEQ(v int) predicate.Deployment
- func NumberNotIn(vs ...int) predicate.Deployment
- func Or(predicates ...predicate.Deployment) predicate.Deployment
- func ProductionEnvironment(v bool) predicate.Deployment
- func ProductionEnvironmentEQ(v bool) predicate.Deployment
- func ProductionEnvironmentNEQ(v bool) predicate.Deployment
- func Ref(v string) predicate.Deployment
- func RefContains(v string) predicate.Deployment
- func RefContainsFold(v string) predicate.Deployment
- func RefEQ(v string) predicate.Deployment
- func RefEqualFold(v string) predicate.Deployment
- func RefGT(v string) predicate.Deployment
- func RefGTE(v string) predicate.Deployment
- func RefHasPrefix(v string) predicate.Deployment
- func RefHasSuffix(v string) predicate.Deployment
- func RefIn(vs ...string) predicate.Deployment
- func RefLT(v string) predicate.Deployment
- func RefLTE(v string) predicate.Deployment
- func RefNEQ(v string) predicate.Deployment
- func RefNotIn(vs ...string) predicate.Deployment
- func RepoID(v int64) predicate.Deployment
- func RepoIDEQ(v int64) predicate.Deployment
- func RepoIDIn(vs ...int64) predicate.Deployment
- func RepoIDNEQ(v int64) predicate.Deployment
- func RepoIDNotIn(vs ...int64) predicate.Deployment
- func RequiredApprovalCount(v int) predicate.Deployment
- func RequiredApprovalCountEQ(v int) predicate.Deployment
- func RequiredApprovalCountGT(v int) predicate.Deployment
- func RequiredApprovalCountGTE(v int) predicate.Deployment
- func RequiredApprovalCountIn(vs ...int) predicate.Deployment
- func RequiredApprovalCountIsNil() predicate.Deployment
- func RequiredApprovalCountLT(v int) predicate.Deployment
- func RequiredApprovalCountLTE(v int) predicate.Deployment
- func RequiredApprovalCountNEQ(v int) predicate.Deployment
- func RequiredApprovalCountNotIn(vs ...int) predicate.Deployment
- func RequiredApprovalCountNotNil() predicate.Deployment
- func Sha(v string) predicate.Deployment
- func ShaContains(v string) predicate.Deployment
- func ShaContainsFold(v string) predicate.Deployment
- func ShaEQ(v string) predicate.Deployment
- func ShaEqualFold(v string) predicate.Deployment
- func ShaGT(v string) predicate.Deployment
- func ShaGTE(v string) predicate.Deployment
- func ShaHasPrefix(v string) predicate.Deployment
- func ShaHasSuffix(v string) predicate.Deployment
- func ShaIn(vs ...string) predicate.Deployment
- func ShaIsNil() predicate.Deployment
- func ShaLT(v string) predicate.Deployment
- func ShaLTE(v string) predicate.Deployment
- func ShaNEQ(v string) predicate.Deployment
- func ShaNotIn(vs ...string) predicate.Deployment
- func ShaNotNil() predicate.Deployment
- func StatusEQ(v Status) predicate.Deployment
- func StatusIn(vs ...Status) predicate.Deployment
- func StatusNEQ(v Status) predicate.Deployment
- func StatusNotIn(vs ...Status) predicate.Deployment
- func StatusValidator(s Status) error
- func TypeEQ(v Type) predicate.Deployment
- func TypeIn(vs ...Type) predicate.Deployment
- func TypeNEQ(v Type) predicate.Deployment
- func TypeNotIn(vs ...Type) predicate.Deployment
- func TypeValidator(_type Type) error
- func UID(v int64) predicate.Deployment
- func UIDEQ(v int64) predicate.Deployment
- func UIDGT(v int64) predicate.Deployment
- func UIDGTE(v int64) predicate.Deployment
- func UIDIn(vs ...int64) predicate.Deployment
- func UIDIsNil() predicate.Deployment
- func UIDLT(v int64) predicate.Deployment
- func UIDLTE(v int64) predicate.Deployment
- func UIDNEQ(v int64) predicate.Deployment
- func UIDNotIn(vs ...int64) predicate.Deployment
- func UIDNotNil() predicate.Deployment
- func UpdatedAt(v time.Time) predicate.Deployment
- func UpdatedAtEQ(v time.Time) predicate.Deployment
- func UpdatedAtGT(v time.Time) predicate.Deployment
- func UpdatedAtGTE(v time.Time) predicate.Deployment
- func UpdatedAtIn(vs ...time.Time) predicate.Deployment
- func UpdatedAtLT(v time.Time) predicate.Deployment
- func UpdatedAtLTE(v time.Time) predicate.Deployment
- func UpdatedAtNEQ(v time.Time) predicate.Deployment
- func UpdatedAtNotIn(vs ...time.Time) predicate.Deployment
- func UserID(v int64) predicate.Deployment
- func UserIDEQ(v int64) predicate.Deployment
- func UserIDIn(vs ...int64) predicate.Deployment
- func UserIDIsNil() predicate.Deployment
- func UserIDNEQ(v int64) predicate.Deployment
- func UserIDNotIn(vs ...int64) predicate.Deployment
- func UserIDNotNil() predicate.Deployment
- func ValidColumn(column string) bool
- type Status
- type Type
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" // FieldNumber holds the string denoting the number field in the database. FieldNumber = "number" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldEnv holds the string denoting the env field in the database. FieldEnv = "env" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // FieldDynamicPayload holds the string denoting the dynamic_payload field in the database. FieldDynamicPayload = "dynamic_payload" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldUID holds the string denoting the uid field in the database. FieldUID = "uid" // FieldSha holds the string denoting the sha field in the database. FieldSha = "sha" // FieldHTMLURL holds the string denoting the html_url field in the database. FieldHTMLURL = "html_url" // FieldProductionEnvironment holds the string denoting the production_environment field in the database. FieldProductionEnvironment = "production_environment" // FieldIsRollback holds the string denoting the is_rollback field in the database. FieldIsRollback = "is_rollback" // 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" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldRepoID holds the string denoting the repo_id field in the database. FieldRepoID = "repo_id" // FieldIsApprovalEnabled holds the string denoting the is_approval_enabled field in the database. FieldIsApprovalEnabled = "is_approval_enabled" // FieldRequiredApprovalCount holds the string denoting the required_approval_count field in the database. FieldRequiredApprovalCount = "required_approval_count" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeRepo holds the string denoting the repo edge name in mutations. EdgeRepo = "repo" // EdgeReviews holds the string denoting the reviews edge name in mutations. EdgeReviews = "reviews" // EdgeDeploymentStatuses holds the string denoting the deployment_statuses edge name in mutations. EdgeDeploymentStatuses = "deployment_statuses" // Table holds the table name of the deployment in the database. Table = "deployments" // UserTable is the table that holds the user relation/edge. UserTable = "deployments" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" // RepoTable is the table that holds the repo relation/edge. RepoTable = "deployments" // RepoInverseTable is the table name for the Repo entity. // It exists in this package in order to avoid circular dependency with the "repo" package. RepoInverseTable = "repos" // RepoColumn is the table column denoting the repo relation/edge. RepoColumn = "repo_id" // ReviewsTable is the table that holds the reviews relation/edge. ReviewsTable = "reviews" // ReviewsInverseTable is the table name for the Review entity. // It exists in this package in order to avoid circular dependency with the "review" package. ReviewsInverseTable = "reviews" // ReviewsColumn is the table column denoting the reviews relation/edge. ReviewsColumn = "deployment_id" // DeploymentStatusesTable is the table that holds the deployment_statuses relation/edge. DeploymentStatusesTable = "deployment_status" // DeploymentStatusesInverseTable is the table name for the DeploymentStatus entity. // It exists in this package in order to avoid circular dependency with the "deploymentstatus" package. DeploymentStatusesInverseTable = "deployment_status" // DeploymentStatusesColumn is the table column denoting the deployment_statuses relation/edge. DeploymentStatusesColumn = "deployment_id" )
const DefaultStatus = StatusWaiting
StatusWaiting is the default value of the Status enum.
const DefaultType = TypeCommit
TypeCommit is the default value of the Type enum.
Variables ¶
var ( // HTMLURLValidator is a validator for the "html_url" field. It is called by the builders before save. HTMLURLValidator func(string) error // DefaultProductionEnvironment holds the default value on creation for the "production_environment" field. DefaultProductionEnvironment bool // DefaultIsRollback holds the default value on creation for the "is_rollback" field. DefaultIsRollback bool // 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 )
var Columns = []string{ FieldID, FieldNumber, FieldType, FieldEnv, FieldRef, FieldDynamicPayload, FieldStatus, FieldUID, FieldSha, FieldHTMLURL, FieldProductionEnvironment, FieldIsRollback, FieldCreatedAt, FieldUpdatedAt, FieldUserID, FieldRepoID, FieldIsApprovalEnabled, FieldRequiredApprovalCount, }
Columns holds all SQL columns for deployment fields.
Functions ¶
func And ¶
func And(predicates ...predicate.Deployment) predicate.Deployment
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Deployment
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Deployment
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Deployment
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Deployment
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Deployment
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Deployment
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Deployment
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Deployment
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Deployment
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DynamicPayloadIsNil ¶
func DynamicPayloadIsNil() predicate.Deployment
DynamicPayloadIsNil applies the IsNil predicate on the "dynamic_payload" field.
func DynamicPayloadNotNil ¶
func DynamicPayloadNotNil() predicate.Deployment
DynamicPayloadNotNil applies the NotNil predicate on the "dynamic_payload" field.
func Env ¶
func Env(v string) predicate.Deployment
Env applies equality check predicate on the "env" field. It's identical to EnvEQ.
func EnvContains ¶
func EnvContains(v string) predicate.Deployment
EnvContains applies the Contains predicate on the "env" field.
func EnvContainsFold ¶
func EnvContainsFold(v string) predicate.Deployment
EnvContainsFold applies the ContainsFold predicate on the "env" field.
func EnvEQ ¶
func EnvEQ(v string) predicate.Deployment
EnvEQ applies the EQ predicate on the "env" field.
func EnvEqualFold ¶
func EnvEqualFold(v string) predicate.Deployment
EnvEqualFold applies the EqualFold predicate on the "env" field.
func EnvGT ¶
func EnvGT(v string) predicate.Deployment
EnvGT applies the GT predicate on the "env" field.
func EnvGTE ¶
func EnvGTE(v string) predicate.Deployment
EnvGTE applies the GTE predicate on the "env" field.
func EnvHasPrefix ¶
func EnvHasPrefix(v string) predicate.Deployment
EnvHasPrefix applies the HasPrefix predicate on the "env" field.
func EnvHasSuffix ¶
func EnvHasSuffix(v string) predicate.Deployment
EnvHasSuffix applies the HasSuffix predicate on the "env" field.
func EnvIn ¶
func EnvIn(vs ...string) predicate.Deployment
EnvIn applies the In predicate on the "env" field.
func EnvLT ¶
func EnvLT(v string) predicate.Deployment
EnvLT applies the LT predicate on the "env" field.
func EnvLTE ¶
func EnvLTE(v string) predicate.Deployment
EnvLTE applies the LTE predicate on the "env" field.
func EnvNEQ ¶
func EnvNEQ(v string) predicate.Deployment
EnvNEQ applies the NEQ predicate on the "env" field.
func EnvNotIn ¶
func EnvNotIn(vs ...string) predicate.Deployment
EnvNotIn applies the NotIn predicate on the "env" field.
func HTMLURL ¶
func HTMLURL(v string) predicate.Deployment
HTMLURL applies equality check predicate on the "html_url" field. It's identical to HTMLURLEQ.
func HTMLURLContains ¶
func HTMLURLContains(v string) predicate.Deployment
HTMLURLContains applies the Contains predicate on the "html_url" field.
func HTMLURLContainsFold ¶
func HTMLURLContainsFold(v string) predicate.Deployment
HTMLURLContainsFold applies the ContainsFold predicate on the "html_url" field.
func HTMLURLEQ ¶
func HTMLURLEQ(v string) predicate.Deployment
HTMLURLEQ applies the EQ predicate on the "html_url" field.
func HTMLURLEqualFold ¶
func HTMLURLEqualFold(v string) predicate.Deployment
HTMLURLEqualFold applies the EqualFold predicate on the "html_url" field.
func HTMLURLGT ¶
func HTMLURLGT(v string) predicate.Deployment
HTMLURLGT applies the GT predicate on the "html_url" field.
func HTMLURLGTE ¶
func HTMLURLGTE(v string) predicate.Deployment
HTMLURLGTE applies the GTE predicate on the "html_url" field.
func HTMLURLHasPrefix ¶
func HTMLURLHasPrefix(v string) predicate.Deployment
HTMLURLHasPrefix applies the HasPrefix predicate on the "html_url" field.
func HTMLURLHasSuffix ¶
func HTMLURLHasSuffix(v string) predicate.Deployment
HTMLURLHasSuffix applies the HasSuffix predicate on the "html_url" field.
func HTMLURLIn ¶
func HTMLURLIn(vs ...string) predicate.Deployment
HTMLURLIn applies the In predicate on the "html_url" field.
func HTMLURLIsNil ¶
func HTMLURLIsNil() predicate.Deployment
HTMLURLIsNil applies the IsNil predicate on the "html_url" field.
func HTMLURLLT ¶
func HTMLURLLT(v string) predicate.Deployment
HTMLURLLT applies the LT predicate on the "html_url" field.
func HTMLURLLTE ¶
func HTMLURLLTE(v string) predicate.Deployment
HTMLURLLTE applies the LTE predicate on the "html_url" field.
func HTMLURLNEQ ¶
func HTMLURLNEQ(v string) predicate.Deployment
HTMLURLNEQ applies the NEQ predicate on the "html_url" field.
func HTMLURLNotIn ¶
func HTMLURLNotIn(vs ...string) predicate.Deployment
HTMLURLNotIn applies the NotIn predicate on the "html_url" field.
func HTMLURLNotNil ¶
func HTMLURLNotNil() predicate.Deployment
HTMLURLNotNil applies the NotNil predicate on the "html_url" field.
func HasDeploymentStatuses ¶
func HasDeploymentStatuses() predicate.Deployment
HasDeploymentStatuses applies the HasEdge predicate on the "deployment_statuses" edge.
func HasDeploymentStatusesWith ¶
func HasDeploymentStatusesWith(preds ...predicate.DeploymentStatus) predicate.Deployment
HasDeploymentStatusesWith applies the HasEdge predicate on the "deployment_statuses" edge with a given conditions (other predicates).
func HasRepo ¶
func HasRepo() predicate.Deployment
HasRepo applies the HasEdge predicate on the "repo" edge.
func HasRepoWith ¶
func HasRepoWith(preds ...predicate.Repo) predicate.Deployment
HasRepoWith applies the HasEdge predicate on the "repo" edge with a given conditions (other predicates).
func HasReviews ¶
func HasReviews() predicate.Deployment
HasReviews applies the HasEdge predicate on the "reviews" edge.
func HasReviewsWith ¶
func HasReviewsWith(preds ...predicate.Review) predicate.Deployment
HasReviewsWith applies the HasEdge predicate on the "reviews" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.Deployment
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.Deployment
HasUserWith applies the HasEdge predicate on the "user" 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 IsApprovalEnabled ¶
func IsApprovalEnabled(v bool) predicate.Deployment
IsApprovalEnabled applies equality check predicate on the "is_approval_enabled" field. It's identical to IsApprovalEnabledEQ.
func IsApprovalEnabledEQ ¶
func IsApprovalEnabledEQ(v bool) predicate.Deployment
IsApprovalEnabledEQ applies the EQ predicate on the "is_approval_enabled" field.
func IsApprovalEnabledIsNil ¶
func IsApprovalEnabledIsNil() predicate.Deployment
IsApprovalEnabledIsNil applies the IsNil predicate on the "is_approval_enabled" field.
func IsApprovalEnabledNEQ ¶
func IsApprovalEnabledNEQ(v bool) predicate.Deployment
IsApprovalEnabledNEQ applies the NEQ predicate on the "is_approval_enabled" field.
func IsApprovalEnabledNotNil ¶
func IsApprovalEnabledNotNil() predicate.Deployment
IsApprovalEnabledNotNil applies the NotNil predicate on the "is_approval_enabled" field.
func IsRollback ¶
func IsRollback(v bool) predicate.Deployment
IsRollback applies equality check predicate on the "is_rollback" field. It's identical to IsRollbackEQ.
func IsRollbackEQ ¶
func IsRollbackEQ(v bool) predicate.Deployment
IsRollbackEQ applies the EQ predicate on the "is_rollback" field.
func IsRollbackNEQ ¶
func IsRollbackNEQ(v bool) predicate.Deployment
IsRollbackNEQ applies the NEQ predicate on the "is_rollback" field.
func Not ¶
func Not(p predicate.Deployment) predicate.Deployment
Not applies the not operator on the given predicate.
func Number ¶
func Number(v int) predicate.Deployment
Number applies equality check predicate on the "number" field. It's identical to NumberEQ.
func NumberEQ ¶
func NumberEQ(v int) predicate.Deployment
NumberEQ applies the EQ predicate on the "number" field.
func NumberGT ¶
func NumberGT(v int) predicate.Deployment
NumberGT applies the GT predicate on the "number" field.
func NumberGTE ¶
func NumberGTE(v int) predicate.Deployment
NumberGTE applies the GTE predicate on the "number" field.
func NumberIn ¶
func NumberIn(vs ...int) predicate.Deployment
NumberIn applies the In predicate on the "number" field.
func NumberLT ¶
func NumberLT(v int) predicate.Deployment
NumberLT applies the LT predicate on the "number" field.
func NumberLTE ¶
func NumberLTE(v int) predicate.Deployment
NumberLTE applies the LTE predicate on the "number" field.
func NumberNEQ ¶
func NumberNEQ(v int) predicate.Deployment
NumberNEQ applies the NEQ predicate on the "number" field.
func NumberNotIn ¶
func NumberNotIn(vs ...int) predicate.Deployment
NumberNotIn applies the NotIn predicate on the "number" field.
func Or ¶
func Or(predicates ...predicate.Deployment) predicate.Deployment
Or groups predicates with the OR operator between them.
func ProductionEnvironment ¶
func ProductionEnvironment(v bool) predicate.Deployment
ProductionEnvironment applies equality check predicate on the "production_environment" field. It's identical to ProductionEnvironmentEQ.
func ProductionEnvironmentEQ ¶
func ProductionEnvironmentEQ(v bool) predicate.Deployment
ProductionEnvironmentEQ applies the EQ predicate on the "production_environment" field.
func ProductionEnvironmentNEQ ¶
func ProductionEnvironmentNEQ(v bool) predicate.Deployment
ProductionEnvironmentNEQ applies the NEQ predicate on the "production_environment" field.
func Ref ¶
func Ref(v string) predicate.Deployment
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.Deployment
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.Deployment
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.Deployment
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.Deployment
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.Deployment
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.Deployment
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.Deployment
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.Deployment
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.Deployment
RefIn applies the In predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.Deployment
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.Deployment
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.Deployment
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.Deployment
RefNotIn applies the NotIn predicate on the "ref" field.
func RepoID ¶
func RepoID(v int64) predicate.Deployment
RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.
func RepoIDEQ ¶
func RepoIDEQ(v int64) predicate.Deployment
RepoIDEQ applies the EQ predicate on the "repo_id" field.
func RepoIDIn ¶
func RepoIDIn(vs ...int64) predicate.Deployment
RepoIDIn applies the In predicate on the "repo_id" field.
func RepoIDNEQ ¶
func RepoIDNEQ(v int64) predicate.Deployment
RepoIDNEQ applies the NEQ predicate on the "repo_id" field.
func RepoIDNotIn ¶
func RepoIDNotIn(vs ...int64) predicate.Deployment
RepoIDNotIn applies the NotIn predicate on the "repo_id" field.
func RequiredApprovalCount ¶
func RequiredApprovalCount(v int) predicate.Deployment
RequiredApprovalCount applies equality check predicate on the "required_approval_count" field. It's identical to RequiredApprovalCountEQ.
func RequiredApprovalCountEQ ¶
func RequiredApprovalCountEQ(v int) predicate.Deployment
RequiredApprovalCountEQ applies the EQ predicate on the "required_approval_count" field.
func RequiredApprovalCountGT ¶
func RequiredApprovalCountGT(v int) predicate.Deployment
RequiredApprovalCountGT applies the GT predicate on the "required_approval_count" field.
func RequiredApprovalCountGTE ¶
func RequiredApprovalCountGTE(v int) predicate.Deployment
RequiredApprovalCountGTE applies the GTE predicate on the "required_approval_count" field.
func RequiredApprovalCountIn ¶
func RequiredApprovalCountIn(vs ...int) predicate.Deployment
RequiredApprovalCountIn applies the In predicate on the "required_approval_count" field.
func RequiredApprovalCountIsNil ¶
func RequiredApprovalCountIsNil() predicate.Deployment
RequiredApprovalCountIsNil applies the IsNil predicate on the "required_approval_count" field.
func RequiredApprovalCountLT ¶
func RequiredApprovalCountLT(v int) predicate.Deployment
RequiredApprovalCountLT applies the LT predicate on the "required_approval_count" field.
func RequiredApprovalCountLTE ¶
func RequiredApprovalCountLTE(v int) predicate.Deployment
RequiredApprovalCountLTE applies the LTE predicate on the "required_approval_count" field.
func RequiredApprovalCountNEQ ¶
func RequiredApprovalCountNEQ(v int) predicate.Deployment
RequiredApprovalCountNEQ applies the NEQ predicate on the "required_approval_count" field.
func RequiredApprovalCountNotIn ¶
func RequiredApprovalCountNotIn(vs ...int) predicate.Deployment
RequiredApprovalCountNotIn applies the NotIn predicate on the "required_approval_count" field.
func RequiredApprovalCountNotNil ¶
func RequiredApprovalCountNotNil() predicate.Deployment
RequiredApprovalCountNotNil applies the NotNil predicate on the "required_approval_count" field.
func Sha ¶
func Sha(v string) predicate.Deployment
Sha applies equality check predicate on the "sha" field. It's identical to ShaEQ.
func ShaContains ¶
func ShaContains(v string) predicate.Deployment
ShaContains applies the Contains predicate on the "sha" field.
func ShaContainsFold ¶
func ShaContainsFold(v string) predicate.Deployment
ShaContainsFold applies the ContainsFold predicate on the "sha" field.
func ShaEQ ¶
func ShaEQ(v string) predicate.Deployment
ShaEQ applies the EQ predicate on the "sha" field.
func ShaEqualFold ¶
func ShaEqualFold(v string) predicate.Deployment
ShaEqualFold applies the EqualFold predicate on the "sha" field.
func ShaGT ¶
func ShaGT(v string) predicate.Deployment
ShaGT applies the GT predicate on the "sha" field.
func ShaGTE ¶
func ShaGTE(v string) predicate.Deployment
ShaGTE applies the GTE predicate on the "sha" field.
func ShaHasPrefix ¶
func ShaHasPrefix(v string) predicate.Deployment
ShaHasPrefix applies the HasPrefix predicate on the "sha" field.
func ShaHasSuffix ¶
func ShaHasSuffix(v string) predicate.Deployment
ShaHasSuffix applies the HasSuffix predicate on the "sha" field.
func ShaIn ¶
func ShaIn(vs ...string) predicate.Deployment
ShaIn applies the In predicate on the "sha" field.
func ShaIsNil ¶
func ShaIsNil() predicate.Deployment
ShaIsNil applies the IsNil predicate on the "sha" field.
func ShaLT ¶
func ShaLT(v string) predicate.Deployment
ShaLT applies the LT predicate on the "sha" field.
func ShaLTE ¶
func ShaLTE(v string) predicate.Deployment
ShaLTE applies the LTE predicate on the "sha" field.
func ShaNEQ ¶
func ShaNEQ(v string) predicate.Deployment
ShaNEQ applies the NEQ predicate on the "sha" field.
func ShaNotIn ¶
func ShaNotIn(vs ...string) predicate.Deployment
ShaNotIn applies the NotIn predicate on the "sha" field.
func ShaNotNil ¶
func ShaNotNil() predicate.Deployment
ShaNotNil applies the NotNil predicate on the "sha" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.Deployment
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.Deployment
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.Deployment
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.Deployment
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TypeEQ ¶
func TypeEQ(v Type) predicate.Deployment
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...Type) predicate.Deployment
TypeIn applies the In predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v Type) predicate.Deployment
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...Type) predicate.Deployment
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func UID ¶
func UID(v int64) predicate.Deployment
UID applies equality check predicate on the "uid" field. It's identical to UIDEQ.
func UIDEQ ¶
func UIDEQ(v int64) predicate.Deployment
UIDEQ applies the EQ predicate on the "uid" field.
func UIDGT ¶
func UIDGT(v int64) predicate.Deployment
UIDGT applies the GT predicate on the "uid" field.
func UIDGTE ¶
func UIDGTE(v int64) predicate.Deployment
UIDGTE applies the GTE predicate on the "uid" field.
func UIDIn ¶
func UIDIn(vs ...int64) predicate.Deployment
UIDIn applies the In predicate on the "uid" field.
func UIDIsNil ¶
func UIDIsNil() predicate.Deployment
UIDIsNil applies the IsNil predicate on the "uid" field.
func UIDLT ¶
func UIDLT(v int64) predicate.Deployment
UIDLT applies the LT predicate on the "uid" field.
func UIDLTE ¶
func UIDLTE(v int64) predicate.Deployment
UIDLTE applies the LTE predicate on the "uid" field.
func UIDNEQ ¶
func UIDNEQ(v int64) predicate.Deployment
UIDNEQ applies the NEQ predicate on the "uid" field.
func UIDNotIn ¶
func UIDNotIn(vs ...int64) predicate.Deployment
UIDNotIn applies the NotIn predicate on the "uid" field.
func UIDNotNil ¶
func UIDNotNil() predicate.Deployment
UIDNotNil applies the NotNil predicate on the "uid" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Deployment
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Deployment
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Deployment
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Deployment
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Deployment
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Deployment
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Deployment
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Deployment
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Deployment
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v int64) predicate.Deployment
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.Deployment
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.Deployment
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶
func UserIDIsNil() predicate.Deployment
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.Deployment
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.Deployment
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
func UserIDNotNil() predicate.Deployment
UserIDNotNil applies the NotNil predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Status ¶
type Status string
Status defines the type for the "status" enum field.