Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Control) predicate.Control
- func Class(v string) predicate.Control
- func ClassContains(v string) predicate.Control
- func ClassContainsFold(v string) predicate.Control
- func ClassEQ(v string) predicate.Control
- func ClassEqualFold(v string) predicate.Control
- func ClassGT(v string) predicate.Control
- func ClassGTE(v string) predicate.Control
- func ClassHasPrefix(v string) predicate.Control
- func ClassHasSuffix(v string) predicate.Control
- func ClassIn(vs ...string) predicate.Control
- func ClassIsNil() predicate.Control
- func ClassLT(v string) predicate.Control
- func ClassLTE(v string) predicate.Control
- func ClassNEQ(v string) predicate.Control
- func ClassNotIn(vs ...string) predicate.Control
- func ClassNotNil() predicate.Control
- func ControlNumber(v string) predicate.Control
- func ControlNumberContains(v string) predicate.Control
- func ControlNumberContainsFold(v string) predicate.Control
- func ControlNumberEQ(v string) predicate.Control
- func ControlNumberEqualFold(v string) predicate.Control
- func ControlNumberGT(v string) predicate.Control
- func ControlNumberGTE(v string) predicate.Control
- func ControlNumberHasPrefix(v string) predicate.Control
- func ControlNumberHasSuffix(v string) predicate.Control
- func ControlNumberIn(vs ...string) predicate.Control
- func ControlNumberIsNil() predicate.Control
- func ControlNumberLT(v string) predicate.Control
- func ControlNumberLTE(v string) predicate.Control
- func ControlNumberNEQ(v string) predicate.Control
- func ControlNumberNotIn(vs ...string) predicate.Control
- func ControlNumberNotNil() predicate.Control
- func ControlType(v string) predicate.Control
- func ControlTypeContains(v string) predicate.Control
- func ControlTypeContainsFold(v string) predicate.Control
- func ControlTypeEQ(v string) predicate.Control
- func ControlTypeEqualFold(v string) predicate.Control
- func ControlTypeGT(v string) predicate.Control
- func ControlTypeGTE(v string) predicate.Control
- func ControlTypeHasPrefix(v string) predicate.Control
- func ControlTypeHasSuffix(v string) predicate.Control
- func ControlTypeIn(vs ...string) predicate.Control
- func ControlTypeIsNil() predicate.Control
- func ControlTypeLT(v string) predicate.Control
- func ControlTypeLTE(v string) predicate.Control
- func ControlTypeNEQ(v string) predicate.Control
- func ControlTypeNotIn(vs ...string) predicate.Control
- func ControlTypeNotNil() predicate.Control
- func CreatedAt(v time.Time) predicate.Control
- func CreatedAtEQ(v time.Time) predicate.Control
- func CreatedAtGT(v time.Time) predicate.Control
- func CreatedAtGTE(v time.Time) predicate.Control
- func CreatedAtIn(vs ...time.Time) predicate.Control
- func CreatedAtIsNil() predicate.Control
- func CreatedAtLT(v time.Time) predicate.Control
- func CreatedAtLTE(v time.Time) predicate.Control
- func CreatedAtNEQ(v time.Time) predicate.Control
- func CreatedAtNotIn(vs ...time.Time) predicate.Control
- func CreatedAtNotNil() predicate.Control
- func CreatedBy(v string) predicate.Control
- func CreatedByContains(v string) predicate.Control
- func CreatedByContainsFold(v string) predicate.Control
- func CreatedByEQ(v string) predicate.Control
- func CreatedByEqualFold(v string) predicate.Control
- func CreatedByGT(v string) predicate.Control
- func CreatedByGTE(v string) predicate.Control
- func CreatedByHasPrefix(v string) predicate.Control
- func CreatedByHasSuffix(v string) predicate.Control
- func CreatedByIn(vs ...string) predicate.Control
- func CreatedByIsNil() predicate.Control
- func CreatedByLT(v string) predicate.Control
- func CreatedByLTE(v string) predicate.Control
- func CreatedByNEQ(v string) predicate.Control
- func CreatedByNotIn(vs ...string) predicate.Control
- func CreatedByNotNil() predicate.Control
- func DeletedAt(v time.Time) predicate.Control
- func DeletedAtEQ(v time.Time) predicate.Control
- func DeletedAtGT(v time.Time) predicate.Control
- func DeletedAtGTE(v time.Time) predicate.Control
- func DeletedAtIn(vs ...time.Time) predicate.Control
- func DeletedAtIsNil() predicate.Control
- func DeletedAtLT(v time.Time) predicate.Control
- func DeletedAtLTE(v time.Time) predicate.Control
- func DeletedAtNEQ(v time.Time) predicate.Control
- func DeletedAtNotIn(vs ...time.Time) predicate.Control
- func DeletedAtNotNil() predicate.Control
- func DeletedBy(v string) predicate.Control
- func DeletedByContains(v string) predicate.Control
- func DeletedByContainsFold(v string) predicate.Control
- func DeletedByEQ(v string) predicate.Control
- func DeletedByEqualFold(v string) predicate.Control
- func DeletedByGT(v string) predicate.Control
- func DeletedByGTE(v string) predicate.Control
- func DeletedByHasPrefix(v string) predicate.Control
- func DeletedByHasSuffix(v string) predicate.Control
- func DeletedByIn(vs ...string) predicate.Control
- func DeletedByIsNil() predicate.Control
- func DeletedByLT(v string) predicate.Control
- func DeletedByLTE(v string) predicate.Control
- func DeletedByNEQ(v string) predicate.Control
- func DeletedByNotIn(vs ...string) predicate.Control
- func DeletedByNotNil() predicate.Control
- func Description(v string) predicate.Control
- func DescriptionContains(v string) predicate.Control
- func DescriptionContainsFold(v string) predicate.Control
- func DescriptionEQ(v string) predicate.Control
- func DescriptionEqualFold(v string) predicate.Control
- func DescriptionGT(v string) predicate.Control
- func DescriptionGTE(v string) predicate.Control
- func DescriptionHasPrefix(v string) predicate.Control
- func DescriptionHasSuffix(v string) predicate.Control
- func DescriptionIn(vs ...string) predicate.Control
- func DescriptionIsNil() predicate.Control
- func DescriptionLT(v string) predicate.Control
- func DescriptionLTE(v string) predicate.Control
- func DescriptionNEQ(v string) predicate.Control
- func DescriptionNotIn(vs ...string) predicate.Control
- func DescriptionNotNil() predicate.Control
- func DetailsIsNil() predicate.Control
- func DetailsNotNil() predicate.Control
- func Family(v string) predicate.Control
- func FamilyContains(v string) predicate.Control
- func FamilyContainsFold(v string) predicate.Control
- func FamilyEQ(v string) predicate.Control
- func FamilyEqualFold(v string) predicate.Control
- func FamilyGT(v string) predicate.Control
- func FamilyGTE(v string) predicate.Control
- func FamilyHasPrefix(v string) predicate.Control
- func FamilyHasSuffix(v string) predicate.Control
- func FamilyIn(vs ...string) predicate.Control
- func FamilyIsNil() predicate.Control
- func FamilyLT(v string) predicate.Control
- func FamilyLTE(v string) predicate.Control
- func FamilyNEQ(v string) predicate.Control
- func FamilyNotIn(vs ...string) predicate.Control
- func FamilyNotNil() predicate.Control
- func HasActionplans() predicate.Control
- func HasActionplansWith(preds ...predicate.ActionPlan) predicate.Control
- func HasControlobjectives() predicate.Control
- func HasControlobjectivesWith(preds ...predicate.ControlObjective) predicate.Control
- func HasNarratives() predicate.Control
- func HasNarrativesWith(preds ...predicate.Narrative) predicate.Control
- func HasProcedures() predicate.Control
- func HasProceduresWith(preds ...predicate.Procedure) predicate.Control
- func HasPrograms() predicate.Control
- func HasProgramsWith(preds ...predicate.Program) predicate.Control
- func HasRisks() predicate.Control
- func HasRisksWith(preds ...predicate.Risk) predicate.Control
- func HasStandard() predicate.Control
- func HasStandardWith(preds ...predicate.Standard) predicate.Control
- func HasSubcontrols() predicate.Control
- func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Control
- func HasTasks() predicate.Control
- func HasTasksWith(preds ...predicate.Task) predicate.Control
- func ID(id string) predicate.Control
- func IDContainsFold(id string) predicate.Control
- func IDEQ(id string) predicate.Control
- func IDEqualFold(id string) predicate.Control
- func IDGT(id string) predicate.Control
- func IDGTE(id string) predicate.Control
- func IDIn(ids ...string) predicate.Control
- func IDLT(id string) predicate.Control
- func IDLTE(id string) predicate.Control
- func IDNEQ(id string) predicate.Control
- func IDNotIn(ids ...string) predicate.Control
- func MappedFrameworks(v string) predicate.Control
- func MappedFrameworksContains(v string) predicate.Control
- func MappedFrameworksContainsFold(v string) predicate.Control
- func MappedFrameworksEQ(v string) predicate.Control
- func MappedFrameworksEqualFold(v string) predicate.Control
- func MappedFrameworksGT(v string) predicate.Control
- func MappedFrameworksGTE(v string) predicate.Control
- func MappedFrameworksHasPrefix(v string) predicate.Control
- func MappedFrameworksHasSuffix(v string) predicate.Control
- func MappedFrameworksIn(vs ...string) predicate.Control
- func MappedFrameworksIsNil() predicate.Control
- func MappedFrameworksLT(v string) predicate.Control
- func MappedFrameworksLTE(v string) predicate.Control
- func MappedFrameworksNEQ(v string) predicate.Control
- func MappedFrameworksNotIn(vs ...string) predicate.Control
- func MappedFrameworksNotNil() predicate.Control
- func MappingID(v string) predicate.Control
- func MappingIDContains(v string) predicate.Control
- func MappingIDContainsFold(v string) predicate.Control
- func MappingIDEQ(v string) predicate.Control
- func MappingIDEqualFold(v string) predicate.Control
- func MappingIDGT(v string) predicate.Control
- func MappingIDGTE(v string) predicate.Control
- func MappingIDHasPrefix(v string) predicate.Control
- func MappingIDHasSuffix(v string) predicate.Control
- func MappingIDIn(vs ...string) predicate.Control
- func MappingIDLT(v string) predicate.Control
- func MappingIDLTE(v string) predicate.Control
- func MappingIDNEQ(v string) predicate.Control
- func MappingIDNotIn(vs ...string) predicate.Control
- func Name(v string) predicate.Control
- func NameContains(v string) predicate.Control
- func NameContainsFold(v string) predicate.Control
- func NameEQ(v string) predicate.Control
- func NameEqualFold(v string) predicate.Control
- func NameGT(v string) predicate.Control
- func NameGTE(v string) predicate.Control
- func NameHasPrefix(v string) predicate.Control
- func NameHasSuffix(v string) predicate.Control
- func NameIn(vs ...string) predicate.Control
- func NameLT(v string) predicate.Control
- func NameLTE(v string) predicate.Control
- func NameNEQ(v string) predicate.Control
- func NameNotIn(vs ...string) predicate.Control
- func Not(p predicate.Control) predicate.Control
- func Or(predicates ...predicate.Control) predicate.Control
- func Satisfies(v string) predicate.Control
- func SatisfiesContains(v string) predicate.Control
- func SatisfiesContainsFold(v string) predicate.Control
- func SatisfiesEQ(v string) predicate.Control
- func SatisfiesEqualFold(v string) predicate.Control
- func SatisfiesGT(v string) predicate.Control
- func SatisfiesGTE(v string) predicate.Control
- func SatisfiesHasPrefix(v string) predicate.Control
- func SatisfiesHasSuffix(v string) predicate.Control
- func SatisfiesIn(vs ...string) predicate.Control
- func SatisfiesIsNil() predicate.Control
- func SatisfiesLT(v string) predicate.Control
- func SatisfiesLTE(v string) predicate.Control
- func SatisfiesNEQ(v string) predicate.Control
- func SatisfiesNotIn(vs ...string) predicate.Control
- func SatisfiesNotNil() predicate.Control
- func Source(v string) predicate.Control
- func SourceContains(v string) predicate.Control
- func SourceContainsFold(v string) predicate.Control
- func SourceEQ(v string) predicate.Control
- func SourceEqualFold(v string) predicate.Control
- func SourceGT(v string) predicate.Control
- func SourceGTE(v string) predicate.Control
- func SourceHasPrefix(v string) predicate.Control
- func SourceHasSuffix(v string) predicate.Control
- func SourceIn(vs ...string) predicate.Control
- func SourceIsNil() predicate.Control
- func SourceLT(v string) predicate.Control
- func SourceLTE(v string) predicate.Control
- func SourceNEQ(v string) predicate.Control
- func SourceNotIn(vs ...string) predicate.Control
- func SourceNotNil() predicate.Control
- func Status(v string) predicate.Control
- func StatusContains(v string) predicate.Control
- func StatusContainsFold(v string) predicate.Control
- func StatusEQ(v string) predicate.Control
- func StatusEqualFold(v string) predicate.Control
- func StatusGT(v string) predicate.Control
- func StatusGTE(v string) predicate.Control
- func StatusHasPrefix(v string) predicate.Control
- func StatusHasSuffix(v string) predicate.Control
- func StatusIn(vs ...string) predicate.Control
- func StatusIsNil() predicate.Control
- func StatusLT(v string) predicate.Control
- func StatusLTE(v string) predicate.Control
- func StatusNEQ(v string) predicate.Control
- func StatusNotIn(vs ...string) predicate.Control
- func StatusNotNil() predicate.Control
- func TagsIsNil() predicate.Control
- func TagsNotNil() predicate.Control
- func UpdatedAt(v time.Time) predicate.Control
- func UpdatedAtEQ(v time.Time) predicate.Control
- func UpdatedAtGT(v time.Time) predicate.Control
- func UpdatedAtGTE(v time.Time) predicate.Control
- func UpdatedAtIn(vs ...time.Time) predicate.Control
- func UpdatedAtIsNil() predicate.Control
- func UpdatedAtLT(v time.Time) predicate.Control
- func UpdatedAtLTE(v time.Time) predicate.Control
- func UpdatedAtNEQ(v time.Time) predicate.Control
- func UpdatedAtNotIn(vs ...time.Time) predicate.Control
- func UpdatedAtNotNil() predicate.Control
- func UpdatedBy(v string) predicate.Control
- func UpdatedByContains(v string) predicate.Control
- func UpdatedByContainsFold(v string) predicate.Control
- func UpdatedByEQ(v string) predicate.Control
- func UpdatedByEqualFold(v string) predicate.Control
- func UpdatedByGT(v string) predicate.Control
- func UpdatedByGTE(v string) predicate.Control
- func UpdatedByHasPrefix(v string) predicate.Control
- func UpdatedByHasSuffix(v string) predicate.Control
- func UpdatedByIn(vs ...string) predicate.Control
- func UpdatedByIsNil() predicate.Control
- func UpdatedByLT(v string) predicate.Control
- func UpdatedByLTE(v string) predicate.Control
- func UpdatedByNEQ(v string) predicate.Control
- func UpdatedByNotIn(vs ...string) predicate.Control
- func UpdatedByNotNil() predicate.Control
- func ValidColumn(column string) bool
- func Version(v string) predicate.Control
- func VersionContains(v string) predicate.Control
- func VersionContainsFold(v string) predicate.Control
- func VersionEQ(v string) predicate.Control
- func VersionEqualFold(v string) predicate.Control
- func VersionGT(v string) predicate.Control
- func VersionGTE(v string) predicate.Control
- func VersionHasPrefix(v string) predicate.Control
- func VersionHasSuffix(v string) predicate.Control
- func VersionIn(vs ...string) predicate.Control
- func VersionIsNil() predicate.Control
- func VersionLT(v string) predicate.Control
- func VersionLTE(v string) predicate.Control
- func VersionNEQ(v string) predicate.Control
- func VersionNotIn(vs ...string) predicate.Control
- func VersionNotNil() predicate.Control
- type OrderOption
- func ByActionplans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByActionplansCount(opts ...sql.OrderTermOption) OrderOption
- func ByClass(opts ...sql.OrderTermOption) OrderOption
- func ByControlNumber(opts ...sql.OrderTermOption) OrderOption
- func ByControlType(opts ...sql.OrderTermOption) OrderOption
- func ByControlobjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlobjectivesCount(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 ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByFamily(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappedFrameworks(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNarratives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNarrativesCount(opts ...sql.OrderTermOption) OrderOption
- func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
- func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
- func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
- func BySatisfies(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func ByStandard(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByStandardCount(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 ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the control type in the database. Label = "control" // 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" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // 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" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldControlType holds the string denoting the control_type field in the database. FieldControlType = "control_type" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldControlNumber holds the string denoting the control_number field in the database. FieldControlNumber = "control_number" // FieldFamily holds the string denoting the family field in the database. FieldFamily = "family" // FieldClass holds the string denoting the class field in the database. FieldClass = "class" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // FieldSatisfies holds the string denoting the satisfies field in the database. FieldSatisfies = "satisfies" // FieldMappedFrameworks holds the string denoting the mapped_frameworks field in the database. FieldMappedFrameworks = "mapped_frameworks" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // EdgeProcedures holds the string denoting the procedures edge name in mutations. EdgeProcedures = "procedures" // EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations. EdgeSubcontrols = "subcontrols" // EdgeControlobjectives holds the string denoting the controlobjectives edge name in mutations. EdgeControlobjectives = "controlobjectives" // EdgeStandard holds the string denoting the standard edge name in mutations. EdgeStandard = "standard" // EdgeNarratives holds the string denoting the narratives edge name in mutations. EdgeNarratives = "narratives" // EdgeRisks holds the string denoting the risks edge name in mutations. EdgeRisks = "risks" // EdgeActionplans holds the string denoting the actionplans edge name in mutations. EdgeActionplans = "actionplans" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgePrograms holds the string denoting the programs edge name in mutations. EdgePrograms = "programs" // Table holds the table name of the control in the database. Table = "controls" // ProceduresTable is the table that holds the procedures relation/edge. The primary key declared below. ProceduresTable = "control_procedures" // ProceduresInverseTable is the table name for the Procedure entity. // It exists in this package in order to avoid circular dependency with the "procedure" package. ProceduresInverseTable = "procedures" // SubcontrolsTable is the table that holds the subcontrols relation/edge. The primary key declared below. SubcontrolsTable = "control_subcontrols" // 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" // ControlobjectivesTable is the table that holds the controlobjectives relation/edge. ControlobjectivesTable = "control_objectives" // ControlobjectivesInverseTable is the table name for the ControlObjective entity. // It exists in this package in order to avoid circular dependency with the "controlobjective" package. ControlobjectivesInverseTable = "control_objectives" // ControlobjectivesColumn is the table column denoting the controlobjectives relation/edge. ControlobjectivesColumn = "control_controlobjectives" // StandardTable is the table that holds the standard relation/edge. The primary key declared below. StandardTable = "standard_controls" // StandardInverseTable is the table name for the Standard entity. // It exists in this package in order to avoid circular dependency with the "standard" package. StandardInverseTable = "standards" // NarrativesTable is the table that holds the narratives relation/edge. The primary key declared below. NarrativesTable = "control_narratives" // NarrativesInverseTable is the table name for the Narrative entity. // It exists in this package in order to avoid circular dependency with the "narrative" package. NarrativesInverseTable = "narratives" // RisksTable is the table that holds the risks relation/edge. The primary key declared below. RisksTable = "control_risks" // RisksInverseTable is the table name for the Risk entity. // It exists in this package in order to avoid circular dependency with the "risk" package. RisksInverseTable = "risks" // ActionplansTable is the table that holds the actionplans relation/edge. The primary key declared below. ActionplansTable = "control_actionplans" // ActionplansInverseTable is the table name for the ActionPlan entity. // It exists in this package in order to avoid circular dependency with the "actionplan" package. ActionplansInverseTable = "action_plans" // TasksTable is the table that holds the tasks relation/edge. The primary key declared below. TasksTable = "control_tasks" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // ProgramsTable is the table that holds the programs relation/edge. The primary key declared below. ProgramsTable = "program_controls" // ProgramsInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramsInverseTable = "programs" )
Variables ¶
var ( // ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the // primary key for the procedures relation (M2M). ProceduresPrimaryKey = []string{"control_id", "procedure_id"} // SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the // primary key for the subcontrols relation (M2M). SubcontrolsPrimaryKey = []string{"control_id", "subcontrol_id"} // StandardPrimaryKey and StandardColumn2 are the table columns denoting the // primary key for the standard relation (M2M). StandardPrimaryKey = []string{"standard_id", "control_id"} // NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the // primary key for the narratives relation (M2M). NarrativesPrimaryKey = []string{"control_id", "narrative_id"} // RisksPrimaryKey and RisksColumn2 are the table columns denoting the // primary key for the risks relation (M2M). RisksPrimaryKey = []string{"control_id", "risk_id"} // ActionplansPrimaryKey and ActionplansColumn2 are the table columns denoting the // primary key for the actionplans relation (M2M). ActionplansPrimaryKey = []string{"control_id", "action_plan_id"} // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"control_id", "task_id"} // ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the // primary key for the programs relation (M2M). ProgramsPrimaryKey = []string{"program_id", "control_id"} )
var ( Hooks [2]ent.Hook Interceptors [1]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 // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // 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, FieldMappingID, FieldTags, FieldName, FieldDescription, FieldStatus, FieldControlType, FieldVersion, FieldControlNumber, FieldFamily, FieldClass, FieldSource, FieldSatisfies, FieldMappedFrameworks, FieldDetails, }
Columns holds all SQL columns for control fields.
var ForeignKeys = []string{
"control_objective_controls",
"internal_policy_controls",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "controls" table and are not defined as standalone fields in the schema.
Functions ¶
func Class ¶
Class applies equality check predicate on the "class" field. It's identical to ClassEQ.
func ClassContains ¶
ClassContains applies the Contains predicate on the "class" field.
func ClassContainsFold ¶
ClassContainsFold applies the ContainsFold predicate on the "class" field.
func ClassEqualFold ¶
ClassEqualFold applies the EqualFold predicate on the "class" field.
func ClassHasPrefix ¶
ClassHasPrefix applies the HasPrefix predicate on the "class" field.
func ClassHasSuffix ¶
ClassHasSuffix applies the HasSuffix predicate on the "class" field.
func ClassIsNil ¶
ClassIsNil applies the IsNil predicate on the "class" field.
func ClassNotIn ¶
ClassNotIn applies the NotIn predicate on the "class" field.
func ClassNotNil ¶
ClassNotNil applies the NotNil predicate on the "class" field.
func ControlNumber ¶
ControlNumber applies equality check predicate on the "control_number" field. It's identical to ControlNumberEQ.
func ControlNumberContains ¶
ControlNumberContains applies the Contains predicate on the "control_number" field.
func ControlNumberContainsFold ¶
ControlNumberContainsFold applies the ContainsFold predicate on the "control_number" field.
func ControlNumberEQ ¶
ControlNumberEQ applies the EQ predicate on the "control_number" field.
func ControlNumberEqualFold ¶
ControlNumberEqualFold applies the EqualFold predicate on the "control_number" field.
func ControlNumberGT ¶
ControlNumberGT applies the GT predicate on the "control_number" field.
func ControlNumberGTE ¶
ControlNumberGTE applies the GTE predicate on the "control_number" field.
func ControlNumberHasPrefix ¶
ControlNumberHasPrefix applies the HasPrefix predicate on the "control_number" field.
func ControlNumberHasSuffix ¶
ControlNumberHasSuffix applies the HasSuffix predicate on the "control_number" field.
func ControlNumberIn ¶
ControlNumberIn applies the In predicate on the "control_number" field.
func ControlNumberIsNil ¶
ControlNumberIsNil applies the IsNil predicate on the "control_number" field.
func ControlNumberLT ¶
ControlNumberLT applies the LT predicate on the "control_number" field.
func ControlNumberLTE ¶
ControlNumberLTE applies the LTE predicate on the "control_number" field.
func ControlNumberNEQ ¶
ControlNumberNEQ applies the NEQ predicate on the "control_number" field.
func ControlNumberNotIn ¶
ControlNumberNotIn applies the NotIn predicate on the "control_number" field.
func ControlNumberNotNil ¶
ControlNumberNotNil applies the NotNil predicate on the "control_number" field.
func ControlType ¶
ControlType applies equality check predicate on the "control_type" field. It's identical to ControlTypeEQ.
func ControlTypeContains ¶
ControlTypeContains applies the Contains predicate on the "control_type" field.
func ControlTypeContainsFold ¶
ControlTypeContainsFold applies the ContainsFold predicate on the "control_type" field.
func ControlTypeEQ ¶
ControlTypeEQ applies the EQ predicate on the "control_type" field.
func ControlTypeEqualFold ¶
ControlTypeEqualFold applies the EqualFold predicate on the "control_type" field.
func ControlTypeGT ¶
ControlTypeGT applies the GT predicate on the "control_type" field.
func ControlTypeGTE ¶
ControlTypeGTE applies the GTE predicate on the "control_type" field.
func ControlTypeHasPrefix ¶
ControlTypeHasPrefix applies the HasPrefix predicate on the "control_type" field.
func ControlTypeHasSuffix ¶
ControlTypeHasSuffix applies the HasSuffix predicate on the "control_type" field.
func ControlTypeIn ¶
ControlTypeIn applies the In predicate on the "control_type" field.
func ControlTypeIsNil ¶
ControlTypeIsNil applies the IsNil predicate on the "control_type" field.
func ControlTypeLT ¶
ControlTypeLT applies the LT predicate on the "control_type" field.
func ControlTypeLTE ¶
ControlTypeLTE applies the LTE predicate on the "control_type" field.
func ControlTypeNEQ ¶
ControlTypeNEQ applies the NEQ predicate on the "control_type" field.
func ControlTypeNotIn ¶
ControlTypeNotIn applies the NotIn predicate on the "control_type" field.
func ControlTypeNotNil ¶
ControlTypeNotNil applies the NotNil predicate on the "control_type" field.
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 DetailsIsNil ¶
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsNotNil ¶
DetailsNotNil applies the NotNil predicate on the "details" field.
func Family ¶
Family applies equality check predicate on the "family" field. It's identical to FamilyEQ.
func FamilyContains ¶
FamilyContains applies the Contains predicate on the "family" field.
func FamilyContainsFold ¶
FamilyContainsFold applies the ContainsFold predicate on the "family" field.
func FamilyEqualFold ¶
FamilyEqualFold applies the EqualFold predicate on the "family" field.
func FamilyHasPrefix ¶
FamilyHasPrefix applies the HasPrefix predicate on the "family" field.
func FamilyHasSuffix ¶
FamilyHasSuffix applies the HasSuffix predicate on the "family" field.
func FamilyIsNil ¶
FamilyIsNil applies the IsNil predicate on the "family" field.
func FamilyNotIn ¶
FamilyNotIn applies the NotIn predicate on the "family" field.
func FamilyNotNil ¶
FamilyNotNil applies the NotNil predicate on the "family" field.
func HasActionplans ¶
HasActionplans applies the HasEdge predicate on the "actionplans" edge.
func HasActionplansWith ¶
func HasActionplansWith(preds ...predicate.ActionPlan) predicate.Control
HasActionplansWith applies the HasEdge predicate on the "actionplans" edge with a given conditions (other predicates).
func HasControlobjectives ¶
HasControlobjectives applies the HasEdge predicate on the "controlobjectives" edge.
func HasControlobjectivesWith ¶
func HasControlobjectivesWith(preds ...predicate.ControlObjective) predicate.Control
HasControlobjectivesWith applies the HasEdge predicate on the "controlobjectives" edge with a given conditions (other predicates).
func HasNarratives ¶
HasNarratives applies the HasEdge predicate on the "narratives" edge.
func HasNarrativesWith ¶
HasNarrativesWith applies the HasEdge predicate on the "narratives" edge with a given conditions (other predicates).
func HasProcedures ¶
HasProcedures applies the HasEdge predicate on the "procedures" edge.
func HasProceduresWith ¶
HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).
func HasPrograms ¶ added in v0.3.5
HasPrograms applies the HasEdge predicate on the "programs" edge.
func HasProgramsWith ¶ added in v0.3.5
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
func HasRisksWith ¶
HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).
func HasStandard ¶
HasStandard applies the HasEdge predicate on the "standard" edge.
func HasStandardWith ¶
HasStandardWith applies the HasEdge predicate on the "standard" edge with a given conditions (other predicates).
func HasSubcontrols ¶
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
func HasSubcontrolsWith ¶
func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Control
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
func HasTasksWith ¶ added in v0.3.4
HasTasksWith applies the HasEdge predicate on the "tasks" 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 MappedFrameworks ¶
MappedFrameworks applies equality check predicate on the "mapped_frameworks" field. It's identical to MappedFrameworksEQ.
func MappedFrameworksContains ¶
MappedFrameworksContains applies the Contains predicate on the "mapped_frameworks" field.
func MappedFrameworksContainsFold ¶
MappedFrameworksContainsFold applies the ContainsFold predicate on the "mapped_frameworks" field.
func MappedFrameworksEQ ¶
MappedFrameworksEQ applies the EQ predicate on the "mapped_frameworks" field.
func MappedFrameworksEqualFold ¶
MappedFrameworksEqualFold applies the EqualFold predicate on the "mapped_frameworks" field.
func MappedFrameworksGT ¶
MappedFrameworksGT applies the GT predicate on the "mapped_frameworks" field.
func MappedFrameworksGTE ¶
MappedFrameworksGTE applies the GTE predicate on the "mapped_frameworks" field.
func MappedFrameworksHasPrefix ¶
MappedFrameworksHasPrefix applies the HasPrefix predicate on the "mapped_frameworks" field.
func MappedFrameworksHasSuffix ¶
MappedFrameworksHasSuffix applies the HasSuffix predicate on the "mapped_frameworks" field.
func MappedFrameworksIn ¶
MappedFrameworksIn applies the In predicate on the "mapped_frameworks" field.
func MappedFrameworksIsNil ¶
MappedFrameworksIsNil applies the IsNil predicate on the "mapped_frameworks" field.
func MappedFrameworksLT ¶
MappedFrameworksLT applies the LT predicate on the "mapped_frameworks" field.
func MappedFrameworksLTE ¶
MappedFrameworksLTE applies the LTE predicate on the "mapped_frameworks" field.
func MappedFrameworksNEQ ¶
MappedFrameworksNEQ applies the NEQ predicate on the "mapped_frameworks" field.
func MappedFrameworksNotIn ¶
MappedFrameworksNotIn applies the NotIn predicate on the "mapped_frameworks" field.
func MappedFrameworksNotNil ¶
MappedFrameworksNotNil applies the NotNil predicate on the "mapped_frameworks" 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 Satisfies ¶
Satisfies applies equality check predicate on the "satisfies" field. It's identical to SatisfiesEQ.
func SatisfiesContains ¶
SatisfiesContains applies the Contains predicate on the "satisfies" field.
func SatisfiesContainsFold ¶
SatisfiesContainsFold applies the ContainsFold predicate on the "satisfies" field.
func SatisfiesEQ ¶
SatisfiesEQ applies the EQ predicate on the "satisfies" field.
func SatisfiesEqualFold ¶
SatisfiesEqualFold applies the EqualFold predicate on the "satisfies" field.
func SatisfiesGT ¶
SatisfiesGT applies the GT predicate on the "satisfies" field.
func SatisfiesGTE ¶
SatisfiesGTE applies the GTE predicate on the "satisfies" field.
func SatisfiesHasPrefix ¶
SatisfiesHasPrefix applies the HasPrefix predicate on the "satisfies" field.
func SatisfiesHasSuffix ¶
SatisfiesHasSuffix applies the HasSuffix predicate on the "satisfies" field.
func SatisfiesIn ¶
SatisfiesIn applies the In predicate on the "satisfies" field.
func SatisfiesIsNil ¶
SatisfiesIsNil applies the IsNil predicate on the "satisfies" field.
func SatisfiesLT ¶
SatisfiesLT applies the LT predicate on the "satisfies" field.
func SatisfiesLTE ¶
SatisfiesLTE applies the LTE predicate on the "satisfies" field.
func SatisfiesNEQ ¶
SatisfiesNEQ applies the NEQ predicate on the "satisfies" field.
func SatisfiesNotIn ¶
SatisfiesNotIn applies the NotIn predicate on the "satisfies" field.
func SatisfiesNotNil ¶
SatisfiesNotNil applies the NotNil predicate on the "satisfies" field.
func Source ¶
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEqualFold ¶
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceHasPrefix ¶
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIsNil ¶
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceNotIn ¶
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶
SourceNotNil applies the NotNil predicate on the "source" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" 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).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIsNil ¶
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Control queries.
func ByActionplans ¶
func ByActionplans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByActionplans orders the results by actionplans terms.
func ByActionplansCount ¶
func ByActionplansCount(opts ...sql.OrderTermOption) OrderOption
ByActionplansCount orders the results by actionplans count.
func ByClass ¶
func ByClass(opts ...sql.OrderTermOption) OrderOption
ByClass orders the results by the class field.
func ByControlNumber ¶
func ByControlNumber(opts ...sql.OrderTermOption) OrderOption
ByControlNumber orders the results by the control_number field.
func ByControlType ¶
func ByControlType(opts ...sql.OrderTermOption) OrderOption
ByControlType orders the results by the control_type field.
func ByControlobjectives ¶
func ByControlobjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlobjectives orders the results by controlobjectives terms.
func ByControlobjectivesCount ¶
func ByControlobjectivesCount(opts ...sql.OrderTermOption) OrderOption
ByControlobjectivesCount orders the results by controlobjectives 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 ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByFamily ¶
func ByFamily(opts ...sql.OrderTermOption) OrderOption
ByFamily orders the results by the family field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappedFrameworks ¶
func ByMappedFrameworks(opts ...sql.OrderTermOption) OrderOption
ByMappedFrameworks orders the results by the mapped_frameworks 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 ByNarratives ¶
func ByNarratives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNarratives orders the results by narratives terms.
func ByNarrativesCount ¶
func ByNarrativesCount(opts ...sql.OrderTermOption) OrderOption
ByNarrativesCount orders the results by narratives count.
func ByProcedures ¶
func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProcedures orders the results by procedures terms.
func ByProceduresCount ¶
func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
ByProceduresCount orders the results by procedures count.
func ByPrograms ¶ added in v0.3.5
func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrograms orders the results by programs terms.
func ByProgramsCount ¶ added in v0.3.5
func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramsCount orders the results by programs count.
func ByRisks ¶
func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRisks orders the results by risks terms.
func ByRisksCount ¶
func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
ByRisksCount orders the results by risks count.
func BySatisfies ¶
func BySatisfies(opts ...sql.OrderTermOption) OrderOption
BySatisfies orders the results by the satisfies field.
func BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func ByStandard ¶
func ByStandard(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByStandard orders the results by standard terms.
func ByStandardCount ¶
func ByStandardCount(opts ...sql.OrderTermOption) OrderOption
ByStandardCount orders the results by standard count.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubcontrols ¶
func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubcontrols orders the results by subcontrols terms.
func BySubcontrolsCount ¶
func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
BySubcontrolsCount orders the results by subcontrols count.
func ByTasks ¶ added in v0.3.4
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶ added in v0.3.4
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks 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 ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.