controlobjective

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 controlobjective type in the database.
	Label = "control_objective"
	// 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"
	// FieldControlObjectiveType holds the string denoting the control_objective_type field in the database.
	FieldControlObjectiveType = "control_objective_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"
	// 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"
	// EdgePolicy holds the string denoting the policy edge name in mutations.
	EdgePolicy = "policy"
	// EdgeControls holds the string denoting the controls edge name in mutations.
	EdgeControls = "controls"
	// EdgeProcedures holds the string denoting the procedures edge name in mutations.
	EdgeProcedures = "procedures"
	// EdgeRisks holds the string denoting the risks edge name in mutations.
	EdgeRisks = "risks"
	// EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations.
	EdgeSubcontrols = "subcontrols"
	// 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"
	// 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 controlobjective in the database.
	Table = "control_objectives"
	// PolicyTable is the table that holds the policy relation/edge. The primary key declared below.
	PolicyTable = "internal_policy_controlobjectives"
	// PolicyInverseTable is the table name for the InternalPolicy entity.
	// It exists in this package in order to avoid circular dependency with the "internalpolicy" package.
	PolicyInverseTable = "internal_policies"
	// ControlsTable is the table that holds the controls relation/edge.
	ControlsTable = "controls"
	// ControlsInverseTable is the table name for the Control entity.
	// It exists in this package in order to avoid circular dependency with the "control" package.
	ControlsInverseTable = "controls"
	// ControlsColumn is the table column denoting the controls relation/edge.
	ControlsColumn = "control_objective_controls"
	// ProceduresTable is the table that holds the procedures relation/edge.
	ProceduresTable = "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"
	// ProceduresColumn is the table column denoting the procedures relation/edge.
	ProceduresColumn = "control_objective_procedures"
	// RisksTable is the table that holds the risks relation/edge.
	RisksTable = "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"
	// RisksColumn is the table column denoting the risks relation/edge.
	RisksColumn = "control_objective_risks"
	// SubcontrolsTable is the table that holds the subcontrols relation/edge.
	SubcontrolsTable = "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"
	// SubcontrolsColumn is the table column denoting the subcontrols relation/edge.
	SubcontrolsColumn = "control_objective_subcontrols"
	// StandardTable is the table that holds the standard relation/edge. The primary key declared below.
	StandardTable = "standard_controlobjectives"
	// 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_objective_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"
	// TasksTable is the table that holds the tasks relation/edge. The primary key declared below.
	TasksTable = "control_objective_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_controlobjectives"
	// 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 (
	// PolicyPrimaryKey and PolicyColumn2 are the table columns denoting the
	// primary key for the policy relation (M2M).
	PolicyPrimaryKey = []string{"internal_policy_id", "control_objective_id"}
	// StandardPrimaryKey and StandardColumn2 are the table columns denoting the
	// primary key for the standard relation (M2M).
	StandardPrimaryKey = []string{"standard_id", "control_objective_id"}
	// NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the
	// primary key for the narratives relation (M2M).
	NarrativesPrimaryKey = []string{"control_objective_id", "narrative_id"}
	// TasksPrimaryKey and TasksColumn2 are the table columns denoting the
	// primary key for the tasks relation (M2M).
	TasksPrimaryKey = []string{"control_objective_id", "task_id"}
	// ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the
	// primary key for the programs relation (M2M).
	ProgramsPrimaryKey = []string{"program_id", "control_objective_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 controlobjective fields.

View Source
var ForeignKeys = []string{
	"control_controlobjectives",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "control_objectives" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func Class

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

func ClassContains

func ClassContains(v string) predicate.ControlObjective

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

func ClassContainsFold

func ClassContainsFold(v string) predicate.ControlObjective

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

func ClassEQ

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

func ClassEqualFold

func ClassEqualFold(v string) predicate.ControlObjective

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

func ClassGT

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

func ClassGTE

func ClassGTE(v string) predicate.ControlObjective

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

func ClassHasPrefix

func ClassHasPrefix(v string) predicate.ControlObjective

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

func ClassHasSuffix

func ClassHasSuffix(v string) predicate.ControlObjective

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

func ClassIn

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

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

func ClassIsNil

func ClassIsNil() predicate.ControlObjective

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

func ClassLT

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

func ClassLTE

func ClassLTE(v string) predicate.ControlObjective

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

func ClassNEQ

func ClassNEQ(v string) predicate.ControlObjective

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

func ClassNotIn

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

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

func ClassNotNil

func ClassNotNil() predicate.ControlObjective

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

func ControlNumber

func ControlNumber(v string) predicate.ControlObjective

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

func ControlNumberContains

func ControlNumberContains(v string) predicate.ControlObjective

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

func ControlNumberContainsFold

func ControlNumberContainsFold(v string) predicate.ControlObjective

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

func ControlNumberEQ

func ControlNumberEQ(v string) predicate.ControlObjective

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

func ControlNumberEqualFold

func ControlNumberEqualFold(v string) predicate.ControlObjective

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

func ControlNumberGT

func ControlNumberGT(v string) predicate.ControlObjective

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

func ControlNumberGTE

func ControlNumberGTE(v string) predicate.ControlObjective

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

func ControlNumberHasPrefix

func ControlNumberHasPrefix(v string) predicate.ControlObjective

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

func ControlNumberHasSuffix

func ControlNumberHasSuffix(v string) predicate.ControlObjective

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

func ControlNumberIn

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

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

func ControlNumberIsNil

func ControlNumberIsNil() predicate.ControlObjective

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

func ControlNumberLT

func ControlNumberLT(v string) predicate.ControlObjective

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

func ControlNumberLTE

func ControlNumberLTE(v string) predicate.ControlObjective

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

func ControlNumberNEQ

func ControlNumberNEQ(v string) predicate.ControlObjective

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

func ControlNumberNotIn

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

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

func ControlNumberNotNil

func ControlNumberNotNil() predicate.ControlObjective

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

func ControlObjectiveType

func ControlObjectiveType(v string) predicate.ControlObjective

ControlObjectiveType applies equality check predicate on the "control_objective_type" field. It's identical to ControlObjectiveTypeEQ.

func ControlObjectiveTypeContains

func ControlObjectiveTypeContains(v string) predicate.ControlObjective

ControlObjectiveTypeContains applies the Contains predicate on the "control_objective_type" field.

func ControlObjectiveTypeContainsFold

func ControlObjectiveTypeContainsFold(v string) predicate.ControlObjective

ControlObjectiveTypeContainsFold applies the ContainsFold predicate on the "control_objective_type" field.

func ControlObjectiveTypeEQ

func ControlObjectiveTypeEQ(v string) predicate.ControlObjective

ControlObjectiveTypeEQ applies the EQ predicate on the "control_objective_type" field.

func ControlObjectiveTypeEqualFold

func ControlObjectiveTypeEqualFold(v string) predicate.ControlObjective

ControlObjectiveTypeEqualFold applies the EqualFold predicate on the "control_objective_type" field.

func ControlObjectiveTypeGT

func ControlObjectiveTypeGT(v string) predicate.ControlObjective

ControlObjectiveTypeGT applies the GT predicate on the "control_objective_type" field.

func ControlObjectiveTypeGTE

func ControlObjectiveTypeGTE(v string) predicate.ControlObjective

ControlObjectiveTypeGTE applies the GTE predicate on the "control_objective_type" field.

func ControlObjectiveTypeHasPrefix

func ControlObjectiveTypeHasPrefix(v string) predicate.ControlObjective

ControlObjectiveTypeHasPrefix applies the HasPrefix predicate on the "control_objective_type" field.

func ControlObjectiveTypeHasSuffix

func ControlObjectiveTypeHasSuffix(v string) predicate.ControlObjective

ControlObjectiveTypeHasSuffix applies the HasSuffix predicate on the "control_objective_type" field.

func ControlObjectiveTypeIn

func ControlObjectiveTypeIn(vs ...string) predicate.ControlObjective

ControlObjectiveTypeIn applies the In predicate on the "control_objective_type" field.

func ControlObjectiveTypeIsNil

func ControlObjectiveTypeIsNil() predicate.ControlObjective

ControlObjectiveTypeIsNil applies the IsNil predicate on the "control_objective_type" field.

func ControlObjectiveTypeLT

func ControlObjectiveTypeLT(v string) predicate.ControlObjective

ControlObjectiveTypeLT applies the LT predicate on the "control_objective_type" field.

func ControlObjectiveTypeLTE

func ControlObjectiveTypeLTE(v string) predicate.ControlObjective

ControlObjectiveTypeLTE applies the LTE predicate on the "control_objective_type" field.

func ControlObjectiveTypeNEQ

func ControlObjectiveTypeNEQ(v string) predicate.ControlObjective

ControlObjectiveTypeNEQ applies the NEQ predicate on the "control_objective_type" field.

func ControlObjectiveTypeNotIn

func ControlObjectiveTypeNotIn(vs ...string) predicate.ControlObjective

ControlObjectiveTypeNotIn applies the NotIn predicate on the "control_objective_type" field.

func ControlObjectiveTypeNotNil

func ControlObjectiveTypeNotNil() predicate.ControlObjective

ControlObjectiveTypeNotNil applies the NotNil predicate on the "control_objective_type" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ControlObjective

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ControlObjective

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ControlObjective

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ControlObjective

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.ControlObjective

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ControlObjective

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ControlObjective

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ControlObjective

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.ControlObjective

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

func CreatedBy

func CreatedBy(v string) predicate.ControlObjective

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

func CreatedByContains

func CreatedByContains(v string) predicate.ControlObjective

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.ControlObjective

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.ControlObjective

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.ControlObjective

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

func CreatedByGT

func CreatedByGT(v string) predicate.ControlObjective

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.ControlObjective

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.ControlObjective

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.ControlObjective

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.ControlObjective

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

func CreatedByLT

func CreatedByLT(v string) predicate.ControlObjective

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.ControlObjective

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.ControlObjective

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.ControlObjective

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

func DeletedAt

func DeletedAt(v time.Time) predicate.ControlObjective

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.ControlObjective

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.ControlObjective

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ControlObjective

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ControlObjective

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.ControlObjective

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ControlObjective

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ControlObjective

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ControlObjective

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

func DeletedBy

func DeletedBy(v string) predicate.ControlObjective

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

func DeletedByContains

func DeletedByContains(v string) predicate.ControlObjective

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.ControlObjective

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.ControlObjective

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.ControlObjective

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

func DeletedByGT

func DeletedByGT(v string) predicate.ControlObjective

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.ControlObjective

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.ControlObjective

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.ControlObjective

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.ControlObjective

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

func DeletedByLT

func DeletedByLT(v string) predicate.ControlObjective

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.ControlObjective

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.ControlObjective

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.ControlObjective

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

func Description

func Description(v string) predicate.ControlObjective

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

func DescriptionContains

func DescriptionContains(v string) predicate.ControlObjective

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ControlObjective

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.ControlObjective

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ControlObjective

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

func DescriptionGT

func DescriptionGT(v string) predicate.ControlObjective

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.ControlObjective

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ControlObjective

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ControlObjective

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.ControlObjective

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

func DescriptionLT

func DescriptionLT(v string) predicate.ControlObjective

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.ControlObjective

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ControlObjective

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.ControlObjective

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

func DetailsIsNil

func DetailsIsNil() predicate.ControlObjective

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

func DetailsNotNil

func DetailsNotNil() predicate.ControlObjective

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

func FamilyContains(v string) predicate.ControlObjective

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

func FamilyContainsFold

func FamilyContainsFold(v string) predicate.ControlObjective

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

func FamilyEQ

func FamilyEQ(v string) predicate.ControlObjective

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

func FamilyEqualFold

func FamilyEqualFold(v string) predicate.ControlObjective

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

func FamilyGT

func FamilyGT(v string) predicate.ControlObjective

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

func FamilyGTE

func FamilyGTE(v string) predicate.ControlObjective

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

func FamilyHasPrefix

func FamilyHasPrefix(v string) predicate.ControlObjective

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

func FamilyHasSuffix

func FamilyHasSuffix(v string) predicate.ControlObjective

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

func FamilyIn

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

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

func FamilyIsNil

func FamilyIsNil() predicate.ControlObjective

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

func FamilyLT

func FamilyLT(v string) predicate.ControlObjective

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

func FamilyLTE

func FamilyLTE(v string) predicate.ControlObjective

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

func FamilyNEQ

func FamilyNEQ(v string) predicate.ControlObjective

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

func FamilyNotIn

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

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

func FamilyNotNil

func FamilyNotNil() predicate.ControlObjective

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

func HasControls

func HasControls() predicate.ControlObjective

HasControls applies the HasEdge predicate on the "controls" edge.

func HasControlsWith

func HasControlsWith(preds ...predicate.Control) predicate.ControlObjective

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

func HasNarratives

func HasNarratives() predicate.ControlObjective

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

func HasNarrativesWith

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

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

func HasPolicy

func HasPolicy() predicate.ControlObjective

HasPolicy applies the HasEdge predicate on the "policy" edge.

func HasPolicyWith

func HasPolicyWith(preds ...predicate.InternalPolicy) predicate.ControlObjective

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

func HasProcedures

func HasProcedures() predicate.ControlObjective

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

func HasProceduresWith

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

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.ControlObjective

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

func HasProgramsWith added in v0.3.5

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

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

func HasRisks

func HasRisks() predicate.ControlObjective

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

func HasRisksWith

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

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

func HasStandard

func HasStandard() predicate.ControlObjective

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

func HasStandardWith

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

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

func HasSubcontrols

func HasSubcontrols() predicate.ControlObjective

HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.

func HasSubcontrolsWith

func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.ControlObjective

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.ControlObjective

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

func HasTasksWith added in v0.3.4

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

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.ControlObjective

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.ControlObjective

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MappedFrameworks

func MappedFrameworks(v string) predicate.ControlObjective

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

func MappedFrameworksContains

func MappedFrameworksContains(v string) predicate.ControlObjective

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

func MappedFrameworksContainsFold

func MappedFrameworksContainsFold(v string) predicate.ControlObjective

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

func MappedFrameworksEQ

func MappedFrameworksEQ(v string) predicate.ControlObjective

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

func MappedFrameworksEqualFold

func MappedFrameworksEqualFold(v string) predicate.ControlObjective

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

func MappedFrameworksGT

func MappedFrameworksGT(v string) predicate.ControlObjective

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

func MappedFrameworksGTE

func MappedFrameworksGTE(v string) predicate.ControlObjective

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

func MappedFrameworksHasPrefix

func MappedFrameworksHasPrefix(v string) predicate.ControlObjective

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

func MappedFrameworksHasSuffix

func MappedFrameworksHasSuffix(v string) predicate.ControlObjective

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

func MappedFrameworksIn

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

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

func MappedFrameworksIsNil

func MappedFrameworksIsNil() predicate.ControlObjective

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

func MappedFrameworksLT

func MappedFrameworksLT(v string) predicate.ControlObjective

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

func MappedFrameworksLTE

func MappedFrameworksLTE(v string) predicate.ControlObjective

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

func MappedFrameworksNEQ

func MappedFrameworksNEQ(v string) predicate.ControlObjective

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

func MappedFrameworksNotIn

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

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

func MappedFrameworksNotNil

func MappedFrameworksNotNil() predicate.ControlObjective

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

func MappingID

func MappingID(v string) predicate.ControlObjective

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

func MappingIDContains

func MappingIDContains(v string) predicate.ControlObjective

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

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.ControlObjective

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

func MappingIDEQ

func MappingIDEQ(v string) predicate.ControlObjective

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

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.ControlObjective

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

func MappingIDGT

func MappingIDGT(v string) predicate.ControlObjective

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

func MappingIDGTE

func MappingIDGTE(v string) predicate.ControlObjective

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

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.ControlObjective

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

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.ControlObjective

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

func MappingIDIn

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

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

func MappingIDLT

func MappingIDLT(v string) predicate.ControlObjective

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

func MappingIDLTE

func MappingIDLTE(v string) predicate.ControlObjective

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

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.ControlObjective

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

func MappingIDNotIn

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

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

func Name

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

func NameContains

func NameContains(v string) predicate.ControlObjective

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

func NameContainsFold

func NameContainsFold(v string) predicate.ControlObjective

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.ControlObjective

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

func NameGT

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

func NameGTE

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.ControlObjective

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ControlObjective

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

func NameIn

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

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

func NameLT

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

func NameLTE

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

func NameNEQ

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Source

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

func SourceContains

func SourceContains(v string) predicate.ControlObjective

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

func SourceContainsFold

func SourceContainsFold(v string) predicate.ControlObjective

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

func SourceEQ

func SourceEQ(v string) predicate.ControlObjective

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

func SourceEqualFold

func SourceEqualFold(v string) predicate.ControlObjective

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

func SourceGT

func SourceGT(v string) predicate.ControlObjective

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

func SourceGTE

func SourceGTE(v string) predicate.ControlObjective

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

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.ControlObjective

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

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.ControlObjective

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

func SourceIn

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

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

func SourceIsNil

func SourceIsNil() predicate.ControlObjective

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

func SourceLT

func SourceLT(v string) predicate.ControlObjective

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

func SourceLTE

func SourceLTE(v string) predicate.ControlObjective

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

func SourceNEQ

func SourceNEQ(v string) predicate.ControlObjective

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

func SourceNotIn

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

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

func SourceNotNil

func SourceNotNil() predicate.ControlObjective

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

func StatusContains(v string) predicate.ControlObjective

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.ControlObjective

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

func StatusEQ

func StatusEQ(v string) predicate.ControlObjective

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.ControlObjective

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

func StatusGT

func StatusGT(v string) predicate.ControlObjective

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

func StatusGTE

func StatusGTE(v string) predicate.ControlObjective

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.ControlObjective

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.ControlObjective

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.ControlObjective

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

func StatusLT

func StatusLT(v string) predicate.ControlObjective

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

func StatusLTE

func StatusLTE(v string) predicate.ControlObjective

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

func StatusNEQ

func StatusNEQ(v string) predicate.ControlObjective

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.ControlObjective

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

func TagsIsNil

func TagsIsNil() predicate.ControlObjective

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

func TagsNotNil

func TagsNotNil() predicate.ControlObjective

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ControlObjective

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ControlObjective

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ControlObjective

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ControlObjective

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ControlObjective

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ControlObjective

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ControlObjective

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ControlObjective

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ControlObjective

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

func UpdatedBy

func UpdatedBy(v string) predicate.ControlObjective

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.ControlObjective

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.ControlObjective

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.ControlObjective

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.ControlObjective

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.ControlObjective

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.ControlObjective

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.ControlObjective

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.ControlObjective

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.ControlObjective

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.ControlObjective

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.ControlObjective

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.ControlObjective

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.ControlObjective

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

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

func VersionContains

func VersionContains(v string) predicate.ControlObjective

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

func VersionContainsFold

func VersionContainsFold(v string) predicate.ControlObjective

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

func VersionEQ

func VersionEQ(v string) predicate.ControlObjective

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

func VersionEqualFold

func VersionEqualFold(v string) predicate.ControlObjective

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

func VersionGT

func VersionGT(v string) predicate.ControlObjective

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

func VersionGTE

func VersionGTE(v string) predicate.ControlObjective

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

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.ControlObjective

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

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.ControlObjective

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

func VersionIn

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

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

func VersionIsNil

func VersionIsNil() predicate.ControlObjective

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

func VersionLT

func VersionLT(v string) predicate.ControlObjective

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

func VersionLTE

func VersionLTE(v string) predicate.ControlObjective

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

func VersionNEQ

func VersionNEQ(v string) predicate.ControlObjective

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

func VersionNotIn

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

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

func VersionNotNil

func VersionNotNil() predicate.ControlObjective

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ControlObjective queries.

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 ByControlObjectiveType

func ByControlObjectiveType(opts ...sql.OrderTermOption) OrderOption

ByControlObjectiveType orders the results by the control_objective_type field.

func ByControls

func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByControls orders the results by controls terms.

func ByControlsCount

func ByControlsCount(opts ...sql.OrderTermOption) OrderOption

ByControlsCount orders the results by controls count.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption

ByDeletedBy orders the results by the deleted_by field.

func 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 ByPolicy

func ByPolicy(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPolicy orders the results by policy terms.

func ByPolicyCount

func ByPolicyCount(opts ...sql.OrderTermOption) OrderOption

ByPolicyCount orders the results by policy 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 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