Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Hush) predicate.Hush
- func CreatedAt(v time.Time) predicate.Hush
- func CreatedAtEQ(v time.Time) predicate.Hush
- func CreatedAtGT(v time.Time) predicate.Hush
- func CreatedAtGTE(v time.Time) predicate.Hush
- func CreatedAtIn(vs ...time.Time) predicate.Hush
- func CreatedAtIsNil() predicate.Hush
- func CreatedAtLT(v time.Time) predicate.Hush
- func CreatedAtLTE(v time.Time) predicate.Hush
- func CreatedAtNEQ(v time.Time) predicate.Hush
- func CreatedAtNotIn(vs ...time.Time) predicate.Hush
- func CreatedAtNotNil() predicate.Hush
- func CreatedBy(v string) predicate.Hush
- func CreatedByContains(v string) predicate.Hush
- func CreatedByContainsFold(v string) predicate.Hush
- func CreatedByEQ(v string) predicate.Hush
- func CreatedByEqualFold(v string) predicate.Hush
- func CreatedByGT(v string) predicate.Hush
- func CreatedByGTE(v string) predicate.Hush
- func CreatedByHasPrefix(v string) predicate.Hush
- func CreatedByHasSuffix(v string) predicate.Hush
- func CreatedByIn(vs ...string) predicate.Hush
- func CreatedByIsNil() predicate.Hush
- func CreatedByLT(v string) predicate.Hush
- func CreatedByLTE(v string) predicate.Hush
- func CreatedByNEQ(v string) predicate.Hush
- func CreatedByNotIn(vs ...string) predicate.Hush
- func CreatedByNotNil() predicate.Hush
- func DeletedAt(v time.Time) predicate.Hush
- func DeletedAtEQ(v time.Time) predicate.Hush
- func DeletedAtGT(v time.Time) predicate.Hush
- func DeletedAtGTE(v time.Time) predicate.Hush
- func DeletedAtIn(vs ...time.Time) predicate.Hush
- func DeletedAtIsNil() predicate.Hush
- func DeletedAtLT(v time.Time) predicate.Hush
- func DeletedAtLTE(v time.Time) predicate.Hush
- func DeletedAtNEQ(v time.Time) predicate.Hush
- func DeletedAtNotIn(vs ...time.Time) predicate.Hush
- func DeletedAtNotNil() predicate.Hush
- func DeletedBy(v string) predicate.Hush
- func DeletedByContains(v string) predicate.Hush
- func DeletedByContainsFold(v string) predicate.Hush
- func DeletedByEQ(v string) predicate.Hush
- func DeletedByEqualFold(v string) predicate.Hush
- func DeletedByGT(v string) predicate.Hush
- func DeletedByGTE(v string) predicate.Hush
- func DeletedByHasPrefix(v string) predicate.Hush
- func DeletedByHasSuffix(v string) predicate.Hush
- func DeletedByIn(vs ...string) predicate.Hush
- func DeletedByIsNil() predicate.Hush
- func DeletedByLT(v string) predicate.Hush
- func DeletedByLTE(v string) predicate.Hush
- func DeletedByNEQ(v string) predicate.Hush
- func DeletedByNotIn(vs ...string) predicate.Hush
- func DeletedByNotNil() predicate.Hush
- func Description(v string) predicate.Hush
- func DescriptionContains(v string) predicate.Hush
- func DescriptionContainsFold(v string) predicate.Hush
- func DescriptionEQ(v string) predicate.Hush
- func DescriptionEqualFold(v string) predicate.Hush
- func DescriptionGT(v string) predicate.Hush
- func DescriptionGTE(v string) predicate.Hush
- func DescriptionHasPrefix(v string) predicate.Hush
- func DescriptionHasSuffix(v string) predicate.Hush
- func DescriptionIn(vs ...string) predicate.Hush
- func DescriptionIsNil() predicate.Hush
- func DescriptionLT(v string) predicate.Hush
- func DescriptionLTE(v string) predicate.Hush
- func DescriptionNEQ(v string) predicate.Hush
- func DescriptionNotIn(vs ...string) predicate.Hush
- func DescriptionNotNil() predicate.Hush
- func HasEvents() predicate.Hush
- func HasEventsWith(preds ...predicate.Event) predicate.Hush
- func HasIntegrations() predicate.Hush
- func HasIntegrationsWith(preds ...predicate.Integration) predicate.Hush
- func HasOrganization() predicate.Hush
- func HasOrganizationWith(preds ...predicate.Organization) predicate.Hush
- func ID(id string) predicate.Hush
- func IDContainsFold(id string) predicate.Hush
- func IDEQ(id string) predicate.Hush
- func IDEqualFold(id string) predicate.Hush
- func IDGT(id string) predicate.Hush
- func IDGTE(id string) predicate.Hush
- func IDIn(ids ...string) predicate.Hush
- func IDLT(id string) predicate.Hush
- func IDLTE(id string) predicate.Hush
- func IDNEQ(id string) predicate.Hush
- func IDNotIn(ids ...string) predicate.Hush
- func Kind(v string) predicate.Hush
- func KindContains(v string) predicate.Hush
- func KindContainsFold(v string) predicate.Hush
- func KindEQ(v string) predicate.Hush
- func KindEqualFold(v string) predicate.Hush
- func KindGT(v string) predicate.Hush
- func KindGTE(v string) predicate.Hush
- func KindHasPrefix(v string) predicate.Hush
- func KindHasSuffix(v string) predicate.Hush
- func KindIn(vs ...string) predicate.Hush
- func KindIsNil() predicate.Hush
- func KindLT(v string) predicate.Hush
- func KindLTE(v string) predicate.Hush
- func KindNEQ(v string) predicate.Hush
- func KindNotIn(vs ...string) predicate.Hush
- func KindNotNil() predicate.Hush
- func MappingID(v string) predicate.Hush
- func MappingIDContains(v string) predicate.Hush
- func MappingIDContainsFold(v string) predicate.Hush
- func MappingIDEQ(v string) predicate.Hush
- func MappingIDEqualFold(v string) predicate.Hush
- func MappingIDGT(v string) predicate.Hush
- func MappingIDGTE(v string) predicate.Hush
- func MappingIDHasPrefix(v string) predicate.Hush
- func MappingIDHasSuffix(v string) predicate.Hush
- func MappingIDIn(vs ...string) predicate.Hush
- func MappingIDLT(v string) predicate.Hush
- func MappingIDLTE(v string) predicate.Hush
- func MappingIDNEQ(v string) predicate.Hush
- func MappingIDNotIn(vs ...string) predicate.Hush
- func Name(v string) predicate.Hush
- func NameContains(v string) predicate.Hush
- func NameContainsFold(v string) predicate.Hush
- func NameEQ(v string) predicate.Hush
- func NameEqualFold(v string) predicate.Hush
- func NameGT(v string) predicate.Hush
- func NameGTE(v string) predicate.Hush
- func NameHasPrefix(v string) predicate.Hush
- func NameHasSuffix(v string) predicate.Hush
- func NameIn(vs ...string) predicate.Hush
- func NameLT(v string) predicate.Hush
- func NameLTE(v string) predicate.Hush
- func NameNEQ(v string) predicate.Hush
- func NameNotIn(vs ...string) predicate.Hush
- func Not(p predicate.Hush) predicate.Hush
- func Or(predicates ...predicate.Hush) predicate.Hush
- func SecretName(v string) predicate.Hush
- func SecretNameContains(v string) predicate.Hush
- func SecretNameContainsFold(v string) predicate.Hush
- func SecretNameEQ(v string) predicate.Hush
- func SecretNameEqualFold(v string) predicate.Hush
- func SecretNameGT(v string) predicate.Hush
- func SecretNameGTE(v string) predicate.Hush
- func SecretNameHasPrefix(v string) predicate.Hush
- func SecretNameHasSuffix(v string) predicate.Hush
- func SecretNameIn(vs ...string) predicate.Hush
- func SecretNameIsNil() predicate.Hush
- func SecretNameLT(v string) predicate.Hush
- func SecretNameLTE(v string) predicate.Hush
- func SecretNameNEQ(v string) predicate.Hush
- func SecretNameNotIn(vs ...string) predicate.Hush
- func SecretNameNotNil() predicate.Hush
- func SecretValue(v string) predicate.Hush
- func SecretValueContains(v string) predicate.Hush
- func SecretValueContainsFold(v string) predicate.Hush
- func SecretValueEQ(v string) predicate.Hush
- func SecretValueEqualFold(v string) predicate.Hush
- func SecretValueGT(v string) predicate.Hush
- func SecretValueGTE(v string) predicate.Hush
- func SecretValueHasPrefix(v string) predicate.Hush
- func SecretValueHasSuffix(v string) predicate.Hush
- func SecretValueIn(vs ...string) predicate.Hush
- func SecretValueIsNil() predicate.Hush
- func SecretValueLT(v string) predicate.Hush
- func SecretValueLTE(v string) predicate.Hush
- func SecretValueNEQ(v string) predicate.Hush
- func SecretValueNotIn(vs ...string) predicate.Hush
- func SecretValueNotNil() predicate.Hush
- func UpdatedAt(v time.Time) predicate.Hush
- func UpdatedAtEQ(v time.Time) predicate.Hush
- func UpdatedAtGT(v time.Time) predicate.Hush
- func UpdatedAtGTE(v time.Time) predicate.Hush
- func UpdatedAtIn(vs ...time.Time) predicate.Hush
- func UpdatedAtIsNil() predicate.Hush
- func UpdatedAtLT(v time.Time) predicate.Hush
- func UpdatedAtLTE(v time.Time) predicate.Hush
- func UpdatedAtNEQ(v time.Time) predicate.Hush
- func UpdatedAtNotIn(vs ...time.Time) predicate.Hush
- func UpdatedAtNotNil() predicate.Hush
- func UpdatedBy(v string) predicate.Hush
- func UpdatedByContains(v string) predicate.Hush
- func UpdatedByContainsFold(v string) predicate.Hush
- func UpdatedByEQ(v string) predicate.Hush
- func UpdatedByEqualFold(v string) predicate.Hush
- func UpdatedByGT(v string) predicate.Hush
- func UpdatedByGTE(v string) predicate.Hush
- func UpdatedByHasPrefix(v string) predicate.Hush
- func UpdatedByHasSuffix(v string) predicate.Hush
- func UpdatedByIn(vs ...string) predicate.Hush
- func UpdatedByIsNil() predicate.Hush
- func UpdatedByLT(v string) predicate.Hush
- func UpdatedByLTE(v string) predicate.Hush
- func UpdatedByNEQ(v string) predicate.Hush
- func UpdatedByNotIn(vs ...string) predicate.Hush
- func UpdatedByNotNil() predicate.Hush
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntegrations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIntegrationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganization(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrganizationCount(opts ...sql.OrderTermOption) OrderOption
- func BySecretName(opts ...sql.OrderTermOption) OrderOption
- func BySecretValue(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the hush type in the database. Label = "hush" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldSecretName holds the string denoting the secret_name field in the database. FieldSecretName = "secret_name" // FieldSecretValue holds the string denoting the secret_value field in the database. FieldSecretValue = "secret_value" // EdgeIntegrations holds the string denoting the integrations edge name in mutations. EdgeIntegrations = "integrations" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the hush in the database. Table = "hushes" // IntegrationsTable is the table that holds the integrations relation/edge. The primary key declared below. IntegrationsTable = "integration_secrets" // IntegrationsInverseTable is the table name for the Integration entity. // It exists in this package in order to avoid circular dependency with the "integration" package. IntegrationsInverseTable = "integrations" // OrganizationTable is the table that holds the organization relation/edge. The primary key declared below. OrganizationTable = "organization_secrets" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "hush_events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" )
Variables ¶
var ( // IntegrationsPrimaryKey and IntegrationsColumn2 are the table columns denoting the // primary key for the integrations relation (M2M). IntegrationsPrimaryKey = []string{"integration_id", "hush_id"} // OrganizationPrimaryKey and OrganizationColumn2 are the table columns denoting the // primary key for the organization relation (M2M). OrganizationPrimaryKey = []string{"organization_id", "hush_id"} // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"hush_id", "event_id"} )
var ( Hooks [3]ent.Hook Interceptors [2]ent.Interceptor // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldDeletedAt, FieldDeletedBy, FieldName, FieldDescription, FieldKind, FieldSecretName, FieldSecretValue, }
Columns holds all SQL columns for hush 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" 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 DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasIntegrations ¶
HasIntegrations applies the HasEdge predicate on the "integrations" edge.
func HasIntegrationsWith ¶
func HasIntegrationsWith(preds ...predicate.Integration) predicate.Hush
HasIntegrationsWith applies the HasEdge predicate on the "integrations" edge with a given conditions (other predicates).
func HasOrganization ¶
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.Hush
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func KindContains ¶
KindContains applies the Contains predicate on the "kind" field.
func KindContainsFold ¶
KindContainsFold applies the ContainsFold predicate on the "kind" field.
func KindEqualFold ¶
KindEqualFold applies the EqualFold predicate on the "kind" field.
func KindHasPrefix ¶
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
func KindHasSuffix ¶
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
func KindNotNil ¶
KindNotNil applies the NotNil predicate on the "kind" field.
func MappingID ¶
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func SecretName ¶
SecretName applies equality check predicate on the "secret_name" field. It's identical to SecretNameEQ.
func SecretNameContains ¶
SecretNameContains applies the Contains predicate on the "secret_name" field.
func SecretNameContainsFold ¶
SecretNameContainsFold applies the ContainsFold predicate on the "secret_name" field.
func SecretNameEQ ¶
SecretNameEQ applies the EQ predicate on the "secret_name" field.
func SecretNameEqualFold ¶
SecretNameEqualFold applies the EqualFold predicate on the "secret_name" field.
func SecretNameGT ¶
SecretNameGT applies the GT predicate on the "secret_name" field.
func SecretNameGTE ¶
SecretNameGTE applies the GTE predicate on the "secret_name" field.
func SecretNameHasPrefix ¶
SecretNameHasPrefix applies the HasPrefix predicate on the "secret_name" field.
func SecretNameHasSuffix ¶
SecretNameHasSuffix applies the HasSuffix predicate on the "secret_name" field.
func SecretNameIn ¶
SecretNameIn applies the In predicate on the "secret_name" field.
func SecretNameIsNil ¶
SecretNameIsNil applies the IsNil predicate on the "secret_name" field.
func SecretNameLT ¶
SecretNameLT applies the LT predicate on the "secret_name" field.
func SecretNameLTE ¶
SecretNameLTE applies the LTE predicate on the "secret_name" field.
func SecretNameNEQ ¶
SecretNameNEQ applies the NEQ predicate on the "secret_name" field.
func SecretNameNotIn ¶
SecretNameNotIn applies the NotIn predicate on the "secret_name" field.
func SecretNameNotNil ¶
SecretNameNotNil applies the NotNil predicate on the "secret_name" field.
func SecretValue ¶
SecretValue applies equality check predicate on the "secret_value" field. It's identical to SecretValueEQ.
func SecretValueContains ¶
SecretValueContains applies the Contains predicate on the "secret_value" field.
func SecretValueContainsFold ¶
SecretValueContainsFold applies the ContainsFold predicate on the "secret_value" field.
func SecretValueEQ ¶
SecretValueEQ applies the EQ predicate on the "secret_value" field.
func SecretValueEqualFold ¶
SecretValueEqualFold applies the EqualFold predicate on the "secret_value" field.
func SecretValueGT ¶
SecretValueGT applies the GT predicate on the "secret_value" field.
func SecretValueGTE ¶
SecretValueGTE applies the GTE predicate on the "secret_value" field.
func SecretValueHasPrefix ¶
SecretValueHasPrefix applies the HasPrefix predicate on the "secret_value" field.
func SecretValueHasSuffix ¶
SecretValueHasSuffix applies the HasSuffix predicate on the "secret_value" field.
func SecretValueIn ¶
SecretValueIn applies the In predicate on the "secret_value" field.
func SecretValueIsNil ¶
SecretValueIsNil applies the IsNil predicate on the "secret_value" field.
func SecretValueLT ¶
SecretValueLT applies the LT predicate on the "secret_value" field.
func SecretValueLTE ¶
SecretValueLTE applies the LTE predicate on the "secret_value" field.
func SecretValueNEQ ¶
SecretValueNEQ applies the NEQ predicate on the "secret_value" field.
func SecretValueNotIn ¶
SecretValueNotIn applies the NotIn predicate on the "secret_value" field.
func SecretValueNotNil ¶
SecretValueNotNil applies the NotNil predicate on the "secret_value" 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Hush queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEvents ¶
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntegrations ¶
func ByIntegrations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIntegrations orders the results by integrations terms.
func ByIntegrationsCount ¶
func ByIntegrationsCount(opts ...sql.OrderTermOption) OrderOption
ByIntegrationsCount orders the results by integrations count.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrganization ¶
func ByOrganization(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrganization orders the results by organization terms.
func ByOrganizationCount ¶
func ByOrganizationCount(opts ...sql.OrderTermOption) OrderOption
ByOrganizationCount orders the results by organization count.
func BySecretName ¶
func BySecretName(opts ...sql.OrderTermOption) OrderOption
BySecretName orders the results by the secret_name field.
func BySecretValue ¶
func BySecretValue(opts ...sql.OrderTermOption) OrderOption
BySecretValue orders the results by the secret_value field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.