package
0.0.0-20240901231009-eb42921377a1
Repository: https://github.com/strrl/kubernetes-auditing-dashboard.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

# 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.
NewAuditEventClient returns a client for the AuditEvent from the given config.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewResourceKindClient returns a client for the ResourceKind from the given config.
NewTxContext returns a new context with the given Tx attached.
NewViewClient returns a client for the View 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.
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.
WithAuditEventFilter configures pagination filter.
WithAuditEventOrder configures pagination ordering.
WithFixedNodeType sets the Type of the node to a fixed value.
WithNodeType sets the node Type resolver function (i.e.
WithResourceKindFilter configures pagination filter.
WithResourceKindOrder configures pagination ordering.
WithViewFilter configures pagination filter.
WithViewOrder configures pagination ordering.

# 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

# Variables

AuditEventOrderFieldRequestTimestamp orders AuditEvent by requestTimestamp.
AuditEventOrderFieldStageTimestamp orders AuditEvent by stageTimestamp.
DefaultAuditEventOrder is the default ordering of AuditEvent.
DefaultResourceKindOrder is the default ordering of ResourceKind.
DefaultViewOrder is the default ordering of View.
ErrEmptyAuditEventWhereInput is returned in case the AuditEventWhereInput is empty.
ErrEmptyResourceKindWhereInput is returned in case the ResourceKindWhereInput is empty.
ErrEmptyViewWhereInput is returned in case the ViewWhereInput is empty.
ErrTxStarted is returned when trying to start a new transaction from a transactional client.

# Structs

AuditEvent is the model entity for the AuditEvent schema.
AuditEventClient is a client for the AuditEvent schema.
AuditEventConnection is the connection containing edges to AuditEvent.
AuditEventCreate is the builder for creating a AuditEvent entity.
AuditEventCreateBulk is the builder for creating many AuditEvent entities in bulk.
AuditEventDelete is the builder for deleting a AuditEvent entity.
AuditEventDeleteOne is the builder for deleting a single AuditEvent entity.
AuditEventEdge is the edge representation of AuditEvent.
AuditEventGroupBy is the group-by builder for AuditEvent entities.
AuditEventMutation represents an operation that mutates the AuditEvent nodes in the graph.
AuditEventOrder defines the ordering of AuditEvent.
AuditEventOrderField defines the ordering field of AuditEvent.
AuditEventQuery is the builder for querying AuditEvent entities.
AuditEventSelect is the builder for selecting fields of AuditEvent entities.
AuditEventUpdate is the builder for updating AuditEvent entities.
AuditEventUpdateOne is the builder for updating a single AuditEvent entity.
AuditEventWhereInput represents a where input for filtering AuditEvent queries.
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.
ResourceKind is the model entity for the ResourceKind schema.
ResourceKindClient is a client for the ResourceKind schema.
ResourceKindConnection is the connection containing edges to ResourceKind.
ResourceKindCreate is the builder for creating a ResourceKind entity.
ResourceKindCreateBulk is the builder for creating many ResourceKind entities in bulk.
ResourceKindDelete is the builder for deleting a ResourceKind entity.
ResourceKindDeleteOne is the builder for deleting a single ResourceKind entity.
ResourceKindEdge is the edge representation of ResourceKind.
ResourceKindGroupBy is the group-by builder for ResourceKind entities.
ResourceKindMutation represents an operation that mutates the ResourceKind nodes in the graph.
ResourceKindOrder defines the ordering of ResourceKind.
ResourceKindOrderField defines the ordering field of ResourceKind.
ResourceKindQuery is the builder for querying ResourceKind entities.
ResourceKindSelect is the builder for selecting fields of ResourceKind entities.
ResourceKindUpdate is the builder for updating ResourceKind entities.
ResourceKindUpdateOne is the builder for updating a single ResourceKind entity.
ResourceKindWhereInput represents a where input for filtering ResourceKind queries.
Tx is a transactional client that is created by calling Client.Tx().
ValidationError returns when validating a field or edge fails.
View is the model entity for the View schema.
ViewClient is a client for the View schema.
ViewConnection is the connection containing edges to View.
ViewCreate is the builder for creating a View entity.
ViewCreateBulk is the builder for creating many View entities in bulk.
ViewDelete is the builder for deleting a View entity.
ViewDeleteOne is the builder for deleting a single View entity.
ViewEdge is the edge representation of View.
ViewGroupBy is the group-by builder for View entities.
ViewMutation represents an operation that mutates the View nodes in the graph.
ViewOrder defines the ordering of View.
ViewOrderField defines the ordering field of View.
ViewQuery is the builder for querying View entities.
ViewSelect is the builder for selecting fields of View entities.
ViewUpdate is the builder for updating View entities.
ViewUpdateOne is the builder for updating a single View entity.
ViewWhereInput represents a where input for filtering View queries.

# Interfaces

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.
AuditEventPaginateOption enables pagination customization.
AuditEvents is a parsable slice of AuditEvent.
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.
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.
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.
ResourceKindPaginateOption enables pagination customization.
ResourceKinds is a parsable slice of ResourceKind.
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.
ViewPaginateOption enables pagination customization.
Views is a parsable slice of View.