package
1.6.8
Repository: https://github.com/crowdsecurity/crowdsec.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
APIKey applies equality check predicate on the "api_key" field.
APIKeyContains applies the Contains predicate on the "api_key" field.
APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
APIKeyEQ applies the EQ predicate on the "api_key" field.
APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
APIKeyGT applies the GT predicate on the "api_key" field.
APIKeyGTE applies the GTE predicate on the "api_key" field.
APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
APIKeyIn applies the In predicate on the "api_key" field.
APIKeyLT applies the LT predicate on the "api_key" field.
APIKeyLTE applies the LTE predicate on the "api_key" field.
APIKeyNEQ applies the NEQ predicate on the "api_key" field.
APIKeyNotIn applies the NotIn predicate on the "api_key" field.
AuthType applies equality check predicate on the "auth_type" field.
AuthTypeContains applies the Contains predicate on the "auth_type" field.
AuthTypeContainsFold applies the ContainsFold predicate on the "auth_type" field.
AuthTypeEQ applies the EQ predicate on the "auth_type" field.
AuthTypeEqualFold applies the EqualFold predicate on the "auth_type" field.
AuthTypeGT applies the GT predicate on the "auth_type" field.
AuthTypeGTE applies the GTE predicate on the "auth_type" field.
AuthTypeHasPrefix applies the HasPrefix predicate on the "auth_type" field.
AuthTypeHasSuffix applies the HasSuffix predicate on the "auth_type" field.
AuthTypeIn applies the In predicate on the "auth_type" field.
AuthTypeLT applies the LT predicate on the "auth_type" field.
AuthTypeLTE applies the LTE predicate on the "auth_type" field.
AuthTypeNEQ applies the NEQ predicate on the "auth_type" field.
AuthTypeNotIn applies the NotIn predicate on the "auth_type" field.
AutoCreated applies equality check predicate on the "auto_created" field.
AutoCreatedEQ applies the EQ predicate on the "auto_created" field.
AutoCreatedNEQ applies the NEQ predicate on the "auto_created" field.
ByAPIKey orders the results by the api_key field.
ByAuthType orders the results by the auth_type field.
ByAutoCreated orders the results by the auto_created field.
ByCreatedAt orders the results by the created_at field.
ByFeatureflags orders the results by the featureflags field.
ByID orders the results by the id field.
ByIPAddress orders the results by the ip_address field.
ByLastPull orders the results by the last_pull field.
ByName orders the results by the name field.
ByOsname orders the results by the osname field.
ByOsversion orders the results by the osversion field.
ByRevoked orders the results by the revoked field.
ByType orders the results by the type field.
ByUpdatedAt orders the results by the updated_at field.
ByVersion orders the results by the version field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
Featureflags applies equality check predicate on the "featureflags" field.
FeatureflagsContains applies the Contains predicate on the "featureflags" field.
FeatureflagsContainsFold applies the ContainsFold predicate on the "featureflags" field.
FeatureflagsEQ applies the EQ predicate on the "featureflags" field.
FeatureflagsEqualFold applies the EqualFold predicate on the "featureflags" field.
FeatureflagsGT applies the GT predicate on the "featureflags" field.
FeatureflagsGTE applies the GTE predicate on the "featureflags" field.
FeatureflagsHasPrefix applies the HasPrefix predicate on the "featureflags" field.
FeatureflagsHasSuffix applies the HasSuffix predicate on the "featureflags" field.
FeatureflagsIn applies the In predicate on the "featureflags" field.
FeatureflagsIsNil applies the IsNil predicate on the "featureflags" field.
FeatureflagsLT applies the LT predicate on the "featureflags" field.
FeatureflagsLTE applies the LTE predicate on the "featureflags" field.
FeatureflagsNEQ applies the NEQ predicate on the "featureflags" field.
FeatureflagsNotIn applies the NotIn predicate on the "featureflags" field.
FeatureflagsNotNil applies the NotNil predicate on the "featureflags" field.
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
IPAddress applies equality check predicate on the "ip_address" field.
IPAddressContains applies the Contains predicate on the "ip_address" field.
IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field.
IPAddressEQ applies the EQ predicate on the "ip_address" field.
IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field.
IPAddressGT applies the GT predicate on the "ip_address" field.
IPAddressGTE applies the GTE predicate on the "ip_address" field.
IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field.
IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field.
IPAddressIn applies the In predicate on the "ip_address" field.
IPAddressIsNil applies the IsNil predicate on the "ip_address" field.
IPAddressLT applies the LT predicate on the "ip_address" field.
IPAddressLTE applies the LTE predicate on the "ip_address" field.
IPAddressNEQ applies the NEQ predicate on the "ip_address" field.
IPAddressNotIn applies the NotIn predicate on the "ip_address" field.
IPAddressNotNil applies the NotNil predicate on the "ip_address" field.
LastPull applies equality check predicate on the "last_pull" field.
LastPullEQ applies the EQ predicate on the "last_pull" field.
LastPullGT applies the GT predicate on the "last_pull" field.
LastPullGTE applies the GTE predicate on the "last_pull" field.
LastPullIn applies the In predicate on the "last_pull" field.
LastPullIsNil applies the IsNil predicate on the "last_pull" field.
LastPullLT applies the LT predicate on the "last_pull" field.
LastPullLTE applies the LTE predicate on the "last_pull" field.
LastPullNEQ applies the NEQ predicate on the "last_pull" field.
LastPullNotIn applies the NotIn predicate on the "last_pull" field.
LastPullNotNil applies the NotNil predicate on the "last_pull" field.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Osname applies equality check predicate on the "osname" field.
OsnameContains applies the Contains predicate on the "osname" field.
OsnameContainsFold applies the ContainsFold predicate on the "osname" field.
OsnameEQ applies the EQ predicate on the "osname" field.
OsnameEqualFold applies the EqualFold predicate on the "osname" field.
OsnameGT applies the GT predicate on the "osname" field.
OsnameGTE applies the GTE predicate on the "osname" field.
OsnameHasPrefix applies the HasPrefix predicate on the "osname" field.
OsnameHasSuffix applies the HasSuffix predicate on the "osname" field.
OsnameIn applies the In predicate on the "osname" field.
OsnameIsNil applies the IsNil predicate on the "osname" field.
OsnameLT applies the LT predicate on the "osname" field.
OsnameLTE applies the LTE predicate on the "osname" field.
OsnameNEQ applies the NEQ predicate on the "osname" field.
OsnameNotIn applies the NotIn predicate on the "osname" field.
OsnameNotNil applies the NotNil predicate on the "osname" field.
Osversion applies equality check predicate on the "osversion" field.
OsversionContains applies the Contains predicate on the "osversion" field.
OsversionContainsFold applies the ContainsFold predicate on the "osversion" field.
OsversionEQ applies the EQ predicate on the "osversion" field.
OsversionEqualFold applies the EqualFold predicate on the "osversion" field.
OsversionGT applies the GT predicate on the "osversion" field.
OsversionGTE applies the GTE predicate on the "osversion" field.
OsversionHasPrefix applies the HasPrefix predicate on the "osversion" field.
OsversionHasSuffix applies the HasSuffix predicate on the "osversion" field.
OsversionIn applies the In predicate on the "osversion" field.
OsversionIsNil applies the IsNil predicate on the "osversion" field.
OsversionLT applies the LT predicate on the "osversion" field.
OsversionLTE applies the LTE predicate on the "osversion" field.
OsversionNEQ applies the NEQ predicate on the "osversion" field.
OsversionNotIn applies the NotIn predicate on the "osversion" field.
OsversionNotNil applies the NotNil predicate on the "osversion" field.
Revoked applies equality check predicate on the "revoked" field.
RevokedEQ applies the EQ predicate on the "revoked" field.
RevokedNEQ applies the NEQ predicate on the "revoked" field.
Type applies equality check predicate on the "type" field.
TypeContains applies the Contains predicate on the "type" field.
TypeContainsFold applies the ContainsFold predicate on the "type" field.
TypeEQ applies the EQ predicate on the "type" field.
TypeEqualFold applies the EqualFold predicate on the "type" field.
TypeGT applies the GT predicate on the "type" field.
TypeGTE applies the GTE predicate on the "type" field.
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
TypeIn applies the In predicate on the "type" field.
TypeIsNil applies the IsNil predicate on the "type" field.
TypeLT applies the LT predicate on the "type" field.
TypeLTE applies the LTE predicate on the "type" field.
TypeNEQ applies the NEQ predicate on the "type" field.
TypeNotIn applies the NotIn predicate on the "type" field.
TypeNotNil applies the NotNil predicate on the "type" field.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
ValidColumn reports if the column name is valid (part of the table columns).
Version applies equality check predicate on the "version" field.
VersionContains applies the Contains predicate on the "version" field.
VersionContainsFold applies the ContainsFold predicate on the "version" field.
VersionEQ applies the EQ predicate on the "version" field.
VersionEqualFold applies the EqualFold predicate on the "version" field.
VersionGT applies the GT predicate on the "version" field.
VersionGTE applies the GTE predicate on the "version" field.
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
VersionIn applies the In predicate on the "version" field.
VersionIsNil applies the IsNil predicate on the "version" field.
VersionLT applies the LT predicate on the "version" field.
VersionLTE applies the LTE predicate on the "version" field.
VersionNEQ applies the NEQ predicate on the "version" field.
VersionNotIn applies the NotIn predicate on the "version" field.
VersionNotNil applies the NotNil predicate on the "version" field.

# Constants

FieldAPIKey holds the string denoting the api_key field in the database.
FieldAuthType holds the string denoting the auth_type field in the database.
FieldAutoCreated holds the string denoting the auto_created field in the database.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldFeatureflags holds the string denoting the featureflags field in the database.
FieldID holds the string denoting the id field in the database.
FieldIPAddress holds the string denoting the ip_address field in the database.
FieldLastPull holds the string denoting the last_pull field in the database.
FieldName holds the string denoting the name field in the database.
FieldOsname holds the string denoting the osname field in the database.
FieldOsversion holds the string denoting the osversion field in the database.
FieldRevoked holds the string denoting the revoked field in the database.
FieldType holds the string denoting the type field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldVersion holds the string denoting the version field in the database.
Label holds the string label denoting the bouncer type in the database.
Table holds the table name of the bouncer in the database.

# Variables

Columns holds all SQL columns for bouncer fields.
DefaultAuthType holds the default value on creation for the "auth_type" field.
DefaultAutoCreated holds the default value on creation for the "auto_created" field.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultIPAddress holds the default value on creation for the "ip_address" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.

# Type aliases

OrderOption defines the ordering options for the Bouncer queries.