# 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
# 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.
EventsPublisher configures the EventsPublisher.
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.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewLoadBalancerClient returns a client for the LoadBalancer from the given config.
NewOriginClient returns a client for the Origin from the given config.
NewPoolClient returns a client for the Pool from the given config.
NewPortClient returns a client for the Port from the given config.
NewProviderClient returns a client for the Provider 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.
OpenTxFromContext open transactions from client stored in context.
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.
WithFixedNodeType sets the Type of the node to a fixed value.
WithLoadBalancerFilter configures pagination filter.
WithLoadBalancerOrder configures pagination ordering.
WithLoadBalancerOriginFilter configures pagination filter.
WithLoadBalancerOriginOrder configures pagination ordering.
WithLoadBalancerPoolFilter configures pagination filter.
WithLoadBalancerPoolOrder configures pagination ordering.
WithLoadBalancerPortFilter configures pagination filter.
WithLoadBalancerPortOrder configures pagination ordering.
WithLoadBalancerProviderFilter configures pagination filter.
WithLoadBalancerProviderOrder configures pagination ordering.
WithNodeType sets the node Type resolver function (i.e.
# 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
# Variables
DefaultLoadBalancerOrder is the default ordering of LoadBalancer.
DefaultLoadBalancerOriginOrder is the default ordering of Origin.
DefaultLoadBalancerPoolOrder is the default ordering of Pool.
DefaultLoadBalancerPortOrder is the default ordering of Port.
DefaultLoadBalancerProviderOrder is the default ordering of Provider.
ErrEmptyLoadBalancerOriginWhereInput is returned in case the LoadBalancerOriginWhereInput is empty.
ErrEmptyLoadBalancerPoolWhereInput is returned in case the LoadBalancerPoolWhereInput is empty.
ErrEmptyLoadBalancerPortWhereInput is returned in case the LoadBalancerPortWhereInput is empty.
ErrEmptyLoadBalancerProviderWhereInput is returned in case the LoadBalancerProviderWhereInput is empty.
ErrEmptyLoadBalancerWhereInput is returned in case the LoadBalancerWhereInput is empty.
ErrTxStarted is returned when trying to start a new transaction from a transactional client.
LoadBalancerOrderFieldCreatedAt orders LoadBalancer by created_at.
LoadBalancerOrderFieldCreatedBy orders LoadBalancer by created_by.
LoadBalancerOrderFieldDeletedAt orders LoadBalancer by deleted_at.
LoadBalancerOrderFieldDeletedBy orders LoadBalancer by deleted_by.
LoadBalancerOrderFieldID orders LoadBalancer by id.
LoadBalancerOrderFieldName orders LoadBalancer by name.
LoadBalancerOrderFieldOwnerID orders LoadBalancer by owner_id.
LoadBalancerOrderFieldUpdatedAt orders LoadBalancer by updated_at.
LoadBalancerOrderFieldUpdatedBy orders LoadBalancer by updated_by.
OriginOrderFieldActive orders Origin by active.
OriginOrderFieldCreatedAt orders Origin by created_at.
OriginOrderFieldCreatedBy orders Origin by created_by.
OriginOrderFieldDeletedAt orders Origin by deleted_at.
OriginOrderFieldDeletedBy orders Origin by deleted_by.
OriginOrderFieldName orders Origin by name.
OriginOrderFieldPortNumber orders Origin by port_number.
OriginOrderFieldTarget orders Origin by target.
OriginOrderFieldUpdatedAt orders Origin by updated_at.
OriginOrderFieldUpdatedBy orders Origin by updated_by.
OriginOrderFieldWeight orders Origin by weight.
PoolOrderFieldCreatedAt orders Pool by created_at.
PoolOrderFieldCreatedBy orders Pool by created_by.
PoolOrderFieldDeletedAt orders Pool by deleted_at.
PoolOrderFieldDeletedBy orders Pool by deleted_by.
PoolOrderFieldName orders Pool by name.
PoolOrderFieldProtocol orders Pool by protocol.
PoolOrderFieldUpdatedAt orders Pool by updated_at.
PoolOrderFieldUpdatedBy orders Pool by updated_by.
PortOrderFieldCreatedAt orders Port by created_at.
PortOrderFieldCreatedBy orders Port by created_by.
PortOrderFieldDeletedAt orders Port by deleted_at.
PortOrderFieldDeletedBy orders Port by deleted_by.
PortOrderFieldName orders Port by name.
PortOrderFieldNumber orders Port by number.
PortOrderFieldUpdatedAt orders Port by updated_at.
PortOrderFieldUpdatedBy orders Port by updated_by.
ProviderOrderFieldCreatedAt orders Provider by created_at.
ProviderOrderFieldCreatedBy orders Provider by created_by.
ProviderOrderFieldDeletedAt orders Provider by deleted_at.
ProviderOrderFieldDeletedBy orders Provider by deleted_by.
ProviderOrderFieldID orders Provider by id.
ProviderOrderFieldName orders Provider by name.
ProviderOrderFieldOwnerID orders Provider by owner_id.
ProviderOrderFieldUpdatedAt orders Provider by updated_at.
ProviderOrderFieldUpdatedBy orders Provider by updated_by.
# Structs
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.
CreateLoadBalancerInput represents a mutation input for creating loadbalancers.
CreateLoadBalancerOriginInput represents a mutation input for creating loadbalancerorigins.
CreateLoadBalancerPoolInput represents a mutation input for creating loadbalancerpools.
CreateLoadBalancerPortInput represents a mutation input for creating loadbalancerports.
CreateLoadBalancerProviderInput represents a mutation input for creating loadbalancerproviders.
Representation of a load balancer.
LoadBalancerClient is a client for the LoadBalancer schema.
LoadBalancerConnection is the connection containing edges to LoadBalancer.
LoadBalancerCreate is the builder for creating a LoadBalancer entity.
LoadBalancerCreateBulk is the builder for creating many LoadBalancer entities in bulk.
LoadBalancerDelete is the builder for deleting a LoadBalancer entity.
LoadBalancerDeleteOne is the builder for deleting a single LoadBalancer entity.
LoadBalancerEdge is the edge representation of LoadBalancer.
LoadBalancerEdges holds the relations/edges for other nodes in the graph.
LoadBalancerGroupBy is the group-by builder for LoadBalancer entities.
LoadBalancerMutation represents an operation that mutates the LoadBalancer nodes in the graph.
LoadBalancerOrder defines the ordering of LoadBalancer.
LoadBalancerOrderField defines the ordering field of LoadBalancer.
LoadBalancerOriginConnection is the connection containing edges to LoadBalancerOrigin.
LoadBalancerOriginEdge is the edge representation of LoadBalancerOrigin.
LoadBalancerOriginOrder defines the ordering of Origin.
LoadBalancerOriginOrderField defines the ordering field of Origin.
LoadBalancerOriginWhereInput represents a where input for filtering Origin queries.
LoadBalancerPoolConnection is the connection containing edges to LoadBalancerPool.
LoadBalancerPoolEdge is the edge representation of LoadBalancerPool.
LoadBalancerPoolOrder defines the ordering of Pool.
LoadBalancerPoolOrderField defines the ordering field of Pool.
LoadBalancerPoolWhereInput represents a where input for filtering Pool queries.
LoadBalancerPortConnection is the connection containing edges to LoadBalancerPort.
LoadBalancerPortEdge is the edge representation of LoadBalancerPort.
LoadBalancerPortOrder defines the ordering of Port.
LoadBalancerPortOrderField defines the ordering field of Port.
LoadBalancerPortWhereInput represents a where input for filtering Port queries.
LoadBalancerProviderConnection is the connection containing edges to LoadBalancerProvider.
LoadBalancerProviderEdge is the edge representation of LoadBalancerProvider.
LoadBalancerProviderOrder defines the ordering of Provider.
LoadBalancerProviderOrderField defines the ordering field of Provider.
LoadBalancerProviderWhereInput represents a where input for filtering Provider queries.
LoadBalancerQuery is the builder for querying LoadBalancer entities.
LoadBalancerSelect is the builder for selecting fields of LoadBalancer entities.
LoadBalancerUpdate is the builder for updating LoadBalancer entities.
LoadBalancerUpdateOne is the builder for updating a single LoadBalancer entity.
LoadBalancerWhereInput represents a where input for filtering LoadBalancer queries.
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.
Origin is the model entity for the Origin schema.
OriginClient is a client for the Origin schema.
OriginCreate is the builder for creating a Origin entity.
OriginCreateBulk is the builder for creating many Origin entities in bulk.
OriginDelete is the builder for deleting a Origin entity.
OriginDeleteOne is the builder for deleting a single Origin entity.
OriginEdges holds the relations/edges for other nodes in the graph.
OriginGroupBy is the group-by builder for Origin entities.
OriginMutation represents an operation that mutates the Origin nodes in the graph.
OriginQuery is the builder for querying Origin entities.
OriginSelect is the builder for selecting fields of Origin entities.
OriginUpdate is the builder for updating Origin entities.
OriginUpdateOne is the builder for updating a single Origin entity.
Pool is the model entity for the Pool schema.
PoolClient is a client for the Pool schema.
PoolCreate is the builder for creating a Pool entity.
PoolCreateBulk is the builder for creating many Pool entities in bulk.
PoolDelete is the builder for deleting a Pool entity.
PoolDeleteOne is the builder for deleting a single Pool entity.
PoolEdges holds the relations/edges for other nodes in the graph.
PoolGroupBy is the group-by builder for Pool entities.
PoolMutation represents an operation that mutates the Pool nodes in the graph.
PoolQuery is the builder for querying Pool entities.
PoolSelect is the builder for selecting fields of Pool entities.
PoolUpdate is the builder for updating Pool entities.
PoolUpdateOne is the builder for updating a single Pool entity.
Port is the model entity for the Port schema.
PortClient is a client for the Port schema.
PortCreate is the builder for creating a Port entity.
PortCreateBulk is the builder for creating many Port entities in bulk.
PortDelete is the builder for deleting a Port entity.
PortDeleteOne is the builder for deleting a single Port entity.
PortEdges holds the relations/edges for other nodes in the graph.
PortGroupBy is the group-by builder for Port entities.
PortMutation represents an operation that mutates the Port nodes in the graph.
PortQuery is the builder for querying Port entities.
PortSelect is the builder for selecting fields of Port entities.
PortUpdate is the builder for updating Port entities.
PortUpdateOne is the builder for updating a single Port entity.
Representation of a load balancer provider.
ProviderClient is a client for the Provider schema.
ProviderCreate is the builder for creating a Provider entity.
ProviderCreateBulk is the builder for creating many Provider entities in bulk.
ProviderDelete is the builder for deleting a Provider entity.
ProviderDeleteOne is the builder for deleting a single Provider entity.
ProviderEdges holds the relations/edges for other nodes in the graph.
ProviderGroupBy is the group-by builder for Provider entities.
ProviderMutation represents an operation that mutates the Provider nodes in the graph.
ProviderQuery is the builder for querying Provider entities.
ProviderSelect is the builder for selecting fields of Provider entities.
ProviderUpdate is the builder for updating Provider entities.
ProviderUpdateOne is the builder for updating a single Provider entity.
Tx is a transactional client that is created by calling Client.Tx().
UpdateLoadBalancerInput represents a mutation input for updating loadbalancers.
UpdateLoadBalancerOriginInput represents a mutation input for updating loadbalancerorigins.
UpdateLoadBalancerPoolInput represents a mutation input for updating loadbalancerpools.
UpdateLoadBalancerPortInput represents a mutation input for updating loadbalancerports.
UpdateLoadBalancerProviderInput represents a mutation input for updating loadbalancerproviders.
ValidationError returns when validating a field or edge fails.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
Noder wraps the basic Node method.
No description provided by the author
# Type aliases
AggregateFunc applies an aggregation step on the group-by traversal/selector.
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.
LoadBalancerOrigin is the type alias for Origin.
LoadBalancerOriginPaginateOption enables pagination customization.
LoadBalancerPaginateOption enables pagination customization.
LoadBalancerPool is the type alias for Pool.
LoadBalancerPoolPaginateOption enables pagination customization.
LoadBalancerPort is the type alias for Port.
LoadBalancerPortPaginateOption enables pagination customization.
LoadBalancerProvider is the type alias for Provider.
LoadBalancerProviderPaginateOption enables pagination customization.
LoadBalancers is a parsable slice of LoadBalancer.
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.
NodeOption allows configuring the Noder execution using functional options.
ent aliases to avoid import conflicts in user's code.
No description provided by the author
Common entgql types.
OrderFunc applies an ordering on the sql selector.
Origins is a parsable slice of Origin.
ent aliases to avoid import conflicts in user's code.
Pools is a parsable slice of Pool.
Ports is a parsable slice of Port.
Providers is a parsable slice of Provider.
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
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.