package
0.0.0-20220129045345-fa8983b7c4ef
Repository: https://github.com/npoolplatform/application-management.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

# 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.
NewApplicationClient returns a client for the Application from the given config.
NewApplicationGroupClient returns a client for the ApplicationGroup from the given config.
NewApplicationGroupUserClient returns a client for the ApplicationGroupUser from the given config.
NewApplicationResourceClient returns a client for the ApplicationResource from the given config.
NewApplicationRoleClient returns a client for the ApplicationRole from the given config.
NewApplicationRoleUserClient returns a client for the ApplicationRoleUser from the given config.
NewApplicationUserClient returns a client for the ApplicationUser from the given config.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewTxContext returns a new context with the given Tx attached.
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

# Structs

Application is the model entity for the Application schema.
ApplicationClient is a client for the Application schema.
ApplicationCreate is the builder for creating a Application entity.
ApplicationCreateBulk is the builder for creating many Application entities in bulk.
ApplicationDelete is the builder for deleting a Application entity.
ApplicationDeleteOne is the builder for deleting a single Application entity.
ApplicationGroup is the model entity for the ApplicationGroup schema.
ApplicationGroupBy is the group-by builder for Application entities.
ApplicationGroupClient is a client for the ApplicationGroup schema.
ApplicationGroupCreate is the builder for creating a ApplicationGroup entity.
ApplicationGroupCreateBulk is the builder for creating many ApplicationGroup entities in bulk.
ApplicationGroupDelete is the builder for deleting a ApplicationGroup entity.
ApplicationGroupDeleteOne is the builder for deleting a single ApplicationGroup entity.
ApplicationGroupGroupBy is the group-by builder for ApplicationGroup entities.
ApplicationGroupMutation represents an operation that mutates the ApplicationGroup nodes in the graph.
ApplicationGroupQuery is the builder for querying ApplicationGroup entities.
ApplicationGroupSelect is the builder for selecting fields of ApplicationGroup entities.
ApplicationGroupUpdate is the builder for updating ApplicationGroup entities.
ApplicationGroupUpdateOne is the builder for updating a single ApplicationGroup entity.
ApplicationGroupUser is the model entity for the ApplicationGroupUser schema.
ApplicationGroupUserClient is a client for the ApplicationGroupUser schema.
ApplicationGroupUserCreate is the builder for creating a ApplicationGroupUser entity.
ApplicationGroupUserCreateBulk is the builder for creating many ApplicationGroupUser entities in bulk.
ApplicationGroupUserDelete is the builder for deleting a ApplicationGroupUser entity.
ApplicationGroupUserDeleteOne is the builder for deleting a single ApplicationGroupUser entity.
ApplicationGroupUserGroupBy is the group-by builder for ApplicationGroupUser entities.
ApplicationGroupUserMutation represents an operation that mutates the ApplicationGroupUser nodes in the graph.
ApplicationGroupUserQuery is the builder for querying ApplicationGroupUser entities.
ApplicationGroupUserSelect is the builder for selecting fields of ApplicationGroupUser entities.
ApplicationGroupUserUpdate is the builder for updating ApplicationGroupUser entities.
ApplicationGroupUserUpdateOne is the builder for updating a single ApplicationGroupUser entity.
ApplicationMutation represents an operation that mutates the Application nodes in the graph.
ApplicationQuery is the builder for querying Application entities.
ApplicationResource is the model entity for the ApplicationResource schema.
ApplicationResourceClient is a client for the ApplicationResource schema.
ApplicationResourceCreate is the builder for creating a ApplicationResource entity.
ApplicationResourceCreateBulk is the builder for creating many ApplicationResource entities in bulk.
ApplicationResourceDelete is the builder for deleting a ApplicationResource entity.
ApplicationResourceDeleteOne is the builder for deleting a single ApplicationResource entity.
ApplicationResourceGroupBy is the group-by builder for ApplicationResource entities.
ApplicationResourceMutation represents an operation that mutates the ApplicationResource nodes in the graph.
ApplicationResourceQuery is the builder for querying ApplicationResource entities.
ApplicationResourceSelect is the builder for selecting fields of ApplicationResource entities.
ApplicationResourceUpdate is the builder for updating ApplicationResource entities.
ApplicationResourceUpdateOne is the builder for updating a single ApplicationResource entity.
ApplicationRole is the model entity for the ApplicationRole schema.
ApplicationRoleClient is a client for the ApplicationRole schema.
ApplicationRoleCreate is the builder for creating a ApplicationRole entity.
ApplicationRoleCreateBulk is the builder for creating many ApplicationRole entities in bulk.
ApplicationRoleDelete is the builder for deleting a ApplicationRole entity.
ApplicationRoleDeleteOne is the builder for deleting a single ApplicationRole entity.
ApplicationRoleGroupBy is the group-by builder for ApplicationRole entities.
ApplicationRoleMutation represents an operation that mutates the ApplicationRole nodes in the graph.
ApplicationRoleQuery is the builder for querying ApplicationRole entities.
ApplicationRoleSelect is the builder for selecting fields of ApplicationRole entities.
ApplicationRoleUpdate is the builder for updating ApplicationRole entities.
ApplicationRoleUpdateOne is the builder for updating a single ApplicationRole entity.
ApplicationRoleUser is the model entity for the ApplicationRoleUser schema.
ApplicationRoleUserClient is a client for the ApplicationRoleUser schema.
ApplicationRoleUserCreate is the builder for creating a ApplicationRoleUser entity.
ApplicationRoleUserCreateBulk is the builder for creating many ApplicationRoleUser entities in bulk.
ApplicationRoleUserDelete is the builder for deleting a ApplicationRoleUser entity.
ApplicationRoleUserDeleteOne is the builder for deleting a single ApplicationRoleUser entity.
ApplicationRoleUserGroupBy is the group-by builder for ApplicationRoleUser entities.
ApplicationRoleUserMutation represents an operation that mutates the ApplicationRoleUser nodes in the graph.
ApplicationRoleUserQuery is the builder for querying ApplicationRoleUser entities.
ApplicationRoleUserSelect is the builder for selecting fields of ApplicationRoleUser entities.
ApplicationRoleUserUpdate is the builder for updating ApplicationRoleUser entities.
ApplicationRoleUserUpdateOne is the builder for updating a single ApplicationRoleUser entity.
ApplicationSelect is the builder for selecting fields of Application entities.
ApplicationUpdate is the builder for updating Application entities.
ApplicationUpdateOne is the builder for updating a single Application entity.
ApplicationUser is the model entity for the ApplicationUser schema.
ApplicationUserClient is a client for the ApplicationUser schema.
ApplicationUserCreate is the builder for creating a ApplicationUser entity.
ApplicationUserCreateBulk is the builder for creating many ApplicationUser entities in bulk.
ApplicationUserDelete is the builder for deleting a ApplicationUser entity.
ApplicationUserDeleteOne is the builder for deleting a single ApplicationUser entity.
ApplicationUserGroupBy is the group-by builder for ApplicationUser entities.
ApplicationUserMutation represents an operation that mutates the ApplicationUser nodes in the graph.
ApplicationUserQuery is the builder for querying ApplicationUser entities.
ApplicationUserSelect is the builder for selecting fields of ApplicationUser entities.
ApplicationUserUpdate is the builder for updating ApplicationUser entities.
ApplicationUserUpdateOne is the builder for updating a single ApplicationUser 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.
NotFoundError returns when trying to fetch a specific entity and it was not found in the database.
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.
Tx is a transactional client that is created by calling Client.Tx().
ValidationError returns when validating a field 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.
ApplicationGroups is a parsable slice of ApplicationGroup.
ApplicationGroupUsers is a parsable slice of ApplicationGroupUser.
ApplicationResources is a parsable slice of ApplicationResource.
ApplicationRoles is a parsable slice of ApplicationRole.
ApplicationRoleUsers is a parsable slice of ApplicationRoleUser.
Applications is a parsable slice of Application.
ApplicationUsers is a parsable slice of ApplicationUser.
No description provided by the author
No description provided by the author
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.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
Option function to configure the client.
OrderFunc applies an ordering on the sql selector.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
No description provided by the author
No description provided by the author
ent aliases to avoid import conflicts in user's code.