Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.APIAudit) predicate.APIAudit
- func CreatedAt(v time.Time) predicate.APIAudit
- func CreatedAtEQ(v time.Time) predicate.APIAudit
- func CreatedAtGT(v time.Time) predicate.APIAudit
- func CreatedAtGTE(v time.Time) predicate.APIAudit
- func CreatedAtIn(vs ...time.Time) predicate.APIAudit
- func CreatedAtLT(v time.Time) predicate.APIAudit
- func CreatedAtLTE(v time.Time) predicate.APIAudit
- func CreatedAtNEQ(v time.Time) predicate.APIAudit
- func CreatedAtNotIn(vs ...time.Time) predicate.APIAudit
- func DeletedAt(v time.Time) predicate.APIAudit
- func DeletedAtEQ(v time.Time) predicate.APIAudit
- func DeletedAtGT(v time.Time) predicate.APIAudit
- func DeletedAtGTE(v time.Time) predicate.APIAudit
- func DeletedAtIn(vs ...time.Time) predicate.APIAudit
- func DeletedAtIsNil() predicate.APIAudit
- func DeletedAtLT(v time.Time) predicate.APIAudit
- func DeletedAtLTE(v time.Time) predicate.APIAudit
- func DeletedAtNEQ(v time.Time) predicate.APIAudit
- func DeletedAtNotIn(vs ...time.Time) predicate.APIAudit
- func DeletedAtNotNil() predicate.APIAudit
- func Domain(v string) predicate.APIAudit
- func DomainContains(v string) predicate.APIAudit
- func DomainContainsFold(v string) predicate.APIAudit
- func DomainEQ(v string) predicate.APIAudit
- func DomainEqualFold(v string) predicate.APIAudit
- func DomainGT(v string) predicate.APIAudit
- func DomainGTE(v string) predicate.APIAudit
- func DomainHasPrefix(v string) predicate.APIAudit
- func DomainHasSuffix(v string) predicate.APIAudit
- func DomainIn(vs ...string) predicate.APIAudit
- func DomainIsNil() predicate.APIAudit
- func DomainLT(v string) predicate.APIAudit
- func DomainLTE(v string) predicate.APIAudit
- func DomainNEQ(v string) predicate.APIAudit
- func DomainNotIn(vs ...string) predicate.APIAudit
- func DomainNotNil() predicate.APIAudit
- func HTTPMethod(v string) predicate.APIAudit
- func HTTPMethodContains(v string) predicate.APIAudit
- func HTTPMethodContainsFold(v string) predicate.APIAudit
- func HTTPMethodEQ(v string) predicate.APIAudit
- func HTTPMethodEqualFold(v string) predicate.APIAudit
- func HTTPMethodGT(v string) predicate.APIAudit
- func HTTPMethodGTE(v string) predicate.APIAudit
- func HTTPMethodHasPrefix(v string) predicate.APIAudit
- func HTTPMethodHasSuffix(v string) predicate.APIAudit
- func HTTPMethodIn(vs ...string) predicate.APIAudit
- func HTTPMethodIsNil() predicate.APIAudit
- func HTTPMethodLT(v string) predicate.APIAudit
- func HTTPMethodLTE(v string) predicate.APIAudit
- func HTTPMethodNEQ(v string) predicate.APIAudit
- func HTTPMethodNotIn(vs ...string) predicate.APIAudit
- func HTTPMethodNotNil() predicate.APIAudit
- func HTTPPath(v string) predicate.APIAudit
- func HTTPPathContains(v string) predicate.APIAudit
- func HTTPPathContainsFold(v string) predicate.APIAudit
- func HTTPPathEQ(v string) predicate.APIAudit
- func HTTPPathEqualFold(v string) predicate.APIAudit
- func HTTPPathGT(v string) predicate.APIAudit
- func HTTPPathGTE(v string) predicate.APIAudit
- func HTTPPathHasPrefix(v string) predicate.APIAudit
- func HTTPPathHasSuffix(v string) predicate.APIAudit
- func HTTPPathIn(vs ...string) predicate.APIAudit
- func HTTPPathIsNil() predicate.APIAudit
- func HTTPPathLT(v string) predicate.APIAudit
- func HTTPPathLTE(v string) predicate.APIAudit
- func HTTPPathNEQ(v string) predicate.APIAudit
- func HTTPPathNotIn(vs ...string) predicate.APIAudit
- func HTTPPathNotNil() predicate.APIAudit
- func HashedGrantToken(v string) predicate.APIAudit
- func HashedGrantTokenContains(v string) predicate.APIAudit
- func HashedGrantTokenContainsFold(v string) predicate.APIAudit
- func HashedGrantTokenEQ(v string) predicate.APIAudit
- func HashedGrantTokenEqualFold(v string) predicate.APIAudit
- func HashedGrantTokenGT(v string) predicate.APIAudit
- func HashedGrantTokenGTE(v string) predicate.APIAudit
- func HashedGrantTokenHasPrefix(v string) predicate.APIAudit
- func HashedGrantTokenHasSuffix(v string) predicate.APIAudit
- func HashedGrantTokenIn(vs ...string) predicate.APIAudit
- func HashedGrantTokenIsNil() predicate.APIAudit
- func HashedGrantTokenLT(v string) predicate.APIAudit
- func HashedGrantTokenLTE(v string) predicate.APIAudit
- func HashedGrantTokenNEQ(v string) predicate.APIAudit
- func HashedGrantTokenNotIn(vs ...string) predicate.APIAudit
- func HashedGrantTokenNotNil() predicate.APIAudit
- func ID(id string) predicate.APIAudit
- func IDEQ(id string) predicate.APIAudit
- func IDGT(id string) predicate.APIAudit
- func IDGTE(id string) predicate.APIAudit
- func IDIn(ids ...string) predicate.APIAudit
- func IDLT(id string) predicate.APIAudit
- func IDLTE(id string) predicate.APIAudit
- func IDNEQ(id string) predicate.APIAudit
- func IDNotIn(ids ...string) predicate.APIAudit
- func Not(p predicate.APIAudit) predicate.APIAudit
- func Or(predicates ...predicate.APIAudit) predicate.APIAudit
- func Plane(v string) predicate.APIAudit
- func PlaneContains(v string) predicate.APIAudit
- func PlaneContainsFold(v string) predicate.APIAudit
- func PlaneEQ(v string) predicate.APIAudit
- func PlaneEqualFold(v string) predicate.APIAudit
- func PlaneGT(v string) predicate.APIAudit
- func PlaneGTE(v string) predicate.APIAudit
- func PlaneHasPrefix(v string) predicate.APIAudit
- func PlaneHasSuffix(v string) predicate.APIAudit
- func PlaneIn(vs ...string) predicate.APIAudit
- func PlaneLT(v string) predicate.APIAudit
- func PlaneLTE(v string) predicate.APIAudit
- func PlaneNEQ(v string) predicate.APIAudit
- func PlaneNotIn(vs ...string) predicate.APIAudit
- func SentHTTPStatus(v int) predicate.APIAudit
- func SentHTTPStatusEQ(v int) predicate.APIAudit
- func SentHTTPStatusGT(v int) predicate.APIAudit
- func SentHTTPStatusGTE(v int) predicate.APIAudit
- func SentHTTPStatusIn(vs ...int) predicate.APIAudit
- func SentHTTPStatusIsNil() predicate.APIAudit
- func SentHTTPStatusLT(v int) predicate.APIAudit
- func SentHTTPStatusLTE(v int) predicate.APIAudit
- func SentHTTPStatusNEQ(v int) predicate.APIAudit
- func SentHTTPStatusNotIn(vs ...int) predicate.APIAudit
- func SentHTTPStatusNotNil() predicate.APIAudit
- func UpdatedAt(v time.Time) predicate.APIAudit
- func UpdatedAtEQ(v time.Time) predicate.APIAudit
- func UpdatedAtGT(v time.Time) predicate.APIAudit
- func UpdatedAtGTE(v time.Time) predicate.APIAudit
- func UpdatedAtIn(vs ...time.Time) predicate.APIAudit
- func UpdatedAtLT(v time.Time) predicate.APIAudit
- func UpdatedAtLTE(v time.Time) predicate.APIAudit
- func UpdatedAtNEQ(v time.Time) predicate.APIAudit
- func UpdatedAtNotIn(vs ...time.Time) predicate.APIAudit
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the apiaudit type in the database. Label = "api_audit" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldPlane holds the string denoting the plane field in the database. FieldPlane = "plane" // FieldHashedGrantToken holds the string denoting the hashed_grant_token field in the database. FieldHashedGrantToken = "hashed_grant_token" // FieldDomain holds the string denoting the domain field in the database. FieldDomain = "domain" // FieldHTTPPath holds the string denoting the http_path field in the database. FieldHTTPPath = "http_path" // FieldHTTPMethod holds the string denoting the http_method field in the database. FieldHTTPMethod = "http_method" // FieldSentHTTPStatus holds the string denoting the sent_http_status field in the database. FieldSentHTTPStatus = "sent_http_status" // Table holds the table name of the apiaudit in the database. Table = "api_audits" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() string // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldPlane, FieldHashedGrantToken, FieldDomain, FieldHTTPPath, FieldHTTPMethod, FieldSentHTTPStatus, }
Columns holds all SQL columns for apiaudit fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Domain ¶
Domain applies equality check predicate on the "domain" field. It's identical to DomainEQ.
func DomainContains ¶
DomainContains applies the Contains predicate on the "domain" field.
func DomainContainsFold ¶
DomainContainsFold applies the ContainsFold predicate on the "domain" field.
func DomainEqualFold ¶
DomainEqualFold applies the EqualFold predicate on the "domain" field.
func DomainHasPrefix ¶
DomainHasPrefix applies the HasPrefix predicate on the "domain" field.
func DomainHasSuffix ¶
DomainHasSuffix applies the HasSuffix predicate on the "domain" field.
func DomainIsNil ¶
DomainIsNil applies the IsNil predicate on the "domain" field.
func DomainNotIn ¶
DomainNotIn applies the NotIn predicate on the "domain" field.
func DomainNotNil ¶
DomainNotNil applies the NotNil predicate on the "domain" field.
func HTTPMethod ¶
HTTPMethod applies equality check predicate on the "http_method" field. It's identical to HTTPMethodEQ.
func HTTPMethodContains ¶
HTTPMethodContains applies the Contains predicate on the "http_method" field.
func HTTPMethodContainsFold ¶
HTTPMethodContainsFold applies the ContainsFold predicate on the "http_method" field.
func HTTPMethodEQ ¶
HTTPMethodEQ applies the EQ predicate on the "http_method" field.
func HTTPMethodEqualFold ¶
HTTPMethodEqualFold applies the EqualFold predicate on the "http_method" field.
func HTTPMethodGT ¶
HTTPMethodGT applies the GT predicate on the "http_method" field.
func HTTPMethodGTE ¶
HTTPMethodGTE applies the GTE predicate on the "http_method" field.
func HTTPMethodHasPrefix ¶
HTTPMethodHasPrefix applies the HasPrefix predicate on the "http_method" field.
func HTTPMethodHasSuffix ¶
HTTPMethodHasSuffix applies the HasSuffix predicate on the "http_method" field.
func HTTPMethodIn ¶
HTTPMethodIn applies the In predicate on the "http_method" field.
func HTTPMethodIsNil ¶
HTTPMethodIsNil applies the IsNil predicate on the "http_method" field.
func HTTPMethodLT ¶
HTTPMethodLT applies the LT predicate on the "http_method" field.
func HTTPMethodLTE ¶
HTTPMethodLTE applies the LTE predicate on the "http_method" field.
func HTTPMethodNEQ ¶
HTTPMethodNEQ applies the NEQ predicate on the "http_method" field.
func HTTPMethodNotIn ¶
HTTPMethodNotIn applies the NotIn predicate on the "http_method" field.
func HTTPMethodNotNil ¶
HTTPMethodNotNil applies the NotNil predicate on the "http_method" field.
func HTTPPath ¶
HTTPPath applies equality check predicate on the "http_path" field. It's identical to HTTPPathEQ.
func HTTPPathContains ¶
HTTPPathContains applies the Contains predicate on the "http_path" field.
func HTTPPathContainsFold ¶
HTTPPathContainsFold applies the ContainsFold predicate on the "http_path" field.
func HTTPPathEQ ¶
HTTPPathEQ applies the EQ predicate on the "http_path" field.
func HTTPPathEqualFold ¶
HTTPPathEqualFold applies the EqualFold predicate on the "http_path" field.
func HTTPPathGT ¶
HTTPPathGT applies the GT predicate on the "http_path" field.
func HTTPPathGTE ¶
HTTPPathGTE applies the GTE predicate on the "http_path" field.
func HTTPPathHasPrefix ¶
HTTPPathHasPrefix applies the HasPrefix predicate on the "http_path" field.
func HTTPPathHasSuffix ¶
HTTPPathHasSuffix applies the HasSuffix predicate on the "http_path" field.
func HTTPPathIn ¶
HTTPPathIn applies the In predicate on the "http_path" field.
func HTTPPathIsNil ¶
HTTPPathIsNil applies the IsNil predicate on the "http_path" field.
func HTTPPathLT ¶
HTTPPathLT applies the LT predicate on the "http_path" field.
func HTTPPathLTE ¶
HTTPPathLTE applies the LTE predicate on the "http_path" field.
func HTTPPathNEQ ¶
HTTPPathNEQ applies the NEQ predicate on the "http_path" field.
func HTTPPathNotIn ¶
HTTPPathNotIn applies the NotIn predicate on the "http_path" field.
func HTTPPathNotNil ¶
HTTPPathNotNil applies the NotNil predicate on the "http_path" field.
func HashedGrantToken ¶
HashedGrantToken applies equality check predicate on the "hashed_grant_token" field. It's identical to HashedGrantTokenEQ.
func HashedGrantTokenContains ¶
HashedGrantTokenContains applies the Contains predicate on the "hashed_grant_token" field.
func HashedGrantTokenContainsFold ¶
HashedGrantTokenContainsFold applies the ContainsFold predicate on the "hashed_grant_token" field.
func HashedGrantTokenEQ ¶
HashedGrantTokenEQ applies the EQ predicate on the "hashed_grant_token" field.
func HashedGrantTokenEqualFold ¶
HashedGrantTokenEqualFold applies the EqualFold predicate on the "hashed_grant_token" field.
func HashedGrantTokenGT ¶
HashedGrantTokenGT applies the GT predicate on the "hashed_grant_token" field.
func HashedGrantTokenGTE ¶
HashedGrantTokenGTE applies the GTE predicate on the "hashed_grant_token" field.
func HashedGrantTokenHasPrefix ¶
HashedGrantTokenHasPrefix applies the HasPrefix predicate on the "hashed_grant_token" field.
func HashedGrantTokenHasSuffix ¶
HashedGrantTokenHasSuffix applies the HasSuffix predicate on the "hashed_grant_token" field.
func HashedGrantTokenIn ¶
HashedGrantTokenIn applies the In predicate on the "hashed_grant_token" field.
func HashedGrantTokenIsNil ¶
HashedGrantTokenIsNil applies the IsNil predicate on the "hashed_grant_token" field.
func HashedGrantTokenLT ¶
HashedGrantTokenLT applies the LT predicate on the "hashed_grant_token" field.
func HashedGrantTokenLTE ¶
HashedGrantTokenLTE applies the LTE predicate on the "hashed_grant_token" field.
func HashedGrantTokenNEQ ¶
HashedGrantTokenNEQ applies the NEQ predicate on the "hashed_grant_token" field.
func HashedGrantTokenNotIn ¶
HashedGrantTokenNotIn applies the NotIn predicate on the "hashed_grant_token" field.
func HashedGrantTokenNotNil ¶
HashedGrantTokenNotNil applies the NotNil predicate on the "hashed_grant_token" field.
func Plane ¶
Plane applies equality check predicate on the "plane" field. It's identical to PlaneEQ.
func PlaneContains ¶
PlaneContains applies the Contains predicate on the "plane" field.
func PlaneContainsFold ¶
PlaneContainsFold applies the ContainsFold predicate on the "plane" field.
func PlaneEqualFold ¶
PlaneEqualFold applies the EqualFold predicate on the "plane" field.
func PlaneHasPrefix ¶
PlaneHasPrefix applies the HasPrefix predicate on the "plane" field.
func PlaneHasSuffix ¶
PlaneHasSuffix applies the HasSuffix predicate on the "plane" field.
func PlaneNotIn ¶
PlaneNotIn applies the NotIn predicate on the "plane" field.
func SentHTTPStatus ¶
SentHTTPStatus applies equality check predicate on the "sent_http_status" field. It's identical to SentHTTPStatusEQ.
func SentHTTPStatusEQ ¶
SentHTTPStatusEQ applies the EQ predicate on the "sent_http_status" field.
func SentHTTPStatusGT ¶
SentHTTPStatusGT applies the GT predicate on the "sent_http_status" field.
func SentHTTPStatusGTE ¶
SentHTTPStatusGTE applies the GTE predicate on the "sent_http_status" field.
func SentHTTPStatusIn ¶
SentHTTPStatusIn applies the In predicate on the "sent_http_status" field.
func SentHTTPStatusIsNil ¶
SentHTTPStatusIsNil applies the IsNil predicate on the "sent_http_status" field.
func SentHTTPStatusLT ¶
SentHTTPStatusLT applies the LT predicate on the "sent_http_status" field.
func SentHTTPStatusLTE ¶
SentHTTPStatusLTE applies the LTE predicate on the "sent_http_status" field.
func SentHTTPStatusNEQ ¶
SentHTTPStatusNEQ applies the NEQ predicate on the "sent_http_status" field.
func SentHTTPStatusNotIn ¶
SentHTTPStatusNotIn applies the NotIn predicate on the "sent_http_status" field.
func SentHTTPStatusNotNil ¶
SentHTTPStatusNotNil applies the NotNil predicate on the "sent_http_status" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.