controlobjective

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 8 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"
	// FieldUpdatedByImpersonator holds the string denoting the updated_by_impersonator field in the database.
	FieldUpdatedByImpersonator = "updated_by_impersonator"
	// 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"
	// FieldDisplayID holds the string denoting the display_id field in the database.
	FieldDisplayID = "display_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldRevision holds the string denoting the revision field in the database.
	FieldRevision = "revision"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldSystemOwned holds the string denoting the system_owned field in the database.
	FieldSystemOwned = "system_owned"
	// FieldInternalNotes holds the string denoting the internal_notes field in the database.
	FieldInternalNotes = "internal_notes"
	// FieldSystemInternalID holds the string denoting the system_internal_id field in the database.
	FieldSystemInternalID = "system_internal_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDesiredOutcome holds the string denoting the desired_outcome field in the database.
	FieldDesiredOutcome = "desired_outcome"
	// FieldDesiredOutcomeJSON holds the string denoting the desired_outcome_json field in the database.
	FieldDesiredOutcomeJSON = "desired_outcome_json"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldControlObjectiveType holds the string denoting the control_objective_type field in the database.
	FieldControlObjectiveType = "control_objective_type"
	// FieldCategory holds the string denoting the category field in the database.
	FieldCategory = "category"
	// FieldSubcategory holds the string denoting the subcategory field in the database.
	FieldSubcategory = "subcategory"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations.
	EdgeBlockedGroups = "blocked_groups"
	// EdgeEditors holds the string denoting the editors edge name in mutations.
	EdgeEditors = "editors"
	// EdgeViewers holds the string denoting the viewers edge name in mutations.
	EdgeViewers = "viewers"
	// EdgePrograms holds the string denoting the programs edge name in mutations.
	EdgePrograms = "programs"
	// EdgeEvidence holds the string denoting the evidence edge name in mutations.
	EdgeEvidence = "evidence"
	// EdgeControls holds the string denoting the controls edge name in mutations.
	EdgeControls = "controls"
	// EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations.
	EdgeSubcontrols = "subcontrols"
	// EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations.
	EdgeInternalPolicies = "internal_policies"
	// 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"
	// 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"
	// Table holds the table name of the controlobjective in the database.
	Table = "control_objectives"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "control_objectives"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below.
	BlockedGroupsTable = "control_objective_blocked_groups"
	// BlockedGroupsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	BlockedGroupsInverseTable = "groups"
	// EditorsTable is the table that holds the editors relation/edge. The primary key declared below.
	EditorsTable = "control_objective_editors"
	// EditorsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	EditorsInverseTable = "groups"
	// ViewersTable is the table that holds the viewers relation/edge. The primary key declared below.
	ViewersTable = "control_objective_viewers"
	// ViewersInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	ViewersInverseTable = "groups"
	// ProgramsTable is the table that holds the programs relation/edge. The primary key declared below.
	ProgramsTable = "program_control_objectives"
	// 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"
	// EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below.
	EvidenceTable = "evidence_control_objectives"
	// EvidenceInverseTable is the table name for the Evidence entity.
	// It exists in this package in order to avoid circular dependency with the "evidence" package.
	EvidenceInverseTable = "evidences"
	// ControlsTable is the table that holds the controls relation/edge. The primary key declared below.
	ControlsTable = "control_control_objectives"
	// ControlsInverseTable is the table name for the Control entity.
	// It exists in this package in order to avoid circular dependency with the "control" package.
	ControlsInverseTable = "controls"
	// SubcontrolsTable is the table that holds the subcontrols relation/edge. The primary key declared below.
	SubcontrolsTable = "subcontrol_control_objectives"
	// 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"
	// InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below.
	InternalPoliciesTable = "internal_policy_control_objectives"
	// InternalPoliciesInverseTable is the table name for the InternalPolicy entity.
	// It exists in this package in order to avoid circular dependency with the "internalpolicy" package.
	InternalPoliciesInverseTable = "internal_policies"
	// 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"
	// NarrativesTable is the table that holds the narratives relation/edge.
	NarrativesTable = "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"
	// NarrativesColumn is the table column denoting the narratives relation/edge.
	NarrativesColumn = "control_objective_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"
)
View Source
const DefaultSource enums.ControlSource = "USER_DEFINED"
View Source
const DefaultStatus enums.ObjectiveStatus = "DRAFT"

Variables

View Source
var (
	// BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the
	// primary key for the blocked_groups relation (M2M).
	BlockedGroupsPrimaryKey = []string{"control_objective_id", "group_id"}
	// EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the
	// primary key for the editors relation (M2M).
	EditorsPrimaryKey = []string{"control_objective_id", "group_id"}
	// ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the
	// primary key for the viewers relation (M2M).
	ViewersPrimaryKey = []string{"control_objective_id", "group_id"}
	// ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the
	// primary key for the programs relation (M2M).
	ProgramsPrimaryKey = []string{"program_id", "control_objective_id"}
	// EvidencePrimaryKey and EvidenceColumn2 are the table columns denoting the
	// primary key for the evidence relation (M2M).
	EvidencePrimaryKey = []string{"evidence_id", "control_objective_id"}
	// ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the
	// primary key for the controls relation (M2M).
	ControlsPrimaryKey = []string{"control_id", "control_objective_id"}
	// SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the
	// primary key for the subcontrols relation (M2M).
	SubcontrolsPrimaryKey = []string{"subcontrol_id", "control_objective_id"}
	// InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the
	// primary key for the internal_policies relation (M2M).
	InternalPoliciesPrimaryKey = []string{"internal_policy_id", "control_objective_id"}
	// TasksPrimaryKey and TasksColumn2 are the table columns denoting the
	// primary key for the tasks relation (M2M).
	TasksPrimaryKey = []string{"control_objective_id", "task_id"}
)
View Source
var (
	Hooks        [13]ent.Hook
	Interceptors [3]ent.Interceptor
	Policy       ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save.
	DisplayIDValidator func(string) error
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultRevision holds the default value on creation for the "revision" field.
	DefaultRevision string
	// RevisionValidator is a validator for the "revision" field. It is called by the builders before save.
	RevisionValidator func(string) error
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// DefaultSystemOwned holds the default value on creation for the "system_owned" field.
	DefaultSystemOwned bool
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/v2/internal/ent/generated/runtime"

Columns holds all SQL columns for controlobjective fields.

Functions

func And

And groups predicates with the AND operator between them.

func Category

func Category(v string) predicate.ControlObjective

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains

func CategoryContains(v string) predicate.ControlObjective

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold

func CategoryContainsFold(v string) predicate.ControlObjective

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ

func CategoryEQ(v string) predicate.ControlObjective

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold

func CategoryEqualFold(v string) predicate.ControlObjective

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT

func CategoryGT(v string) predicate.ControlObjective

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE

func CategoryGTE(v string) predicate.ControlObjective

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix

func CategoryHasPrefix(v string) predicate.ControlObjective

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix

func CategoryHasSuffix(v string) predicate.ControlObjective

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryIn

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

CategoryIn applies the In predicate on the "category" field.

func CategoryIsNil

func CategoryIsNil() predicate.ControlObjective

CategoryIsNil applies the IsNil predicate on the "category" field.

func CategoryLT

func CategoryLT(v string) predicate.ControlObjective

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE

func CategoryLTE(v string) predicate.ControlObjective

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ

func CategoryNEQ(v string) predicate.ControlObjective

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn

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

CategoryNotIn applies the NotIn predicate on the "category" field.

func CategoryNotNil

func CategoryNotNil() predicate.ControlObjective

CategoryNotNil applies the NotNil predicate on the "category" 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 DesiredOutcome

func DesiredOutcome(v string) predicate.ControlObjective

DesiredOutcome applies equality check predicate on the "desired_outcome" field. It's identical to DesiredOutcomeEQ.

func DesiredOutcomeContains

func DesiredOutcomeContains(v string) predicate.ControlObjective

DesiredOutcomeContains applies the Contains predicate on the "desired_outcome" field.

func DesiredOutcomeContainsFold

func DesiredOutcomeContainsFold(v string) predicate.ControlObjective

DesiredOutcomeContainsFold applies the ContainsFold predicate on the "desired_outcome" field.

func DesiredOutcomeEQ

func DesiredOutcomeEQ(v string) predicate.ControlObjective

DesiredOutcomeEQ applies the EQ predicate on the "desired_outcome" field.

func DesiredOutcomeEqualFold

func DesiredOutcomeEqualFold(v string) predicate.ControlObjective

DesiredOutcomeEqualFold applies the EqualFold predicate on the "desired_outcome" field.

func DesiredOutcomeGT

func DesiredOutcomeGT(v string) predicate.ControlObjective

DesiredOutcomeGT applies the GT predicate on the "desired_outcome" field.

func DesiredOutcomeGTE

func DesiredOutcomeGTE(v string) predicate.ControlObjective

DesiredOutcomeGTE applies the GTE predicate on the "desired_outcome" field.

func DesiredOutcomeHasPrefix

func DesiredOutcomeHasPrefix(v string) predicate.ControlObjective

DesiredOutcomeHasPrefix applies the HasPrefix predicate on the "desired_outcome" field.

func DesiredOutcomeHasSuffix

func DesiredOutcomeHasSuffix(v string) predicate.ControlObjective

DesiredOutcomeHasSuffix applies the HasSuffix predicate on the "desired_outcome" field.

func DesiredOutcomeIn

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

DesiredOutcomeIn applies the In predicate on the "desired_outcome" field.

func DesiredOutcomeIsNil

func DesiredOutcomeIsNil() predicate.ControlObjective

DesiredOutcomeIsNil applies the IsNil predicate on the "desired_outcome" field.

func DesiredOutcomeJSONIsNil

func DesiredOutcomeJSONIsNil() predicate.ControlObjective

DesiredOutcomeJSONIsNil applies the IsNil predicate on the "desired_outcome_json" field.

func DesiredOutcomeJSONNotNil

func DesiredOutcomeJSONNotNil() predicate.ControlObjective

DesiredOutcomeJSONNotNil applies the NotNil predicate on the "desired_outcome_json" field.

func DesiredOutcomeLT

func DesiredOutcomeLT(v string) predicate.ControlObjective

DesiredOutcomeLT applies the LT predicate on the "desired_outcome" field.

func DesiredOutcomeLTE

func DesiredOutcomeLTE(v string) predicate.ControlObjective

DesiredOutcomeLTE applies the LTE predicate on the "desired_outcome" field.

func DesiredOutcomeNEQ

func DesiredOutcomeNEQ(v string) predicate.ControlObjective

DesiredOutcomeNEQ applies the NEQ predicate on the "desired_outcome" field.

func DesiredOutcomeNotIn

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

DesiredOutcomeNotIn applies the NotIn predicate on the "desired_outcome" field.

func DesiredOutcomeNotNil

func DesiredOutcomeNotNil() predicate.ControlObjective

DesiredOutcomeNotNil applies the NotNil predicate on the "desired_outcome" field.

func DisplayID

func DisplayID(v string) predicate.ControlObjective

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains

func DisplayIDContains(v string) predicate.ControlObjective

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.ControlObjective

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.ControlObjective

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.ControlObjective

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT

func DisplayIDGT(v string) predicate.ControlObjective

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.ControlObjective

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.ControlObjective

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.ControlObjective

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn

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

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT

func DisplayIDLT(v string) predicate.ControlObjective

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.ControlObjective

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.ControlObjective

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn

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

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func HasBlockedGroups

func HasBlockedGroups() predicate.ControlObjective

HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.

func HasBlockedGroupsWith

func HasBlockedGroupsWith(preds ...predicate.Group) predicate.ControlObjective

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

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 HasEditors

func HasEditors() predicate.ControlObjective

HasEditors applies the HasEdge predicate on the "editors" edge.

func HasEditorsWith

func HasEditorsWith(preds ...predicate.Group) predicate.ControlObjective

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

func HasEvidence

func HasEvidence() predicate.ControlObjective

HasEvidence applies the HasEdge predicate on the "evidence" edge.

func HasEvidenceWith

func HasEvidenceWith(preds ...predicate.Evidence) predicate.ControlObjective

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

func HasInternalPolicies

func HasInternalPolicies() predicate.ControlObjective

HasInternalPolicies applies the HasEdge predicate on the "internal_policies" edge.

func HasInternalPoliciesWith

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

HasInternalPoliciesWith applies the HasEdge predicate on the "internal_policies" 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 HasOwner

func HasOwner() predicate.ControlObjective

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Organization) predicate.ControlObjective

HasOwnerWith applies the HasEdge predicate on the "owner" 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

func HasPrograms() predicate.ControlObjective

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

func HasProgramsWith

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

func HasTasks() predicate.ControlObjective

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

func HasTasksWith

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

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

func HasViewers

func HasViewers() predicate.ControlObjective

HasViewers applies the HasEdge predicate on the "viewers" edge.

func HasViewersWith

func HasViewersWith(preds ...predicate.Group) predicate.ControlObjective

HasViewersWith applies the HasEdge predicate on the "viewers" 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 InternalNotes

func InternalNotes(v string) predicate.ControlObjective

InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.

func InternalNotesContains

func InternalNotesContains(v string) predicate.ControlObjective

InternalNotesContains applies the Contains predicate on the "internal_notes" field.

func InternalNotesContainsFold

func InternalNotesContainsFold(v string) predicate.ControlObjective

InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.

func InternalNotesEQ

func InternalNotesEQ(v string) predicate.ControlObjective

InternalNotesEQ applies the EQ predicate on the "internal_notes" field.

func InternalNotesEqualFold

func InternalNotesEqualFold(v string) predicate.ControlObjective

InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.

func InternalNotesGT

func InternalNotesGT(v string) predicate.ControlObjective

InternalNotesGT applies the GT predicate on the "internal_notes" field.

func InternalNotesGTE

func InternalNotesGTE(v string) predicate.ControlObjective

InternalNotesGTE applies the GTE predicate on the "internal_notes" field.

func InternalNotesHasPrefix

func InternalNotesHasPrefix(v string) predicate.ControlObjective

InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.

func InternalNotesHasSuffix

func InternalNotesHasSuffix(v string) predicate.ControlObjective

InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.

func InternalNotesIn

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

InternalNotesIn applies the In predicate on the "internal_notes" field.

func InternalNotesIsNil

func InternalNotesIsNil() predicate.ControlObjective

InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.

func InternalNotesLT

func InternalNotesLT(v string) predicate.ControlObjective

InternalNotesLT applies the LT predicate on the "internal_notes" field.

func InternalNotesLTE

func InternalNotesLTE(v string) predicate.ControlObjective

InternalNotesLTE applies the LTE predicate on the "internal_notes" field.

func InternalNotesNEQ

func InternalNotesNEQ(v string) predicate.ControlObjective

InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.

func InternalNotesNotIn

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

InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.

func InternalNotesNotNil

func InternalNotesNotNil() predicate.ControlObjective

InternalNotesNotNil applies the NotNil predicate on the "internal_notes" 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 OwnerID

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.ControlObjective

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.ControlObjective

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.ControlObjective

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.ControlObjective

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.ControlObjective

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.ControlObjective

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.ControlObjective

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.ControlObjective

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

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

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.ControlObjective

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.ControlObjective

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.ControlObjective

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.ControlObjective

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

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

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.ControlObjective

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func Revision

func Revision(v string) predicate.ControlObjective

Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.

func RevisionContains

func RevisionContains(v string) predicate.ControlObjective

RevisionContains applies the Contains predicate on the "revision" field.

func RevisionContainsFold

func RevisionContainsFold(v string) predicate.ControlObjective

RevisionContainsFold applies the ContainsFold predicate on the "revision" field.

func RevisionEQ

func RevisionEQ(v string) predicate.ControlObjective

RevisionEQ applies the EQ predicate on the "revision" field.

func RevisionEqualFold

func RevisionEqualFold(v string) predicate.ControlObjective

RevisionEqualFold applies the EqualFold predicate on the "revision" field.

func RevisionGT

func RevisionGT(v string) predicate.ControlObjective

RevisionGT applies the GT predicate on the "revision" field.

func RevisionGTE

func RevisionGTE(v string) predicate.ControlObjective

RevisionGTE applies the GTE predicate on the "revision" field.

func RevisionHasPrefix

func RevisionHasPrefix(v string) predicate.ControlObjective

RevisionHasPrefix applies the HasPrefix predicate on the "revision" field.

func RevisionHasSuffix

func RevisionHasSuffix(v string) predicate.ControlObjective

RevisionHasSuffix applies the HasSuffix predicate on the "revision" field.

func RevisionIn

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

RevisionIn applies the In predicate on the "revision" field.

func RevisionIsNil

func RevisionIsNil() predicate.ControlObjective

RevisionIsNil applies the IsNil predicate on the "revision" field.

func RevisionLT

func RevisionLT(v string) predicate.ControlObjective

RevisionLT applies the LT predicate on the "revision" field.

func RevisionLTE

func RevisionLTE(v string) predicate.ControlObjective

RevisionLTE applies the LTE predicate on the "revision" field.

func RevisionNEQ

func RevisionNEQ(v string) predicate.ControlObjective

RevisionNEQ applies the NEQ predicate on the "revision" field.

func RevisionNotIn

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

RevisionNotIn applies the NotIn predicate on the "revision" field.

func RevisionNotNil

func RevisionNotNil() predicate.ControlObjective

RevisionNotNil applies the NotNil predicate on the "revision" field.

func SourceEQ

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

func SourceIn

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 SourceNEQ

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

func SourceNotIn

func SourceNotIn(vs ...enums.ControlSource) 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 SourceValidator

func SourceValidator(s enums.ControlSource) error

SourceValidator is a validator for the "source" field enum values. It is called by the builders before save.

func StatusEQ

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

func StatusIn

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 StatusNEQ

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

func StatusNotIn

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 StatusValidator

func StatusValidator(s enums.ObjectiveStatus) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func Subcategory

func Subcategory(v string) predicate.ControlObjective

Subcategory applies equality check predicate on the "subcategory" field. It's identical to SubcategoryEQ.

func SubcategoryContains

func SubcategoryContains(v string) predicate.ControlObjective

SubcategoryContains applies the Contains predicate on the "subcategory" field.

func SubcategoryContainsFold

func SubcategoryContainsFold(v string) predicate.ControlObjective

SubcategoryContainsFold applies the ContainsFold predicate on the "subcategory" field.

func SubcategoryEQ

func SubcategoryEQ(v string) predicate.ControlObjective

SubcategoryEQ applies the EQ predicate on the "subcategory" field.

func SubcategoryEqualFold

func SubcategoryEqualFold(v string) predicate.ControlObjective

SubcategoryEqualFold applies the EqualFold predicate on the "subcategory" field.

func SubcategoryGT

func SubcategoryGT(v string) predicate.ControlObjective

SubcategoryGT applies the GT predicate on the "subcategory" field.

func SubcategoryGTE

func SubcategoryGTE(v string) predicate.ControlObjective

SubcategoryGTE applies the GTE predicate on the "subcategory" field.

func SubcategoryHasPrefix

func SubcategoryHasPrefix(v string) predicate.ControlObjective

SubcategoryHasPrefix applies the HasPrefix predicate on the "subcategory" field.

func SubcategoryHasSuffix

func SubcategoryHasSuffix(v string) predicate.ControlObjective

SubcategoryHasSuffix applies the HasSuffix predicate on the "subcategory" field.

func SubcategoryIn

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

SubcategoryIn applies the In predicate on the "subcategory" field.

func SubcategoryIsNil

func SubcategoryIsNil() predicate.ControlObjective

SubcategoryIsNil applies the IsNil predicate on the "subcategory" field.

func SubcategoryLT

func SubcategoryLT(v string) predicate.ControlObjective

SubcategoryLT applies the LT predicate on the "subcategory" field.

func SubcategoryLTE

func SubcategoryLTE(v string) predicate.ControlObjective

SubcategoryLTE applies the LTE predicate on the "subcategory" field.

func SubcategoryNEQ

func SubcategoryNEQ(v string) predicate.ControlObjective

SubcategoryNEQ applies the NEQ predicate on the "subcategory" field.

func SubcategoryNotIn

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

SubcategoryNotIn applies the NotIn predicate on the "subcategory" field.

func SubcategoryNotNil

func SubcategoryNotNil() predicate.ControlObjective

SubcategoryNotNil applies the NotNil predicate on the "subcategory" field.

func SystemInternalID

func SystemInternalID(v string) predicate.ControlObjective

SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.

func SystemInternalIDContains

func SystemInternalIDContains(v string) predicate.ControlObjective

SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.

func SystemInternalIDContainsFold

func SystemInternalIDContainsFold(v string) predicate.ControlObjective

SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.

func SystemInternalIDEQ

func SystemInternalIDEQ(v string) predicate.ControlObjective

SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.

func SystemInternalIDEqualFold

func SystemInternalIDEqualFold(v string) predicate.ControlObjective

SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.

func SystemInternalIDGT

func SystemInternalIDGT(v string) predicate.ControlObjective

SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.

func SystemInternalIDGTE

func SystemInternalIDGTE(v string) predicate.ControlObjective

SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.

func SystemInternalIDHasPrefix

func SystemInternalIDHasPrefix(v string) predicate.ControlObjective

SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.

func SystemInternalIDHasSuffix

func SystemInternalIDHasSuffix(v string) predicate.ControlObjective

SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.

func SystemInternalIDIn

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

SystemInternalIDIn applies the In predicate on the "system_internal_id" field.

func SystemInternalIDIsNil

func SystemInternalIDIsNil() predicate.ControlObjective

SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.

func SystemInternalIDLT

func SystemInternalIDLT(v string) predicate.ControlObjective

SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.

func SystemInternalIDLTE

func SystemInternalIDLTE(v string) predicate.ControlObjective

SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.

func SystemInternalIDNEQ

func SystemInternalIDNEQ(v string) predicate.ControlObjective

SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.

func SystemInternalIDNotIn

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

SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.

func SystemInternalIDNotNil

func SystemInternalIDNotNil() predicate.ControlObjective

SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.

func SystemOwned

func SystemOwned(v bool) predicate.ControlObjective

SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.

func SystemOwnedEQ

func SystemOwnedEQ(v bool) predicate.ControlObjective

SystemOwnedEQ applies the EQ predicate on the "system_owned" field.

func SystemOwnedIsNil

func SystemOwnedIsNil() predicate.ControlObjective

SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.

func SystemOwnedNEQ

func SystemOwnedNEQ(v bool) predicate.ControlObjective

SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.

func SystemOwnedNotNil

func SystemOwnedNotNil() predicate.ControlObjective

SystemOwnedNotNil applies the NotNil predicate on the "system_owned" 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 UpdatedByImpersonator

func UpdatedByImpersonator(v string) predicate.ControlObjective

UpdatedByImpersonator applies equality check predicate on the "updated_by_impersonator" field. It's identical to UpdatedByImpersonatorEQ.

func UpdatedByImpersonatorContains

func UpdatedByImpersonatorContains(v string) predicate.ControlObjective

UpdatedByImpersonatorContains applies the Contains predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorContainsFold

func UpdatedByImpersonatorContainsFold(v string) predicate.ControlObjective

UpdatedByImpersonatorContainsFold applies the ContainsFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEQ

func UpdatedByImpersonatorEQ(v string) predicate.ControlObjective

UpdatedByImpersonatorEQ applies the EQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEqualFold

func UpdatedByImpersonatorEqualFold(v string) predicate.ControlObjective

UpdatedByImpersonatorEqualFold applies the EqualFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGT

func UpdatedByImpersonatorGT(v string) predicate.ControlObjective

UpdatedByImpersonatorGT applies the GT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGTE

func UpdatedByImpersonatorGTE(v string) predicate.ControlObjective

UpdatedByImpersonatorGTE applies the GTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasPrefix

func UpdatedByImpersonatorHasPrefix(v string) predicate.ControlObjective

UpdatedByImpersonatorHasPrefix applies the HasPrefix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasSuffix

func UpdatedByImpersonatorHasSuffix(v string) predicate.ControlObjective

UpdatedByImpersonatorHasSuffix applies the HasSuffix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIn

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

UpdatedByImpersonatorIn applies the In predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIsNil

func UpdatedByImpersonatorIsNil() predicate.ControlObjective

UpdatedByImpersonatorIsNil applies the IsNil predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLT

func UpdatedByImpersonatorLT(v string) predicate.ControlObjective

UpdatedByImpersonatorLT applies the LT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLTE

func UpdatedByImpersonatorLTE(v string) predicate.ControlObjective

UpdatedByImpersonatorLTE applies the LTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNEQ

func UpdatedByImpersonatorNEQ(v string) predicate.ControlObjective

UpdatedByImpersonatorNEQ applies the NEQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotIn

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

UpdatedByImpersonatorNotIn applies the NotIn predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotNil

func UpdatedByImpersonatorNotNil() predicate.ControlObjective

UpdatedByImpersonatorNotNil applies the NotNil predicate on the "updated_by_impersonator" 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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ControlObjective queries.

func ByBlockedGroups

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

ByBlockedGroups orders the results by blocked_groups terms.

func ByBlockedGroupsCount

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

ByBlockedGroupsCount orders the results by blocked_groups count.

func ByCategory

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

ByCategory orders the results by the category 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 ByDesiredOutcome

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

ByDesiredOutcome orders the results by the desired_outcome field.

func ByDisplayID

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

ByDisplayID orders the results by the display_id field.

func ByEditors

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

ByEditors orders the results by editors terms.

func ByEditorsCount

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

ByEditorsCount orders the results by editors count.

func ByEvidence

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

ByEvidence orders the results by evidence terms.

func ByEvidenceCount

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

ByEvidenceCount orders the results by evidence count.

func ByID

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

ByID orders the results by the id field.

func ByInternalNotes

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

ByInternalNotes orders the results by the internal_notes field.

func ByInternalPolicies

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

ByInternalPolicies orders the results by internal_policies terms.

func ByInternalPoliciesCount

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

ByInternalPoliciesCount orders the results by internal_policies count.

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 ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID

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

ByOwnerID orders the results by the owner_id field.

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

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

ByPrograms orders the results by programs terms.

func ByProgramsCount

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

ByProgramsCount orders the results by programs count.

func ByRevision

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

ByRevision orders the results by the revision field.

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 ByStatus

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

ByStatus orders the results by the status field.

func BySubcategory

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

BySubcategory orders the results by the subcategory 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 BySystemInternalID

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

BySystemInternalID orders the results by the system_internal_id field.

func BySystemOwned

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

BySystemOwned orders the results by the system_owned field.

func ByTasks

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

ByTasks orders the results by tasks terms.

func ByTasksCount

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 ByUpdatedByImpersonator

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

ByUpdatedByImpersonator orders the results by the updated_by_impersonator field.

func ByViewers

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

ByViewers orders the results by viewers terms.

func ByViewersCount

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

ByViewersCount orders the results by viewers count.

Jump to

Keyboard shortcuts

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