Documentation
¶
Index ¶
- Constants
- Variables
- func ActionPlanType(v string) predicate.ActionPlan
- func ActionPlanTypeContains(v string) predicate.ActionPlan
- func ActionPlanTypeContainsFold(v string) predicate.ActionPlan
- func ActionPlanTypeEQ(v string) predicate.ActionPlan
- func ActionPlanTypeEqualFold(v string) predicate.ActionPlan
- func ActionPlanTypeGT(v string) predicate.ActionPlan
- func ActionPlanTypeGTE(v string) predicate.ActionPlan
- func ActionPlanTypeHasPrefix(v string) predicate.ActionPlan
- func ActionPlanTypeHasSuffix(v string) predicate.ActionPlan
- func ActionPlanTypeIn(vs ...string) predicate.ActionPlan
- func ActionPlanTypeIsNil() predicate.ActionPlan
- func ActionPlanTypeLT(v string) predicate.ActionPlan
- func ActionPlanTypeLTE(v string) predicate.ActionPlan
- func ActionPlanTypeNEQ(v string) predicate.ActionPlan
- func ActionPlanTypeNotIn(vs ...string) predicate.ActionPlan
- func ActionPlanTypeNotNil() predicate.ActionPlan
- func And(predicates ...predicate.ActionPlan) predicate.ActionPlan
- func ApprovalRequired(v bool) predicate.ActionPlan
- func ApprovalRequiredEQ(v bool) predicate.ActionPlan
- func ApprovalRequiredIsNil() predicate.ActionPlan
- func ApprovalRequiredNEQ(v bool) predicate.ActionPlan
- func ApprovalRequiredNotNil() predicate.ActionPlan
- func ApproverID(v string) predicate.ActionPlan
- func ApproverIDContains(v string) predicate.ActionPlan
- func ApproverIDContainsFold(v string) predicate.ActionPlan
- func ApproverIDEQ(v string) predicate.ActionPlan
- func ApproverIDEqualFold(v string) predicate.ActionPlan
- func ApproverIDGT(v string) predicate.ActionPlan
- func ApproverIDGTE(v string) predicate.ActionPlan
- func ApproverIDHasPrefix(v string) predicate.ActionPlan
- func ApproverIDHasSuffix(v string) predicate.ActionPlan
- func ApproverIDIn(vs ...string) predicate.ActionPlan
- func ApproverIDIsNil() predicate.ActionPlan
- func ApproverIDLT(v string) predicate.ActionPlan
- func ApproverIDLTE(v string) predicate.ActionPlan
- func ApproverIDNEQ(v string) predicate.ActionPlan
- func ApproverIDNotIn(vs ...string) predicate.ActionPlan
- func ApproverIDNotNil() predicate.ActionPlan
- func ControlSuggestionsIsNil() predicate.ActionPlan
- func ControlSuggestionsNotNil() predicate.ActionPlan
- func CreatedAt(v time.Time) predicate.ActionPlan
- func CreatedAtEQ(v time.Time) predicate.ActionPlan
- func CreatedAtGT(v time.Time) predicate.ActionPlan
- func CreatedAtGTE(v time.Time) predicate.ActionPlan
- func CreatedAtIn(vs ...time.Time) predicate.ActionPlan
- func CreatedAtIsNil() predicate.ActionPlan
- func CreatedAtLT(v time.Time) predicate.ActionPlan
- func CreatedAtLTE(v time.Time) predicate.ActionPlan
- func CreatedAtNEQ(v time.Time) predicate.ActionPlan
- func CreatedAtNotIn(vs ...time.Time) predicate.ActionPlan
- func CreatedAtNotNil() predicate.ActionPlan
- func CreatedBy(v string) predicate.ActionPlan
- func CreatedByContains(v string) predicate.ActionPlan
- func CreatedByContainsFold(v string) predicate.ActionPlan
- func CreatedByEQ(v string) predicate.ActionPlan
- func CreatedByEqualFold(v string) predicate.ActionPlan
- func CreatedByGT(v string) predicate.ActionPlan
- func CreatedByGTE(v string) predicate.ActionPlan
- func CreatedByHasPrefix(v string) predicate.ActionPlan
- func CreatedByHasSuffix(v string) predicate.ActionPlan
- func CreatedByIn(vs ...string) predicate.ActionPlan
- func CreatedByIsNil() predicate.ActionPlan
- func CreatedByLT(v string) predicate.ActionPlan
- func CreatedByLTE(v string) predicate.ActionPlan
- func CreatedByNEQ(v string) predicate.ActionPlan
- func CreatedByNotIn(vs ...string) predicate.ActionPlan
- func CreatedByNotNil() predicate.ActionPlan
- func DelegateID(v string) predicate.ActionPlan
- func DelegateIDContains(v string) predicate.ActionPlan
- func DelegateIDContainsFold(v string) predicate.ActionPlan
- func DelegateIDEQ(v string) predicate.ActionPlan
- func DelegateIDEqualFold(v string) predicate.ActionPlan
- func DelegateIDGT(v string) predicate.ActionPlan
- func DelegateIDGTE(v string) predicate.ActionPlan
- func DelegateIDHasPrefix(v string) predicate.ActionPlan
- func DelegateIDHasSuffix(v string) predicate.ActionPlan
- func DelegateIDIn(vs ...string) predicate.ActionPlan
- func DelegateIDIsNil() predicate.ActionPlan
- func DelegateIDLT(v string) predicate.ActionPlan
- func DelegateIDLTE(v string) predicate.ActionPlan
- func DelegateIDNEQ(v string) predicate.ActionPlan
- func DelegateIDNotIn(vs ...string) predicate.ActionPlan
- func DelegateIDNotNil() predicate.ActionPlan
- func DeletedAt(v time.Time) predicate.ActionPlan
- func DeletedAtEQ(v time.Time) predicate.ActionPlan
- func DeletedAtGT(v time.Time) predicate.ActionPlan
- func DeletedAtGTE(v time.Time) predicate.ActionPlan
- func DeletedAtIn(vs ...time.Time) predicate.ActionPlan
- func DeletedAtIsNil() predicate.ActionPlan
- func DeletedAtLT(v time.Time) predicate.ActionPlan
- func DeletedAtLTE(v time.Time) predicate.ActionPlan
- func DeletedAtNEQ(v time.Time) predicate.ActionPlan
- func DeletedAtNotIn(vs ...time.Time) predicate.ActionPlan
- func DeletedAtNotNil() predicate.ActionPlan
- func DeletedBy(v string) predicate.ActionPlan
- func DeletedByContains(v string) predicate.ActionPlan
- func DeletedByContainsFold(v string) predicate.ActionPlan
- func DeletedByEQ(v string) predicate.ActionPlan
- func DeletedByEqualFold(v string) predicate.ActionPlan
- func DeletedByGT(v string) predicate.ActionPlan
- func DeletedByGTE(v string) predicate.ActionPlan
- func DeletedByHasPrefix(v string) predicate.ActionPlan
- func DeletedByHasSuffix(v string) predicate.ActionPlan
- func DeletedByIn(vs ...string) predicate.ActionPlan
- func DeletedByIsNil() predicate.ActionPlan
- func DeletedByLT(v string) predicate.ActionPlan
- func DeletedByLTE(v string) predicate.ActionPlan
- func DeletedByNEQ(v string) predicate.ActionPlan
- func DeletedByNotIn(vs ...string) predicate.ActionPlan
- func DeletedByNotNil() predicate.ActionPlan
- func Details(v string) predicate.ActionPlan
- func DetailsContains(v string) predicate.ActionPlan
- func DetailsContainsFold(v string) predicate.ActionPlan
- func DetailsEQ(v string) predicate.ActionPlan
- func DetailsEqualFold(v string) predicate.ActionPlan
- func DetailsGT(v string) predicate.ActionPlan
- func DetailsGTE(v string) predicate.ActionPlan
- func DetailsHasPrefix(v string) predicate.ActionPlan
- func DetailsHasSuffix(v string) predicate.ActionPlan
- func DetailsIn(vs ...string) predicate.ActionPlan
- func DetailsIsNil() predicate.ActionPlan
- func DetailsLT(v string) predicate.ActionPlan
- func DetailsLTE(v string) predicate.ActionPlan
- func DetailsNEQ(v string) predicate.ActionPlan
- func DetailsNotIn(vs ...string) predicate.ActionPlan
- func DetailsNotNil() predicate.ActionPlan
- func DismissedControlSuggestionsIsNil() predicate.ActionPlan
- func DismissedControlSuggestionsNotNil() predicate.ActionPlan
- func DismissedImprovementSuggestionsIsNil() predicate.ActionPlan
- func DismissedImprovementSuggestionsNotNil() predicate.ActionPlan
- func DismissedTagSuggestionsIsNil() predicate.ActionPlan
- func DismissedTagSuggestionsNotNil() predicate.ActionPlan
- func DueDate(v time.Time) predicate.ActionPlan
- func DueDateEQ(v time.Time) predicate.ActionPlan
- func DueDateGT(v time.Time) predicate.ActionPlan
- func DueDateGTE(v time.Time) predicate.ActionPlan
- func DueDateIn(vs ...time.Time) predicate.ActionPlan
- func DueDateIsNil() predicate.ActionPlan
- func DueDateLT(v time.Time) predicate.ActionPlan
- func DueDateLTE(v time.Time) predicate.ActionPlan
- func DueDateNEQ(v time.Time) predicate.ActionPlan
- func DueDateNotIn(vs ...time.Time) predicate.ActionPlan
- func DueDateNotNil() predicate.ActionPlan
- func HasApprover() predicate.ActionPlan
- func HasApproverWith(preds ...predicate.Group) predicate.ActionPlan
- func HasControls() predicate.ActionPlan
- func HasControlsWith(preds ...predicate.Control) predicate.ActionPlan
- func HasDelegate() predicate.ActionPlan
- func HasDelegateWith(preds ...predicate.Group) predicate.ActionPlan
- func HasOwner() predicate.ActionPlan
- func HasOwnerWith(preds ...predicate.Organization) predicate.ActionPlan
- func HasPrograms() predicate.ActionPlan
- func HasProgramsWith(preds ...predicate.Program) predicate.ActionPlan
- func HasRisks() predicate.ActionPlan
- func HasRisksWith(preds ...predicate.Risk) predicate.ActionPlan
- func ID(id string) predicate.ActionPlan
- func IDContainsFold(id string) predicate.ActionPlan
- func IDEQ(id string) predicate.ActionPlan
- func IDEqualFold(id string) predicate.ActionPlan
- func IDGT(id string) predicate.ActionPlan
- func IDGTE(id string) predicate.ActionPlan
- func IDIn(ids ...string) predicate.ActionPlan
- func IDLT(id string) predicate.ActionPlan
- func IDLTE(id string) predicate.ActionPlan
- func IDNEQ(id string) predicate.ActionPlan
- func IDNotIn(ids ...string) predicate.ActionPlan
- func ImprovementSuggestionsIsNil() predicate.ActionPlan
- func ImprovementSuggestionsNotNil() predicate.ActionPlan
- func Name(v string) predicate.ActionPlan
- func NameContains(v string) predicate.ActionPlan
- func NameContainsFold(v string) predicate.ActionPlan
- func NameEQ(v string) predicate.ActionPlan
- func NameEqualFold(v string) predicate.ActionPlan
- func NameGT(v string) predicate.ActionPlan
- func NameGTE(v string) predicate.ActionPlan
- func NameHasPrefix(v string) predicate.ActionPlan
- func NameHasSuffix(v string) predicate.ActionPlan
- func NameIn(vs ...string) predicate.ActionPlan
- func NameLT(v string) predicate.ActionPlan
- func NameLTE(v string) predicate.ActionPlan
- func NameNEQ(v string) predicate.ActionPlan
- func NameNotIn(vs ...string) predicate.ActionPlan
- func Not(p predicate.ActionPlan) predicate.ActionPlan
- func Or(predicates ...predicate.ActionPlan) predicate.ActionPlan
- func OwnerID(v string) predicate.ActionPlan
- func OwnerIDContains(v string) predicate.ActionPlan
- func OwnerIDContainsFold(v string) predicate.ActionPlan
- func OwnerIDEQ(v string) predicate.ActionPlan
- func OwnerIDEqualFold(v string) predicate.ActionPlan
- func OwnerIDGT(v string) predicate.ActionPlan
- func OwnerIDGTE(v string) predicate.ActionPlan
- func OwnerIDHasPrefix(v string) predicate.ActionPlan
- func OwnerIDHasSuffix(v string) predicate.ActionPlan
- func OwnerIDIn(vs ...string) predicate.ActionPlan
- func OwnerIDIsNil() predicate.ActionPlan
- func OwnerIDLT(v string) predicate.ActionPlan
- func OwnerIDLTE(v string) predicate.ActionPlan
- func OwnerIDNEQ(v string) predicate.ActionPlan
- func OwnerIDNotIn(vs ...string) predicate.ActionPlan
- func OwnerIDNotNil() predicate.ActionPlan
- func PriorityEQ(v enums.Priority) predicate.ActionPlan
- func PriorityIn(vs ...enums.Priority) predicate.ActionPlan
- func PriorityIsNil() predicate.ActionPlan
- func PriorityNEQ(v enums.Priority) predicate.ActionPlan
- func PriorityNotIn(vs ...enums.Priority) predicate.ActionPlan
- func PriorityNotNil() predicate.ActionPlan
- func PriorityValidator(pr enums.Priority) error
- func ReviewDue(v time.Time) predicate.ActionPlan
- func ReviewDueEQ(v time.Time) predicate.ActionPlan
- func ReviewDueGT(v time.Time) predicate.ActionPlan
- func ReviewDueGTE(v time.Time) predicate.ActionPlan
- func ReviewDueIn(vs ...time.Time) predicate.ActionPlan
- func ReviewDueIsNil() predicate.ActionPlan
- func ReviewDueLT(v time.Time) predicate.ActionPlan
- func ReviewDueLTE(v time.Time) predicate.ActionPlan
- func ReviewDueNEQ(v time.Time) predicate.ActionPlan
- func ReviewDueNotIn(vs ...time.Time) predicate.ActionPlan
- func ReviewDueNotNil() predicate.ActionPlan
- func ReviewFrequencyEQ(v enums.Frequency) predicate.ActionPlan
- func ReviewFrequencyIn(vs ...enums.Frequency) predicate.ActionPlan
- func ReviewFrequencyIsNil() predicate.ActionPlan
- func ReviewFrequencyNEQ(v enums.Frequency) predicate.ActionPlan
- func ReviewFrequencyNotIn(vs ...enums.Frequency) predicate.ActionPlan
- func ReviewFrequencyNotNil() predicate.ActionPlan
- func ReviewFrequencyValidator(rf enums.Frequency) error
- func Revision(v string) predicate.ActionPlan
- func RevisionContains(v string) predicate.ActionPlan
- func RevisionContainsFold(v string) predicate.ActionPlan
- func RevisionEQ(v string) predicate.ActionPlan
- func RevisionEqualFold(v string) predicate.ActionPlan
- func RevisionGT(v string) predicate.ActionPlan
- func RevisionGTE(v string) predicate.ActionPlan
- func RevisionHasPrefix(v string) predicate.ActionPlan
- func RevisionHasSuffix(v string) predicate.ActionPlan
- func RevisionIn(vs ...string) predicate.ActionPlan
- func RevisionIsNil() predicate.ActionPlan
- func RevisionLT(v string) predicate.ActionPlan
- func RevisionLTE(v string) predicate.ActionPlan
- func RevisionNEQ(v string) predicate.ActionPlan
- func RevisionNotIn(vs ...string) predicate.ActionPlan
- func RevisionNotNil() predicate.ActionPlan
- func Source(v string) predicate.ActionPlan
- func SourceContains(v string) predicate.ActionPlan
- func SourceContainsFold(v string) predicate.ActionPlan
- func SourceEQ(v string) predicate.ActionPlan
- func SourceEqualFold(v string) predicate.ActionPlan
- func SourceGT(v string) predicate.ActionPlan
- func SourceGTE(v string) predicate.ActionPlan
- func SourceHasPrefix(v string) predicate.ActionPlan
- func SourceHasSuffix(v string) predicate.ActionPlan
- func SourceIn(vs ...string) predicate.ActionPlan
- func SourceIsNil() predicate.ActionPlan
- func SourceLT(v string) predicate.ActionPlan
- func SourceLTE(v string) predicate.ActionPlan
- func SourceNEQ(v string) predicate.ActionPlan
- func SourceNotIn(vs ...string) predicate.ActionPlan
- func SourceNotNil() predicate.ActionPlan
- func StatusEQ(v enums.DocumentStatus) predicate.ActionPlan
- func StatusIn(vs ...enums.DocumentStatus) predicate.ActionPlan
- func StatusIsNil() predicate.ActionPlan
- func StatusNEQ(v enums.DocumentStatus) predicate.ActionPlan
- func StatusNotIn(vs ...enums.DocumentStatus) predicate.ActionPlan
- func StatusNotNil() predicate.ActionPlan
- func StatusValidator(s enums.DocumentStatus) error
- func Summary(v string) predicate.ActionPlan
- func SummaryContains(v string) predicate.ActionPlan
- func SummaryContainsFold(v string) predicate.ActionPlan
- func SummaryEQ(v string) predicate.ActionPlan
- func SummaryEqualFold(v string) predicate.ActionPlan
- func SummaryGT(v string) predicate.ActionPlan
- func SummaryGTE(v string) predicate.ActionPlan
- func SummaryHasPrefix(v string) predicate.ActionPlan
- func SummaryHasSuffix(v string) predicate.ActionPlan
- func SummaryIn(vs ...string) predicate.ActionPlan
- func SummaryIsNil() predicate.ActionPlan
- func SummaryLT(v string) predicate.ActionPlan
- func SummaryLTE(v string) predicate.ActionPlan
- func SummaryNEQ(v string) predicate.ActionPlan
- func SummaryNotIn(vs ...string) predicate.ActionPlan
- func SummaryNotNil() predicate.ActionPlan
- func TagSuggestionsIsNil() predicate.ActionPlan
- func TagSuggestionsNotNil() predicate.ActionPlan
- func TagsIsNil() predicate.ActionPlan
- func TagsNotNil() predicate.ActionPlan
- func UpdatedAt(v time.Time) predicate.ActionPlan
- func UpdatedAtEQ(v time.Time) predicate.ActionPlan
- func UpdatedAtGT(v time.Time) predicate.ActionPlan
- func UpdatedAtGTE(v time.Time) predicate.ActionPlan
- func UpdatedAtIn(vs ...time.Time) predicate.ActionPlan
- func UpdatedAtIsNil() predicate.ActionPlan
- func UpdatedAtLT(v time.Time) predicate.ActionPlan
- func UpdatedAtLTE(v time.Time) predicate.ActionPlan
- func UpdatedAtNEQ(v time.Time) predicate.ActionPlan
- func UpdatedAtNotIn(vs ...time.Time) predicate.ActionPlan
- func UpdatedAtNotNil() predicate.ActionPlan
- func UpdatedBy(v string) predicate.ActionPlan
- func UpdatedByContains(v string) predicate.ActionPlan
- func UpdatedByContainsFold(v string) predicate.ActionPlan
- func UpdatedByEQ(v string) predicate.ActionPlan
- func UpdatedByEqualFold(v string) predicate.ActionPlan
- func UpdatedByGT(v string) predicate.ActionPlan
- func UpdatedByGTE(v string) predicate.ActionPlan
- func UpdatedByHasPrefix(v string) predicate.ActionPlan
- func UpdatedByHasSuffix(v string) predicate.ActionPlan
- func UpdatedByIn(vs ...string) predicate.ActionPlan
- func UpdatedByIsNil() predicate.ActionPlan
- func UpdatedByLT(v string) predicate.ActionPlan
- func UpdatedByLTE(v string) predicate.ActionPlan
- func UpdatedByNEQ(v string) predicate.ActionPlan
- func UpdatedByNotIn(vs ...string) predicate.ActionPlan
- func UpdatedByNotNil() predicate.ActionPlan
- func ValidColumn(column string) bool
- type OrderOption
- func ByActionPlanType(opts ...sql.OrderTermOption) OrderOption
- func ByApprovalRequired(opts ...sql.OrderTermOption) OrderOption
- func ByApproverField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByApproverID(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 ByDelegateField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDelegateID(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDetails(opts ...sql.OrderTermOption) OrderOption
- func ByDueDate(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPriority(opts ...sql.OrderTermOption) OrderOption
- func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
- func ByReviewDue(opts ...sql.OrderTermOption) OrderOption
- func ByReviewFrequency(opts ...sql.OrderTermOption) OrderOption
- func ByRevision(opts ...sql.OrderTermOption) OrderOption
- func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySummary(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the actionplan type in the database. Label = "action_plan" // 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" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldRevision holds the string denoting the revision field in the database. FieldRevision = "revision" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldActionPlanType holds the string denoting the action_plan_type field in the database. FieldActionPlanType = "action_plan_type" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // FieldApprovalRequired holds the string denoting the approval_required field in the database. FieldApprovalRequired = "approval_required" // FieldReviewDue holds the string denoting the review_due field in the database. FieldReviewDue = "review_due" // FieldReviewFrequency holds the string denoting the review_frequency field in the database. FieldReviewFrequency = "review_frequency" // FieldApproverID holds the string denoting the approver_id field in the database. FieldApproverID = "approver_id" // FieldDelegateID holds the string denoting the delegate_id field in the database. FieldDelegateID = "delegate_id" // FieldSummary holds the string denoting the summary field in the database. FieldSummary = "summary" // FieldTagSuggestions holds the string denoting the tag_suggestions field in the database. FieldTagSuggestions = "tag_suggestions" // FieldDismissedTagSuggestions holds the string denoting the dismissed_tag_suggestions field in the database. FieldDismissedTagSuggestions = "dismissed_tag_suggestions" // FieldControlSuggestions holds the string denoting the control_suggestions field in the database. FieldControlSuggestions = "control_suggestions" // FieldDismissedControlSuggestions holds the string denoting the dismissed_control_suggestions field in the database. FieldDismissedControlSuggestions = "dismissed_control_suggestions" // FieldImprovementSuggestions holds the string denoting the improvement_suggestions field in the database. FieldImprovementSuggestions = "improvement_suggestions" // FieldDismissedImprovementSuggestions holds the string denoting the dismissed_improvement_suggestions field in the database. FieldDismissedImprovementSuggestions = "dismissed_improvement_suggestions" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldDueDate holds the string denoting the due_date field in the database. FieldDueDate = "due_date" // FieldPriority holds the string denoting the priority field in the database. FieldPriority = "priority" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // EdgeApprover holds the string denoting the approver edge name in mutations. EdgeApprover = "approver" // EdgeDelegate holds the string denoting the delegate edge name in mutations. EdgeDelegate = "delegate" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeRisks holds the string denoting the risks edge name in mutations. EdgeRisks = "risks" // EdgeControls holds the string denoting the controls edge name in mutations. EdgeControls = "controls" // EdgePrograms holds the string denoting the programs edge name in mutations. EdgePrograms = "programs" // Table holds the table name of the actionplan in the database. Table = "action_plans" // ApproverTable is the table that holds the approver relation/edge. ApproverTable = "action_plans" // ApproverInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ApproverInverseTable = "groups" // ApproverColumn is the table column denoting the approver relation/edge. ApproverColumn = "approver_id" // DelegateTable is the table that holds the delegate relation/edge. DelegateTable = "action_plans" // DelegateInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. DelegateInverseTable = "groups" // DelegateColumn is the table column denoting the delegate relation/edge. DelegateColumn = "delegate_id" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "action_plans" // 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" // RisksTable is the table that holds the risks relation/edge. The primary key declared below. RisksTable = "risk_action_plans" // 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" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "control_action_plans" // 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" // ProgramsTable is the table that holds the programs relation/edge. The primary key declared below. ProgramsTable = "program_action_plans" // 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" )
const DefaultReviewFrequency enums.Frequency = "YEARLY"
const DefaultStatus enums.DocumentStatus = "DRAFT"
Variables ¶
var ( // RisksPrimaryKey and RisksColumn2 are the table columns denoting the // primary key for the risks relation (M2M). RisksPrimaryKey = []string{"risk_id", "action_plan_id"} // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"control_id", "action_plan_id"} // ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the // primary key for the programs relation (M2M). ProgramsPrimaryKey = []string{"program_id", "action_plan_id"} )
var ( Hooks [9]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 // DefaultRevision holds the default value on creation for the "revision" field. DefaultRevision string // RevisionValidator is a validator for the "revision" field. It is called by the builders before save. RevisionValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultApprovalRequired holds the default value on creation for the "approval_required" field. DefaultApprovalRequired bool // DefaultReviewDue holds the default value on creation for the "review_due" field. DefaultReviewDue time.Time // DefaultTagSuggestions holds the default value on creation for the "tag_suggestions" field. DefaultTagSuggestions []string // DefaultDismissedTagSuggestions holds the default value on creation for the "dismissed_tag_suggestions" field. DefaultDismissedTagSuggestions []string // DefaultControlSuggestions holds the default value on creation for the "control_suggestions" field. DefaultControlSuggestions []string // DefaultDismissedControlSuggestions holds the default value on creation for the "dismissed_control_suggestions" field. DefaultDismissedControlSuggestions []string // DefaultImprovementSuggestions holds the default value on creation for the "improvement_suggestions" field. DefaultImprovementSuggestions []string // DefaultDismissedImprovementSuggestions holds the default value on creation for the "dismissed_improvement_suggestions" field. DefaultDismissedImprovementSuggestions []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldTags, FieldRevision, FieldName, FieldStatus, FieldActionPlanType, FieldDetails, FieldApprovalRequired, FieldReviewDue, FieldReviewFrequency, FieldApproverID, FieldDelegateID, FieldSummary, FieldTagSuggestions, FieldDismissedTagSuggestions, FieldControlSuggestions, FieldDismissedControlSuggestions, FieldImprovementSuggestions, FieldDismissedImprovementSuggestions, FieldOwnerID, FieldDueDate, FieldPriority, FieldSource, }
Columns holds all SQL columns for actionplan fields.
var ForeignKeys = []string{
"subcontrol_action_plans",
"user_action_plans",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "action_plans" table and are not defined as standalone fields in the schema.
Functions ¶
func ActionPlanType ¶ added in v0.7.5
func ActionPlanType(v string) predicate.ActionPlan
ActionPlanType applies equality check predicate on the "action_plan_type" field. It's identical to ActionPlanTypeEQ.
func ActionPlanTypeContains ¶ added in v0.7.5
func ActionPlanTypeContains(v string) predicate.ActionPlan
ActionPlanTypeContains applies the Contains predicate on the "action_plan_type" field.
func ActionPlanTypeContainsFold ¶ added in v0.7.5
func ActionPlanTypeContainsFold(v string) predicate.ActionPlan
ActionPlanTypeContainsFold applies the ContainsFold predicate on the "action_plan_type" field.
func ActionPlanTypeEQ ¶ added in v0.7.5
func ActionPlanTypeEQ(v string) predicate.ActionPlan
ActionPlanTypeEQ applies the EQ predicate on the "action_plan_type" field.
func ActionPlanTypeEqualFold ¶ added in v0.7.5
func ActionPlanTypeEqualFold(v string) predicate.ActionPlan
ActionPlanTypeEqualFold applies the EqualFold predicate on the "action_plan_type" field.
func ActionPlanTypeGT ¶ added in v0.7.5
func ActionPlanTypeGT(v string) predicate.ActionPlan
ActionPlanTypeGT applies the GT predicate on the "action_plan_type" field.
func ActionPlanTypeGTE ¶ added in v0.7.5
func ActionPlanTypeGTE(v string) predicate.ActionPlan
ActionPlanTypeGTE applies the GTE predicate on the "action_plan_type" field.
func ActionPlanTypeHasPrefix ¶ added in v0.7.5
func ActionPlanTypeHasPrefix(v string) predicate.ActionPlan
ActionPlanTypeHasPrefix applies the HasPrefix predicate on the "action_plan_type" field.
func ActionPlanTypeHasSuffix ¶ added in v0.7.5
func ActionPlanTypeHasSuffix(v string) predicate.ActionPlan
ActionPlanTypeHasSuffix applies the HasSuffix predicate on the "action_plan_type" field.
func ActionPlanTypeIn ¶ added in v0.7.5
func ActionPlanTypeIn(vs ...string) predicate.ActionPlan
ActionPlanTypeIn applies the In predicate on the "action_plan_type" field.
func ActionPlanTypeIsNil ¶ added in v0.7.5
func ActionPlanTypeIsNil() predicate.ActionPlan
ActionPlanTypeIsNil applies the IsNil predicate on the "action_plan_type" field.
func ActionPlanTypeLT ¶ added in v0.7.5
func ActionPlanTypeLT(v string) predicate.ActionPlan
ActionPlanTypeLT applies the LT predicate on the "action_plan_type" field.
func ActionPlanTypeLTE ¶ added in v0.7.5
func ActionPlanTypeLTE(v string) predicate.ActionPlan
ActionPlanTypeLTE applies the LTE predicate on the "action_plan_type" field.
func ActionPlanTypeNEQ ¶ added in v0.7.5
func ActionPlanTypeNEQ(v string) predicate.ActionPlan
ActionPlanTypeNEQ applies the NEQ predicate on the "action_plan_type" field.
func ActionPlanTypeNotIn ¶ added in v0.7.5
func ActionPlanTypeNotIn(vs ...string) predicate.ActionPlan
ActionPlanTypeNotIn applies the NotIn predicate on the "action_plan_type" field.
func ActionPlanTypeNotNil ¶ added in v0.7.5
func ActionPlanTypeNotNil() predicate.ActionPlan
ActionPlanTypeNotNil applies the NotNil predicate on the "action_plan_type" field.
func And ¶
func And(predicates ...predicate.ActionPlan) predicate.ActionPlan
And groups predicates with the AND operator between them.
func ApprovalRequired ¶ added in v0.7.5
func ApprovalRequired(v bool) predicate.ActionPlan
ApprovalRequired applies equality check predicate on the "approval_required" field. It's identical to ApprovalRequiredEQ.
func ApprovalRequiredEQ ¶ added in v0.7.5
func ApprovalRequiredEQ(v bool) predicate.ActionPlan
ApprovalRequiredEQ applies the EQ predicate on the "approval_required" field.
func ApprovalRequiredIsNil ¶ added in v0.7.5
func ApprovalRequiredIsNil() predicate.ActionPlan
ApprovalRequiredIsNil applies the IsNil predicate on the "approval_required" field.
func ApprovalRequiredNEQ ¶ added in v0.7.5
func ApprovalRequiredNEQ(v bool) predicate.ActionPlan
ApprovalRequiredNEQ applies the NEQ predicate on the "approval_required" field.
func ApprovalRequiredNotNil ¶ added in v0.7.5
func ApprovalRequiredNotNil() predicate.ActionPlan
ApprovalRequiredNotNil applies the NotNil predicate on the "approval_required" field.
func ApproverID ¶ added in v0.8.9
func ApproverID(v string) predicate.ActionPlan
ApproverID applies equality check predicate on the "approver_id" field. It's identical to ApproverIDEQ.
func ApproverIDContains ¶ added in v0.8.9
func ApproverIDContains(v string) predicate.ActionPlan
ApproverIDContains applies the Contains predicate on the "approver_id" field.
func ApproverIDContainsFold ¶ added in v0.8.9
func ApproverIDContainsFold(v string) predicate.ActionPlan
ApproverIDContainsFold applies the ContainsFold predicate on the "approver_id" field.
func ApproverIDEQ ¶ added in v0.8.9
func ApproverIDEQ(v string) predicate.ActionPlan
ApproverIDEQ applies the EQ predicate on the "approver_id" field.
func ApproverIDEqualFold ¶ added in v0.8.9
func ApproverIDEqualFold(v string) predicate.ActionPlan
ApproverIDEqualFold applies the EqualFold predicate on the "approver_id" field.
func ApproverIDGT ¶ added in v0.8.9
func ApproverIDGT(v string) predicate.ActionPlan
ApproverIDGT applies the GT predicate on the "approver_id" field.
func ApproverIDGTE ¶ added in v0.8.9
func ApproverIDGTE(v string) predicate.ActionPlan
ApproverIDGTE applies the GTE predicate on the "approver_id" field.
func ApproverIDHasPrefix ¶ added in v0.8.9
func ApproverIDHasPrefix(v string) predicate.ActionPlan
ApproverIDHasPrefix applies the HasPrefix predicate on the "approver_id" field.
func ApproverIDHasSuffix ¶ added in v0.8.9
func ApproverIDHasSuffix(v string) predicate.ActionPlan
ApproverIDHasSuffix applies the HasSuffix predicate on the "approver_id" field.
func ApproverIDIn ¶ added in v0.8.9
func ApproverIDIn(vs ...string) predicate.ActionPlan
ApproverIDIn applies the In predicate on the "approver_id" field.
func ApproverIDIsNil ¶ added in v0.8.9
func ApproverIDIsNil() predicate.ActionPlan
ApproverIDIsNil applies the IsNil predicate on the "approver_id" field.
func ApproverIDLT ¶ added in v0.8.9
func ApproverIDLT(v string) predicate.ActionPlan
ApproverIDLT applies the LT predicate on the "approver_id" field.
func ApproverIDLTE ¶ added in v0.8.9
func ApproverIDLTE(v string) predicate.ActionPlan
ApproverIDLTE applies the LTE predicate on the "approver_id" field.
func ApproverIDNEQ ¶ added in v0.8.9
func ApproverIDNEQ(v string) predicate.ActionPlan
ApproverIDNEQ applies the NEQ predicate on the "approver_id" field.
func ApproverIDNotIn ¶ added in v0.8.9
func ApproverIDNotIn(vs ...string) predicate.ActionPlan
ApproverIDNotIn applies the NotIn predicate on the "approver_id" field.
func ApproverIDNotNil ¶ added in v0.8.9
func ApproverIDNotNil() predicate.ActionPlan
ApproverIDNotNil applies the NotNil predicate on the "approver_id" field.
func ControlSuggestionsIsNil ¶ added in v0.19.0
func ControlSuggestionsIsNil() predicate.ActionPlan
ControlSuggestionsIsNil applies the IsNil predicate on the "control_suggestions" field.
func ControlSuggestionsNotNil ¶ added in v0.19.0
func ControlSuggestionsNotNil() predicate.ActionPlan
ControlSuggestionsNotNil applies the NotNil predicate on the "control_suggestions" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ActionPlan
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ActionPlan
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ActionPlan
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ActionPlan
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ActionPlan
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.ActionPlan
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ActionPlan
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ActionPlan
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ActionPlan
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ActionPlan
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.ActionPlan
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.ActionPlan
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.ActionPlan
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.ActionPlan
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.ActionPlan
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.ActionPlan
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.ActionPlan
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.ActionPlan
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.ActionPlan
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.ActionPlan
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.ActionPlan
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.ActionPlan
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.ActionPlan
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.ActionPlan
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.ActionPlan
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.ActionPlan
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.ActionPlan
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DelegateID ¶ added in v0.8.9
func DelegateID(v string) predicate.ActionPlan
DelegateID applies equality check predicate on the "delegate_id" field. It's identical to DelegateIDEQ.
func DelegateIDContains ¶ added in v0.8.9
func DelegateIDContains(v string) predicate.ActionPlan
DelegateIDContains applies the Contains predicate on the "delegate_id" field.
func DelegateIDContainsFold ¶ added in v0.8.9
func DelegateIDContainsFold(v string) predicate.ActionPlan
DelegateIDContainsFold applies the ContainsFold predicate on the "delegate_id" field.
func DelegateIDEQ ¶ added in v0.8.9
func DelegateIDEQ(v string) predicate.ActionPlan
DelegateIDEQ applies the EQ predicate on the "delegate_id" field.
func DelegateIDEqualFold ¶ added in v0.8.9
func DelegateIDEqualFold(v string) predicate.ActionPlan
DelegateIDEqualFold applies the EqualFold predicate on the "delegate_id" field.
func DelegateIDGT ¶ added in v0.8.9
func DelegateIDGT(v string) predicate.ActionPlan
DelegateIDGT applies the GT predicate on the "delegate_id" field.
func DelegateIDGTE ¶ added in v0.8.9
func DelegateIDGTE(v string) predicate.ActionPlan
DelegateIDGTE applies the GTE predicate on the "delegate_id" field.
func DelegateIDHasPrefix ¶ added in v0.8.9
func DelegateIDHasPrefix(v string) predicate.ActionPlan
DelegateIDHasPrefix applies the HasPrefix predicate on the "delegate_id" field.
func DelegateIDHasSuffix ¶ added in v0.8.9
func DelegateIDHasSuffix(v string) predicate.ActionPlan
DelegateIDHasSuffix applies the HasSuffix predicate on the "delegate_id" field.
func DelegateIDIn ¶ added in v0.8.9
func DelegateIDIn(vs ...string) predicate.ActionPlan
DelegateIDIn applies the In predicate on the "delegate_id" field.
func DelegateIDIsNil ¶ added in v0.8.9
func DelegateIDIsNil() predicate.ActionPlan
DelegateIDIsNil applies the IsNil predicate on the "delegate_id" field.
func DelegateIDLT ¶ added in v0.8.9
func DelegateIDLT(v string) predicate.ActionPlan
DelegateIDLT applies the LT predicate on the "delegate_id" field.
func DelegateIDLTE ¶ added in v0.8.9
func DelegateIDLTE(v string) predicate.ActionPlan
DelegateIDLTE applies the LTE predicate on the "delegate_id" field.
func DelegateIDNEQ ¶ added in v0.8.9
func DelegateIDNEQ(v string) predicate.ActionPlan
DelegateIDNEQ applies the NEQ predicate on the "delegate_id" field.
func DelegateIDNotIn ¶ added in v0.8.9
func DelegateIDNotIn(vs ...string) predicate.ActionPlan
DelegateIDNotIn applies the NotIn predicate on the "delegate_id" field.
func DelegateIDNotNil ¶ added in v0.8.9
func DelegateIDNotNil() predicate.ActionPlan
DelegateIDNotNil applies the NotNil predicate on the "delegate_id" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.ActionPlan
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.ActionPlan
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.ActionPlan
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.ActionPlan
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.ActionPlan
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.ActionPlan
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.ActionPlan
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.ActionPlan
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.ActionPlan
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.ActionPlan
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.ActionPlan
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.ActionPlan
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.ActionPlan
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.ActionPlan
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.ActionPlan
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.ActionPlan
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.ActionPlan
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.ActionPlan
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.ActionPlan
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.ActionPlan
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.ActionPlan
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.ActionPlan
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.ActionPlan
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.ActionPlan
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.ActionPlan
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.ActionPlan
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.ActionPlan
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Details ¶ added in v0.7.5
func Details(v string) predicate.ActionPlan
Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.
func DetailsContains ¶ added in v0.7.5
func DetailsContains(v string) predicate.ActionPlan
DetailsContains applies the Contains predicate on the "details" field.
func DetailsContainsFold ¶ added in v0.7.5
func DetailsContainsFold(v string) predicate.ActionPlan
DetailsContainsFold applies the ContainsFold predicate on the "details" field.
func DetailsEQ ¶ added in v0.7.5
func DetailsEQ(v string) predicate.ActionPlan
DetailsEQ applies the EQ predicate on the "details" field.
func DetailsEqualFold ¶ added in v0.7.5
func DetailsEqualFold(v string) predicate.ActionPlan
DetailsEqualFold applies the EqualFold predicate on the "details" field.
func DetailsGT ¶ added in v0.7.5
func DetailsGT(v string) predicate.ActionPlan
DetailsGT applies the GT predicate on the "details" field.
func DetailsGTE ¶ added in v0.7.5
func DetailsGTE(v string) predicate.ActionPlan
DetailsGTE applies the GTE predicate on the "details" field.
func DetailsHasPrefix ¶ added in v0.7.5
func DetailsHasPrefix(v string) predicate.ActionPlan
DetailsHasPrefix applies the HasPrefix predicate on the "details" field.
func DetailsHasSuffix ¶ added in v0.7.5
func DetailsHasSuffix(v string) predicate.ActionPlan
DetailsHasSuffix applies the HasSuffix predicate on the "details" field.
func DetailsIn ¶ added in v0.7.5
func DetailsIn(vs ...string) predicate.ActionPlan
DetailsIn applies the In predicate on the "details" field.
func DetailsIsNil ¶
func DetailsIsNil() predicate.ActionPlan
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsLT ¶ added in v0.7.5
func DetailsLT(v string) predicate.ActionPlan
DetailsLT applies the LT predicate on the "details" field.
func DetailsLTE ¶ added in v0.7.5
func DetailsLTE(v string) predicate.ActionPlan
DetailsLTE applies the LTE predicate on the "details" field.
func DetailsNEQ ¶ added in v0.7.5
func DetailsNEQ(v string) predicate.ActionPlan
DetailsNEQ applies the NEQ predicate on the "details" field.
func DetailsNotIn ¶ added in v0.7.5
func DetailsNotIn(vs ...string) predicate.ActionPlan
DetailsNotIn applies the NotIn predicate on the "details" field.
func DetailsNotNil ¶
func DetailsNotNil() predicate.ActionPlan
DetailsNotNil applies the NotNil predicate on the "details" field.
func DismissedControlSuggestionsIsNil ¶ added in v0.19.0
func DismissedControlSuggestionsIsNil() predicate.ActionPlan
DismissedControlSuggestionsIsNil applies the IsNil predicate on the "dismissed_control_suggestions" field.
func DismissedControlSuggestionsNotNil ¶ added in v0.19.0
func DismissedControlSuggestionsNotNil() predicate.ActionPlan
DismissedControlSuggestionsNotNil applies the NotNil predicate on the "dismissed_control_suggestions" field.
func DismissedImprovementSuggestionsIsNil ¶ added in v0.19.0
func DismissedImprovementSuggestionsIsNil() predicate.ActionPlan
DismissedImprovementSuggestionsIsNil applies the IsNil predicate on the "dismissed_improvement_suggestions" field.
func DismissedImprovementSuggestionsNotNil ¶ added in v0.19.0
func DismissedImprovementSuggestionsNotNil() predicate.ActionPlan
DismissedImprovementSuggestionsNotNil applies the NotNil predicate on the "dismissed_improvement_suggestions" field.
func DismissedTagSuggestionsIsNil ¶ added in v0.19.0
func DismissedTagSuggestionsIsNil() predicate.ActionPlan
DismissedTagSuggestionsIsNil applies the IsNil predicate on the "dismissed_tag_suggestions" field.
func DismissedTagSuggestionsNotNil ¶ added in v0.19.0
func DismissedTagSuggestionsNotNil() predicate.ActionPlan
DismissedTagSuggestionsNotNil applies the NotNil predicate on the "dismissed_tag_suggestions" field.
func DueDate ¶
func DueDate(v time.Time) predicate.ActionPlan
DueDate applies equality check predicate on the "due_date" field. It's identical to DueDateEQ.
func DueDateEQ ¶
func DueDateEQ(v time.Time) predicate.ActionPlan
DueDateEQ applies the EQ predicate on the "due_date" field.
func DueDateGT ¶
func DueDateGT(v time.Time) predicate.ActionPlan
DueDateGT applies the GT predicate on the "due_date" field.
func DueDateGTE ¶
func DueDateGTE(v time.Time) predicate.ActionPlan
DueDateGTE applies the GTE predicate on the "due_date" field.
func DueDateIn ¶
func DueDateIn(vs ...time.Time) predicate.ActionPlan
DueDateIn applies the In predicate on the "due_date" field.
func DueDateIsNil ¶
func DueDateIsNil() predicate.ActionPlan
DueDateIsNil applies the IsNil predicate on the "due_date" field.
func DueDateLT ¶
func DueDateLT(v time.Time) predicate.ActionPlan
DueDateLT applies the LT predicate on the "due_date" field.
func DueDateLTE ¶
func DueDateLTE(v time.Time) predicate.ActionPlan
DueDateLTE applies the LTE predicate on the "due_date" field.
func DueDateNEQ ¶
func DueDateNEQ(v time.Time) predicate.ActionPlan
DueDateNEQ applies the NEQ predicate on the "due_date" field.
func DueDateNotIn ¶
func DueDateNotIn(vs ...time.Time) predicate.ActionPlan
DueDateNotIn applies the NotIn predicate on the "due_date" field.
func DueDateNotNil ¶
func DueDateNotNil() predicate.ActionPlan
DueDateNotNil applies the NotNil predicate on the "due_date" field.
func HasApprover ¶ added in v0.7.5
func HasApprover() predicate.ActionPlan
HasApprover applies the HasEdge predicate on the "approver" edge.
func HasApproverWith ¶ added in v0.7.5
func HasApproverWith(preds ...predicate.Group) predicate.ActionPlan
HasApproverWith applies the HasEdge predicate on the "approver" edge with a given conditions (other predicates).
func HasControls ¶ added in v0.8.2
func HasControls() predicate.ActionPlan
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶ added in v0.8.2
func HasControlsWith(preds ...predicate.Control) predicate.ActionPlan
HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).
func HasDelegate ¶ added in v0.7.5
func HasDelegate() predicate.ActionPlan
HasDelegate applies the HasEdge predicate on the "delegate" edge.
func HasDelegateWith ¶ added in v0.7.5
func HasDelegateWith(preds ...predicate.Group) predicate.ActionPlan
HasDelegateWith applies the HasEdge predicate on the "delegate" edge with a given conditions (other predicates).
func HasOwner ¶ added in v0.7.5
func HasOwner() predicate.ActionPlan
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶ added in v0.7.5
func HasOwnerWith(preds ...predicate.Organization) predicate.ActionPlan
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasPrograms ¶ added in v0.8.2
func HasPrograms() predicate.ActionPlan
HasPrograms applies the HasEdge predicate on the "programs" edge.
func HasProgramsWith ¶ added in v0.8.2
func HasProgramsWith(preds ...predicate.Program) predicate.ActionPlan
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
func HasRisks ¶ added in v0.8.2
func HasRisks() predicate.ActionPlan
HasRisks applies the HasEdge predicate on the "risks" edge.
func HasRisksWith ¶ added in v0.8.2
func HasRisksWith(preds ...predicate.Risk) predicate.ActionPlan
HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.ActionPlan
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.ActionPlan
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.ActionPlan
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.ActionPlan
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.ActionPlan
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.ActionPlan
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.ActionPlan
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.ActionPlan
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.ActionPlan
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.ActionPlan
IDNotIn applies the NotIn predicate on the ID field.
func ImprovementSuggestionsIsNil ¶ added in v0.19.0
func ImprovementSuggestionsIsNil() predicate.ActionPlan
ImprovementSuggestionsIsNil applies the IsNil predicate on the "improvement_suggestions" field.
func ImprovementSuggestionsNotNil ¶ added in v0.19.0
func ImprovementSuggestionsNotNil() predicate.ActionPlan
ImprovementSuggestionsNotNil applies the NotNil predicate on the "improvement_suggestions" field.
func Name ¶
func Name(v string) predicate.ActionPlan
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ActionPlan
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ActionPlan
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ActionPlan
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ActionPlan
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ActionPlan
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ActionPlan
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ActionPlan
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ActionPlan
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ActionPlan
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ActionPlan
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ActionPlan
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ActionPlan
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ActionPlan
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ActionPlan) predicate.ActionPlan
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ActionPlan) predicate.ActionPlan
Or groups predicates with the OR operator between them.
func OwnerID ¶ added in v0.7.5
func OwnerID(v string) predicate.ActionPlan
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.7.5
func OwnerIDContains(v string) predicate.ActionPlan
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.7.5
func OwnerIDContainsFold(v string) predicate.ActionPlan
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶ added in v0.7.5
func OwnerIDEQ(v string) predicate.ActionPlan
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.7.5
func OwnerIDEqualFold(v string) predicate.ActionPlan
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶ added in v0.7.5
func OwnerIDGT(v string) predicate.ActionPlan
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.7.5
func OwnerIDGTE(v string) predicate.ActionPlan
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.7.5
func OwnerIDHasPrefix(v string) predicate.ActionPlan
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.7.5
func OwnerIDHasSuffix(v string) predicate.ActionPlan
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶ added in v0.7.5
func OwnerIDIn(vs ...string) predicate.ActionPlan
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.7.5
func OwnerIDIsNil() predicate.ActionPlan
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLT ¶ added in v0.7.5
func OwnerIDLT(v string) predicate.ActionPlan
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.7.5
func OwnerIDLTE(v string) predicate.ActionPlan
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.7.5
func OwnerIDNEQ(v string) predicate.ActionPlan
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.7.5
func OwnerIDNotIn(vs ...string) predicate.ActionPlan
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.7.5
func OwnerIDNotNil() predicate.ActionPlan
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func PriorityEQ ¶
func PriorityEQ(v enums.Priority) predicate.ActionPlan
PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityIn ¶
func PriorityIn(vs ...enums.Priority) predicate.ActionPlan
PriorityIn applies the In predicate on the "priority" field.
func PriorityIsNil ¶
func PriorityIsNil() predicate.ActionPlan
PriorityIsNil applies the IsNil predicate on the "priority" field.
func PriorityNEQ ¶
func PriorityNEQ(v enums.Priority) predicate.ActionPlan
PriorityNEQ applies the NEQ predicate on the "priority" field.
func PriorityNotIn ¶
func PriorityNotIn(vs ...enums.Priority) predicate.ActionPlan
PriorityNotIn applies the NotIn predicate on the "priority" field.
func PriorityNotNil ¶
func PriorityNotNil() predicate.ActionPlan
PriorityNotNil applies the NotNil predicate on the "priority" field.
func PriorityValidator ¶ added in v0.7.5
PriorityValidator is a validator for the "priority" field enum values. It is called by the builders before save.
func ReviewDue ¶ added in v0.7.5
func ReviewDue(v time.Time) predicate.ActionPlan
ReviewDue applies equality check predicate on the "review_due" field. It's identical to ReviewDueEQ.
func ReviewDueEQ ¶ added in v0.7.5
func ReviewDueEQ(v time.Time) predicate.ActionPlan
ReviewDueEQ applies the EQ predicate on the "review_due" field.
func ReviewDueGT ¶ added in v0.7.5
func ReviewDueGT(v time.Time) predicate.ActionPlan
ReviewDueGT applies the GT predicate on the "review_due" field.
func ReviewDueGTE ¶ added in v0.7.5
func ReviewDueGTE(v time.Time) predicate.ActionPlan
ReviewDueGTE applies the GTE predicate on the "review_due" field.
func ReviewDueIn ¶ added in v0.7.5
func ReviewDueIn(vs ...time.Time) predicate.ActionPlan
ReviewDueIn applies the In predicate on the "review_due" field.
func ReviewDueIsNil ¶ added in v0.7.5
func ReviewDueIsNil() predicate.ActionPlan
ReviewDueIsNil applies the IsNil predicate on the "review_due" field.
func ReviewDueLT ¶ added in v0.7.5
func ReviewDueLT(v time.Time) predicate.ActionPlan
ReviewDueLT applies the LT predicate on the "review_due" field.
func ReviewDueLTE ¶ added in v0.7.5
func ReviewDueLTE(v time.Time) predicate.ActionPlan
ReviewDueLTE applies the LTE predicate on the "review_due" field.
func ReviewDueNEQ ¶ added in v0.7.5
func ReviewDueNEQ(v time.Time) predicate.ActionPlan
ReviewDueNEQ applies the NEQ predicate on the "review_due" field.
func ReviewDueNotIn ¶ added in v0.7.5
func ReviewDueNotIn(vs ...time.Time) predicate.ActionPlan
ReviewDueNotIn applies the NotIn predicate on the "review_due" field.
func ReviewDueNotNil ¶ added in v0.7.5
func ReviewDueNotNil() predicate.ActionPlan
ReviewDueNotNil applies the NotNil predicate on the "review_due" field.
func ReviewFrequencyEQ ¶ added in v0.7.5
func ReviewFrequencyEQ(v enums.Frequency) predicate.ActionPlan
ReviewFrequencyEQ applies the EQ predicate on the "review_frequency" field.
func ReviewFrequencyIn ¶ added in v0.7.5
func ReviewFrequencyIn(vs ...enums.Frequency) predicate.ActionPlan
ReviewFrequencyIn applies the In predicate on the "review_frequency" field.
func ReviewFrequencyIsNil ¶ added in v0.7.5
func ReviewFrequencyIsNil() predicate.ActionPlan
ReviewFrequencyIsNil applies the IsNil predicate on the "review_frequency" field.
func ReviewFrequencyNEQ ¶ added in v0.7.5
func ReviewFrequencyNEQ(v enums.Frequency) predicate.ActionPlan
ReviewFrequencyNEQ applies the NEQ predicate on the "review_frequency" field.
func ReviewFrequencyNotIn ¶ added in v0.7.5
func ReviewFrequencyNotIn(vs ...enums.Frequency) predicate.ActionPlan
ReviewFrequencyNotIn applies the NotIn predicate on the "review_frequency" field.
func ReviewFrequencyNotNil ¶ added in v0.7.5
func ReviewFrequencyNotNil() predicate.ActionPlan
ReviewFrequencyNotNil applies the NotNil predicate on the "review_frequency" field.
func ReviewFrequencyValidator ¶ added in v0.7.5
ReviewFrequencyValidator is a validator for the "review_frequency" field enum values. It is called by the builders before save.
func Revision ¶ added in v0.7.5
func Revision(v string) predicate.ActionPlan
Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.
func RevisionContains ¶ added in v0.7.5
func RevisionContains(v string) predicate.ActionPlan
RevisionContains applies the Contains predicate on the "revision" field.
func RevisionContainsFold ¶ added in v0.7.5
func RevisionContainsFold(v string) predicate.ActionPlan
RevisionContainsFold applies the ContainsFold predicate on the "revision" field.
func RevisionEQ ¶ added in v0.7.5
func RevisionEQ(v string) predicate.ActionPlan
RevisionEQ applies the EQ predicate on the "revision" field.
func RevisionEqualFold ¶ added in v0.7.5
func RevisionEqualFold(v string) predicate.ActionPlan
RevisionEqualFold applies the EqualFold predicate on the "revision" field.
func RevisionGT ¶ added in v0.7.5
func RevisionGT(v string) predicate.ActionPlan
RevisionGT applies the GT predicate on the "revision" field.
func RevisionGTE ¶ added in v0.7.5
func RevisionGTE(v string) predicate.ActionPlan
RevisionGTE applies the GTE predicate on the "revision" field.
func RevisionHasPrefix ¶ added in v0.7.5
func RevisionHasPrefix(v string) predicate.ActionPlan
RevisionHasPrefix applies the HasPrefix predicate on the "revision" field.
func RevisionHasSuffix ¶ added in v0.7.5
func RevisionHasSuffix(v string) predicate.ActionPlan
RevisionHasSuffix applies the HasSuffix predicate on the "revision" field.
func RevisionIn ¶ added in v0.7.5
func RevisionIn(vs ...string) predicate.ActionPlan
RevisionIn applies the In predicate on the "revision" field.
func RevisionIsNil ¶ added in v0.7.5
func RevisionIsNil() predicate.ActionPlan
RevisionIsNil applies the IsNil predicate on the "revision" field.
func RevisionLT ¶ added in v0.7.5
func RevisionLT(v string) predicate.ActionPlan
RevisionLT applies the LT predicate on the "revision" field.
func RevisionLTE ¶ added in v0.7.5
func RevisionLTE(v string) predicate.ActionPlan
RevisionLTE applies the LTE predicate on the "revision" field.
func RevisionNEQ ¶ added in v0.7.5
func RevisionNEQ(v string) predicate.ActionPlan
RevisionNEQ applies the NEQ predicate on the "revision" field.
func RevisionNotIn ¶ added in v0.7.5
func RevisionNotIn(vs ...string) predicate.ActionPlan
RevisionNotIn applies the NotIn predicate on the "revision" field.
func RevisionNotNil ¶ added in v0.7.5
func RevisionNotNil() predicate.ActionPlan
RevisionNotNil applies the NotNil predicate on the "revision" field.
func Source ¶
func Source(v string) predicate.ActionPlan
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
func SourceContains(v string) predicate.ActionPlan
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
func SourceContainsFold(v string) predicate.ActionPlan
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEQ ¶
func SourceEQ(v string) predicate.ActionPlan
SourceEQ applies the EQ predicate on the "source" field.
func SourceEqualFold ¶
func SourceEqualFold(v string) predicate.ActionPlan
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceGT ¶
func SourceGT(v string) predicate.ActionPlan
SourceGT applies the GT predicate on the "source" field.
func SourceGTE ¶
func SourceGTE(v string) predicate.ActionPlan
SourceGTE applies the GTE predicate on the "source" field.
func SourceHasPrefix ¶
func SourceHasPrefix(v string) predicate.ActionPlan
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
func SourceHasSuffix(v string) predicate.ActionPlan
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIn ¶
func SourceIn(vs ...string) predicate.ActionPlan
SourceIn applies the In predicate on the "source" field.
func SourceIsNil ¶
func SourceIsNil() predicate.ActionPlan
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceLT ¶
func SourceLT(v string) predicate.ActionPlan
SourceLT applies the LT predicate on the "source" field.
func SourceLTE ¶
func SourceLTE(v string) predicate.ActionPlan
SourceLTE applies the LTE predicate on the "source" field.
func SourceNEQ ¶
func SourceNEQ(v string) predicate.ActionPlan
SourceNEQ applies the NEQ predicate on the "source" field.
func SourceNotIn ¶
func SourceNotIn(vs ...string) predicate.ActionPlan
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶
func SourceNotNil() predicate.ActionPlan
SourceNotNil applies the NotNil predicate on the "source" field.
func StatusEQ ¶
func StatusEQ(v enums.DocumentStatus) predicate.ActionPlan
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.DocumentStatus) predicate.ActionPlan
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.ActionPlan
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.DocumentStatus) predicate.ActionPlan
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.DocumentStatus) predicate.ActionPlan
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.ActionPlan
StatusNotNil applies the NotNil predicate on the "status" field.
func StatusValidator ¶ added in v0.7.5
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 Summary ¶ added in v0.11.0
func Summary(v string) predicate.ActionPlan
Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func SummaryContains ¶ added in v0.11.0
func SummaryContains(v string) predicate.ActionPlan
SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContainsFold ¶ added in v0.11.0
func SummaryContainsFold(v string) predicate.ActionPlan
SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryEQ ¶ added in v0.11.0
func SummaryEQ(v string) predicate.ActionPlan
SummaryEQ applies the EQ predicate on the "summary" field.
func SummaryEqualFold ¶ added in v0.11.0
func SummaryEqualFold(v string) predicate.ActionPlan
SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryGT ¶ added in v0.11.0
func SummaryGT(v string) predicate.ActionPlan
SummaryGT applies the GT predicate on the "summary" field.
func SummaryGTE ¶ added in v0.11.0
func SummaryGTE(v string) predicate.ActionPlan
SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryHasPrefix ¶ added in v0.11.0
func SummaryHasPrefix(v string) predicate.ActionPlan
SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasSuffix ¶ added in v0.11.0
func SummaryHasSuffix(v string) predicate.ActionPlan
SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryIn ¶ added in v0.11.0
func SummaryIn(vs ...string) predicate.ActionPlan
SummaryIn applies the In predicate on the "summary" field.
func SummaryIsNil ¶ added in v0.11.0
func SummaryIsNil() predicate.ActionPlan
SummaryIsNil applies the IsNil predicate on the "summary" field.
func SummaryLT ¶ added in v0.11.0
func SummaryLT(v string) predicate.ActionPlan
SummaryLT applies the LT predicate on the "summary" field.
func SummaryLTE ¶ added in v0.11.0
func SummaryLTE(v string) predicate.ActionPlan
SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryNEQ ¶ added in v0.11.0
func SummaryNEQ(v string) predicate.ActionPlan
SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNotIn ¶ added in v0.11.0
func SummaryNotIn(vs ...string) predicate.ActionPlan
SummaryNotIn applies the NotIn predicate on the "summary" field.
func SummaryNotNil ¶ added in v0.11.0
func SummaryNotNil() predicate.ActionPlan
SummaryNotNil applies the NotNil predicate on the "summary" field.
func TagSuggestionsIsNil ¶ added in v0.19.0
func TagSuggestionsIsNil() predicate.ActionPlan
TagSuggestionsIsNil applies the IsNil predicate on the "tag_suggestions" field.
func TagSuggestionsNotNil ¶ added in v0.19.0
func TagSuggestionsNotNil() predicate.ActionPlan
TagSuggestionsNotNil applies the NotNil predicate on the "tag_suggestions" field.
func TagsIsNil ¶
func TagsIsNil() predicate.ActionPlan
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.ActionPlan
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ActionPlan
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ActionPlan
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ActionPlan
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ActionPlan
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ActionPlan
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.ActionPlan
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ActionPlan
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ActionPlan
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ActionPlan
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ActionPlan
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.ActionPlan
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.ActionPlan
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.ActionPlan
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.ActionPlan
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.ActionPlan
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.ActionPlan
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.ActionPlan
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.ActionPlan
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.ActionPlan
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.ActionPlan
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.ActionPlan
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.ActionPlan
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.ActionPlan
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.ActionPlan
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.ActionPlan
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.ActionPlan
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.ActionPlan
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ActionPlan queries.
func ByActionPlanType ¶ added in v0.7.5
func ByActionPlanType(opts ...sql.OrderTermOption) OrderOption
ByActionPlanType orders the results by the action_plan_type field.
func ByApprovalRequired ¶ added in v0.7.5
func ByApprovalRequired(opts ...sql.OrderTermOption) OrderOption
ByApprovalRequired orders the results by the approval_required field.
func ByApproverField ¶ added in v0.7.5
func ByApproverField(field string, opts ...sql.OrderTermOption) OrderOption
ByApproverField orders the results by approver field.
func ByApproverID ¶ added in v0.8.9
func ByApproverID(opts ...sql.OrderTermOption) OrderOption
ByApproverID orders the results by the approver_id field.
func ByControls ¶ added in v0.8.2
func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControls orders the results by controls terms.
func ByControlsCount ¶ added in v0.8.2
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 ByDelegateField ¶ added in v0.7.5
func ByDelegateField(field string, opts ...sql.OrderTermOption) OrderOption
ByDelegateField orders the results by delegate field.
func ByDelegateID ¶ added in v0.8.9
func ByDelegateID(opts ...sql.OrderTermOption) OrderOption
ByDelegateID orders the results by the delegate_id 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 ¶ added in v0.7.5
func ByDetails(opts ...sql.OrderTermOption) OrderOption
ByDetails orders the results by the details field.
func ByDueDate ¶
func ByDueDate(opts ...sql.OrderTermOption) OrderOption
ByDueDate orders the results by the due_date field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOwnerField ¶ added in v0.7.5
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.7.5
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPriority ¶
func ByPriority(opts ...sql.OrderTermOption) OrderOption
ByPriority orders the results by the priority field.
func ByPrograms ¶ added in v0.8.2
func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrograms orders the results by programs terms.
func ByProgramsCount ¶ added in v0.8.2
func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramsCount orders the results by programs count.
func ByReviewDue ¶ added in v0.7.5
func ByReviewDue(opts ...sql.OrderTermOption) OrderOption
ByReviewDue orders the results by the review_due field.
func ByReviewFrequency ¶ added in v0.7.5
func ByReviewFrequency(opts ...sql.OrderTermOption) OrderOption
ByReviewFrequency orders the results by the review_frequency field.
func ByRevision ¶ added in v0.7.5
func ByRevision(opts ...sql.OrderTermOption) OrderOption
ByRevision orders the results by the revision field.
func ByRisks ¶ added in v0.8.2
func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRisks orders the results by risks terms.
func ByRisksCount ¶ added in v0.8.2
func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
ByRisksCount orders the results by risks count.
func BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySummary ¶ added in v0.11.0
func BySummary(opts ...sql.OrderTermOption) OrderOption
BySummary orders the results by the summary field.
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.