Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Procedure) predicate.Procedure
- func Background(v string) predicate.Procedure
- func BackgroundContains(v string) predicate.Procedure
- func BackgroundContainsFold(v string) predicate.Procedure
- func BackgroundEQ(v string) predicate.Procedure
- func BackgroundEqualFold(v string) predicate.Procedure
- func BackgroundGT(v string) predicate.Procedure
- func BackgroundGTE(v string) predicate.Procedure
- func BackgroundHasPrefix(v string) predicate.Procedure
- func BackgroundHasSuffix(v string) predicate.Procedure
- func BackgroundIn(vs ...string) predicate.Procedure
- func BackgroundIsNil() predicate.Procedure
- func BackgroundLT(v string) predicate.Procedure
- func BackgroundLTE(v string) predicate.Procedure
- func BackgroundNEQ(v string) predicate.Procedure
- func BackgroundNotIn(vs ...string) predicate.Procedure
- func BackgroundNotNil() predicate.Procedure
- func CreatedAt(v time.Time) predicate.Procedure
- func CreatedAtEQ(v time.Time) predicate.Procedure
- func CreatedAtGT(v time.Time) predicate.Procedure
- func CreatedAtGTE(v time.Time) predicate.Procedure
- func CreatedAtIn(vs ...time.Time) predicate.Procedure
- func CreatedAtIsNil() predicate.Procedure
- func CreatedAtLT(v time.Time) predicate.Procedure
- func CreatedAtLTE(v time.Time) predicate.Procedure
- func CreatedAtNEQ(v time.Time) predicate.Procedure
- func CreatedAtNotIn(vs ...time.Time) predicate.Procedure
- func CreatedAtNotNil() predicate.Procedure
- func CreatedBy(v string) predicate.Procedure
- func CreatedByContains(v string) predicate.Procedure
- func CreatedByContainsFold(v string) predicate.Procedure
- func CreatedByEQ(v string) predicate.Procedure
- func CreatedByEqualFold(v string) predicate.Procedure
- func CreatedByGT(v string) predicate.Procedure
- func CreatedByGTE(v string) predicate.Procedure
- func CreatedByHasPrefix(v string) predicate.Procedure
- func CreatedByHasSuffix(v string) predicate.Procedure
- func CreatedByIn(vs ...string) predicate.Procedure
- func CreatedByIsNil() predicate.Procedure
- func CreatedByLT(v string) predicate.Procedure
- func CreatedByLTE(v string) predicate.Procedure
- func CreatedByNEQ(v string) predicate.Procedure
- func CreatedByNotIn(vs ...string) predicate.Procedure
- func CreatedByNotNil() predicate.Procedure
- func DeletedAt(v time.Time) predicate.Procedure
- func DeletedAtEQ(v time.Time) predicate.Procedure
- func DeletedAtGT(v time.Time) predicate.Procedure
- func DeletedAtGTE(v time.Time) predicate.Procedure
- func DeletedAtIn(vs ...time.Time) predicate.Procedure
- func DeletedAtIsNil() predicate.Procedure
- func DeletedAtLT(v time.Time) predicate.Procedure
- func DeletedAtLTE(v time.Time) predicate.Procedure
- func DeletedAtNEQ(v time.Time) predicate.Procedure
- func DeletedAtNotIn(vs ...time.Time) predicate.Procedure
- func DeletedAtNotNil() predicate.Procedure
- func DeletedBy(v string) predicate.Procedure
- func DeletedByContains(v string) predicate.Procedure
- func DeletedByContainsFold(v string) predicate.Procedure
- func DeletedByEQ(v string) predicate.Procedure
- func DeletedByEqualFold(v string) predicate.Procedure
- func DeletedByGT(v string) predicate.Procedure
- func DeletedByGTE(v string) predicate.Procedure
- func DeletedByHasPrefix(v string) predicate.Procedure
- func DeletedByHasSuffix(v string) predicate.Procedure
- func DeletedByIn(vs ...string) predicate.Procedure
- func DeletedByIsNil() predicate.Procedure
- func DeletedByLT(v string) predicate.Procedure
- func DeletedByLTE(v string) predicate.Procedure
- func DeletedByNEQ(v string) predicate.Procedure
- func DeletedByNotIn(vs ...string) predicate.Procedure
- func DeletedByNotNil() predicate.Procedure
- func Description(v string) predicate.Procedure
- func DescriptionContains(v string) predicate.Procedure
- func DescriptionContainsFold(v string) predicate.Procedure
- func DescriptionEQ(v string) predicate.Procedure
- func DescriptionEqualFold(v string) predicate.Procedure
- func DescriptionGT(v string) predicate.Procedure
- func DescriptionGTE(v string) predicate.Procedure
- func DescriptionHasPrefix(v string) predicate.Procedure
- func DescriptionHasSuffix(v string) predicate.Procedure
- func DescriptionIn(vs ...string) predicate.Procedure
- func DescriptionIsNil() predicate.Procedure
- func DescriptionLT(v string) predicate.Procedure
- func DescriptionLTE(v string) predicate.Procedure
- func DescriptionNEQ(v string) predicate.Procedure
- func DescriptionNotIn(vs ...string) predicate.Procedure
- func DescriptionNotNil() predicate.Procedure
- func DetailsIsNil() predicate.Procedure
- func DetailsNotNil() predicate.Procedure
- func DisplayID(v string) predicate.Procedure
- func DisplayIDContains(v string) predicate.Procedure
- func DisplayIDContainsFold(v string) predicate.Procedure
- func DisplayIDEQ(v string) predicate.Procedure
- func DisplayIDEqualFold(v string) predicate.Procedure
- func DisplayIDGT(v string) predicate.Procedure
- func DisplayIDGTE(v string) predicate.Procedure
- func DisplayIDHasPrefix(v string) predicate.Procedure
- func DisplayIDHasSuffix(v string) predicate.Procedure
- func DisplayIDIn(vs ...string) predicate.Procedure
- func DisplayIDLT(v string) predicate.Procedure
- func DisplayIDLTE(v string) predicate.Procedure
- func DisplayIDNEQ(v string) predicate.Procedure
- func DisplayIDNotIn(vs ...string) predicate.Procedure
- func HasBlockedGroups() predicate.Procedure
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Procedure
- func HasControls() predicate.Procedure
- func HasControlsWith(preds ...predicate.Control) predicate.Procedure
- func HasEditors() predicate.Procedure
- func HasEditorsWith(preds ...predicate.Group) predicate.Procedure
- func HasInternalPolicies() predicate.Procedure
- func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Procedure
- func HasNarratives() predicate.Procedure
- func HasNarrativesWith(preds ...predicate.Narrative) predicate.Procedure
- func HasOwner() predicate.Procedure
- func HasOwnerWith(preds ...predicate.Organization) predicate.Procedure
- func HasPrograms() predicate.Procedure
- func HasProgramsWith(preds ...predicate.Program) predicate.Procedure
- func HasRisks() predicate.Procedure
- func HasRisksWith(preds ...predicate.Risk) predicate.Procedure
- func HasTasks() predicate.Procedure
- func HasTasksWith(preds ...predicate.Task) predicate.Procedure
- func ID(id string) predicate.Procedure
- func IDContainsFold(id string) predicate.Procedure
- func IDEQ(id string) predicate.Procedure
- func IDEqualFold(id string) predicate.Procedure
- func IDGT(id string) predicate.Procedure
- func IDGTE(id string) predicate.Procedure
- func IDIn(ids ...string) predicate.Procedure
- func IDLT(id string) predicate.Procedure
- func IDLTE(id string) predicate.Procedure
- func IDNEQ(id string) predicate.Procedure
- func IDNotIn(ids ...string) predicate.Procedure
- func Name(v string) predicate.Procedure
- func NameContains(v string) predicate.Procedure
- func NameContainsFold(v string) predicate.Procedure
- func NameEQ(v string) predicate.Procedure
- func NameEqualFold(v string) predicate.Procedure
- func NameGT(v string) predicate.Procedure
- func NameGTE(v string) predicate.Procedure
- func NameHasPrefix(v string) predicate.Procedure
- func NameHasSuffix(v string) predicate.Procedure
- func NameIn(vs ...string) predicate.Procedure
- func NameLT(v string) predicate.Procedure
- func NameLTE(v string) predicate.Procedure
- func NameNEQ(v string) predicate.Procedure
- func NameNotIn(vs ...string) predicate.Procedure
- func Not(p predicate.Procedure) predicate.Procedure
- func Or(predicates ...predicate.Procedure) predicate.Procedure
- func OwnerID(v string) predicate.Procedure
- func OwnerIDContains(v string) predicate.Procedure
- func OwnerIDContainsFold(v string) predicate.Procedure
- func OwnerIDEQ(v string) predicate.Procedure
- func OwnerIDEqualFold(v string) predicate.Procedure
- func OwnerIDGT(v string) predicate.Procedure
- func OwnerIDGTE(v string) predicate.Procedure
- func OwnerIDHasPrefix(v string) predicate.Procedure
- func OwnerIDHasSuffix(v string) predicate.Procedure
- func OwnerIDIn(vs ...string) predicate.Procedure
- func OwnerIDIsNil() predicate.Procedure
- func OwnerIDLT(v string) predicate.Procedure
- func OwnerIDLTE(v string) predicate.Procedure
- func OwnerIDNEQ(v string) predicate.Procedure
- func OwnerIDNotIn(vs ...string) predicate.Procedure
- func OwnerIDNotNil() predicate.Procedure
- func ProcedureType(v string) predicate.Procedure
- func ProcedureTypeContains(v string) predicate.Procedure
- func ProcedureTypeContainsFold(v string) predicate.Procedure
- func ProcedureTypeEQ(v string) predicate.Procedure
- func ProcedureTypeEqualFold(v string) predicate.Procedure
- func ProcedureTypeGT(v string) predicate.Procedure
- func ProcedureTypeGTE(v string) predicate.Procedure
- func ProcedureTypeHasPrefix(v string) predicate.Procedure
- func ProcedureTypeHasSuffix(v string) predicate.Procedure
- func ProcedureTypeIn(vs ...string) predicate.Procedure
- func ProcedureTypeIsNil() predicate.Procedure
- func ProcedureTypeLT(v string) predicate.Procedure
- func ProcedureTypeLTE(v string) predicate.Procedure
- func ProcedureTypeNEQ(v string) predicate.Procedure
- func ProcedureTypeNotIn(vs ...string) predicate.Procedure
- func ProcedureTypeNotNil() predicate.Procedure
- func PurposeAndScope(v string) predicate.Procedure
- func PurposeAndScopeContains(v string) predicate.Procedure
- func PurposeAndScopeContainsFold(v string) predicate.Procedure
- func PurposeAndScopeEQ(v string) predicate.Procedure
- func PurposeAndScopeEqualFold(v string) predicate.Procedure
- func PurposeAndScopeGT(v string) predicate.Procedure
- func PurposeAndScopeGTE(v string) predicate.Procedure
- func PurposeAndScopeHasPrefix(v string) predicate.Procedure
- func PurposeAndScopeHasSuffix(v string) predicate.Procedure
- func PurposeAndScopeIn(vs ...string) predicate.Procedure
- func PurposeAndScopeIsNil() predicate.Procedure
- func PurposeAndScopeLT(v string) predicate.Procedure
- func PurposeAndScopeLTE(v string) predicate.Procedure
- func PurposeAndScopeNEQ(v string) predicate.Procedure
- func PurposeAndScopeNotIn(vs ...string) predicate.Procedure
- func PurposeAndScopeNotNil() predicate.Procedure
- func ReviewDue(v time.Time) predicate.Procedure
- func ReviewDueEQ(v time.Time) predicate.Procedure
- func ReviewDueGT(v time.Time) predicate.Procedure
- func ReviewDueGTE(v time.Time) predicate.Procedure
- func ReviewDueIn(vs ...time.Time) predicate.Procedure
- func ReviewDueIsNil() predicate.Procedure
- func ReviewDueLT(v time.Time) predicate.Procedure
- func ReviewDueLTE(v time.Time) predicate.Procedure
- func ReviewDueNEQ(v time.Time) predicate.Procedure
- func ReviewDueNotIn(vs ...time.Time) predicate.Procedure
- func ReviewDueNotNil() predicate.Procedure
- func Satisfies(v string) predicate.Procedure
- func SatisfiesContains(v string) predicate.Procedure
- func SatisfiesContainsFold(v string) predicate.Procedure
- func SatisfiesEQ(v string) predicate.Procedure
- func SatisfiesEqualFold(v string) predicate.Procedure
- func SatisfiesGT(v string) predicate.Procedure
- func SatisfiesGTE(v string) predicate.Procedure
- func SatisfiesHasPrefix(v string) predicate.Procedure
- func SatisfiesHasSuffix(v string) predicate.Procedure
- func SatisfiesIn(vs ...string) predicate.Procedure
- func SatisfiesIsNil() predicate.Procedure
- func SatisfiesLT(v string) predicate.Procedure
- func SatisfiesLTE(v string) predicate.Procedure
- func SatisfiesNEQ(v string) predicate.Procedure
- func SatisfiesNotIn(vs ...string) predicate.Procedure
- func SatisfiesNotNil() predicate.Procedure
- func Status(v string) predicate.Procedure
- func StatusContains(v string) predicate.Procedure
- func StatusContainsFold(v string) predicate.Procedure
- func StatusEQ(v string) predicate.Procedure
- func StatusEqualFold(v string) predicate.Procedure
- func StatusGT(v string) predicate.Procedure
- func StatusGTE(v string) predicate.Procedure
- func StatusHasPrefix(v string) predicate.Procedure
- func StatusHasSuffix(v string) predicate.Procedure
- func StatusIn(vs ...string) predicate.Procedure
- func StatusIsNil() predicate.Procedure
- func StatusLT(v string) predicate.Procedure
- func StatusLTE(v string) predicate.Procedure
- func StatusNEQ(v string) predicate.Procedure
- func StatusNotIn(vs ...string) predicate.Procedure
- func StatusNotNil() predicate.Procedure
- func TagsIsNil() predicate.Procedure
- func TagsNotNil() predicate.Procedure
- func UpdatedAt(v time.Time) predicate.Procedure
- func UpdatedAtEQ(v time.Time) predicate.Procedure
- func UpdatedAtGT(v time.Time) predicate.Procedure
- func UpdatedAtGTE(v time.Time) predicate.Procedure
- func UpdatedAtIn(vs ...time.Time) predicate.Procedure
- func UpdatedAtIsNil() predicate.Procedure
- func UpdatedAtLT(v time.Time) predicate.Procedure
- func UpdatedAtLTE(v time.Time) predicate.Procedure
- func UpdatedAtNEQ(v time.Time) predicate.Procedure
- func UpdatedAtNotIn(vs ...time.Time) predicate.Procedure
- func UpdatedAtNotNil() predicate.Procedure
- func UpdatedBy(v string) predicate.Procedure
- func UpdatedByContains(v string) predicate.Procedure
- func UpdatedByContainsFold(v string) predicate.Procedure
- func UpdatedByEQ(v string) predicate.Procedure
- func UpdatedByEqualFold(v string) predicate.Procedure
- func UpdatedByGT(v string) predicate.Procedure
- func UpdatedByGTE(v string) predicate.Procedure
- func UpdatedByHasPrefix(v string) predicate.Procedure
- func UpdatedByHasSuffix(v string) predicate.Procedure
- func UpdatedByIn(vs ...string) predicate.Procedure
- func UpdatedByIsNil() predicate.Procedure
- func UpdatedByLT(v string) predicate.Procedure
- func UpdatedByLTE(v string) predicate.Procedure
- func UpdatedByNEQ(v string) predicate.Procedure
- func UpdatedByNotIn(vs ...string) predicate.Procedure
- func UpdatedByNotNil() predicate.Procedure
- func ValidColumn(column string) bool
- func Version(v string) predicate.Procedure
- func VersionContains(v string) predicate.Procedure
- func VersionContainsFold(v string) predicate.Procedure
- func VersionEQ(v string) predicate.Procedure
- func VersionEqualFold(v string) predicate.Procedure
- func VersionGT(v string) predicate.Procedure
- func VersionGTE(v string) predicate.Procedure
- func VersionHasPrefix(v string) predicate.Procedure
- func VersionHasSuffix(v string) predicate.Procedure
- func VersionIn(vs ...string) predicate.Procedure
- func VersionIsNil() predicate.Procedure
- func VersionLT(v string) predicate.Procedure
- func VersionLTE(v string) predicate.Procedure
- func VersionNEQ(v string) predicate.Procedure
- func VersionNotIn(vs ...string) predicate.Procedure
- func VersionNotNil() predicate.Procedure
- type OrderOption
- func ByBackground(opts ...sql.OrderTermOption) OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInternalPoliciesCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNarratives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNarrativesCount(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByProcedureType(opts ...sql.OrderTermOption) OrderOption
- func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPurposeAndScope(opts ...sql.OrderTermOption) OrderOption
- func ByReviewDue(opts ...sql.OrderTermOption) OrderOption
- func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
- func BySatisfies(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the procedure type in the database. Label = "procedure" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // 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" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldProcedureType holds the string denoting the procedure_type field in the database. FieldProcedureType = "procedure_type" // FieldReviewDue holds the string denoting the review_due field in the database. FieldReviewDue = "review_due" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldPurposeAndScope holds the string denoting the purpose_and_scope field in the database. FieldPurposeAndScope = "purpose_and_scope" // FieldBackground holds the string denoting the background field in the database. FieldBackground = "background" // FieldSatisfies holds the string denoting the satisfies field in the database. FieldSatisfies = "satisfies" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // 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" // EdgeControls holds the string denoting the controls edge name in mutations. EdgeControls = "controls" // EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations. EdgeInternalPolicies = "internal_policies" // EdgeNarratives holds the string denoting the narratives edge name in mutations. EdgeNarratives = "narratives" // EdgeRisks holds the string denoting the risks edge name in mutations. EdgeRisks = "risks" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgePrograms holds the string denoting the programs edge name in mutations. EdgePrograms = "programs" // Table holds the table name of the procedure in the database. Table = "procedures" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "procedures" // 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 = "procedure_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 = "procedure_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" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "control_procedures" // 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" // InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below. InternalPoliciesTable = "internal_policy_procedures" // 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" // NarrativesTable is the table that holds the narratives relation/edge. The primary key declared below. NarrativesTable = "procedure_narratives" // NarrativesInverseTable is the table name for the Narrative entity. // It exists in this package in order to avoid circular dependency with the "narrative" package. NarrativesInverseTable = "narratives" // RisksTable is the table that holds the risks relation/edge. The primary key declared below. RisksTable = "procedure_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" // TasksTable is the table that holds the tasks relation/edge. The primary key declared below. TasksTable = "procedure_tasks" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // ProgramsTable is the table that holds the programs relation/edge. The primary key declared below. ProgramsTable = "program_procedures" // ProgramsInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramsInverseTable = "programs" )
Variables ¶
var ( // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"procedure_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"procedure_id", "group_id"} // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"control_id", "procedure_id"} // InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the // primary key for the internal_policies relation (M2M). InternalPoliciesPrimaryKey = []string{"internal_policy_id", "procedure_id"} // NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the // primary key for the narratives relation (M2M). NarrativesPrimaryKey = []string{"procedure_id", "narrative_id"} // RisksPrimaryKey and RisksColumn2 are the table columns denoting the // primary key for the risks relation (M2M). RisksPrimaryKey = []string{"procedure_id", "risk_id"} // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"procedure_id", "task_id"} // ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the // primary key for the programs relation (M2M). ProgramsPrimaryKey = []string{"program_id", "procedure_id"} )
var ( Hooks [8]ent.Hook Interceptors [2]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 // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultReviewDue holds the default value on creation for the "review_due" field. DefaultReviewDue time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldOwnerID, FieldName, FieldDescription, FieldStatus, FieldProcedureType, FieldReviewDue, FieldVersion, FieldPurposeAndScope, FieldBackground, FieldSatisfies, FieldDetails, }
Columns holds all SQL columns for procedure fields.
var ForeignKeys = []string{
"control_objective_procedures",
"standard_procedures",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "procedures" table and are not defined as standalone fields in the schema.
Functions ¶
func Background ¶
Background applies equality check predicate on the "background" field. It's identical to BackgroundEQ.
func BackgroundContains ¶
BackgroundContains applies the Contains predicate on the "background" field.
func BackgroundContainsFold ¶
BackgroundContainsFold applies the ContainsFold predicate on the "background" field.
func BackgroundEQ ¶
BackgroundEQ applies the EQ predicate on the "background" field.
func BackgroundEqualFold ¶
BackgroundEqualFold applies the EqualFold predicate on the "background" field.
func BackgroundGT ¶
BackgroundGT applies the GT predicate on the "background" field.
func BackgroundGTE ¶
BackgroundGTE applies the GTE predicate on the "background" field.
func BackgroundHasPrefix ¶
BackgroundHasPrefix applies the HasPrefix predicate on the "background" field.
func BackgroundHasSuffix ¶
BackgroundHasSuffix applies the HasSuffix predicate on the "background" field.
func BackgroundIn ¶
BackgroundIn applies the In predicate on the "background" field.
func BackgroundIsNil ¶
BackgroundIsNil applies the IsNil predicate on the "background" field.
func BackgroundLT ¶
BackgroundLT applies the LT predicate on the "background" field.
func BackgroundLTE ¶
BackgroundLTE applies the LTE predicate on the "background" field.
func BackgroundNEQ ¶
BackgroundNEQ applies the NEQ predicate on the "background" field.
func BackgroundNotIn ¶
BackgroundNotIn applies the NotIn predicate on the "background" field.
func BackgroundNotNil ¶
BackgroundNotNil applies the NotNil predicate on the "background" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DetailsIsNil ¶
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsNotNil ¶
DetailsNotNil applies the NotNil predicate on the "details" field.
func DisplayID ¶ added in v0.6.11
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶ added in v0.6.11
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶ added in v0.6.11
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶ added in v0.6.11
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶ added in v0.6.11
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶ added in v0.6.11
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶ added in v0.6.11
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶ added in v0.6.11
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶ added in v0.6.11
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶ added in v0.6.11
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶ added in v0.6.11
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶ added in v0.6.11
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶ added in v0.6.11
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶ added in v0.6.11
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func HasBlockedGroups ¶ added in v0.4.2
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶ added in v0.4.2
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasControls ¶ added in v0.6.1
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶ added in v0.6.1
HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).
func HasEditors ¶ added in v0.4.2
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶ added in v0.4.2
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasInternalPolicies ¶ added in v0.6.1
HasInternalPolicies applies the HasEdge predicate on the "internal_policies" edge.
func HasInternalPoliciesWith ¶ added in v0.6.1
func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Procedure
HasInternalPoliciesWith applies the HasEdge predicate on the "internal_policies" edge with a given conditions (other predicates).
func HasNarratives ¶
HasNarratives applies the HasEdge predicate on the "narratives" edge.
func HasNarrativesWith ¶
HasNarrativesWith applies the HasEdge predicate on the "narratives" edge with a given conditions (other predicates).
func HasOwnerWith ¶ added in v0.4.2
func HasOwnerWith(preds ...predicate.Organization) predicate.Procedure
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasPrograms ¶ added in v0.3.5
HasPrograms applies the HasEdge predicate on the "programs" edge.
func HasProgramsWith ¶ added in v0.3.5
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
func HasRisksWith ¶
HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).
func HasTasksWith ¶ added in v0.3.4
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OwnerID ¶ added in v0.4.2
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.4.2
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.4.2
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.4.2
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.4.2
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.4.2
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.4.2
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.4.2
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.4.2
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.4.2
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.4.2
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.4.2
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func ProcedureType ¶
ProcedureType applies equality check predicate on the "procedure_type" field. It's identical to ProcedureTypeEQ.
func ProcedureTypeContains ¶
ProcedureTypeContains applies the Contains predicate on the "procedure_type" field.
func ProcedureTypeContainsFold ¶
ProcedureTypeContainsFold applies the ContainsFold predicate on the "procedure_type" field.
func ProcedureTypeEQ ¶
ProcedureTypeEQ applies the EQ predicate on the "procedure_type" field.
func ProcedureTypeEqualFold ¶
ProcedureTypeEqualFold applies the EqualFold predicate on the "procedure_type" field.
func ProcedureTypeGT ¶
ProcedureTypeGT applies the GT predicate on the "procedure_type" field.
func ProcedureTypeGTE ¶
ProcedureTypeGTE applies the GTE predicate on the "procedure_type" field.
func ProcedureTypeHasPrefix ¶
ProcedureTypeHasPrefix applies the HasPrefix predicate on the "procedure_type" field.
func ProcedureTypeHasSuffix ¶
ProcedureTypeHasSuffix applies the HasSuffix predicate on the "procedure_type" field.
func ProcedureTypeIn ¶
ProcedureTypeIn applies the In predicate on the "procedure_type" field.
func ProcedureTypeIsNil ¶
ProcedureTypeIsNil applies the IsNil predicate on the "procedure_type" field.
func ProcedureTypeLT ¶
ProcedureTypeLT applies the LT predicate on the "procedure_type" field.
func ProcedureTypeLTE ¶
ProcedureTypeLTE applies the LTE predicate on the "procedure_type" field.
func ProcedureTypeNEQ ¶
ProcedureTypeNEQ applies the NEQ predicate on the "procedure_type" field.
func ProcedureTypeNotIn ¶
ProcedureTypeNotIn applies the NotIn predicate on the "procedure_type" field.
func ProcedureTypeNotNil ¶
ProcedureTypeNotNil applies the NotNil predicate on the "procedure_type" field.
func PurposeAndScope ¶
PurposeAndScope applies equality check predicate on the "purpose_and_scope" field. It's identical to PurposeAndScopeEQ.
func PurposeAndScopeContains ¶
PurposeAndScopeContains applies the Contains predicate on the "purpose_and_scope" field.
func PurposeAndScopeContainsFold ¶
PurposeAndScopeContainsFold applies the ContainsFold predicate on the "purpose_and_scope" field.
func PurposeAndScopeEQ ¶
PurposeAndScopeEQ applies the EQ predicate on the "purpose_and_scope" field.
func PurposeAndScopeEqualFold ¶
PurposeAndScopeEqualFold applies the EqualFold predicate on the "purpose_and_scope" field.
func PurposeAndScopeGT ¶
PurposeAndScopeGT applies the GT predicate on the "purpose_and_scope" field.
func PurposeAndScopeGTE ¶
PurposeAndScopeGTE applies the GTE predicate on the "purpose_and_scope" field.
func PurposeAndScopeHasPrefix ¶
PurposeAndScopeHasPrefix applies the HasPrefix predicate on the "purpose_and_scope" field.
func PurposeAndScopeHasSuffix ¶
PurposeAndScopeHasSuffix applies the HasSuffix predicate on the "purpose_and_scope" field.
func PurposeAndScopeIn ¶
PurposeAndScopeIn applies the In predicate on the "purpose_and_scope" field.
func PurposeAndScopeIsNil ¶
PurposeAndScopeIsNil applies the IsNil predicate on the "purpose_and_scope" field.
func PurposeAndScopeLT ¶
PurposeAndScopeLT applies the LT predicate on the "purpose_and_scope" field.
func PurposeAndScopeLTE ¶
PurposeAndScopeLTE applies the LTE predicate on the "purpose_and_scope" field.
func PurposeAndScopeNEQ ¶
PurposeAndScopeNEQ applies the NEQ predicate on the "purpose_and_scope" field.
func PurposeAndScopeNotIn ¶
PurposeAndScopeNotIn applies the NotIn predicate on the "purpose_and_scope" field.
func PurposeAndScopeNotNil ¶
PurposeAndScopeNotNil applies the NotNil predicate on the "purpose_and_scope" field.
func ReviewDue ¶ added in v0.6.19
ReviewDue applies equality check predicate on the "review_due" field. It's identical to ReviewDueEQ.
func ReviewDueEQ ¶ added in v0.6.19
ReviewDueEQ applies the EQ predicate on the "review_due" field.
func ReviewDueGT ¶ added in v0.6.19
ReviewDueGT applies the GT predicate on the "review_due" field.
func ReviewDueGTE ¶ added in v0.6.19
ReviewDueGTE applies the GTE predicate on the "review_due" field.
func ReviewDueIn ¶ added in v0.6.19
ReviewDueIn applies the In predicate on the "review_due" field.
func ReviewDueIsNil ¶ added in v0.6.19
ReviewDueIsNil applies the IsNil predicate on the "review_due" field.
func ReviewDueLT ¶ added in v0.6.19
ReviewDueLT applies the LT predicate on the "review_due" field.
func ReviewDueLTE ¶ added in v0.6.19
ReviewDueLTE applies the LTE predicate on the "review_due" field.
func ReviewDueNEQ ¶ added in v0.6.19
ReviewDueNEQ applies the NEQ predicate on the "review_due" field.
func ReviewDueNotIn ¶ added in v0.6.19
ReviewDueNotIn applies the NotIn predicate on the "review_due" field.
func ReviewDueNotNil ¶ added in v0.6.19
ReviewDueNotNil applies the NotNil predicate on the "review_due" field.
func Satisfies ¶
Satisfies applies equality check predicate on the "satisfies" field. It's identical to SatisfiesEQ.
func SatisfiesContains ¶
SatisfiesContains applies the Contains predicate on the "satisfies" field.
func SatisfiesContainsFold ¶
SatisfiesContainsFold applies the ContainsFold predicate on the "satisfies" field.
func SatisfiesEQ ¶
SatisfiesEQ applies the EQ predicate on the "satisfies" field.
func SatisfiesEqualFold ¶
SatisfiesEqualFold applies the EqualFold predicate on the "satisfies" field.
func SatisfiesGT ¶
SatisfiesGT applies the GT predicate on the "satisfies" field.
func SatisfiesGTE ¶
SatisfiesGTE applies the GTE predicate on the "satisfies" field.
func SatisfiesHasPrefix ¶
SatisfiesHasPrefix applies the HasPrefix predicate on the "satisfies" field.
func SatisfiesHasSuffix ¶
SatisfiesHasSuffix applies the HasSuffix predicate on the "satisfies" field.
func SatisfiesIn ¶
SatisfiesIn applies the In predicate on the "satisfies" field.
func SatisfiesIsNil ¶
SatisfiesIsNil applies the IsNil predicate on the "satisfies" field.
func SatisfiesLT ¶
SatisfiesLT applies the LT predicate on the "satisfies" field.
func SatisfiesLTE ¶
SatisfiesLTE applies the LTE predicate on the "satisfies" field.
func SatisfiesNEQ ¶
SatisfiesNEQ applies the NEQ predicate on the "satisfies" field.
func SatisfiesNotIn ¶
SatisfiesNotIn applies the NotIn predicate on the "satisfies" field.
func SatisfiesNotNil ¶
SatisfiesNotNil applies the NotNil predicate on the "satisfies" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIsNil ¶
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Procedure queries.
func ByBackground ¶
func ByBackground(opts ...sql.OrderTermOption) OrderOption
ByBackground orders the results by the background field.
func ByBlockedGroups ¶ added in v0.4.2
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶ added in v0.4.2
func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBlockedGroupsCount orders the results by blocked_groups count.
func ByControls ¶ added in v0.6.1
func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControls orders the results by controls terms.
func ByControlsCount ¶ added in v0.6.1
func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
ByControlsCount orders the results by controls count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDisplayID ¶ added in v0.6.11
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
func ByEditors ¶ added in v0.4.2
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶ added in v0.4.2
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 ByInternalPolicies ¶ added in v0.6.1
func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInternalPolicies orders the results by internal_policies terms.
func ByInternalPoliciesCount ¶ added in v0.6.1
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 ¶ added in v0.4.2
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.4.2
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByProcedureType ¶
func ByProcedureType(opts ...sql.OrderTermOption) OrderOption
ByProcedureType orders the results by the procedure_type field.
func ByPrograms ¶ added in v0.3.5
func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrograms orders the results by programs terms.
func ByProgramsCount ¶ added in v0.3.5
func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramsCount orders the results by programs count.
func ByPurposeAndScope ¶
func ByPurposeAndScope(opts ...sql.OrderTermOption) OrderOption
ByPurposeAndScope orders the results by the purpose_and_scope field.
func ByReviewDue ¶ added in v0.6.19
func ByReviewDue(opts ...sql.OrderTermOption) OrderOption
ByReviewDue orders the results by the review_due 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 BySatisfies ¶
func BySatisfies(opts ...sql.OrderTermOption) OrderOption
BySatisfies orders the results by the satisfies field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTasks ¶ added in v0.3.4
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶ added in v0.3.4
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.