package
0.7.4
Repository: https://github.com/gitploy-io/gitploy.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

As is a pseudo aggregation function for renaming another other functions with custom names.
Asc applies the given fields in ASC order.
Count applies the "count" aggregation function on each group.
Debug enables debug logging on the ent.Driver.
Desc applies the given fields in DESC order.
Driver configures the client driver.
FromContext returns a Client stored inside a context, or nil if there isn't one.
IsConstraintError returns a boolean indicating whether the error is a constraint failure.
IsNotFound returns a boolean indicating whether the error is a not found error.
IsNotLoaded returns a boolean indicating whether the error is a not loaded error.
IsNotSingular returns a boolean indicating whether the error is a not singular error.
IsValidationError returns a boolean indicating whether the error is a validation error.
Log sets the logging function for debug mode.
MaskNotFound masks not found error.
Max applies the "max" aggregation function on the given field of each group.
Mean applies the "mean" aggregation function on the given field of each group.
Min applies the "min" aggregation function on the given field of each group.
NewChatUserClient returns a client for the ChatUser from the given config.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewDeploymentClient returns a client for the Deployment from the given config.
NewDeploymentStatisticsClient returns a client for the DeploymentStatistics from the given config.
NewDeploymentStatusClient returns a client for the DeploymentStatus from the given config.
NewEventClient returns a client for the Event from the given config.
NewLockClient returns a client for the Lock from the given config.
NewNotificationRecordClient returns a client for the NotificationRecord from the given config.
NewPermClient returns a client for the Perm from the given config.
NewRepoClient returns a client for the Repo from the given config.
NewReviewClient returns a client for the Review from the given config.
NewTxContext returns a new context with the given Tx attached.
NewUserClient returns a client for the User from the given config.
Open opens a database/sql.DB specified by the driver name and the data source name, and returns a new client attached to it.
Sum applies the "sum" aggregation function on the given field of each group.
TxFromContext returns a Tx stored inside a context, or nil if there isn't one.

# Constants

Operation types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Node types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ChatUser is the model entity for the ChatUser schema.
ChatUserClient is a client for the ChatUser schema.
ChatUserCreate is the builder for creating a ChatUser entity.
ChatUserCreateBulk is the builder for creating many ChatUser entities in bulk.
ChatUserDelete is the builder for deleting a ChatUser entity.
ChatUserDeleteOne is the builder for deleting a single ChatUser entity.
ChatUserEdges holds the relations/edges for other nodes in the graph.
ChatUserGroupBy is the group-by builder for ChatUser entities.
ChatUserMutation represents an operation that mutates the ChatUser nodes in the graph.
ChatUserQuery is the builder for querying ChatUser entities.
ChatUserSelect is the builder for selecting fields of ChatUser entities.
ChatUserUpdate is the builder for updating ChatUser entities.
ChatUserUpdateOne is the builder for updating a single ChatUser entity.
Client is the client that holds all ent builders.
ConstraintError returns when trying to create/update one or more entities and one or more of their constraints failed.
Deployment is the model entity for the Deployment schema.
DeploymentClient is a client for the Deployment schema.
DeploymentCreate is the builder for creating a Deployment entity.
DeploymentCreateBulk is the builder for creating many Deployment entities in bulk.
DeploymentDelete is the builder for deleting a Deployment entity.
DeploymentDeleteOne is the builder for deleting a single Deployment entity.
DeploymentEdges holds the relations/edges for other nodes in the graph.
DeploymentGroupBy is the group-by builder for Deployment entities.
DeploymentMutation represents an operation that mutates the Deployment nodes in the graph.
DeploymentQuery is the builder for querying Deployment entities.
DeploymentSelect is the builder for selecting fields of Deployment entities.
DeploymentStatistics is the model entity for the DeploymentStatistics schema.
DeploymentStatisticsClient is a client for the DeploymentStatistics schema.
DeploymentStatisticsCreate is the builder for creating a DeploymentStatistics entity.
DeploymentStatisticsCreateBulk is the builder for creating many DeploymentStatistics entities in bulk.
DeploymentStatisticsDelete is the builder for deleting a DeploymentStatistics entity.
DeploymentStatisticsDeleteOne is the builder for deleting a single DeploymentStatistics entity.
DeploymentStatisticsEdges holds the relations/edges for other nodes in the graph.
DeploymentStatisticsGroupBy is the group-by builder for DeploymentStatistics entities.
DeploymentStatisticsMutation represents an operation that mutates the DeploymentStatistics nodes in the graph.
DeploymentStatisticsQuery is the builder for querying DeploymentStatistics entities.
DeploymentStatisticsSelect is the builder for selecting fields of DeploymentStatistics entities.
DeploymentStatisticsUpdate is the builder for updating DeploymentStatistics entities.
DeploymentStatisticsUpdateOne is the builder for updating a single DeploymentStatistics entity.
DeploymentStatus is the model entity for the DeploymentStatus schema.
DeploymentStatusClient is a client for the DeploymentStatus schema.
DeploymentStatusCreate is the builder for creating a DeploymentStatus entity.
DeploymentStatusCreateBulk is the builder for creating many DeploymentStatus entities in bulk.
DeploymentStatusDelete is the builder for deleting a DeploymentStatus entity.
DeploymentStatusDeleteOne is the builder for deleting a single DeploymentStatus entity.
DeploymentStatusEdges holds the relations/edges for other nodes in the graph.
DeploymentStatusGroupBy is the group-by builder for DeploymentStatus entities.
DeploymentStatusMutation represents an operation that mutates the DeploymentStatus nodes in the graph.
DeploymentStatusQuery is the builder for querying DeploymentStatus entities.
DeploymentStatusSelect is the builder for selecting fields of DeploymentStatus entities.
DeploymentStatusUpdate is the builder for updating DeploymentStatus entities.
DeploymentStatusUpdateOne is the builder for updating a single DeploymentStatus entity.
DeploymentUpdate is the builder for updating Deployment entities.
DeploymentUpdateOne is the builder for updating a single Deployment entity.
Event is the model entity for the Event schema.
EventClient is a client for the Event schema.
EventCreate is the builder for creating a Event entity.
EventCreateBulk is the builder for creating many Event entities in bulk.
EventDelete is the builder for deleting a Event entity.
EventDeleteOne is the builder for deleting a single Event entity.
EventEdges holds the relations/edges for other nodes in the graph.
EventGroupBy is the group-by builder for Event entities.
EventMutation represents an operation that mutates the Event nodes in the graph.
EventQuery is the builder for querying Event entities.
EventSelect is the builder for selecting fields of Event entities.
EventUpdate is the builder for updating Event entities.
EventUpdateOne is the builder for updating a single Event entity.
Lock is the model entity for the Lock schema.
LockClient is a client for the Lock schema.
LockCreate is the builder for creating a Lock entity.
LockCreateBulk is the builder for creating many Lock entities in bulk.
LockDelete is the builder for deleting a Lock entity.
LockDeleteOne is the builder for deleting a single Lock entity.
LockEdges holds the relations/edges for other nodes in the graph.
LockGroupBy is the group-by builder for Lock entities.
LockMutation represents an operation that mutates the Lock nodes in the graph.
LockQuery is the builder for querying Lock entities.
LockSelect is the builder for selecting fields of Lock entities.
LockUpdate is the builder for updating Lock entities.
LockUpdateOne is the builder for updating a single Lock entity.
NotFoundError returns when trying to fetch a specific entity and it was not found in the database.
NotificationRecord is the model entity for the NotificationRecord schema.
NotificationRecordClient is a client for the NotificationRecord schema.
NotificationRecordCreate is the builder for creating a NotificationRecord entity.
NotificationRecordCreateBulk is the builder for creating many NotificationRecord entities in bulk.
NotificationRecordDelete is the builder for deleting a NotificationRecord entity.
NotificationRecordDeleteOne is the builder for deleting a single NotificationRecord entity.
NotificationRecordEdges holds the relations/edges for other nodes in the graph.
NotificationRecordGroupBy is the group-by builder for NotificationRecord entities.
NotificationRecordMutation represents an operation that mutates the NotificationRecord nodes in the graph.
NotificationRecordQuery is the builder for querying NotificationRecord entities.
NotificationRecordSelect is the builder for selecting fields of NotificationRecord entities.
NotificationRecordUpdate is the builder for updating NotificationRecord entities.
NotificationRecordUpdateOne is the builder for updating a single NotificationRecord entity.
NotLoadedError returns when trying to get a node that was not loaded by the query.
NotSingularError returns when trying to fetch a singular entity and more then one was found in the database.
Perm is the model entity for the Perm schema.
PermClient is a client for the Perm schema.
PermCreate is the builder for creating a Perm entity.
PermCreateBulk is the builder for creating many Perm entities in bulk.
PermDelete is the builder for deleting a Perm entity.
PermDeleteOne is the builder for deleting a single Perm entity.
PermEdges holds the relations/edges for other nodes in the graph.
PermGroupBy is the group-by builder for Perm entities.
PermMutation represents an operation that mutates the Perm nodes in the graph.
PermQuery is the builder for querying Perm entities.
PermSelect is the builder for selecting fields of Perm entities.
PermUpdate is the builder for updating Perm entities.
PermUpdateOne is the builder for updating a single Perm entity.
Repo is the model entity for the Repo schema.
RepoClient is a client for the Repo schema.
RepoCreate is the builder for creating a Repo entity.
RepoCreateBulk is the builder for creating many Repo entities in bulk.
RepoDelete is the builder for deleting a Repo entity.
RepoDeleteOne is the builder for deleting a single Repo entity.
RepoEdges holds the relations/edges for other nodes in the graph.
RepoGroupBy is the group-by builder for Repo entities.
RepoMutation represents an operation that mutates the Repo nodes in the graph.
RepoQuery is the builder for querying Repo entities.
RepoSelect is the builder for selecting fields of Repo entities.
RepoUpdate is the builder for updating Repo entities.
RepoUpdateOne is the builder for updating a single Repo entity.
Review is the model entity for the Review schema.
ReviewClient is a client for the Review schema.
ReviewCreate is the builder for creating a Review entity.
ReviewCreateBulk is the builder for creating many Review entities in bulk.
ReviewDelete is the builder for deleting a Review entity.
ReviewDeleteOne is the builder for deleting a single Review entity.
ReviewEdges holds the relations/edges for other nodes in the graph.
ReviewGroupBy is the group-by builder for Review entities.
ReviewMutation represents an operation that mutates the Review nodes in the graph.
ReviewQuery is the builder for querying Review entities.
ReviewSelect is the builder for selecting fields of Review entities.
ReviewUpdate is the builder for updating Review entities.
ReviewUpdateOne is the builder for updating a single Review entity.
Tx is a transactional client that is created by calling Client.Tx().
User is the model entity for the User schema.
UserClient is a client for the User schema.
UserCreate is the builder for creating a User entity.
UserCreateBulk is the builder for creating many User entities in bulk.
UserDelete is the builder for deleting a User entity.
UserDeleteOne is the builder for deleting a single User entity.
UserEdges holds the relations/edges for other nodes in the graph.
UserGroupBy is the group-by builder for User entities.
UserMutation represents an operation that mutates the User nodes in the graph.
UserQuery is the builder for querying User entities.
UserSelect is the builder for selecting fields of User entities.
UserUpdate is the builder for updating User entities.
UserUpdateOne is the builder for updating a single User entity.
ValidationError returns when validating a field or edge fails.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

AggregateFunc applies an aggregation step on the group-by traversal/selector.
ChatUsers is a parsable slice of ChatUser.
No description provided by the author
No description provided by the author
Deployments is a parsable slice of Deployment.
DeploymentStatisticsSlice is a parsable slice of DeploymentStatistics.
DeploymentStatusSlice is a parsable slice of DeploymentStatus.
Events is a parsable slice of Event.
ent aliases to avoid import conflicts in user's code.
Locks is a parsable slice of Lock.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
NotificationRecords is a parsable slice of NotificationRecord.
ent aliases to avoid import conflicts in user's code.
Option function to configure the client.
OrderFunc applies an ordering on the sql selector.
Perms is a parsable slice of Perm.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
Repos is a parsable slice of Repo.
Reviews is a parsable slice of Review.
No description provided by the author
No description provided by the author
Users is a parsable slice of User.
ent aliases to avoid import conflicts in user's code.