controlimplementation

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 controlimplementation type in the database.
	Label = "control_implementation"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// 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"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// 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"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldImplementationDate holds the string denoting the implementation_date field in the database.
	FieldImplementationDate = "implementation_date"
	// FieldVerified holds the string denoting the verified field in the database.
	FieldVerified = "verified"
	// FieldVerificationDate holds the string denoting the verification_date field in the database.
	FieldVerificationDate = "verification_date"
	// FieldDetails holds the string denoting the details field in the database.
	FieldDetails = "details"
	// FieldDetailsJSON holds the string denoting the details_json field in the database.
	FieldDetailsJSON = "details_json"
	// 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"
	// 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"
	// EdgeTasks holds the string denoting the tasks edge name in mutations.
	EdgeTasks = "tasks"
	// Table holds the table name of the controlimplementation in the database.
	Table = "control_implementations"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "control_implementations"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below.
	BlockedGroupsTable = "control_implementation_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_implementation_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_implementation_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"
	// ControlsTable is the table that holds the controls relation/edge. The primary key declared below.
	ControlsTable = "control_control_implementations"
	// ControlsInverseTable is the table name for the Control entity.
	// It exists in this package in order to avoid circular dependency with the "control" package.
	ControlsInverseTable = "controls"
	// SubcontrolsTable is the table that holds the subcontrols relation/edge. The primary key declared below.
	SubcontrolsTable = "subcontrol_control_implementations"
	// SubcontrolsInverseTable is the table name for the Subcontrol entity.
	// It exists in this package in order to avoid circular dependency with the "subcontrol" package.
	SubcontrolsInverseTable = "subcontrols"
	// TasksTable is the table that holds the tasks relation/edge. The primary key declared below.
	TasksTable = "control_implementation_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 DefaultStatus enums.DocumentStatus = "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_implementation_id", "group_id"}
	// EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the
	// primary key for the editors relation (M2M).
	EditorsPrimaryKey = []string{"control_implementation_id", "group_id"}
	// ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the
	// primary key for the viewers relation (M2M).
	ViewersPrimaryKey = []string{"control_implementation_id", "group_id"}
	// ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the
	// primary key for the controls relation (M2M).
	ControlsPrimaryKey = []string{"control_id", "control_implementation_id"}
	// SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the
	// primary key for the subcontrols relation (M2M).
	SubcontrolsPrimaryKey = []string{"subcontrol_id", "control_implementation_id"}
	// TasksPrimaryKey and TasksColumn2 are the table columns denoting the
	// primary key for the tasks relation (M2M).
	TasksPrimaryKey = []string{"control_implementation_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
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// DefaultSystemOwned holds the default value on creation for the "system_owned" field.
	DefaultSystemOwned bool
	// 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 controlimplementation fields.

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

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

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ControlImplementation

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.ControlImplementation

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

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ControlImplementation

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ControlImplementation

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.ControlImplementation

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

func CreatedBy

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

func CreatedByContains

func CreatedByContains(v string) predicate.ControlImplementation

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.ControlImplementation

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.ControlImplementation

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.ControlImplementation

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

func CreatedByGT

func CreatedByGT(v string) predicate.ControlImplementation

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.ControlImplementation

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.ControlImplementation

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.ControlImplementation

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.ControlImplementation

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

func CreatedByLT

func CreatedByLT(v string) predicate.ControlImplementation

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.ControlImplementation

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.ControlImplementation

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.ControlImplementation

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

func DeletedAt

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

func DeletedAtEQ

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

func DeletedAtGT

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ControlImplementation

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ControlImplementation

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

func DeletedAtLT

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ControlImplementation

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ControlImplementation

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ControlImplementation

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

func DeletedBy

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

func DeletedByContains

func DeletedByContains(v string) predicate.ControlImplementation

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.ControlImplementation

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.ControlImplementation

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.ControlImplementation

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

func DeletedByGT

func DeletedByGT(v string) predicate.ControlImplementation

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.ControlImplementation

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.ControlImplementation

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.ControlImplementation

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.ControlImplementation

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

func DeletedByLT

func DeletedByLT(v string) predicate.ControlImplementation

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.ControlImplementation

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.ControlImplementation

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.ControlImplementation

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

func Details

Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.

func DetailsContains

func DetailsContains(v string) predicate.ControlImplementation

DetailsContains applies the Contains predicate on the "details" field.

func DetailsContainsFold

func DetailsContainsFold(v string) predicate.ControlImplementation

DetailsContainsFold applies the ContainsFold predicate on the "details" field.

func DetailsEQ

DetailsEQ applies the EQ predicate on the "details" field.

func DetailsEqualFold

func DetailsEqualFold(v string) predicate.ControlImplementation

DetailsEqualFold applies the EqualFold predicate on the "details" field.

func DetailsGT

DetailsGT applies the GT predicate on the "details" field.

func DetailsGTE

DetailsGTE applies the GTE predicate on the "details" field.

func DetailsHasPrefix

func DetailsHasPrefix(v string) predicate.ControlImplementation

DetailsHasPrefix applies the HasPrefix predicate on the "details" field.

func DetailsHasSuffix

func DetailsHasSuffix(v string) predicate.ControlImplementation

DetailsHasSuffix applies the HasSuffix predicate on the "details" field.

func DetailsIn

func DetailsIn(vs ...string) predicate.ControlImplementation

DetailsIn applies the In predicate on the "details" field.

func DetailsIsNil

func DetailsIsNil() predicate.ControlImplementation

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

func DetailsJSONIsNil

func DetailsJSONIsNil() predicate.ControlImplementation

DetailsJSONIsNil applies the IsNil predicate on the "details_json" field.

func DetailsJSONNotNil

func DetailsJSONNotNil() predicate.ControlImplementation

DetailsJSONNotNil applies the NotNil predicate on the "details_json" field.

func DetailsLT

DetailsLT applies the LT predicate on the "details" field.

func DetailsLTE

DetailsLTE applies the LTE predicate on the "details" field.

func DetailsNEQ

DetailsNEQ applies the NEQ predicate on the "details" field.

func DetailsNotIn

func DetailsNotIn(vs ...string) predicate.ControlImplementation

DetailsNotIn applies the NotIn predicate on the "details" field.

func DetailsNotNil

func DetailsNotNil() predicate.ControlImplementation

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

func HasBlockedGroups

func HasBlockedGroups() predicate.ControlImplementation

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

func HasBlockedGroupsWith

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

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

func HasControls

func HasControls() predicate.ControlImplementation

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

func HasControlsWith

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

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

func HasEditors

func HasEditors() predicate.ControlImplementation

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

func HasEditorsWith

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

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

func HasOwner

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

func HasOwnerWith

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

func HasSubcontrols

func HasSubcontrols() predicate.ControlImplementation

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

func HasSubcontrolsWith

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

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

func HasTasks

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

func HasTasksWith

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

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

func HasViewers

func HasViewers() predicate.ControlImplementation

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

func HasViewersWith

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

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

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func ImplementationDate

func ImplementationDate(v time.Time) predicate.ControlImplementation

ImplementationDate applies equality check predicate on the "implementation_date" field. It's identical to ImplementationDateEQ.

func ImplementationDateEQ

func ImplementationDateEQ(v time.Time) predicate.ControlImplementation

ImplementationDateEQ applies the EQ predicate on the "implementation_date" field.

func ImplementationDateGT

func ImplementationDateGT(v time.Time) predicate.ControlImplementation

ImplementationDateGT applies the GT predicate on the "implementation_date" field.

func ImplementationDateGTE

func ImplementationDateGTE(v time.Time) predicate.ControlImplementation

ImplementationDateGTE applies the GTE predicate on the "implementation_date" field.

func ImplementationDateIn

func ImplementationDateIn(vs ...time.Time) predicate.ControlImplementation

ImplementationDateIn applies the In predicate on the "implementation_date" field.

func ImplementationDateIsNil

func ImplementationDateIsNil() predicate.ControlImplementation

ImplementationDateIsNil applies the IsNil predicate on the "implementation_date" field.

func ImplementationDateLT

func ImplementationDateLT(v time.Time) predicate.ControlImplementation

ImplementationDateLT applies the LT predicate on the "implementation_date" field.

func ImplementationDateLTE

func ImplementationDateLTE(v time.Time) predicate.ControlImplementation

ImplementationDateLTE applies the LTE predicate on the "implementation_date" field.

func ImplementationDateNEQ

func ImplementationDateNEQ(v time.Time) predicate.ControlImplementation

ImplementationDateNEQ applies the NEQ predicate on the "implementation_date" field.

func ImplementationDateNotIn

func ImplementationDateNotIn(vs ...time.Time) predicate.ControlImplementation

ImplementationDateNotIn applies the NotIn predicate on the "implementation_date" field.

func ImplementationDateNotNil

func ImplementationDateNotNil() predicate.ControlImplementation

ImplementationDateNotNil applies the NotNil predicate on the "implementation_date" field.

func InternalNotes

func InternalNotes(v string) predicate.ControlImplementation

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

func InternalNotesContains

func InternalNotesContains(v string) predicate.ControlImplementation

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

func InternalNotesContainsFold

func InternalNotesContainsFold(v string) predicate.ControlImplementation

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

func InternalNotesEQ

func InternalNotesEQ(v string) predicate.ControlImplementation

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

func InternalNotesEqualFold

func InternalNotesEqualFold(v string) predicate.ControlImplementation

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

func InternalNotesGT

func InternalNotesGT(v string) predicate.ControlImplementation

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

func InternalNotesGTE

func InternalNotesGTE(v string) predicate.ControlImplementation

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

func InternalNotesHasPrefix

func InternalNotesHasPrefix(v string) predicate.ControlImplementation

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

func InternalNotesHasSuffix

func InternalNotesHasSuffix(v string) predicate.ControlImplementation

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

func InternalNotesIn

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

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

func InternalNotesIsNil

func InternalNotesIsNil() predicate.ControlImplementation

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

func InternalNotesLT

func InternalNotesLT(v string) predicate.ControlImplementation

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

func InternalNotesLTE

func InternalNotesLTE(v string) predicate.ControlImplementation

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

func InternalNotesNEQ

func InternalNotesNEQ(v string) predicate.ControlImplementation

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

func InternalNotesNotIn

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

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

func InternalNotesNotNil

func InternalNotesNotNil() predicate.ControlImplementation

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

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.ControlImplementation

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

func OwnerIDEQ

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.ControlImplementation

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

func OwnerIDGT

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

func OwnerIDGTE

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.ControlImplementation

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.ControlImplementation

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.ControlImplementation

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

func OwnerIDLT

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

func OwnerIDLTE

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

func OwnerIDNEQ

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.ControlImplementation

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

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

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

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

func StatusValidator

func StatusValidator(s enums.DocumentStatus) error

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

func SystemInternalID

func SystemInternalID(v string) predicate.ControlImplementation

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

func SystemInternalIDContains

func SystemInternalIDContains(v string) predicate.ControlImplementation

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

func SystemInternalIDContainsFold

func SystemInternalIDContainsFold(v string) predicate.ControlImplementation

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

func SystemInternalIDEQ

func SystemInternalIDEQ(v string) predicate.ControlImplementation

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

func SystemInternalIDEqualFold

func SystemInternalIDEqualFold(v string) predicate.ControlImplementation

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

func SystemInternalIDGT

func SystemInternalIDGT(v string) predicate.ControlImplementation

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

func SystemInternalIDGTE

func SystemInternalIDGTE(v string) predicate.ControlImplementation

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

func SystemInternalIDHasPrefix

func SystemInternalIDHasPrefix(v string) predicate.ControlImplementation

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

func SystemInternalIDHasSuffix

func SystemInternalIDHasSuffix(v string) predicate.ControlImplementation

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

func SystemInternalIDIn

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

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

func SystemInternalIDIsNil

func SystemInternalIDIsNil() predicate.ControlImplementation

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

func SystemInternalIDLT

func SystemInternalIDLT(v string) predicate.ControlImplementation

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

func SystemInternalIDLTE

func SystemInternalIDLTE(v string) predicate.ControlImplementation

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

func SystemInternalIDNEQ

func SystemInternalIDNEQ(v string) predicate.ControlImplementation

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

func SystemInternalIDNotIn

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

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

func SystemInternalIDNotNil

func SystemInternalIDNotNil() predicate.ControlImplementation

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

func SystemOwned

func SystemOwned(v bool) predicate.ControlImplementation

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

func SystemOwnedEQ

func SystemOwnedEQ(v bool) predicate.ControlImplementation

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

func SystemOwnedIsNil

func SystemOwnedIsNil() predicate.ControlImplementation

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

func SystemOwnedNEQ

func SystemOwnedNEQ(v bool) predicate.ControlImplementation

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

func SystemOwnedNotNil

func SystemOwnedNotNil() predicate.ControlImplementation

SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.

func TagsIsNil

func TagsIsNil() predicate.ControlImplementation

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

func TagsNotNil

func TagsNotNil() predicate.ControlImplementation

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

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ControlImplementation

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ControlImplementation

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

func UpdatedAtLT

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ControlImplementation

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ControlImplementation

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ControlImplementation

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

func UpdatedBy

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.ControlImplementation

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.ControlImplementation

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.ControlImplementation

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.ControlImplementation

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.ControlImplementation

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.ControlImplementation

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.ControlImplementation

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.ControlImplementation

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

func UpdatedByImpersonator

func UpdatedByImpersonator(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorContains

func UpdatedByImpersonatorContains(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorContainsFold

func UpdatedByImpersonatorContainsFold(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorEQ

func UpdatedByImpersonatorEQ(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorEqualFold

func UpdatedByImpersonatorEqualFold(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorGT

func UpdatedByImpersonatorGT(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorGTE

func UpdatedByImpersonatorGTE(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorHasPrefix

func UpdatedByImpersonatorHasPrefix(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorHasSuffix

func UpdatedByImpersonatorHasSuffix(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorIn

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

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

func UpdatedByImpersonatorIsNil

func UpdatedByImpersonatorIsNil() predicate.ControlImplementation

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

func UpdatedByImpersonatorLT

func UpdatedByImpersonatorLT(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorLTE

func UpdatedByImpersonatorLTE(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorNEQ

func UpdatedByImpersonatorNEQ(v string) predicate.ControlImplementation

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

func UpdatedByImpersonatorNotIn

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

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

func UpdatedByImpersonatorNotNil

func UpdatedByImpersonatorNotNil() predicate.ControlImplementation

UpdatedByImpersonatorNotNil applies the NotNil predicate on the "updated_by_impersonator" field.

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.ControlImplementation

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.ControlImplementation

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.ControlImplementation

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.ControlImplementation

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.ControlImplementation

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

func ValidColumn

func ValidColumn(column string) bool

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

func VerificationDate

func VerificationDate(v time.Time) predicate.ControlImplementation

VerificationDate applies equality check predicate on the "verification_date" field. It's identical to VerificationDateEQ.

func VerificationDateEQ

func VerificationDateEQ(v time.Time) predicate.ControlImplementation

VerificationDateEQ applies the EQ predicate on the "verification_date" field.

func VerificationDateGT

func VerificationDateGT(v time.Time) predicate.ControlImplementation

VerificationDateGT applies the GT predicate on the "verification_date" field.

func VerificationDateGTE

func VerificationDateGTE(v time.Time) predicate.ControlImplementation

VerificationDateGTE applies the GTE predicate on the "verification_date" field.

func VerificationDateIn

func VerificationDateIn(vs ...time.Time) predicate.ControlImplementation

VerificationDateIn applies the In predicate on the "verification_date" field.

func VerificationDateIsNil

func VerificationDateIsNil() predicate.ControlImplementation

VerificationDateIsNil applies the IsNil predicate on the "verification_date" field.

func VerificationDateLT

func VerificationDateLT(v time.Time) predicate.ControlImplementation

VerificationDateLT applies the LT predicate on the "verification_date" field.

func VerificationDateLTE

func VerificationDateLTE(v time.Time) predicate.ControlImplementation

VerificationDateLTE applies the LTE predicate on the "verification_date" field.

func VerificationDateNEQ

func VerificationDateNEQ(v time.Time) predicate.ControlImplementation

VerificationDateNEQ applies the NEQ predicate on the "verification_date" field.

func VerificationDateNotIn

func VerificationDateNotIn(vs ...time.Time) predicate.ControlImplementation

VerificationDateNotIn applies the NotIn predicate on the "verification_date" field.

func VerificationDateNotNil

func VerificationDateNotNil() predicate.ControlImplementation

VerificationDateNotNil applies the NotNil predicate on the "verification_date" field.

func Verified

Verified applies equality check predicate on the "verified" field. It's identical to VerifiedEQ.

func VerifiedEQ

func VerifiedEQ(v bool) predicate.ControlImplementation

VerifiedEQ applies the EQ predicate on the "verified" field.

func VerifiedIsNil

func VerifiedIsNil() predicate.ControlImplementation

VerifiedIsNil applies the IsNil predicate on the "verified" field.

func VerifiedNEQ

func VerifiedNEQ(v bool) predicate.ControlImplementation

VerifiedNEQ applies the NEQ predicate on the "verified" field.

func VerifiedNotNil

func VerifiedNotNil() predicate.ControlImplementation

VerifiedNotNil applies the NotNil predicate on the "verified" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ControlImplementation 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 ByControls

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

ByControls orders the results by controls terms.

func ByControlsCount

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

ByControlsCount orders the results by controls count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByDetails

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

ByDetails orders the results by the details field.

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

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

ByID orders the results by the id field.

func ByImplementationDate

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

ByImplementationDate orders the results by the implementation_date field.

func ByInternalNotes

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

ByInternalNotes orders the results by the internal_notes field.

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

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

ByVerificationDate orders the results by the verification_date field.

func ByVerified

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

ByVerified orders the results by the verified field.

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