control

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"}
)
View Source
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"

Columns holds all SQL columns for control fields.

View Source
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 And

func And(predicates ...predicate.Control) predicate.Control

And groups predicates with the AND operator between them.

func Class

func Class(v string) predicate.Control

Class applies equality check predicate on the "class" field. It's identical to ClassEQ.

func ClassContains

func ClassContains(v string) predicate.Control

ClassContains applies the Contains predicate on the "class" field.

func ClassContainsFold

func ClassContainsFold(v string) predicate.Control

ClassContainsFold applies the ContainsFold predicate on the "class" field.

func ClassEQ

func ClassEQ(v string) predicate.Control

ClassEQ applies the EQ predicate on the "class" field.

func ClassEqualFold

func ClassEqualFold(v string) predicate.Control

ClassEqualFold applies the EqualFold predicate on the "class" field.

func ClassGT

func ClassGT(v string) predicate.Control

ClassGT applies the GT predicate on the "class" field.

func ClassGTE

func ClassGTE(v string) predicate.Control

ClassGTE applies the GTE predicate on the "class" field.

func ClassHasPrefix

func ClassHasPrefix(v string) predicate.Control

ClassHasPrefix applies the HasPrefix predicate on the "class" field.

func ClassHasSuffix

func ClassHasSuffix(v string) predicate.Control

ClassHasSuffix applies the HasSuffix predicate on the "class" field.

func ClassIn

func ClassIn(vs ...string) predicate.Control

ClassIn applies the In predicate on the "class" field.

func ClassIsNil

func ClassIsNil() predicate.Control

ClassIsNil applies the IsNil predicate on the "class" field.

func ClassLT

func ClassLT(v string) predicate.Control

ClassLT applies the LT predicate on the "class" field.

func ClassLTE

func ClassLTE(v string) predicate.Control

ClassLTE applies the LTE predicate on the "class" field.

func ClassNEQ

func ClassNEQ(v string) predicate.Control

ClassNEQ applies the NEQ predicate on the "class" field.

func ClassNotIn

func ClassNotIn(vs ...string) predicate.Control

ClassNotIn applies the NotIn predicate on the "class" field.

func ClassNotNil

func ClassNotNil() predicate.Control

ClassNotNil applies the NotNil predicate on the "class" field.

func ControlNumber

func ControlNumber(v string) predicate.Control

ControlNumber applies equality check predicate on the "control_number" field. It's identical to ControlNumberEQ.

func ControlNumberContains

func ControlNumberContains(v string) predicate.Control

ControlNumberContains applies the Contains predicate on the "control_number" field.

func ControlNumberContainsFold

func ControlNumberContainsFold(v string) predicate.Control

ControlNumberContainsFold applies the ContainsFold predicate on the "control_number" field.

func ControlNumberEQ

func ControlNumberEQ(v string) predicate.Control

ControlNumberEQ applies the EQ predicate on the "control_number" field.

func ControlNumberEqualFold

func ControlNumberEqualFold(v string) predicate.Control

ControlNumberEqualFold applies the EqualFold predicate on the "control_number" field.

func ControlNumberGT

func ControlNumberGT(v string) predicate.Control

ControlNumberGT applies the GT predicate on the "control_number" field.

func ControlNumberGTE

func ControlNumberGTE(v string) predicate.Control

ControlNumberGTE applies the GTE predicate on the "control_number" field.

func ControlNumberHasPrefix

func ControlNumberHasPrefix(v string) predicate.Control

ControlNumberHasPrefix applies the HasPrefix predicate on the "control_number" field.

func ControlNumberHasSuffix

func ControlNumberHasSuffix(v string) predicate.Control

ControlNumberHasSuffix applies the HasSuffix predicate on the "control_number" field.

func ControlNumberIn

func ControlNumberIn(vs ...string) predicate.Control

ControlNumberIn applies the In predicate on the "control_number" field.

func ControlNumberIsNil

func ControlNumberIsNil() predicate.Control

ControlNumberIsNil applies the IsNil predicate on the "control_number" field.

func ControlNumberLT

func ControlNumberLT(v string) predicate.Control

ControlNumberLT applies the LT predicate on the "control_number" field.

func ControlNumberLTE

func ControlNumberLTE(v string) predicate.Control

ControlNumberLTE applies the LTE predicate on the "control_number" field.

func ControlNumberNEQ

func ControlNumberNEQ(v string) predicate.Control

ControlNumberNEQ applies the NEQ predicate on the "control_number" field.

func ControlNumberNotIn

func ControlNumberNotIn(vs ...string) predicate.Control

ControlNumberNotIn applies the NotIn predicate on the "control_number" field.

func ControlNumberNotNil

func ControlNumberNotNil() predicate.Control

ControlNumberNotNil applies the NotNil predicate on the "control_number" field.

func ControlType

func ControlType(v string) predicate.Control

ControlType applies equality check predicate on the "control_type" field. It's identical to ControlTypeEQ.

func ControlTypeContains

func ControlTypeContains(v string) predicate.Control

ControlTypeContains applies the Contains predicate on the "control_type" field.

func ControlTypeContainsFold

func ControlTypeContainsFold(v string) predicate.Control

ControlTypeContainsFold applies the ContainsFold predicate on the "control_type" field.

func ControlTypeEQ

func ControlTypeEQ(v string) predicate.Control

ControlTypeEQ applies the EQ predicate on the "control_type" field.

func ControlTypeEqualFold

func ControlTypeEqualFold(v string) predicate.Control

ControlTypeEqualFold applies the EqualFold predicate on the "control_type" field.

func ControlTypeGT

func ControlTypeGT(v string) predicate.Control

ControlTypeGT applies the GT predicate on the "control_type" field.

func ControlTypeGTE

func ControlTypeGTE(v string) predicate.Control

ControlTypeGTE applies the GTE predicate on the "control_type" field.

func ControlTypeHasPrefix

func ControlTypeHasPrefix(v string) predicate.Control

ControlTypeHasPrefix applies the HasPrefix predicate on the "control_type" field.

func ControlTypeHasSuffix

func ControlTypeHasSuffix(v string) predicate.Control

ControlTypeHasSuffix applies the HasSuffix predicate on the "control_type" field.

func ControlTypeIn

func ControlTypeIn(vs ...string) predicate.Control

ControlTypeIn applies the In predicate on the "control_type" field.

func ControlTypeIsNil

func ControlTypeIsNil() predicate.Control

ControlTypeIsNil applies the IsNil predicate on the "control_type" field.

func ControlTypeLT

func ControlTypeLT(v string) predicate.Control

ControlTypeLT applies the LT predicate on the "control_type" field.

func ControlTypeLTE

func ControlTypeLTE(v string) predicate.Control

ControlTypeLTE applies the LTE predicate on the "control_type" field.

func ControlTypeNEQ

func ControlTypeNEQ(v string) predicate.Control

ControlTypeNEQ applies the NEQ predicate on the "control_type" field.

func ControlTypeNotIn

func ControlTypeNotIn(vs ...string) predicate.Control

ControlTypeNotIn applies the NotIn predicate on the "control_type" field.

func ControlTypeNotNil

func ControlTypeNotNil() predicate.Control

ControlTypeNotNil applies the NotNil predicate on the "control_type" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Control

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Control

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Control

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Control

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Control

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Control

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Control

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Control

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Control

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Control

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Control

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.Control

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Control

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Control

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Control

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Control

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Control

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Control

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Control

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Control

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Control

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Control

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Control

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Control

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Control

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Control

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Control

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Control

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Control

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Control

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Control

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Control

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Control

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Control

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Control

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Control

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Control

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Control

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.Control

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.Control

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Control

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.Control

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Control

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.Control

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.Control

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Control

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Control

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.Control

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.Control

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.Control

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.Control

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Control

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.Control

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.Control

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func Description

func Description(v string) predicate.Control

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Control

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Control

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Control

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Control

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Control

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Control

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Control

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Control

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Control

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Control

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Control

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Control

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Control

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Control

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Control

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DetailsIsNil

func DetailsIsNil() predicate.Control

DetailsIsNil applies the IsNil predicate on the "details" field.

func DetailsNotNil

func DetailsNotNil() predicate.Control

DetailsNotNil applies the NotNil predicate on the "details" field.

func Family

func Family(v string) predicate.Control

Family applies equality check predicate on the "family" field. It's identical to FamilyEQ.

func FamilyContains

func FamilyContains(v string) predicate.Control

FamilyContains applies the Contains predicate on the "family" field.

func FamilyContainsFold

func FamilyContainsFold(v string) predicate.Control

FamilyContainsFold applies the ContainsFold predicate on the "family" field.

func FamilyEQ

func FamilyEQ(v string) predicate.Control

FamilyEQ applies the EQ predicate on the "family" field.

func FamilyEqualFold

func FamilyEqualFold(v string) predicate.Control

FamilyEqualFold applies the EqualFold predicate on the "family" field.

func FamilyGT

func FamilyGT(v string) predicate.Control

FamilyGT applies the GT predicate on the "family" field.

func FamilyGTE

func FamilyGTE(v string) predicate.Control

FamilyGTE applies the GTE predicate on the "family" field.

func FamilyHasPrefix

func FamilyHasPrefix(v string) predicate.Control

FamilyHasPrefix applies the HasPrefix predicate on the "family" field.

func FamilyHasSuffix

func FamilyHasSuffix(v string) predicate.Control

FamilyHasSuffix applies the HasSuffix predicate on the "family" field.

func FamilyIn

func FamilyIn(vs ...string) predicate.Control

FamilyIn applies the In predicate on the "family" field.

func FamilyIsNil

func FamilyIsNil() predicate.Control

FamilyIsNil applies the IsNil predicate on the "family" field.

func FamilyLT

func FamilyLT(v string) predicate.Control

FamilyLT applies the LT predicate on the "family" field.

func FamilyLTE

func FamilyLTE(v string) predicate.Control

FamilyLTE applies the LTE predicate on the "family" field.

func FamilyNEQ

func FamilyNEQ(v string) predicate.Control

FamilyNEQ applies the NEQ predicate on the "family" field.

func FamilyNotIn

func FamilyNotIn(vs ...string) predicate.Control

FamilyNotIn applies the NotIn predicate on the "family" field.

func FamilyNotNil

func FamilyNotNil() predicate.Control

FamilyNotNil applies the NotNil predicate on the "family" field.

func HasActionplans

func HasActionplans() predicate.Control

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

func HasControlobjectives() predicate.Control

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

func HasNarratives() predicate.Control

HasNarratives applies the HasEdge predicate on the "narratives" edge.

func HasNarrativesWith

func HasNarrativesWith(preds ...predicate.Narrative) predicate.Control

HasNarrativesWith applies the HasEdge predicate on the "narratives" edge with a given conditions (other predicates).

func HasProcedures

func HasProcedures() predicate.Control

HasProcedures applies the HasEdge predicate on the "procedures" edge.

func HasProceduresWith

func HasProceduresWith(preds ...predicate.Procedure) predicate.Control

HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).

func HasPrograms added in v0.3.5

func HasPrograms() predicate.Control

HasPrograms applies the HasEdge predicate on the "programs" edge.

func HasProgramsWith added in v0.3.5

func HasProgramsWith(preds ...predicate.Program) predicate.Control

HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).

func HasRisks

func HasRisks() predicate.Control

HasRisks applies the HasEdge predicate on the "risks" edge.

func HasRisksWith

func HasRisksWith(preds ...predicate.Risk) predicate.Control

HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).

func HasStandard

func HasStandard() predicate.Control

HasStandard applies the HasEdge predicate on the "standard" edge.

func HasStandardWith

func HasStandardWith(preds ...predicate.Standard) predicate.Control

HasStandardWith applies the HasEdge predicate on the "standard" edge with a given conditions (other predicates).

func HasSubcontrols

func HasSubcontrols() predicate.Control

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 HasTasks added in v0.3.4

func HasTasks() predicate.Control

HasTasks applies the HasEdge predicate on the "tasks" edge.

func HasTasksWith added in v0.3.4

func HasTasksWith(preds ...predicate.Task) predicate.Control

HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).

func ID

func ID(id string) predicate.Control

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Control

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Control

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Control

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Control

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Control

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Control

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Control

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Control

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Control

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Control

IDNotIn applies the NotIn predicate on the ID field.

func MappedFrameworks

func MappedFrameworks(v string) predicate.Control

MappedFrameworks applies equality check predicate on the "mapped_frameworks" field. It's identical to MappedFrameworksEQ.

func MappedFrameworksContains

func MappedFrameworksContains(v string) predicate.Control

MappedFrameworksContains applies the Contains predicate on the "mapped_frameworks" field.

func MappedFrameworksContainsFold

func MappedFrameworksContainsFold(v string) predicate.Control

MappedFrameworksContainsFold applies the ContainsFold predicate on the "mapped_frameworks" field.

func MappedFrameworksEQ

func MappedFrameworksEQ(v string) predicate.Control

MappedFrameworksEQ applies the EQ predicate on the "mapped_frameworks" field.

func MappedFrameworksEqualFold

func MappedFrameworksEqualFold(v string) predicate.Control

MappedFrameworksEqualFold applies the EqualFold predicate on the "mapped_frameworks" field.

func MappedFrameworksGT

func MappedFrameworksGT(v string) predicate.Control

MappedFrameworksGT applies the GT predicate on the "mapped_frameworks" field.

func MappedFrameworksGTE

func MappedFrameworksGTE(v string) predicate.Control

MappedFrameworksGTE applies the GTE predicate on the "mapped_frameworks" field.

func MappedFrameworksHasPrefix

func MappedFrameworksHasPrefix(v string) predicate.Control

MappedFrameworksHasPrefix applies the HasPrefix predicate on the "mapped_frameworks" field.

func MappedFrameworksHasSuffix

func MappedFrameworksHasSuffix(v string) predicate.Control

MappedFrameworksHasSuffix applies the HasSuffix predicate on the "mapped_frameworks" field.

func MappedFrameworksIn

func MappedFrameworksIn(vs ...string) predicate.Control

MappedFrameworksIn applies the In predicate on the "mapped_frameworks" field.

func MappedFrameworksIsNil

func MappedFrameworksIsNil() predicate.Control

MappedFrameworksIsNil applies the IsNil predicate on the "mapped_frameworks" field.

func MappedFrameworksLT

func MappedFrameworksLT(v string) predicate.Control

MappedFrameworksLT applies the LT predicate on the "mapped_frameworks" field.

func MappedFrameworksLTE

func MappedFrameworksLTE(v string) predicate.Control

MappedFrameworksLTE applies the LTE predicate on the "mapped_frameworks" field.

func MappedFrameworksNEQ

func MappedFrameworksNEQ(v string) predicate.Control

MappedFrameworksNEQ applies the NEQ predicate on the "mapped_frameworks" field.

func MappedFrameworksNotIn

func MappedFrameworksNotIn(vs ...string) predicate.Control

MappedFrameworksNotIn applies the NotIn predicate on the "mapped_frameworks" field.

func MappedFrameworksNotNil

func MappedFrameworksNotNil() predicate.Control

MappedFrameworksNotNil applies the NotNil predicate on the "mapped_frameworks" field.

func MappingID

func MappingID(v string) predicate.Control

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains

func MappingIDContains(v string) predicate.Control

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.Control

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ

func MappingIDEQ(v string) predicate.Control

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.Control

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT

func MappingIDGT(v string) predicate.Control

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE

func MappingIDGTE(v string) predicate.Control

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.Control

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.Control

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn

func MappingIDIn(vs ...string) predicate.Control

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT

func MappingIDLT(v string) predicate.Control

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE

func MappingIDLTE(v string) predicate.Control

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.Control

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn

func MappingIDNotIn(vs ...string) predicate.Control

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Name

func Name(v string) predicate.Control

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Control

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Control

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Control

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Control

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Control

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Control

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Control

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Control

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Control

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Control

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Control

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Control

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Control

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Control) predicate.Control

Or groups predicates with the OR operator between them.

func Satisfies

func Satisfies(v string) predicate.Control

Satisfies applies equality check predicate on the "satisfies" field. It's identical to SatisfiesEQ.

func SatisfiesContains

func SatisfiesContains(v string) predicate.Control

SatisfiesContains applies the Contains predicate on the "satisfies" field.

func SatisfiesContainsFold

func SatisfiesContainsFold(v string) predicate.Control

SatisfiesContainsFold applies the ContainsFold predicate on the "satisfies" field.

func SatisfiesEQ

func SatisfiesEQ(v string) predicate.Control

SatisfiesEQ applies the EQ predicate on the "satisfies" field.

func SatisfiesEqualFold

func SatisfiesEqualFold(v string) predicate.Control

SatisfiesEqualFold applies the EqualFold predicate on the "satisfies" field.

func SatisfiesGT

func SatisfiesGT(v string) predicate.Control

SatisfiesGT applies the GT predicate on the "satisfies" field.

func SatisfiesGTE

func SatisfiesGTE(v string) predicate.Control

SatisfiesGTE applies the GTE predicate on the "satisfies" field.

func SatisfiesHasPrefix

func SatisfiesHasPrefix(v string) predicate.Control

SatisfiesHasPrefix applies the HasPrefix predicate on the "satisfies" field.

func SatisfiesHasSuffix

func SatisfiesHasSuffix(v string) predicate.Control

SatisfiesHasSuffix applies the HasSuffix predicate on the "satisfies" field.

func SatisfiesIn

func SatisfiesIn(vs ...string) predicate.Control

SatisfiesIn applies the In predicate on the "satisfies" field.

func SatisfiesIsNil

func SatisfiesIsNil() predicate.Control

SatisfiesIsNil applies the IsNil predicate on the "satisfies" field.

func SatisfiesLT

func SatisfiesLT(v string) predicate.Control

SatisfiesLT applies the LT predicate on the "satisfies" field.

func SatisfiesLTE

func SatisfiesLTE(v string) predicate.Control

SatisfiesLTE applies the LTE predicate on the "satisfies" field.

func SatisfiesNEQ

func SatisfiesNEQ(v string) predicate.Control

SatisfiesNEQ applies the NEQ predicate on the "satisfies" field.

func SatisfiesNotIn

func SatisfiesNotIn(vs ...string) predicate.Control

SatisfiesNotIn applies the NotIn predicate on the "satisfies" field.

func SatisfiesNotNil

func SatisfiesNotNil() predicate.Control

SatisfiesNotNil applies the NotNil predicate on the "satisfies" field.

func Source

func Source(v string) predicate.Control

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.Control

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.Control

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

func SourceEQ(v string) predicate.Control

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.Control

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

func SourceGT(v string) predicate.Control

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.Control

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.Control

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.Control

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

func SourceIn(vs ...string) predicate.Control

SourceIn applies the In predicate on the "source" field.

func SourceIsNil

func SourceIsNil() predicate.Control

SourceIsNil applies the IsNil predicate on the "source" field.

func SourceLT

func SourceLT(v string) predicate.Control

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.Control

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.Control

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.Control

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceNotNil

func SourceNotNil() predicate.Control

SourceNotNil applies the NotNil predicate on the "source" field.

func Status

func Status(v string) predicate.Control

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Control

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Control

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Control

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Control

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Control

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Control

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Control

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Control

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Control

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.Control

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Control

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Control

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Control

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Control

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.Control

StatusNotNil applies the NotNil predicate on the "status" field.

func TagsIsNil

func TagsIsNil() predicate.Control

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.Control

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Control

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Control

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Control

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Control

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Control

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Control

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Control

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Control

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Control

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Control

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Control

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.Control

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Control

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Control

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Control

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Control

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Control

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Control

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Control

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Control

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Control

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Control

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Control

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Control

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Control

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Control

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Control

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Version

func Version(v string) predicate.Control

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.Control

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.Control

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.Control

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.Control

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.Control

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.Control

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.Control

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.Control

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.Control

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.Control

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.Control

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.Control

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.Control

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.Control

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.Control

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL