package
0.0.0-20240430124035-aae10642ac46
Repository: https://github.com/orbit-ops/launchpad-core.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
Code generated by ogen, DO NOT EDIT.
Code generated by ogent-auth, DO NOT EDIT.
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.
NewAccessClient returns a client for the Access from the given config.
NewActionTokensClient returns a client for the ActionTokens from the given config.
NewApiKeyClient returns a client for the ApiKey from the given config.
NewApprovalClient returns a client for the Approval from the given config.
NewAuditClient returns a client for the Audit from the given config.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewMissionClient returns a client for the Mission from the given config.
NewRequestClient returns a client for the Request from the given config.
NewRocketClient returns a client for the Rocket from the given config.
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
No description provided by the author
# Variables
ErrTxStarted is returned when trying to start a new transaction from a transactional client.
# Structs
Access is the model entity for the Access schema.
AccessClient is a client for the Access schema.
AccessCreate is the builder for creating a Access entity.
AccessCreateBulk is the builder for creating many Access entities in bulk.
AccessDelete is the builder for deleting a Access entity.
AccessDeleteOne is the builder for deleting a single Access entity.
AccessEdges holds the relations/edges for other nodes in the graph.
AccessGroupBy is the group-by builder for Access entities.
AccessMutation represents an operation that mutates the Access nodes in the graph.
AccessQuery is the builder for querying Access entities.
AccessSelect is the builder for selecting fields of Access entities.
AccessUpdate is the builder for updating Access entities.
AccessUpdateOne is the builder for updating a single Access entity.
No description provided by the author
AccessUpsertBulk is the builder for "upsert"-ing a bulk of Access nodes.
No description provided by the author
ActionTokens is the model entity for the ActionTokens schema.
ActionTokensClient is a client for the ActionTokens schema.
ActionTokensCreate is the builder for creating a ActionTokens entity.
ActionTokensCreateBulk is the builder for creating many ActionTokens entities in bulk.
ActionTokensDelete is the builder for deleting a ActionTokens entity.
ActionTokensDeleteOne is the builder for deleting a single ActionTokens entity.
ActionTokensEdges holds the relations/edges for other nodes in the graph.
ActionTokensGroupBy is the group-by builder for ActionTokens entities.
ActionTokensMutation represents an operation that mutates the ActionTokens nodes in the graph.
ActionTokensQuery is the builder for querying ActionTokens entities.
ActionTokensSelect is the builder for selecting fields of ActionTokens entities.
ActionTokensUpdate is the builder for updating ActionTokens entities.
ActionTokensUpdateOne is the builder for updating a single ActionTokens entity.
No description provided by the author
ActionTokensUpsertBulk is the builder for "upsert"-ing a bulk of ActionTokens nodes.
No description provided by the author
ApiKey is the model entity for the ApiKey schema.
ApiKeyClient is a client for the ApiKey schema.
ApiKeyCreate is the builder for creating a ApiKey entity.
ApiKeyCreateBulk is the builder for creating many ApiKey entities in bulk.
ApiKeyDelete is the builder for deleting a ApiKey entity.
ApiKeyDeleteOne is the builder for deleting a single ApiKey entity.
ApiKeyGroupBy is the group-by builder for ApiKey entities.
ApiKeyMutation represents an operation that mutates the ApiKey nodes in the graph.
ApiKeyQuery is the builder for querying ApiKey entities.
ApiKeySelect is the builder for selecting fields of ApiKey entities.
ApiKeyUpdate is the builder for updating ApiKey entities.
ApiKeyUpdateOne is the builder for updating a single ApiKey entity.
No description provided by the author
ApiKeyUpsertBulk is the builder for "upsert"-ing a bulk of ApiKey nodes.
No description provided by the author
Approval is the model entity for the Approval schema.
ApprovalClient is a client for the Approval schema.
ApprovalCreate is the builder for creating a Approval entity.
ApprovalCreateBulk is the builder for creating many Approval entities in bulk.
ApprovalDelete is the builder for deleting a Approval entity.
ApprovalDeleteOne is the builder for deleting a single Approval entity.
ApprovalEdges holds the relations/edges for other nodes in the graph.
ApprovalGroupBy is the group-by builder for Approval entities.
ApprovalMutation represents an operation that mutates the Approval nodes in the graph.
ApprovalQuery is the builder for querying Approval entities.
ApprovalSelect is the builder for selecting fields of Approval entities.
ApprovalUpdate is the builder for updating Approval entities.
ApprovalUpdateOne is the builder for updating a single Approval entity.
No description provided by the author
ApprovalUpsertBulk is the builder for "upsert"-ing a bulk of Approval nodes.
No description provided by the author
Audit is the model entity for the Audit schema.
AuditClient is a client for the Audit schema.
AuditCreate is the builder for creating a Audit entity.
AuditCreateBulk is the builder for creating many Audit entities in bulk.
AuditDelete is the builder for deleting a Audit entity.
AuditDeleteOne is the builder for deleting a single Audit entity.
AuditGroupBy is the group-by builder for Audit entities.
AuditMutation represents an operation that mutates the Audit nodes in the graph.
AuditQuery is the builder for querying Audit entities.
AuditSelect is the builder for selecting fields of Audit entities.
AuditUpdate is the builder for updating Audit entities.
AuditUpdateOne is the builder for updating a single Audit entity.
No description provided by the author
AuditUpsertBulk is the builder for "upsert"-ing a bulk of Audit nodes.
No description provided by the author
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.
Mission is the model entity for the Mission schema.
MissionClient is a client for the Mission schema.
MissionCreate is the builder for creating a Mission entity.
MissionCreateBulk is the builder for creating many Mission entities in bulk.
MissionDelete is the builder for deleting a Mission entity.
MissionDeleteOne is the builder for deleting a single Mission entity.
MissionEdges holds the relations/edges for other nodes in the graph.
MissionGroupBy is the group-by builder for Mission entities.
MissionMutation represents an operation that mutates the Mission nodes in the graph.
MissionQuery is the builder for querying Mission entities.
MissionSelect is the builder for selecting fields of Mission entities.
MissionUpdate is the builder for updating Mission entities.
MissionUpdateOne is the builder for updating a single Mission entity.
No description provided by the author
MissionUpsertBulk is the builder for "upsert"-ing a bulk of Mission nodes.
No description provided by the author
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.
Request is the model entity for the Request schema.
RequestClient is a client for the Request schema.
RequestCreate is the builder for creating a Request entity.
RequestCreateBulk is the builder for creating many Request entities in bulk.
RequestDelete is the builder for deleting a Request entity.
RequestDeleteOne is the builder for deleting a single Request entity.
RequestEdges holds the relations/edges for other nodes in the graph.
RequestGroupBy is the group-by builder for Request entities.
RequestMutation represents an operation that mutates the Request nodes in the graph.
RequestQuery is the builder for querying Request entities.
RequestSelect is the builder for selecting fields of Request entities.
RequestUpdate is the builder for updating Request entities.
RequestUpdateOne is the builder for updating a single Request entity.
No description provided by the author
RequestUpsertBulk is the builder for "upsert"-ing a bulk of Request nodes.
No description provided by the author
Rocket is the model entity for the Rocket schema.
RocketClient is a client for the Rocket schema.
RocketCreate is the builder for creating a Rocket entity.
RocketCreateBulk is the builder for creating many Rocket entities in bulk.
RocketDelete is the builder for deleting a Rocket entity.
RocketDeleteOne is the builder for deleting a single Rocket entity.
RocketGroupBy is the group-by builder for Rocket entities.
RocketMutation represents an operation that mutates the Rocket nodes in the graph.
RocketQuery is the builder for querying Rocket entities.
RocketSelect is the builder for selecting fields of Rocket entities.
RocketUpdate is the builder for updating Rocket entities.
RocketUpdateOne is the builder for updating a single Rocket entity.
No description provided by the author
RocketUpsertBulk is the builder for "upsert"-ing a bulk of Rocket nodes.
No description provided by the author
Tx is a transactional client that is created by calling Client.Tx().
ValidationError returns when validating a field or edge fails.
# Type aliases
Accesses is a parsable slice of Access.
ActionTokensSlice is a parsable slice of ActionTokens.
AggregateFunc applies an aggregation step on the group-by traversal/selector.
ApiKeys is a parsable slice of ApiKey.
Approvals is a parsable slice of Approval.
Audits is a parsable slice of Audit.
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.
Missions is a parsable slice of Mission.
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.
No description provided by the author
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.
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.
Requests is a parsable slice of Request.
Rockets is a parsable slice of Rocket.
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.