Documentation ¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Repo
- func ActiveEQ(v bool) predicate.Repo
- func ActiveNEQ(v bool) predicate.Repo
- func And(predicates ...predicate.Repo) predicate.Repo
- func ConfigPath(v string) predicate.Repo
- func ConfigPathContains(v string) predicate.Repo
- func ConfigPathContainsFold(v string) predicate.Repo
- func ConfigPathEQ(v string) predicate.Repo
- func ConfigPathEqualFold(v string) predicate.Repo
- func ConfigPathGT(v string) predicate.Repo
- func ConfigPathGTE(v string) predicate.Repo
- func ConfigPathHasPrefix(v string) predicate.Repo
- func ConfigPathHasSuffix(v string) predicate.Repo
- func ConfigPathIn(vs ...string) predicate.Repo
- func ConfigPathLT(v string) predicate.Repo
- func ConfigPathLTE(v string) predicate.Repo
- func ConfigPathNEQ(v string) predicate.Repo
- func ConfigPathNotIn(vs ...string) predicate.Repo
- func CreatedAt(v time.Time) predicate.Repo
- func CreatedAtEQ(v time.Time) predicate.Repo
- func CreatedAtGT(v time.Time) predicate.Repo
- func CreatedAtGTE(v time.Time) predicate.Repo
- func CreatedAtIn(vs ...time.Time) predicate.Repo
- func CreatedAtLT(v time.Time) predicate.Repo
- func CreatedAtLTE(v time.Time) predicate.Repo
- func CreatedAtNEQ(v time.Time) predicate.Repo
- func CreatedAtNotIn(vs ...time.Time) predicate.Repo
- func Description(v string) predicate.Repo
- func DescriptionContains(v string) predicate.Repo
- func DescriptionContainsFold(v string) predicate.Repo
- func DescriptionEQ(v string) predicate.Repo
- func DescriptionEqualFold(v string) predicate.Repo
- func DescriptionGT(v string) predicate.Repo
- func DescriptionGTE(v string) predicate.Repo
- func DescriptionHasPrefix(v string) predicate.Repo
- func DescriptionHasSuffix(v string) predicate.Repo
- func DescriptionIn(vs ...string) predicate.Repo
- func DescriptionLT(v string) predicate.Repo
- func DescriptionLTE(v string) predicate.Repo
- func DescriptionNEQ(v string) predicate.Repo
- func DescriptionNotIn(vs ...string) predicate.Repo
- func HasDeploymentStatistics() predicate.Repo
- func HasDeploymentStatisticsWith(preds ...predicate.DeploymentStatistics) predicate.Repo
- func HasDeploymentStatuses() predicate.Repo
- func HasDeploymentStatusesWith(preds ...predicate.DeploymentStatus) predicate.Repo
- func HasDeployments() predicate.Repo
- func HasDeploymentsWith(preds ...predicate.Deployment) predicate.Repo
- func HasLocks() predicate.Repo
- func HasLocksWith(preds ...predicate.Lock) predicate.Repo
- func HasOwner() predicate.Repo
- func HasOwnerWith(preds ...predicate.User) predicate.Repo
- func HasPerms() predicate.Repo
- func HasPermsWith(preds ...predicate.Perm) predicate.Repo
- func ID(id int64) predicate.Repo
- func IDEQ(id int64) predicate.Repo
- func IDGT(id int64) predicate.Repo
- func IDGTE(id int64) predicate.Repo
- func IDIn(ids ...int64) predicate.Repo
- func IDLT(id int64) predicate.Repo
- func IDLTE(id int64) predicate.Repo
- func IDNEQ(id int64) predicate.Repo
- func IDNotIn(ids ...int64) predicate.Repo
- func LatestDeployedAt(v time.Time) predicate.Repo
- func LatestDeployedAtEQ(v time.Time) predicate.Repo
- func LatestDeployedAtGT(v time.Time) predicate.Repo
- func LatestDeployedAtGTE(v time.Time) predicate.Repo
- func LatestDeployedAtIn(vs ...time.Time) predicate.Repo
- func LatestDeployedAtIsNil() predicate.Repo
- func LatestDeployedAtLT(v time.Time) predicate.Repo
- func LatestDeployedAtLTE(v time.Time) predicate.Repo
- func LatestDeployedAtNEQ(v time.Time) predicate.Repo
- func LatestDeployedAtNotIn(vs ...time.Time) predicate.Repo
- func LatestDeployedAtNotNil() predicate.Repo
- func Name(v string) predicate.Repo
- func NameContains(v string) predicate.Repo
- func NameContainsFold(v string) predicate.Repo
- func NameEQ(v string) predicate.Repo
- func NameEqualFold(v string) predicate.Repo
- func NameGT(v string) predicate.Repo
- func NameGTE(v string) predicate.Repo
- func NameHasPrefix(v string) predicate.Repo
- func NameHasSuffix(v string) predicate.Repo
- func NameIn(vs ...string) predicate.Repo
- func NameLT(v string) predicate.Repo
- func NameLTE(v string) predicate.Repo
- func NameNEQ(v string) predicate.Repo
- func NameNotIn(vs ...string) predicate.Repo
- func Namespace(v string) predicate.Repo
- func NamespaceContains(v string) predicate.Repo
- func NamespaceContainsFold(v string) predicate.Repo
- func NamespaceEQ(v string) predicate.Repo
- func NamespaceEqualFold(v string) predicate.Repo
- func NamespaceGT(v string) predicate.Repo
- func NamespaceGTE(v string) predicate.Repo
- func NamespaceHasPrefix(v string) predicate.Repo
- func NamespaceHasSuffix(v string) predicate.Repo
- func NamespaceIn(vs ...string) predicate.Repo
- func NamespaceLT(v string) predicate.Repo
- func NamespaceLTE(v string) predicate.Repo
- func NamespaceNEQ(v string) predicate.Repo
- func NamespaceNotIn(vs ...string) predicate.Repo
- func Not(p predicate.Repo) predicate.Repo
- func Or(predicates ...predicate.Repo) predicate.Repo
- func OwnerID(v int64) predicate.Repo
- func OwnerIDEQ(v int64) predicate.Repo
- func OwnerIDIn(vs ...int64) predicate.Repo
- func OwnerIDIsNil() predicate.Repo
- func OwnerIDNEQ(v int64) predicate.Repo
- func OwnerIDNotIn(vs ...int64) predicate.Repo
- func OwnerIDNotNil() predicate.Repo
- func UpdatedAt(v time.Time) predicate.Repo
- func UpdatedAtEQ(v time.Time) predicate.Repo
- func UpdatedAtGT(v time.Time) predicate.Repo
- func UpdatedAtGTE(v time.Time) predicate.Repo
- func UpdatedAtIn(vs ...time.Time) predicate.Repo
- func UpdatedAtLT(v time.Time) predicate.Repo
- func UpdatedAtLTE(v time.Time) predicate.Repo
- func UpdatedAtNEQ(v time.Time) predicate.Repo
- func UpdatedAtNotIn(vs ...time.Time) predicate.Repo
- func ValidColumn(column string) bool
- func WebhookID(v int64) predicate.Repo
- func WebhookIDEQ(v int64) predicate.Repo
- func WebhookIDGT(v int64) predicate.Repo
- func WebhookIDGTE(v int64) predicate.Repo
- func WebhookIDIn(vs ...int64) predicate.Repo
- func WebhookIDIsNil() predicate.Repo
- func WebhookIDLT(v int64) predicate.Repo
- func WebhookIDLTE(v int64) predicate.Repo
- func WebhookIDNEQ(v int64) predicate.Repo
- func WebhookIDNotIn(vs ...int64) predicate.Repo
- func WebhookIDNotNil() predicate.Repo
Constants ¶
const ( // Label holds the string label denoting the repo type in the database. Label = "repo" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldConfigPath holds the string denoting the config_path field in the database. FieldConfigPath = "config_path" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldWebhookID holds the string denoting the webhook_id field in the database. FieldWebhookID = "webhook_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" // FieldLatestDeployedAt holds the string denoting the latest_deployed_at field in the database. FieldLatestDeployedAt = "latest_deployed_at" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // EdgePerms holds the string denoting the perms edge name in mutations. EdgePerms = "perms" // EdgeDeployments holds the string denoting the deployments edge name in mutations. EdgeDeployments = "deployments" // EdgeDeploymentStatuses holds the string denoting the deployment_statuses edge name in mutations. EdgeDeploymentStatuses = "deployment_statuses" // EdgeLocks holds the string denoting the locks edge name in mutations. EdgeLocks = "locks" // EdgeDeploymentStatistics holds the string denoting the deployment_statistics edge name in mutations. EdgeDeploymentStatistics = "deployment_statistics" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the repo in the database. Table = "repos" // PermsTable is the table that holds the perms relation/edge. PermsTable = "perms" // PermsInverseTable is the table name for the Perm entity. // It exists in this package in order to avoid circular dependency with the "perm" package. PermsInverseTable = "perms" // PermsColumn is the table column denoting the perms relation/edge. PermsColumn = "repo_id" // 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 = "repo_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 = "repo_id" // LocksTable is the table that holds the locks relation/edge. LocksTable = "locks" // LocksInverseTable is the table name for the Lock entity. // It exists in this package in order to avoid circular dependency with the "lock" package. LocksInverseTable = "locks" // LocksColumn is the table column denoting the locks relation/edge. LocksColumn = "repo_id" // DeploymentStatisticsTable is the table that holds the deployment_statistics relation/edge. DeploymentStatisticsTable = "deployment_statistics" // DeploymentStatisticsInverseTable is the table name for the DeploymentStatistics entity. // It exists in this package in order to avoid circular dependency with the "deploymentstatistics" package. DeploymentStatisticsInverseTable = "deployment_statistics" // DeploymentStatisticsColumn is the table column denoting the deployment_statistics relation/edge. DeploymentStatisticsColumn = "repo_id" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "repos" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "users" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" )
Variables ¶
var ( // DefaultConfigPath holds the default value on creation for the "config_path" field. DefaultConfigPath string // DefaultActive holds the default value on creation for the "active" field. DefaultActive 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 // DefaultLatestDeployedAt holds the default value on creation for the "latest_deployed_at" field. DefaultLatestDeployedAt func() time.Time )
var Columns = []string{ FieldID, FieldNamespace, FieldName, FieldDescription, FieldConfigPath, FieldActive, FieldWebhookID, FieldCreatedAt, FieldUpdatedAt, FieldLatestDeployedAt, FieldOwnerID, }
Columns holds all SQL columns for repo fields.
Functions ¶
func Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func ConfigPath ¶
ConfigPath applies equality check predicate on the "config_path" field. It's identical to ConfigPathEQ.
func ConfigPathContains ¶
ConfigPathContains applies the Contains predicate on the "config_path" field.
func ConfigPathContainsFold ¶
ConfigPathContainsFold applies the ContainsFold predicate on the "config_path" field.
func ConfigPathEQ ¶
ConfigPathEQ applies the EQ predicate on the "config_path" field.
func ConfigPathEqualFold ¶
ConfigPathEqualFold applies the EqualFold predicate on the "config_path" field.
func ConfigPathGT ¶
ConfigPathGT applies the GT predicate on the "config_path" field.
func ConfigPathGTE ¶
ConfigPathGTE applies the GTE predicate on the "config_path" field.
func ConfigPathHasPrefix ¶
ConfigPathHasPrefix applies the HasPrefix predicate on the "config_path" field.
func ConfigPathHasSuffix ¶
ConfigPathHasSuffix applies the HasSuffix predicate on the "config_path" field.
func ConfigPathIn ¶
ConfigPathIn applies the In predicate on the "config_path" field.
func ConfigPathLT ¶
ConfigPathLT applies the LT predicate on the "config_path" field.
func ConfigPathLTE ¶
ConfigPathLTE applies the LTE predicate on the "config_path" field.
func ConfigPathNEQ ¶
ConfigPathNEQ applies the NEQ predicate on the "config_path" field.
func ConfigPathNotIn ¶
ConfigPathNotIn applies the NotIn predicate on the "config_path" field.
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 Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasDeploymentStatistics ¶
HasDeploymentStatistics applies the HasEdge predicate on the "deployment_statistics" edge.
func HasDeploymentStatisticsWith ¶
func HasDeploymentStatisticsWith(preds ...predicate.DeploymentStatistics) predicate.Repo
HasDeploymentStatisticsWith applies the HasEdge predicate on the "deployment_statistics" edge with a given conditions (other predicates).
func HasDeploymentStatuses ¶
HasDeploymentStatuses applies the HasEdge predicate on the "deployment_statuses" edge.
func HasDeploymentStatusesWith ¶
func HasDeploymentStatusesWith(preds ...predicate.DeploymentStatus) predicate.Repo
HasDeploymentStatusesWith applies the HasEdge predicate on the "deployment_statuses" 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.Repo
HasDeploymentsWith applies the HasEdge predicate on the "deployments" edge with a given conditions (other predicates).
func HasLocksWith ¶
HasLocksWith applies the HasEdge predicate on the "locks" edge with a given conditions (other predicates).
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasPermsWith ¶
HasPermsWith applies the HasEdge predicate on the "perms" edge with a given conditions (other predicates).
func LatestDeployedAt ¶
LatestDeployedAt applies equality check predicate on the "latest_deployed_at" field. It's identical to LatestDeployedAtEQ.
func LatestDeployedAtEQ ¶
LatestDeployedAtEQ applies the EQ predicate on the "latest_deployed_at" field.
func LatestDeployedAtGT ¶
LatestDeployedAtGT applies the GT predicate on the "latest_deployed_at" field.
func LatestDeployedAtGTE ¶
LatestDeployedAtGTE applies the GTE predicate on the "latest_deployed_at" field.
func LatestDeployedAtIn ¶
LatestDeployedAtIn applies the In predicate on the "latest_deployed_at" field.
func LatestDeployedAtIsNil ¶
LatestDeployedAtIsNil applies the IsNil predicate on the "latest_deployed_at" field.
func LatestDeployedAtLT ¶
LatestDeployedAtLT applies the LT predicate on the "latest_deployed_at" field.
func LatestDeployedAtLTE ¶
LatestDeployedAtLTE applies the LTE predicate on the "latest_deployed_at" field.
func LatestDeployedAtNEQ ¶
LatestDeployedAtNEQ applies the NEQ predicate on the "latest_deployed_at" field.
func LatestDeployedAtNotIn ¶
LatestDeployedAtNotIn applies the NotIn predicate on the "latest_deployed_at" field.
func LatestDeployedAtNotNil ¶
LatestDeployedAtNotNil applies the NotNil predicate on the "latest_deployed_at" field.
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 Namespace ¶
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WebhookID ¶
WebhookID applies equality check predicate on the "webhook_id" field. It's identical to WebhookIDEQ.
func WebhookIDEQ ¶
WebhookIDEQ applies the EQ predicate on the "webhook_id" field.
func WebhookIDGT ¶
WebhookIDGT applies the GT predicate on the "webhook_id" field.
func WebhookIDGTE ¶
WebhookIDGTE applies the GTE predicate on the "webhook_id" field.
func WebhookIDIn ¶
WebhookIDIn applies the In predicate on the "webhook_id" field.
func WebhookIDIsNil ¶
WebhookIDIsNil applies the IsNil predicate on the "webhook_id" field.
func WebhookIDLT ¶
WebhookIDLT applies the LT predicate on the "webhook_id" field.
func WebhookIDLTE ¶
WebhookIDLTE applies the LTE predicate on the "webhook_id" field.
func WebhookIDNEQ ¶
WebhookIDNEQ applies the NEQ predicate on the "webhook_id" field.
func WebhookIDNotIn ¶
WebhookIDNotIn applies the NotIn predicate on the "webhook_id" field.
func WebhookIDNotNil ¶
WebhookIDNotNil applies the NotNil predicate on the "webhook_id" field.
Types ¶
This section is empty.