Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ControlImplementation) predicate.ControlImplementation
- func CreatedAt(v time.Time) predicate.ControlImplementation
- func CreatedAtEQ(v time.Time) predicate.ControlImplementation
- func CreatedAtGT(v time.Time) predicate.ControlImplementation
- func CreatedAtGTE(v time.Time) predicate.ControlImplementation
- func CreatedAtIn(vs ...time.Time) predicate.ControlImplementation
- func CreatedAtIsNil() predicate.ControlImplementation
- func CreatedAtLT(v time.Time) predicate.ControlImplementation
- func CreatedAtLTE(v time.Time) predicate.ControlImplementation
- func CreatedAtNEQ(v time.Time) predicate.ControlImplementation
- func CreatedAtNotIn(vs ...time.Time) predicate.ControlImplementation
- func CreatedAtNotNil() predicate.ControlImplementation
- func CreatedBy(v string) predicate.ControlImplementation
- func CreatedByContains(v string) predicate.ControlImplementation
- func CreatedByContainsFold(v string) predicate.ControlImplementation
- func CreatedByEQ(v string) predicate.ControlImplementation
- func CreatedByEqualFold(v string) predicate.ControlImplementation
- func CreatedByGT(v string) predicate.ControlImplementation
- func CreatedByGTE(v string) predicate.ControlImplementation
- func CreatedByHasPrefix(v string) predicate.ControlImplementation
- func CreatedByHasSuffix(v string) predicate.ControlImplementation
- func CreatedByIn(vs ...string) predicate.ControlImplementation
- func CreatedByIsNil() predicate.ControlImplementation
- func CreatedByLT(v string) predicate.ControlImplementation
- func CreatedByLTE(v string) predicate.ControlImplementation
- func CreatedByNEQ(v string) predicate.ControlImplementation
- func CreatedByNotIn(vs ...string) predicate.ControlImplementation
- func CreatedByNotNil() predicate.ControlImplementation
- func DeletedAt(v time.Time) predicate.ControlImplementation
- func DeletedAtEQ(v time.Time) predicate.ControlImplementation
- func DeletedAtGT(v time.Time) predicate.ControlImplementation
- func DeletedAtGTE(v time.Time) predicate.ControlImplementation
- func DeletedAtIn(vs ...time.Time) predicate.ControlImplementation
- func DeletedAtIsNil() predicate.ControlImplementation
- func DeletedAtLT(v time.Time) predicate.ControlImplementation
- func DeletedAtLTE(v time.Time) predicate.ControlImplementation
- func DeletedAtNEQ(v time.Time) predicate.ControlImplementation
- func DeletedAtNotIn(vs ...time.Time) predicate.ControlImplementation
- func DeletedAtNotNil() predicate.ControlImplementation
- func DeletedBy(v string) predicate.ControlImplementation
- func DeletedByContains(v string) predicate.ControlImplementation
- func DeletedByContainsFold(v string) predicate.ControlImplementation
- func DeletedByEQ(v string) predicate.ControlImplementation
- func DeletedByEqualFold(v string) predicate.ControlImplementation
- func DeletedByGT(v string) predicate.ControlImplementation
- func DeletedByGTE(v string) predicate.ControlImplementation
- func DeletedByHasPrefix(v string) predicate.ControlImplementation
- func DeletedByHasSuffix(v string) predicate.ControlImplementation
- func DeletedByIn(vs ...string) predicate.ControlImplementation
- func DeletedByIsNil() predicate.ControlImplementation
- func DeletedByLT(v string) predicate.ControlImplementation
- func DeletedByLTE(v string) predicate.ControlImplementation
- func DeletedByNEQ(v string) predicate.ControlImplementation
- func DeletedByNotIn(vs ...string) predicate.ControlImplementation
- func DeletedByNotNil() predicate.ControlImplementation
- func Details(v string) predicate.ControlImplementation
- func DetailsContains(v string) predicate.ControlImplementation
- func DetailsContainsFold(v string) predicate.ControlImplementation
- func DetailsEQ(v string) predicate.ControlImplementation
- func DetailsEqualFold(v string) predicate.ControlImplementation
- func DetailsGT(v string) predicate.ControlImplementation
- func DetailsGTE(v string) predicate.ControlImplementation
- func DetailsHasPrefix(v string) predicate.ControlImplementation
- func DetailsHasSuffix(v string) predicate.ControlImplementation
- func DetailsIn(vs ...string) predicate.ControlImplementation
- func DetailsIsNil() predicate.ControlImplementation
- func DetailsLT(v string) predicate.ControlImplementation
- func DetailsLTE(v string) predicate.ControlImplementation
- func DetailsNEQ(v string) predicate.ControlImplementation
- func DetailsNotIn(vs ...string) predicate.ControlImplementation
- func DetailsNotNil() predicate.ControlImplementation
- func HasControls() predicate.ControlImplementation
- func HasControlsWith(preds ...predicate.Control) predicate.ControlImplementation
- func HasOwner() predicate.ControlImplementation
- func HasOwnerWith(preds ...predicate.Organization) predicate.ControlImplementation
- func HasSubcontrols() predicate.ControlImplementation
- func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.ControlImplementation
- func ID(id string) predicate.ControlImplementation
- func IDContainsFold(id string) predicate.ControlImplementation
- func IDEQ(id string) predicate.ControlImplementation
- func IDEqualFold(id string) predicate.ControlImplementation
- func IDGT(id string) predicate.ControlImplementation
- func IDGTE(id string) predicate.ControlImplementation
- func IDIn(ids ...string) predicate.ControlImplementation
- func IDLT(id string) predicate.ControlImplementation
- func IDLTE(id string) predicate.ControlImplementation
- func IDNEQ(id string) predicate.ControlImplementation
- func IDNotIn(ids ...string) predicate.ControlImplementation
- func ImplementationDate(v time.Time) predicate.ControlImplementation
- func ImplementationDateEQ(v time.Time) predicate.ControlImplementation
- func ImplementationDateGT(v time.Time) predicate.ControlImplementation
- func ImplementationDateGTE(v time.Time) predicate.ControlImplementation
- func ImplementationDateIn(vs ...time.Time) predicate.ControlImplementation
- func ImplementationDateIsNil() predicate.ControlImplementation
- func ImplementationDateLT(v time.Time) predicate.ControlImplementation
- func ImplementationDateLTE(v time.Time) predicate.ControlImplementation
- func ImplementationDateNEQ(v time.Time) predicate.ControlImplementation
- func ImplementationDateNotIn(vs ...time.Time) predicate.ControlImplementation
- func ImplementationDateNotNil() predicate.ControlImplementation
- func Not(p predicate.ControlImplementation) predicate.ControlImplementation
- func Or(predicates ...predicate.ControlImplementation) predicate.ControlImplementation
- func OwnerID(v string) predicate.ControlImplementation
- func OwnerIDContains(v string) predicate.ControlImplementation
- func OwnerIDContainsFold(v string) predicate.ControlImplementation
- func OwnerIDEQ(v string) predicate.ControlImplementation
- func OwnerIDEqualFold(v string) predicate.ControlImplementation
- func OwnerIDGT(v string) predicate.ControlImplementation
- func OwnerIDGTE(v string) predicate.ControlImplementation
- func OwnerIDHasPrefix(v string) predicate.ControlImplementation
- func OwnerIDHasSuffix(v string) predicate.ControlImplementation
- func OwnerIDIn(vs ...string) predicate.ControlImplementation
- func OwnerIDIsNil() predicate.ControlImplementation
- func OwnerIDLT(v string) predicate.ControlImplementation
- func OwnerIDLTE(v string) predicate.ControlImplementation
- func OwnerIDNEQ(v string) predicate.ControlImplementation
- func OwnerIDNotIn(vs ...string) predicate.ControlImplementation
- func OwnerIDNotNil() predicate.ControlImplementation
- func StatusEQ(v enums.DocumentStatus) predicate.ControlImplementation
- func StatusIn(vs ...enums.DocumentStatus) predicate.ControlImplementation
- func StatusIsNil() predicate.ControlImplementation
- func StatusNEQ(v enums.DocumentStatus) predicate.ControlImplementation
- func StatusNotIn(vs ...enums.DocumentStatus) predicate.ControlImplementation
- func StatusNotNil() predicate.ControlImplementation
- func StatusValidator(s enums.DocumentStatus) error
- func TagsIsNil() predicate.ControlImplementation
- func TagsNotNil() predicate.ControlImplementation
- func UpdatedAt(v time.Time) predicate.ControlImplementation
- func UpdatedAtEQ(v time.Time) predicate.ControlImplementation
- func UpdatedAtGT(v time.Time) predicate.ControlImplementation
- func UpdatedAtGTE(v time.Time) predicate.ControlImplementation
- func UpdatedAtIn(vs ...time.Time) predicate.ControlImplementation
- func UpdatedAtIsNil() predicate.ControlImplementation
- func UpdatedAtLT(v time.Time) predicate.ControlImplementation
- func UpdatedAtLTE(v time.Time) predicate.ControlImplementation
- func UpdatedAtNEQ(v time.Time) predicate.ControlImplementation
- func UpdatedAtNotIn(vs ...time.Time) predicate.ControlImplementation
- func UpdatedAtNotNil() predicate.ControlImplementation
- func UpdatedBy(v string) predicate.ControlImplementation
- func UpdatedByContains(v string) predicate.ControlImplementation
- func UpdatedByContainsFold(v string) predicate.ControlImplementation
- func UpdatedByEQ(v string) predicate.ControlImplementation
- func UpdatedByEqualFold(v string) predicate.ControlImplementation
- func UpdatedByGT(v string) predicate.ControlImplementation
- func UpdatedByGTE(v string) predicate.ControlImplementation
- func UpdatedByHasPrefix(v string) predicate.ControlImplementation
- func UpdatedByHasSuffix(v string) predicate.ControlImplementation
- func UpdatedByIn(vs ...string) predicate.ControlImplementation
- func UpdatedByIsNil() predicate.ControlImplementation
- func UpdatedByLT(v string) predicate.ControlImplementation
- func UpdatedByLTE(v string) predicate.ControlImplementation
- func UpdatedByNEQ(v string) predicate.ControlImplementation
- func UpdatedByNotIn(vs ...string) predicate.ControlImplementation
- func UpdatedByNotNil() predicate.ControlImplementation
- func ValidColumn(column string) bool
- func VerificationDate(v time.Time) predicate.ControlImplementation
- func VerificationDateEQ(v time.Time) predicate.ControlImplementation
- func VerificationDateGT(v time.Time) predicate.ControlImplementation
- func VerificationDateGTE(v time.Time) predicate.ControlImplementation
- func VerificationDateIn(vs ...time.Time) predicate.ControlImplementation
- func VerificationDateIsNil() predicate.ControlImplementation
- func VerificationDateLT(v time.Time) predicate.ControlImplementation
- func VerificationDateLTE(v time.Time) predicate.ControlImplementation
- func VerificationDateNEQ(v time.Time) predicate.ControlImplementation
- func VerificationDateNotIn(vs ...time.Time) predicate.ControlImplementation
- func VerificationDateNotNil() predicate.ControlImplementation
- func Verified(v bool) predicate.ControlImplementation
- func VerifiedEQ(v bool) predicate.ControlImplementation
- func VerifiedIsNil() predicate.ControlImplementation
- func VerifiedNEQ(v bool) predicate.ControlImplementation
- func VerifiedNotNil() predicate.ControlImplementation
- type OrderOption
- func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlsCount(opts ...sql.OrderTermOption) 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 ByDetails(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImplementationDate(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVerificationDate(opts ...sql.OrderTermOption) OrderOption
- func ByVerified(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the controlimplementation type in the database. Label = "control_implementation" // 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" // 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" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldImplementationDate holds the string denoting the implementation_date field in the database. FieldImplementationDate = "implementation_date" // FieldVerified holds the string denoting the verified field in the database. FieldVerified = "verified" // FieldVerificationDate holds the string denoting the verification_date field in the database. FieldVerificationDate = "verification_date" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeControls holds the string denoting the controls edge name in mutations. EdgeControls = "controls" // EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations. EdgeSubcontrols = "subcontrols" // Table holds the table name of the controlimplementation in the database. Table = "control_implementations" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "control_implementations" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "control_control_implementations" // ControlsInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. ControlsInverseTable = "controls" // SubcontrolsTable is the table that holds the subcontrols relation/edge. The primary key declared below. SubcontrolsTable = "subcontrol_control_implementations" // SubcontrolsInverseTable is the table name for the Subcontrol entity. // It exists in this package in order to avoid circular dependency with the "subcontrol" package. SubcontrolsInverseTable = "subcontrols" )
const DefaultStatus enums.DocumentStatus = "DRAFT"
Variables ¶
var ( // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"control_id", "control_implementation_id"} // SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the // primary key for the subcontrols relation (M2M). SubcontrolsPrimaryKey = []string{"subcontrol_id", "control_implementation_id"} )
var ( Hooks [7]ent.Hook Interceptors [3]ent.Interceptor Policy ent.Policy // 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 // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator 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, FieldDeletedAt, FieldDeletedBy, FieldTags, FieldOwnerID, FieldStatus, FieldImplementationDate, FieldVerified, FieldVerificationDate, FieldDetails, }
Columns holds all SQL columns for controlimplementation fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ControlImplementation) predicate.ControlImplementation
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ControlImplementation
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ControlImplementation
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ControlImplementation
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ControlImplementation
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ControlImplementation
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.ControlImplementation
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ControlImplementation
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ControlImplementation
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ControlImplementation
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ControlImplementation
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.ControlImplementation
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.ControlImplementation
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.ControlImplementation
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.ControlImplementation
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.ControlImplementation
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.ControlImplementation
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.ControlImplementation
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.ControlImplementation
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.ControlImplementation
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.ControlImplementation
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.ControlImplementation
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.ControlImplementation
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.ControlImplementation
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.ControlImplementation
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.ControlImplementation
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.ControlImplementation
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.ControlImplementation
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.ControlImplementation
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.ControlImplementation
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.ControlImplementation
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.ControlImplementation
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.ControlImplementation
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.ControlImplementation
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.ControlImplementation
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.ControlImplementation
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.ControlImplementation
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.ControlImplementation
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.ControlImplementation
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.ControlImplementation
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.ControlImplementation
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.ControlImplementation
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.ControlImplementation
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.ControlImplementation
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.ControlImplementation
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.ControlImplementation
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.ControlImplementation
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.ControlImplementation
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.ControlImplementation
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.ControlImplementation
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.ControlImplementation
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.ControlImplementation
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.ControlImplementation
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.ControlImplementation
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.ControlImplementation
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Details ¶
func Details(v string) predicate.ControlImplementation
Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.
func DetailsContains ¶
func DetailsContains(v string) predicate.ControlImplementation
DetailsContains applies the Contains predicate on the "details" field.
func DetailsContainsFold ¶
func DetailsContainsFold(v string) predicate.ControlImplementation
DetailsContainsFold applies the ContainsFold predicate on the "details" field.
func DetailsEQ ¶
func DetailsEQ(v string) predicate.ControlImplementation
DetailsEQ applies the EQ predicate on the "details" field.
func DetailsEqualFold ¶
func DetailsEqualFold(v string) predicate.ControlImplementation
DetailsEqualFold applies the EqualFold predicate on the "details" field.
func DetailsGT ¶
func DetailsGT(v string) predicate.ControlImplementation
DetailsGT applies the GT predicate on the "details" field.
func DetailsGTE ¶
func DetailsGTE(v string) predicate.ControlImplementation
DetailsGTE applies the GTE predicate on the "details" field.
func DetailsHasPrefix ¶
func DetailsHasPrefix(v string) predicate.ControlImplementation
DetailsHasPrefix applies the HasPrefix predicate on the "details" field.
func DetailsHasSuffix ¶
func DetailsHasSuffix(v string) predicate.ControlImplementation
DetailsHasSuffix applies the HasSuffix predicate on the "details" field.
func DetailsIn ¶
func DetailsIn(vs ...string) predicate.ControlImplementation
DetailsIn applies the In predicate on the "details" field.
func DetailsIsNil ¶
func DetailsIsNil() predicate.ControlImplementation
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsLT ¶
func DetailsLT(v string) predicate.ControlImplementation
DetailsLT applies the LT predicate on the "details" field.
func DetailsLTE ¶
func DetailsLTE(v string) predicate.ControlImplementation
DetailsLTE applies the LTE predicate on the "details" field.
func DetailsNEQ ¶
func DetailsNEQ(v string) predicate.ControlImplementation
DetailsNEQ applies the NEQ predicate on the "details" field.
func DetailsNotIn ¶
func DetailsNotIn(vs ...string) predicate.ControlImplementation
DetailsNotIn applies the NotIn predicate on the "details" field.
func DetailsNotNil ¶
func DetailsNotNil() predicate.ControlImplementation
DetailsNotNil applies the NotNil predicate on the "details" field.
func HasControls ¶
func HasControls() predicate.ControlImplementation
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶
func HasControlsWith(preds ...predicate.Control) predicate.ControlImplementation
HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).
func HasOwner ¶ added in v0.8.9
func HasOwner() predicate.ControlImplementation
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶ added in v0.8.9
func HasOwnerWith(preds ...predicate.Organization) predicate.ControlImplementation
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasSubcontrols ¶ added in v0.8.9
func HasSubcontrols() predicate.ControlImplementation
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
func HasSubcontrolsWith ¶ added in v0.8.9
func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.ControlImplementation
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.ControlImplementation
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.ControlImplementation
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.ControlImplementation
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.ControlImplementation
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.ControlImplementation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.ControlImplementation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.ControlImplementation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.ControlImplementation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.ControlImplementation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.ControlImplementation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.ControlImplementation
IDNotIn applies the NotIn predicate on the ID field.
func ImplementationDate ¶
func ImplementationDate(v time.Time) predicate.ControlImplementation
ImplementationDate applies equality check predicate on the "implementation_date" field. It's identical to ImplementationDateEQ.
func ImplementationDateEQ ¶
func ImplementationDateEQ(v time.Time) predicate.ControlImplementation
ImplementationDateEQ applies the EQ predicate on the "implementation_date" field.
func ImplementationDateGT ¶
func ImplementationDateGT(v time.Time) predicate.ControlImplementation
ImplementationDateGT applies the GT predicate on the "implementation_date" field.
func ImplementationDateGTE ¶
func ImplementationDateGTE(v time.Time) predicate.ControlImplementation
ImplementationDateGTE applies the GTE predicate on the "implementation_date" field.
func ImplementationDateIn ¶
func ImplementationDateIn(vs ...time.Time) predicate.ControlImplementation
ImplementationDateIn applies the In predicate on the "implementation_date" field.
func ImplementationDateIsNil ¶
func ImplementationDateIsNil() predicate.ControlImplementation
ImplementationDateIsNil applies the IsNil predicate on the "implementation_date" field.
func ImplementationDateLT ¶
func ImplementationDateLT(v time.Time) predicate.ControlImplementation
ImplementationDateLT applies the LT predicate on the "implementation_date" field.
func ImplementationDateLTE ¶
func ImplementationDateLTE(v time.Time) predicate.ControlImplementation
ImplementationDateLTE applies the LTE predicate on the "implementation_date" field.
func ImplementationDateNEQ ¶
func ImplementationDateNEQ(v time.Time) predicate.ControlImplementation
ImplementationDateNEQ applies the NEQ predicate on the "implementation_date" field.
func ImplementationDateNotIn ¶
func ImplementationDateNotIn(vs ...time.Time) predicate.ControlImplementation
ImplementationDateNotIn applies the NotIn predicate on the "implementation_date" field.
func ImplementationDateNotNil ¶
func ImplementationDateNotNil() predicate.ControlImplementation
ImplementationDateNotNil applies the NotNil predicate on the "implementation_date" field.
func Not ¶
func Not(p predicate.ControlImplementation) predicate.ControlImplementation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ControlImplementation) predicate.ControlImplementation
Or groups predicates with the OR operator between them.
func OwnerID ¶ added in v0.8.9
func OwnerID(v string) predicate.ControlImplementation
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.8.9
func OwnerIDContains(v string) predicate.ControlImplementation
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.8.9
func OwnerIDContainsFold(v string) predicate.ControlImplementation
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶ added in v0.8.9
func OwnerIDEQ(v string) predicate.ControlImplementation
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.8.9
func OwnerIDEqualFold(v string) predicate.ControlImplementation
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶ added in v0.8.9
func OwnerIDGT(v string) predicate.ControlImplementation
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.8.9
func OwnerIDGTE(v string) predicate.ControlImplementation
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.8.9
func OwnerIDHasPrefix(v string) predicate.ControlImplementation
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.8.9
func OwnerIDHasSuffix(v string) predicate.ControlImplementation
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶ added in v0.8.9
func OwnerIDIn(vs ...string) predicate.ControlImplementation
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.8.9
func OwnerIDIsNil() predicate.ControlImplementation
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLT ¶ added in v0.8.9
func OwnerIDLT(v string) predicate.ControlImplementation
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.8.9
func OwnerIDLTE(v string) predicate.ControlImplementation
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.8.9
func OwnerIDNEQ(v string) predicate.ControlImplementation
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.8.9
func OwnerIDNotIn(vs ...string) predicate.ControlImplementation
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.8.9
func OwnerIDNotNil() predicate.ControlImplementation
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func StatusEQ ¶
func StatusEQ(v enums.DocumentStatus) predicate.ControlImplementation
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.DocumentStatus) predicate.ControlImplementation
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.ControlImplementation
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.DocumentStatus) predicate.ControlImplementation
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.DocumentStatus) predicate.ControlImplementation
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.ControlImplementation
StatusNotNil applies the NotNil predicate on the "status" field.
func StatusValidator ¶ added in v0.7.5
func StatusValidator(s enums.DocumentStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TagsIsNil ¶
func TagsIsNil() predicate.ControlImplementation
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.ControlImplementation
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ControlImplementation
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ControlImplementation
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ControlImplementation
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ControlImplementation
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ControlImplementation
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.ControlImplementation
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ControlImplementation
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ControlImplementation
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ControlImplementation
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ControlImplementation
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.ControlImplementation
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.ControlImplementation
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.ControlImplementation
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.ControlImplementation
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.ControlImplementation
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.ControlImplementation
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.ControlImplementation
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.ControlImplementation
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.ControlImplementation
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.ControlImplementation
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.ControlImplementation
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.ControlImplementation
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.ControlImplementation
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.ControlImplementation
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.ControlImplementation
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.ControlImplementation
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.ControlImplementation
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).
func VerificationDate ¶
func VerificationDate(v time.Time) predicate.ControlImplementation
VerificationDate applies equality check predicate on the "verification_date" field. It's identical to VerificationDateEQ.
func VerificationDateEQ ¶
func VerificationDateEQ(v time.Time) predicate.ControlImplementation
VerificationDateEQ applies the EQ predicate on the "verification_date" field.
func VerificationDateGT ¶
func VerificationDateGT(v time.Time) predicate.ControlImplementation
VerificationDateGT applies the GT predicate on the "verification_date" field.
func VerificationDateGTE ¶
func VerificationDateGTE(v time.Time) predicate.ControlImplementation
VerificationDateGTE applies the GTE predicate on the "verification_date" field.
func VerificationDateIn ¶
func VerificationDateIn(vs ...time.Time) predicate.ControlImplementation
VerificationDateIn applies the In predicate on the "verification_date" field.
func VerificationDateIsNil ¶
func VerificationDateIsNil() predicate.ControlImplementation
VerificationDateIsNil applies the IsNil predicate on the "verification_date" field.
func VerificationDateLT ¶
func VerificationDateLT(v time.Time) predicate.ControlImplementation
VerificationDateLT applies the LT predicate on the "verification_date" field.
func VerificationDateLTE ¶
func VerificationDateLTE(v time.Time) predicate.ControlImplementation
VerificationDateLTE applies the LTE predicate on the "verification_date" field.
func VerificationDateNEQ ¶
func VerificationDateNEQ(v time.Time) predicate.ControlImplementation
VerificationDateNEQ applies the NEQ predicate on the "verification_date" field.
func VerificationDateNotIn ¶
func VerificationDateNotIn(vs ...time.Time) predicate.ControlImplementation
VerificationDateNotIn applies the NotIn predicate on the "verification_date" field.
func VerificationDateNotNil ¶
func VerificationDateNotNil() predicate.ControlImplementation
VerificationDateNotNil applies the NotNil predicate on the "verification_date" field.
func Verified ¶
func Verified(v bool) predicate.ControlImplementation
Verified applies equality check predicate on the "verified" field. It's identical to VerifiedEQ.
func VerifiedEQ ¶
func VerifiedEQ(v bool) predicate.ControlImplementation
VerifiedEQ applies the EQ predicate on the "verified" field.
func VerifiedIsNil ¶
func VerifiedIsNil() predicate.ControlImplementation
VerifiedIsNil applies the IsNil predicate on the "verified" field.
func VerifiedNEQ ¶
func VerifiedNEQ(v bool) predicate.ControlImplementation
VerifiedNEQ applies the NEQ predicate on the "verified" field.
func VerifiedNotNil ¶
func VerifiedNotNil() predicate.ControlImplementation
VerifiedNotNil applies the NotNil predicate on the "verified" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ControlImplementation queries.
func ByControls ¶
func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControls orders the results by controls terms.
func ByControlsCount ¶
func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
ByControlsCount orders the results by controls count.
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 ByDetails ¶
func ByDetails(opts ...sql.OrderTermOption) OrderOption
ByDetails orders the results by the details field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByImplementationDate ¶
func ByImplementationDate(opts ...sql.OrderTermOption) OrderOption
ByImplementationDate orders the results by the implementation_date field.
func ByOwnerField ¶ added in v0.8.9
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.8.9
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubcontrols ¶ added in v0.8.9
func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubcontrols orders the results by subcontrols terms.
func BySubcontrolsCount ¶ added in v0.8.9
func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
BySubcontrolsCount orders the results by subcontrols count.
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.
func ByVerificationDate ¶
func ByVerificationDate(opts ...sql.OrderTermOption) OrderOption
ByVerificationDate orders the results by the verification_date field.
func ByVerified ¶
func ByVerified(opts ...sql.OrderTermOption) OrderOption
ByVerified orders the results by the verified field.