Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Program) predicate.Program
- func AuditFirm(v string) predicate.Program
- func AuditFirmContains(v string) predicate.Program
- func AuditFirmContainsFold(v string) predicate.Program
- func AuditFirmEQ(v string) predicate.Program
- func AuditFirmEqualFold(v string) predicate.Program
- func AuditFirmGT(v string) predicate.Program
- func AuditFirmGTE(v string) predicate.Program
- func AuditFirmHasPrefix(v string) predicate.Program
- func AuditFirmHasSuffix(v string) predicate.Program
- func AuditFirmIn(vs ...string) predicate.Program
- func AuditFirmIsNil() predicate.Program
- func AuditFirmLT(v string) predicate.Program
- func AuditFirmLTE(v string) predicate.Program
- func AuditFirmNEQ(v string) predicate.Program
- func AuditFirmNotIn(vs ...string) predicate.Program
- func AuditFirmNotNil() predicate.Program
- func Auditor(v string) predicate.Program
- func AuditorContains(v string) predicate.Program
- func AuditorContainsFold(v string) predicate.Program
- func AuditorEQ(v string) predicate.Program
- func AuditorEmail(v string) predicate.Program
- func AuditorEmailContains(v string) predicate.Program
- func AuditorEmailContainsFold(v string) predicate.Program
- func AuditorEmailEQ(v string) predicate.Program
- func AuditorEmailEqualFold(v string) predicate.Program
- func AuditorEmailGT(v string) predicate.Program
- func AuditorEmailGTE(v string) predicate.Program
- func AuditorEmailHasPrefix(v string) predicate.Program
- func AuditorEmailHasSuffix(v string) predicate.Program
- func AuditorEmailIn(vs ...string) predicate.Program
- func AuditorEmailIsNil() predicate.Program
- func AuditorEmailLT(v string) predicate.Program
- func AuditorEmailLTE(v string) predicate.Program
- func AuditorEmailNEQ(v string) predicate.Program
- func AuditorEmailNotIn(vs ...string) predicate.Program
- func AuditorEmailNotNil() predicate.Program
- func AuditorEqualFold(v string) predicate.Program
- func AuditorGT(v string) predicate.Program
- func AuditorGTE(v string) predicate.Program
- func AuditorHasPrefix(v string) predicate.Program
- func AuditorHasSuffix(v string) predicate.Program
- func AuditorIn(vs ...string) predicate.Program
- func AuditorIsNil() predicate.Program
- func AuditorLT(v string) predicate.Program
- func AuditorLTE(v string) predicate.Program
- func AuditorNEQ(v string) predicate.Program
- func AuditorNotIn(vs ...string) predicate.Program
- func AuditorNotNil() predicate.Program
- func AuditorReadComments(v bool) predicate.Program
- func AuditorReadCommentsEQ(v bool) predicate.Program
- func AuditorReadCommentsNEQ(v bool) predicate.Program
- func AuditorReady(v bool) predicate.Program
- func AuditorReadyEQ(v bool) predicate.Program
- func AuditorReadyNEQ(v bool) predicate.Program
- func AuditorWriteComments(v bool) predicate.Program
- func AuditorWriteCommentsEQ(v bool) predicate.Program
- func AuditorWriteCommentsNEQ(v bool) predicate.Program
- func CreatedAt(v time.Time) predicate.Program
- func CreatedAtEQ(v time.Time) predicate.Program
- func CreatedAtGT(v time.Time) predicate.Program
- func CreatedAtGTE(v time.Time) predicate.Program
- func CreatedAtIn(vs ...time.Time) predicate.Program
- func CreatedAtIsNil() predicate.Program
- func CreatedAtLT(v time.Time) predicate.Program
- func CreatedAtLTE(v time.Time) predicate.Program
- func CreatedAtNEQ(v time.Time) predicate.Program
- func CreatedAtNotIn(vs ...time.Time) predicate.Program
- func CreatedAtNotNil() predicate.Program
- func CreatedBy(v string) predicate.Program
- func CreatedByContains(v string) predicate.Program
- func CreatedByContainsFold(v string) predicate.Program
- func CreatedByEQ(v string) predicate.Program
- func CreatedByEqualFold(v string) predicate.Program
- func CreatedByGT(v string) predicate.Program
- func CreatedByGTE(v string) predicate.Program
- func CreatedByHasPrefix(v string) predicate.Program
- func CreatedByHasSuffix(v string) predicate.Program
- func CreatedByIn(vs ...string) predicate.Program
- func CreatedByIsNil() predicate.Program
- func CreatedByLT(v string) predicate.Program
- func CreatedByLTE(v string) predicate.Program
- func CreatedByNEQ(v string) predicate.Program
- func CreatedByNotIn(vs ...string) predicate.Program
- func CreatedByNotNil() predicate.Program
- func DeletedAt(v time.Time) predicate.Program
- func DeletedAtEQ(v time.Time) predicate.Program
- func DeletedAtGT(v time.Time) predicate.Program
- func DeletedAtGTE(v time.Time) predicate.Program
- func DeletedAtIn(vs ...time.Time) predicate.Program
- func DeletedAtIsNil() predicate.Program
- func DeletedAtLT(v time.Time) predicate.Program
- func DeletedAtLTE(v time.Time) predicate.Program
- func DeletedAtNEQ(v time.Time) predicate.Program
- func DeletedAtNotIn(vs ...time.Time) predicate.Program
- func DeletedAtNotNil() predicate.Program
- func DeletedBy(v string) predicate.Program
- func DeletedByContains(v string) predicate.Program
- func DeletedByContainsFold(v string) predicate.Program
- func DeletedByEQ(v string) predicate.Program
- func DeletedByEqualFold(v string) predicate.Program
- func DeletedByGT(v string) predicate.Program
- func DeletedByGTE(v string) predicate.Program
- func DeletedByHasPrefix(v string) predicate.Program
- func DeletedByHasSuffix(v string) predicate.Program
- func DeletedByIn(vs ...string) predicate.Program
- func DeletedByIsNil() predicate.Program
- func DeletedByLT(v string) predicate.Program
- func DeletedByLTE(v string) predicate.Program
- func DeletedByNEQ(v string) predicate.Program
- func DeletedByNotIn(vs ...string) predicate.Program
- func DeletedByNotNil() predicate.Program
- func Description(v string) predicate.Program
- func DescriptionContains(v string) predicate.Program
- func DescriptionContainsFold(v string) predicate.Program
- func DescriptionEQ(v string) predicate.Program
- func DescriptionEqualFold(v string) predicate.Program
- func DescriptionGT(v string) predicate.Program
- func DescriptionGTE(v string) predicate.Program
- func DescriptionHasPrefix(v string) predicate.Program
- func DescriptionHasSuffix(v string) predicate.Program
- func DescriptionIn(vs ...string) predicate.Program
- func DescriptionIsNil() predicate.Program
- func DescriptionLT(v string) predicate.Program
- func DescriptionLTE(v string) predicate.Program
- func DescriptionNEQ(v string) predicate.Program
- func DescriptionNotIn(vs ...string) predicate.Program
- func DescriptionNotNil() predicate.Program
- func DisplayID(v string) predicate.Program
- func DisplayIDContains(v string) predicate.Program
- func DisplayIDContainsFold(v string) predicate.Program
- func DisplayIDEQ(v string) predicate.Program
- func DisplayIDEqualFold(v string) predicate.Program
- func DisplayIDGT(v string) predicate.Program
- func DisplayIDGTE(v string) predicate.Program
- func DisplayIDHasPrefix(v string) predicate.Program
- func DisplayIDHasSuffix(v string) predicate.Program
- func DisplayIDIn(vs ...string) predicate.Program
- func DisplayIDLT(v string) predicate.Program
- func DisplayIDLTE(v string) predicate.Program
- func DisplayIDNEQ(v string) predicate.Program
- func DisplayIDNotIn(vs ...string) predicate.Program
- func EndDate(v time.Time) predicate.Program
- func EndDateEQ(v time.Time) predicate.Program
- func EndDateGT(v time.Time) predicate.Program
- func EndDateGTE(v time.Time) predicate.Program
- func EndDateIn(vs ...time.Time) predicate.Program
- func EndDateIsNil() predicate.Program
- func EndDateLT(v time.Time) predicate.Program
- func EndDateLTE(v time.Time) predicate.Program
- func EndDateNEQ(v time.Time) predicate.Program
- func EndDateNotIn(vs ...time.Time) predicate.Program
- func EndDateNotNil() predicate.Program
- func FrameworkName(v string) predicate.Program
- func FrameworkNameContains(v string) predicate.Program
- func FrameworkNameContainsFold(v string) predicate.Program
- func FrameworkNameEQ(v string) predicate.Program
- func FrameworkNameEqualFold(v string) predicate.Program
- func FrameworkNameGT(v string) predicate.Program
- func FrameworkNameGTE(v string) predicate.Program
- func FrameworkNameHasPrefix(v string) predicate.Program
- func FrameworkNameHasSuffix(v string) predicate.Program
- func FrameworkNameIn(vs ...string) predicate.Program
- func FrameworkNameIsNil() predicate.Program
- func FrameworkNameLT(v string) predicate.Program
- func FrameworkNameLTE(v string) predicate.Program
- func FrameworkNameNEQ(v string) predicate.Program
- func FrameworkNameNotIn(vs ...string) predicate.Program
- func FrameworkNameNotNil() predicate.Program
- func HasActionPlans() predicate.Program
- func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Program
- func HasBlockedGroups() predicate.Program
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Program
- func HasControlObjectives() predicate.Program
- func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Program
- func HasControls() predicate.Program
- func HasControlsWith(preds ...predicate.Control) predicate.Program
- func HasEditors() predicate.Program
- func HasEditorsWith(preds ...predicate.Group) predicate.Program
- func HasEvidence() predicate.Program
- func HasEvidenceWith(preds ...predicate.Evidence) predicate.Program
- func HasFiles() predicate.Program
- func HasFilesWith(preds ...predicate.File) predicate.Program
- func HasInternalPolicies() predicate.Program
- func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Program
- func HasMembers() predicate.Program
- func HasMembersWith(preds ...predicate.ProgramMembership) predicate.Program
- func HasNarratives() predicate.Program
- func HasNarrativesWith(preds ...predicate.Narrative) predicate.Program
- func HasNotes() predicate.Program
- func HasNotesWith(preds ...predicate.Note) predicate.Program
- func HasOwner() predicate.Program
- func HasOwnerWith(preds ...predicate.Organization) predicate.Program
- func HasProcedures() predicate.Program
- func HasProceduresWith(preds ...predicate.Procedure) predicate.Program
- func HasProgramKind() predicate.Program
- func HasProgramKindWith(preds ...predicate.CustomTypeEnum) predicate.Program
- func HasProgramOwner() predicate.Program
- func HasProgramOwnerWith(preds ...predicate.User) predicate.Program
- func HasRisks() predicate.Program
- func HasRisksWith(preds ...predicate.Risk) predicate.Program
- func HasSubcontrols() predicate.Program
- func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Program
- func HasTasks() predicate.Program
- func HasTasksWith(preds ...predicate.Task) predicate.Program
- func HasUsers() predicate.Program
- func HasUsersWith(preds ...predicate.User) predicate.Program
- func HasViewers() predicate.Program
- func HasViewersWith(preds ...predicate.Group) predicate.Program
- func ID(id string) predicate.Program
- func IDContainsFold(id string) predicate.Program
- func IDEQ(id string) predicate.Program
- func IDEqualFold(id string) predicate.Program
- func IDGT(id string) predicate.Program
- func IDGTE(id string) predicate.Program
- func IDIn(ids ...string) predicate.Program
- func IDLT(id string) predicate.Program
- func IDLTE(id string) predicate.Program
- func IDNEQ(id string) predicate.Program
- func IDNotIn(ids ...string) predicate.Program
- func Name(v string) predicate.Program
- func NameContains(v string) predicate.Program
- func NameContainsFold(v string) predicate.Program
- func NameEQ(v string) predicate.Program
- func NameEqualFold(v string) predicate.Program
- func NameGT(v string) predicate.Program
- func NameGTE(v string) predicate.Program
- func NameHasPrefix(v string) predicate.Program
- func NameHasSuffix(v string) predicate.Program
- func NameIn(vs ...string) predicate.Program
- func NameLT(v string) predicate.Program
- func NameLTE(v string) predicate.Program
- func NameNEQ(v string) predicate.Program
- func NameNotIn(vs ...string) predicate.Program
- func Not(p predicate.Program) predicate.Program
- func Or(predicates ...predicate.Program) predicate.Program
- func OwnerID(v string) predicate.Program
- func OwnerIDContains(v string) predicate.Program
- func OwnerIDContainsFold(v string) predicate.Program
- func OwnerIDEQ(v string) predicate.Program
- func OwnerIDEqualFold(v string) predicate.Program
- func OwnerIDGT(v string) predicate.Program
- func OwnerIDGTE(v string) predicate.Program
- func OwnerIDHasPrefix(v string) predicate.Program
- func OwnerIDHasSuffix(v string) predicate.Program
- func OwnerIDIn(vs ...string) predicate.Program
- func OwnerIDIsNil() predicate.Program
- func OwnerIDLT(v string) predicate.Program
- func OwnerIDLTE(v string) predicate.Program
- func OwnerIDNEQ(v string) predicate.Program
- func OwnerIDNotIn(vs ...string) predicate.Program
- func OwnerIDNotNil() predicate.Program
- func ProgramKindID(v string) predicate.Program
- func ProgramKindIDContains(v string) predicate.Program
- func ProgramKindIDContainsFold(v string) predicate.Program
- func ProgramKindIDEQ(v string) predicate.Program
- func ProgramKindIDEqualFold(v string) predicate.Program
- func ProgramKindIDGT(v string) predicate.Program
- func ProgramKindIDGTE(v string) predicate.Program
- func ProgramKindIDHasPrefix(v string) predicate.Program
- func ProgramKindIDHasSuffix(v string) predicate.Program
- func ProgramKindIDIn(vs ...string) predicate.Program
- func ProgramKindIDIsNil() predicate.Program
- func ProgramKindIDLT(v string) predicate.Program
- func ProgramKindIDLTE(v string) predicate.Program
- func ProgramKindIDNEQ(v string) predicate.Program
- func ProgramKindIDNotIn(vs ...string) predicate.Program
- func ProgramKindIDNotNil() predicate.Program
- func ProgramKindName(v string) predicate.Program
- func ProgramKindNameContains(v string) predicate.Program
- func ProgramKindNameContainsFold(v string) predicate.Program
- func ProgramKindNameEQ(v string) predicate.Program
- func ProgramKindNameEqualFold(v string) predicate.Program
- func ProgramKindNameGT(v string) predicate.Program
- func ProgramKindNameGTE(v string) predicate.Program
- func ProgramKindNameHasPrefix(v string) predicate.Program
- func ProgramKindNameHasSuffix(v string) predicate.Program
- func ProgramKindNameIn(vs ...string) predicate.Program
- func ProgramKindNameIsNil() predicate.Program
- func ProgramKindNameLT(v string) predicate.Program
- func ProgramKindNameLTE(v string) predicate.Program
- func ProgramKindNameNEQ(v string) predicate.Program
- func ProgramKindNameNotIn(vs ...string) predicate.Program
- func ProgramKindNameNotNil() predicate.Program
- func ProgramOwnerID(v string) predicate.Program
- func ProgramOwnerIDContains(v string) predicate.Program
- func ProgramOwnerIDContainsFold(v string) predicate.Program
- func ProgramOwnerIDEQ(v string) predicate.Program
- func ProgramOwnerIDEqualFold(v string) predicate.Program
- func ProgramOwnerIDGT(v string) predicate.Program
- func ProgramOwnerIDGTE(v string) predicate.Program
- func ProgramOwnerIDHasPrefix(v string) predicate.Program
- func ProgramOwnerIDHasSuffix(v string) predicate.Program
- func ProgramOwnerIDIn(vs ...string) predicate.Program
- func ProgramOwnerIDIsNil() predicate.Program
- func ProgramOwnerIDLT(v string) predicate.Program
- func ProgramOwnerIDLTE(v string) predicate.Program
- func ProgramOwnerIDNEQ(v string) predicate.Program
- func ProgramOwnerIDNotIn(vs ...string) predicate.Program
- func ProgramOwnerIDNotNil() predicate.Program
- func ProgramTypeEQ(v enums.ProgramType) predicate.Program
- func ProgramTypeIn(vs ...enums.ProgramType) predicate.Program
- func ProgramTypeNEQ(v enums.ProgramType) predicate.Program
- func ProgramTypeNotIn(vs ...enums.ProgramType) predicate.Program
- func ProgramTypeValidator(pt enums.ProgramType) error
- func StartDate(v time.Time) predicate.Program
- func StartDateEQ(v time.Time) predicate.Program
- func StartDateGT(v time.Time) predicate.Program
- func StartDateGTE(v time.Time) predicate.Program
- func StartDateIn(vs ...time.Time) predicate.Program
- func StartDateIsNil() predicate.Program
- func StartDateLT(v time.Time) predicate.Program
- func StartDateLTE(v time.Time) predicate.Program
- func StartDateNEQ(v time.Time) predicate.Program
- func StartDateNotIn(vs ...time.Time) predicate.Program
- func StartDateNotNil() predicate.Program
- func StatusEQ(v enums.ProgramStatus) predicate.Program
- func StatusIn(vs ...enums.ProgramStatus) predicate.Program
- func StatusNEQ(v enums.ProgramStatus) predicate.Program
- func StatusNotIn(vs ...enums.ProgramStatus) predicate.Program
- func StatusValidator(s enums.ProgramStatus) error
- func TagsIsNil() predicate.Program
- func TagsNotNil() predicate.Program
- func UpdatedAt(v time.Time) predicate.Program
- func UpdatedAtEQ(v time.Time) predicate.Program
- func UpdatedAtGT(v time.Time) predicate.Program
- func UpdatedAtGTE(v time.Time) predicate.Program
- func UpdatedAtIn(vs ...time.Time) predicate.Program
- func UpdatedAtIsNil() predicate.Program
- func UpdatedAtLT(v time.Time) predicate.Program
- func UpdatedAtLTE(v time.Time) predicate.Program
- func UpdatedAtNEQ(v time.Time) predicate.Program
- func UpdatedAtNotIn(vs ...time.Time) predicate.Program
- func UpdatedAtNotNil() predicate.Program
- func UpdatedBy(v string) predicate.Program
- func UpdatedByContains(v string) predicate.Program
- func UpdatedByContainsFold(v string) predicate.Program
- func UpdatedByEQ(v string) predicate.Program
- func UpdatedByEqualFold(v string) predicate.Program
- func UpdatedByGT(v string) predicate.Program
- func UpdatedByGTE(v string) predicate.Program
- func UpdatedByHasPrefix(v string) predicate.Program
- func UpdatedByHasSuffix(v string) predicate.Program
- func UpdatedByIn(vs ...string) predicate.Program
- func UpdatedByIsNil() predicate.Program
- func UpdatedByLT(v string) predicate.Program
- func UpdatedByLTE(v string) predicate.Program
- func UpdatedByNEQ(v string) predicate.Program
- func UpdatedByNotIn(vs ...string) predicate.Program
- func UpdatedByNotNil() predicate.Program
- func ValidColumn(column string) bool
- type OrderOption
- func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption
- func ByAuditFirm(opts ...sql.OrderTermOption) OrderOption
- func ByAuditor(opts ...sql.OrderTermOption) OrderOption
- func ByAuditorEmail(opts ...sql.OrderTermOption) OrderOption
- func ByAuditorReadComments(opts ...sql.OrderTermOption) OrderOption
- func ByAuditorReady(opts ...sql.OrderTermOption) OrderOption
- func ByAuditorWriteComments(opts ...sql.OrderTermOption) OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlObjectivesCount(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 ByEndDate(opts ...sql.OrderTermOption) OrderOption
- func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByFrameworkName(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 ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembersCount(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 ByNotes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNotesCount(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
- func ByProgramKindField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProgramKindID(opts ...sql.OrderTermOption) OrderOption
- func ByProgramKindName(opts ...sql.OrderTermOption) OrderOption
- func ByProgramOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProgramOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByProgramType(opts ...sql.OrderTermOption) OrderOption
- func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
- func ByStartDate(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubcontrolsCount(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 ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
- func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the program type in the database. Label = "program" // 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" // FieldProgramKindName holds the string denoting the program_kind_name field in the database. FieldProgramKindName = "program_kind_name" // FieldProgramKindID holds the string denoting the program_kind_id field in the database. FieldProgramKindID = "program_kind_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" // FieldProgramType holds the string denoting the program_type field in the database. FieldProgramType = "program_type" // FieldFrameworkName holds the string denoting the framework_name field in the database. FieldFrameworkName = "framework_name" // FieldStartDate holds the string denoting the start_date field in the database. FieldStartDate = "start_date" // FieldEndDate holds the string denoting the end_date field in the database. FieldEndDate = "end_date" // FieldAuditorReady holds the string denoting the auditor_ready field in the database. FieldAuditorReady = "auditor_ready" // FieldAuditorWriteComments holds the string denoting the auditor_write_comments field in the database. FieldAuditorWriteComments = "auditor_write_comments" // FieldAuditorReadComments holds the string denoting the auditor_read_comments field in the database. FieldAuditorReadComments = "auditor_read_comments" // FieldAuditFirm holds the string denoting the audit_firm field in the database. FieldAuditFirm = "audit_firm" // FieldAuditor holds the string denoting the auditor field in the database. FieldAuditor = "auditor" // FieldAuditorEmail holds the string denoting the auditor_email field in the database. FieldAuditorEmail = "auditor_email" // FieldProgramOwnerID holds the string denoting the program_owner_id field in the database. FieldProgramOwnerID = "program_owner_id" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations. EdgeBlockedGroups = "blocked_groups" // EdgeEditors holds the string denoting the editors edge name in mutations. EdgeEditors = "editors" // EdgeViewers holds the string denoting the viewers edge name in mutations. EdgeViewers = "viewers" // EdgeProgramKind holds the string denoting the program_kind edge name in mutations. EdgeProgramKind = "program_kind" // EdgeControls holds the string denoting the controls edge name in mutations. EdgeControls = "controls" // EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations. EdgeSubcontrols = "subcontrols" // EdgeControlObjectives holds the string denoting the control_objectives edge name in mutations. EdgeControlObjectives = "control_objectives" // EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations. EdgeInternalPolicies = "internal_policies" // EdgeProcedures holds the string denoting the procedures edge name in mutations. EdgeProcedures = "procedures" // EdgeRisks holds the string denoting the risks edge name in mutations. EdgeRisks = "risks" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgeNotes holds the string denoting the notes edge name in mutations. EdgeNotes = "notes" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgeEvidence holds the string denoting the evidence edge name in mutations. EdgeEvidence = "evidence" // EdgeNarratives holds the string denoting the narratives edge name in mutations. EdgeNarratives = "narratives" // EdgeActionPlans holds the string denoting the action_plans edge name in mutations. EdgeActionPlans = "action_plans" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeProgramOwner holds the string denoting the program_owner edge name in mutations. EdgeProgramOwner = "program_owner" // EdgeMembers holds the string denoting the members edge name in mutations. EdgeMembers = "members" // Table holds the table name of the program in the database. Table = "programs" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "programs" // 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 = "program_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 = "program_editors" // EditorsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. EditorsInverseTable = "groups" // ViewersTable is the table that holds the viewers relation/edge. The primary key declared below. ViewersTable = "program_viewers" // ViewersInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ViewersInverseTable = "groups" // ProgramKindTable is the table that holds the program_kind relation/edge. ProgramKindTable = "programs" // ProgramKindInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. ProgramKindInverseTable = "custom_type_enums" // ProgramKindColumn is the table column denoting the program_kind relation/edge. ProgramKindColumn = "program_kind_id" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "program_controls" // ControlsInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. ControlsInverseTable = "controls" // SubcontrolsTable is the table that holds the subcontrols relation/edge. SubcontrolsTable = "subcontrols" // SubcontrolsInverseTable is the table name for the Subcontrol entity. // It exists in this package in order to avoid circular dependency with the "subcontrol" package. SubcontrolsInverseTable = "subcontrols" // SubcontrolsColumn is the table column denoting the subcontrols relation/edge. SubcontrolsColumn = "program_subcontrols" // ControlObjectivesTable is the table that holds the control_objectives relation/edge. The primary key declared below. ControlObjectivesTable = "program_control_objectives" // ControlObjectivesInverseTable is the table name for the ControlObjective entity. // It exists in this package in order to avoid circular dependency with the "controlobjective" package. ControlObjectivesInverseTable = "control_objectives" // InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below. InternalPoliciesTable = "program_internal_policies" // InternalPoliciesInverseTable is the table name for the InternalPolicy entity. // It exists in this package in order to avoid circular dependency with the "internalpolicy" package. InternalPoliciesInverseTable = "internal_policies" // ProceduresTable is the table that holds the procedures relation/edge. The primary key declared below. ProceduresTable = "program_procedures" // ProceduresInverseTable is the table name for the Procedure entity. // It exists in this package in order to avoid circular dependency with the "procedure" package. ProceduresInverseTable = "procedures" // RisksTable is the table that holds the risks relation/edge. The primary key declared below. RisksTable = "program_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 = "program_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" // NotesTable is the table that holds the notes relation/edge. NotesTable = "notes" // NotesInverseTable is the table name for the Note entity. // It exists in this package in order to avoid circular dependency with the "note" package. NotesInverseTable = "notes" // NotesColumn is the table column denoting the notes relation/edge. NotesColumn = "program_notes" // FilesTable is the table that holds the files relation/edge. The primary key declared below. FilesTable = "program_files" // FilesInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FilesInverseTable = "files" // EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below. EvidenceTable = "program_evidence" // EvidenceInverseTable is the table name for the Evidence entity. // It exists in this package in order to avoid circular dependency with the "evidence" package. EvidenceInverseTable = "evidences" // NarrativesTable is the table that holds the narratives relation/edge. The primary key declared below. NarrativesTable = "program_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" // ActionPlansTable is the table that holds the action_plans relation/edge. The primary key declared below. ActionPlansTable = "program_action_plans" // ActionPlansInverseTable is the table name for the ActionPlan entity. // It exists in this package in order to avoid circular dependency with the "actionplan" package. ActionPlansInverseTable = "action_plans" // UsersTable is the table that holds the users relation/edge. The primary key declared below. UsersTable = "program_memberships" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // ProgramOwnerTable is the table that holds the program_owner relation/edge. ProgramOwnerTable = "programs" // ProgramOwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. ProgramOwnerInverseTable = "users" // ProgramOwnerColumn is the table column denoting the program_owner relation/edge. ProgramOwnerColumn = "program_owner_id" // MembersTable is the table that holds the members relation/edge. MembersTable = "program_memberships" // MembersInverseTable is the table name for the ProgramMembership entity. // It exists in this package in order to avoid circular dependency with the "programmembership" package. MembersInverseTable = "program_memberships" // MembersColumn is the table column denoting the members relation/edge. MembersColumn = "program_id" )
const DefaultProgramType enums.ProgramType = "FRAMEWORK"
const DefaultStatus enums.ProgramStatus = "NOT_STARTED"
Variables ¶
var ( // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"program_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"program_id", "group_id"} // ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the // primary key for the viewers relation (M2M). ViewersPrimaryKey = []string{"program_id", "group_id"} // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"program_id", "control_id"} // ControlObjectivesPrimaryKey and ControlObjectivesColumn2 are the table columns denoting the // primary key for the control_objectives relation (M2M). ControlObjectivesPrimaryKey = []string{"program_id", "control_objective_id"} // InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the // primary key for the internal_policies relation (M2M). InternalPoliciesPrimaryKey = []string{"program_id", "internal_policy_id"} // ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the // primary key for the procedures relation (M2M). ProceduresPrimaryKey = []string{"program_id", "procedure_id"} // RisksPrimaryKey and RisksColumn2 are the table columns denoting the // primary key for the risks relation (M2M). RisksPrimaryKey = []string{"program_id", "risk_id"} // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"program_id", "task_id"} // FilesPrimaryKey and FilesColumn2 are the table columns denoting the // primary key for the files relation (M2M). FilesPrimaryKey = []string{"program_id", "file_id"} // EvidencePrimaryKey and EvidenceColumn2 are the table columns denoting the // primary key for the evidence relation (M2M). EvidencePrimaryKey = []string{"program_id", "evidence_id"} // NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the // primary key for the narratives relation (M2M). NarrativesPrimaryKey = []string{"program_id", "narrative_id"} // ActionPlansPrimaryKey and ActionPlansColumn2 are the table columns denoting the // primary key for the action_plans relation (M2M). ActionPlansPrimaryKey = []string{"program_id", "action_plan_id"} // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"user_id", "program_id"} )
var ( Hooks [12]ent.Hook Interceptors [4]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 // DefaultAuditorReady holds the default value on creation for the "auditor_ready" field. DefaultAuditorReady bool // DefaultAuditorWriteComments holds the default value on creation for the "auditor_write_comments" field. DefaultAuditorWriteComments bool // DefaultAuditorReadComments holds the default value on creation for the "auditor_read_comments" field. DefaultAuditorReadComments bool // AuditorEmailValidator is a validator for the "auditor_email" field. It is called by the builders before save. AuditorEmailValidator 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, FieldDisplayID, FieldTags, FieldOwnerID, FieldProgramKindName, FieldProgramKindID, FieldName, FieldDescription, FieldStatus, FieldProgramType, FieldFrameworkName, FieldStartDate, FieldEndDate, FieldAuditorReady, FieldAuditorWriteComments, FieldAuditorReadComments, FieldAuditFirm, FieldAuditor, FieldAuditorEmail, FieldProgramOwnerID, }
Columns holds all SQL columns for program fields.
var ForeignKeys = []string{
"custom_type_enum_programs",
"finding_programs",
"remediation_programs",
"review_programs",
"vulnerability_programs",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "programs" table and are not defined as standalone fields in the schema.
Functions ¶
func AuditFirm ¶ added in v0.10.9
AuditFirm applies equality check predicate on the "audit_firm" field. It's identical to AuditFirmEQ.
func AuditFirmContains ¶ added in v0.10.9
AuditFirmContains applies the Contains predicate on the "audit_firm" field.
func AuditFirmContainsFold ¶ added in v0.10.9
AuditFirmContainsFold applies the ContainsFold predicate on the "audit_firm" field.
func AuditFirmEQ ¶ added in v0.10.9
AuditFirmEQ applies the EQ predicate on the "audit_firm" field.
func AuditFirmEqualFold ¶ added in v0.10.9
AuditFirmEqualFold applies the EqualFold predicate on the "audit_firm" field.
func AuditFirmGT ¶ added in v0.10.9
AuditFirmGT applies the GT predicate on the "audit_firm" field.
func AuditFirmGTE ¶ added in v0.10.9
AuditFirmGTE applies the GTE predicate on the "audit_firm" field.
func AuditFirmHasPrefix ¶ added in v0.10.9
AuditFirmHasPrefix applies the HasPrefix predicate on the "audit_firm" field.
func AuditFirmHasSuffix ¶ added in v0.10.9
AuditFirmHasSuffix applies the HasSuffix predicate on the "audit_firm" field.
func AuditFirmIn ¶ added in v0.10.9
AuditFirmIn applies the In predicate on the "audit_firm" field.
func AuditFirmIsNil ¶ added in v0.10.9
AuditFirmIsNil applies the IsNil predicate on the "audit_firm" field.
func AuditFirmLT ¶ added in v0.10.9
AuditFirmLT applies the LT predicate on the "audit_firm" field.
func AuditFirmLTE ¶ added in v0.10.9
AuditFirmLTE applies the LTE predicate on the "audit_firm" field.
func AuditFirmNEQ ¶ added in v0.10.9
AuditFirmNEQ applies the NEQ predicate on the "audit_firm" field.
func AuditFirmNotIn ¶ added in v0.10.9
AuditFirmNotIn applies the NotIn predicate on the "audit_firm" field.
func AuditFirmNotNil ¶ added in v0.10.9
AuditFirmNotNil applies the NotNil predicate on the "audit_firm" field.
func Auditor ¶ added in v0.10.9
Auditor applies equality check predicate on the "auditor" field. It's identical to AuditorEQ.
func AuditorContains ¶ added in v0.10.9
AuditorContains applies the Contains predicate on the "auditor" field.
func AuditorContainsFold ¶ added in v0.10.9
AuditorContainsFold applies the ContainsFold predicate on the "auditor" field.
func AuditorEmail ¶ added in v0.10.9
AuditorEmail applies equality check predicate on the "auditor_email" field. It's identical to AuditorEmailEQ.
func AuditorEmailContains ¶ added in v0.10.9
AuditorEmailContains applies the Contains predicate on the "auditor_email" field.
func AuditorEmailContainsFold ¶ added in v0.10.9
AuditorEmailContainsFold applies the ContainsFold predicate on the "auditor_email" field.
func AuditorEmailEQ ¶ added in v0.10.9
AuditorEmailEQ applies the EQ predicate on the "auditor_email" field.
func AuditorEmailEqualFold ¶ added in v0.10.9
AuditorEmailEqualFold applies the EqualFold predicate on the "auditor_email" field.
func AuditorEmailGT ¶ added in v0.10.9
AuditorEmailGT applies the GT predicate on the "auditor_email" field.
func AuditorEmailGTE ¶ added in v0.10.9
AuditorEmailGTE applies the GTE predicate on the "auditor_email" field.
func AuditorEmailHasPrefix ¶ added in v0.10.9
AuditorEmailHasPrefix applies the HasPrefix predicate on the "auditor_email" field.
func AuditorEmailHasSuffix ¶ added in v0.10.9
AuditorEmailHasSuffix applies the HasSuffix predicate on the "auditor_email" field.
func AuditorEmailIn ¶ added in v0.10.9
AuditorEmailIn applies the In predicate on the "auditor_email" field.
func AuditorEmailIsNil ¶ added in v0.10.9
AuditorEmailIsNil applies the IsNil predicate on the "auditor_email" field.
func AuditorEmailLT ¶ added in v0.10.9
AuditorEmailLT applies the LT predicate on the "auditor_email" field.
func AuditorEmailLTE ¶ added in v0.10.9
AuditorEmailLTE applies the LTE predicate on the "auditor_email" field.
func AuditorEmailNEQ ¶ added in v0.10.9
AuditorEmailNEQ applies the NEQ predicate on the "auditor_email" field.
func AuditorEmailNotIn ¶ added in v0.10.9
AuditorEmailNotIn applies the NotIn predicate on the "auditor_email" field.
func AuditorEmailNotNil ¶ added in v0.10.9
AuditorEmailNotNil applies the NotNil predicate on the "auditor_email" field.
func AuditorEqualFold ¶ added in v0.10.9
AuditorEqualFold applies the EqualFold predicate on the "auditor" field.
func AuditorGTE ¶ added in v0.10.9
AuditorGTE applies the GTE predicate on the "auditor" field.
func AuditorHasPrefix ¶ added in v0.10.9
AuditorHasPrefix applies the HasPrefix predicate on the "auditor" field.
func AuditorHasSuffix ¶ added in v0.10.9
AuditorHasSuffix applies the HasSuffix predicate on the "auditor" field.
func AuditorIsNil ¶ added in v0.10.9
AuditorIsNil applies the IsNil predicate on the "auditor" field.
func AuditorLTE ¶ added in v0.10.9
AuditorLTE applies the LTE predicate on the "auditor" field.
func AuditorNEQ ¶ added in v0.10.9
AuditorNEQ applies the NEQ predicate on the "auditor" field.
func AuditorNotIn ¶ added in v0.10.9
AuditorNotIn applies the NotIn predicate on the "auditor" field.
func AuditorNotNil ¶ added in v0.10.9
AuditorNotNil applies the NotNil predicate on the "auditor" field.
func AuditorReadComments ¶
AuditorReadComments applies equality check predicate on the "auditor_read_comments" field. It's identical to AuditorReadCommentsEQ.
func AuditorReadCommentsEQ ¶
AuditorReadCommentsEQ applies the EQ predicate on the "auditor_read_comments" field.
func AuditorReadCommentsNEQ ¶
AuditorReadCommentsNEQ applies the NEQ predicate on the "auditor_read_comments" field.
func AuditorReady ¶
AuditorReady applies equality check predicate on the "auditor_ready" field. It's identical to AuditorReadyEQ.
func AuditorReadyEQ ¶
AuditorReadyEQ applies the EQ predicate on the "auditor_ready" field.
func AuditorReadyNEQ ¶
AuditorReadyNEQ applies the NEQ predicate on the "auditor_ready" field.
func AuditorWriteComments ¶
AuditorWriteComments applies equality check predicate on the "auditor_write_comments" field. It's identical to AuditorWriteCommentsEQ.
func AuditorWriteCommentsEQ ¶
AuditorWriteCommentsEQ applies the EQ predicate on the "auditor_write_comments" field.
func AuditorWriteCommentsNEQ ¶
AuditorWriteCommentsNEQ applies the NEQ predicate on the "auditor_write_comments" 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 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 EndDate ¶
EndDate applies equality check predicate on the "end_date" field. It's identical to EndDateEQ.
func EndDateGTE ¶
EndDateGTE applies the GTE predicate on the "end_date" field.
func EndDateIsNil ¶
EndDateIsNil applies the IsNil predicate on the "end_date" field.
func EndDateLTE ¶
EndDateLTE applies the LTE predicate on the "end_date" field.
func EndDateNEQ ¶
EndDateNEQ applies the NEQ predicate on the "end_date" field.
func EndDateNotIn ¶
EndDateNotIn applies the NotIn predicate on the "end_date" field.
func EndDateNotNil ¶
EndDateNotNil applies the NotNil predicate on the "end_date" field.
func FrameworkName ¶ added in v0.10.8
FrameworkName applies equality check predicate on the "framework_name" field. It's identical to FrameworkNameEQ.
func FrameworkNameContains ¶ added in v0.10.8
FrameworkNameContains applies the Contains predicate on the "framework_name" field.
func FrameworkNameContainsFold ¶ added in v0.10.8
FrameworkNameContainsFold applies the ContainsFold predicate on the "framework_name" field.
func FrameworkNameEQ ¶ added in v0.10.8
FrameworkNameEQ applies the EQ predicate on the "framework_name" field.
func FrameworkNameEqualFold ¶ added in v0.10.8
FrameworkNameEqualFold applies the EqualFold predicate on the "framework_name" field.
func FrameworkNameGT ¶ added in v0.10.8
FrameworkNameGT applies the GT predicate on the "framework_name" field.
func FrameworkNameGTE ¶ added in v0.10.8
FrameworkNameGTE applies the GTE predicate on the "framework_name" field.
func FrameworkNameHasPrefix ¶ added in v0.10.8
FrameworkNameHasPrefix applies the HasPrefix predicate on the "framework_name" field.
func FrameworkNameHasSuffix ¶ added in v0.10.8
FrameworkNameHasSuffix applies the HasSuffix predicate on the "framework_name" field.
func FrameworkNameIn ¶ added in v0.10.8
FrameworkNameIn applies the In predicate on the "framework_name" field.
func FrameworkNameIsNil ¶ added in v0.10.8
FrameworkNameIsNil applies the IsNil predicate on the "framework_name" field.
func FrameworkNameLT ¶ added in v0.10.8
FrameworkNameLT applies the LT predicate on the "framework_name" field.
func FrameworkNameLTE ¶ added in v0.10.8
FrameworkNameLTE applies the LTE predicate on the "framework_name" field.
func FrameworkNameNEQ ¶ added in v0.10.8
FrameworkNameNEQ applies the NEQ predicate on the "framework_name" field.
func FrameworkNameNotIn ¶ added in v0.10.8
FrameworkNameNotIn applies the NotIn predicate on the "framework_name" field.
func FrameworkNameNotNil ¶ added in v0.10.8
FrameworkNameNotNil applies the NotNil predicate on the "framework_name" field.
func HasActionPlans ¶ added in v0.6.1
HasActionPlans applies the HasEdge predicate on the "action_plans" edge.
func HasActionPlansWith ¶ added in v0.6.1
func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Program
HasActionPlansWith applies the HasEdge predicate on the "action_plans" edge with a given conditions (other predicates).
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 HasControlObjectives ¶ added in v0.6.1
HasControlObjectives applies the HasEdge predicate on the "control_objectives" edge.
func HasControlObjectivesWith ¶ added in v0.6.1
func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Program
HasControlObjectivesWith applies the HasEdge predicate on the "control_objectives" edge with a given conditions (other predicates).
func HasControls ¶
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶
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 HasEvidence ¶ added in v0.6.19
HasEvidence applies the HasEdge predicate on the "evidence" edge.
func HasEvidenceWith ¶ added in v0.6.19
HasEvidenceWith applies the HasEdge predicate on the "evidence" edge with a given conditions (other predicates).
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "files" 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.Program
HasInternalPoliciesWith applies the HasEdge predicate on the "internal_policies" edge with a given conditions (other predicates).
func HasMembers ¶
HasMembers applies the HasEdge predicate on the "members" edge.
func HasMembersWith ¶
func HasMembersWith(preds ...predicate.ProgramMembership) predicate.Program
HasMembersWith applies the HasEdge predicate on the "members" 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 HasNotesWith ¶
HasNotesWith applies the HasEdge predicate on the "notes" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Program
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasProcedures ¶
HasProcedures applies the HasEdge predicate on the "procedures" edge.
func HasProceduresWith ¶
HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).
func HasProgramKind ¶ added in v0.43.0
HasProgramKind applies the HasEdge predicate on the "program_kind" edge.
func HasProgramKindWith ¶ added in v0.43.0
func HasProgramKindWith(preds ...predicate.CustomTypeEnum) predicate.Program
HasProgramKindWith applies the HasEdge predicate on the "program_kind" edge with a given conditions (other predicates).
func HasProgramOwner ¶ added in v0.44.0
HasProgramOwner applies the HasEdge predicate on the "program_owner" edge.
func HasProgramOwnerWith ¶ added in v0.44.0
HasProgramOwnerWith applies the HasEdge predicate on the "program_owner" 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 HasSubcontrols ¶
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
func HasSubcontrolsWith ¶
func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Program
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
func HasTasksWith ¶
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func HasViewers ¶ added in v0.4.2
HasViewers applies the HasEdge predicate on the "viewers" edge.
func HasViewersWith ¶ added in v0.4.2
HasViewersWith applies the HasEdge predicate on the "viewers" 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 ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func ProgramKindID ¶ added in v0.43.0
ProgramKindID applies equality check predicate on the "program_kind_id" field. It's identical to ProgramKindIDEQ.
func ProgramKindIDContains ¶ added in v0.43.0
ProgramKindIDContains applies the Contains predicate on the "program_kind_id" field.
func ProgramKindIDContainsFold ¶ added in v0.43.0
ProgramKindIDContainsFold applies the ContainsFold predicate on the "program_kind_id" field.
func ProgramKindIDEQ ¶ added in v0.43.0
ProgramKindIDEQ applies the EQ predicate on the "program_kind_id" field.
func ProgramKindIDEqualFold ¶ added in v0.43.0
ProgramKindIDEqualFold applies the EqualFold predicate on the "program_kind_id" field.
func ProgramKindIDGT ¶ added in v0.43.0
ProgramKindIDGT applies the GT predicate on the "program_kind_id" field.
func ProgramKindIDGTE ¶ added in v0.43.0
ProgramKindIDGTE applies the GTE predicate on the "program_kind_id" field.
func ProgramKindIDHasPrefix ¶ added in v0.43.0
ProgramKindIDHasPrefix applies the HasPrefix predicate on the "program_kind_id" field.
func ProgramKindIDHasSuffix ¶ added in v0.43.0
ProgramKindIDHasSuffix applies the HasSuffix predicate on the "program_kind_id" field.
func ProgramKindIDIn ¶ added in v0.43.0
ProgramKindIDIn applies the In predicate on the "program_kind_id" field.
func ProgramKindIDIsNil ¶ added in v0.43.0
ProgramKindIDIsNil applies the IsNil predicate on the "program_kind_id" field.
func ProgramKindIDLT ¶ added in v0.43.0
ProgramKindIDLT applies the LT predicate on the "program_kind_id" field.
func ProgramKindIDLTE ¶ added in v0.43.0
ProgramKindIDLTE applies the LTE predicate on the "program_kind_id" field.
func ProgramKindIDNEQ ¶ added in v0.43.0
ProgramKindIDNEQ applies the NEQ predicate on the "program_kind_id" field.
func ProgramKindIDNotIn ¶ added in v0.43.0
ProgramKindIDNotIn applies the NotIn predicate on the "program_kind_id" field.
func ProgramKindIDNotNil ¶ added in v0.43.0
ProgramKindIDNotNil applies the NotNil predicate on the "program_kind_id" field.
func ProgramKindName ¶ added in v0.43.0
ProgramKindName applies equality check predicate on the "program_kind_name" field. It's identical to ProgramKindNameEQ.
func ProgramKindNameContains ¶ added in v0.43.0
ProgramKindNameContains applies the Contains predicate on the "program_kind_name" field.
func ProgramKindNameContainsFold ¶ added in v0.43.0
ProgramKindNameContainsFold applies the ContainsFold predicate on the "program_kind_name" field.
func ProgramKindNameEQ ¶ added in v0.43.0
ProgramKindNameEQ applies the EQ predicate on the "program_kind_name" field.
func ProgramKindNameEqualFold ¶ added in v0.43.0
ProgramKindNameEqualFold applies the EqualFold predicate on the "program_kind_name" field.
func ProgramKindNameGT ¶ added in v0.43.0
ProgramKindNameGT applies the GT predicate on the "program_kind_name" field.
func ProgramKindNameGTE ¶ added in v0.43.0
ProgramKindNameGTE applies the GTE predicate on the "program_kind_name" field.
func ProgramKindNameHasPrefix ¶ added in v0.43.0
ProgramKindNameHasPrefix applies the HasPrefix predicate on the "program_kind_name" field.
func ProgramKindNameHasSuffix ¶ added in v0.43.0
ProgramKindNameHasSuffix applies the HasSuffix predicate on the "program_kind_name" field.
func ProgramKindNameIn ¶ added in v0.43.0
ProgramKindNameIn applies the In predicate on the "program_kind_name" field.
func ProgramKindNameIsNil ¶ added in v0.43.0
ProgramKindNameIsNil applies the IsNil predicate on the "program_kind_name" field.
func ProgramKindNameLT ¶ added in v0.43.0
ProgramKindNameLT applies the LT predicate on the "program_kind_name" field.
func ProgramKindNameLTE ¶ added in v0.43.0
ProgramKindNameLTE applies the LTE predicate on the "program_kind_name" field.
func ProgramKindNameNEQ ¶ added in v0.43.0
ProgramKindNameNEQ applies the NEQ predicate on the "program_kind_name" field.
func ProgramKindNameNotIn ¶ added in v0.43.0
ProgramKindNameNotIn applies the NotIn predicate on the "program_kind_name" field.
func ProgramKindNameNotNil ¶ added in v0.43.0
ProgramKindNameNotNil applies the NotNil predicate on the "program_kind_name" field.
func ProgramOwnerID ¶ added in v0.38.1
ProgramOwnerID applies equality check predicate on the "program_owner_id" field. It's identical to ProgramOwnerIDEQ.
func ProgramOwnerIDContains ¶ added in v0.38.1
ProgramOwnerIDContains applies the Contains predicate on the "program_owner_id" field.
func ProgramOwnerIDContainsFold ¶ added in v0.38.1
ProgramOwnerIDContainsFold applies the ContainsFold predicate on the "program_owner_id" field.
func ProgramOwnerIDEQ ¶ added in v0.38.1
ProgramOwnerIDEQ applies the EQ predicate on the "program_owner_id" field.
func ProgramOwnerIDEqualFold ¶ added in v0.38.1
ProgramOwnerIDEqualFold applies the EqualFold predicate on the "program_owner_id" field.
func ProgramOwnerIDGT ¶ added in v0.38.1
ProgramOwnerIDGT applies the GT predicate on the "program_owner_id" field.
func ProgramOwnerIDGTE ¶ added in v0.38.1
ProgramOwnerIDGTE applies the GTE predicate on the "program_owner_id" field.
func ProgramOwnerIDHasPrefix ¶ added in v0.38.1
ProgramOwnerIDHasPrefix applies the HasPrefix predicate on the "program_owner_id" field.
func ProgramOwnerIDHasSuffix ¶ added in v0.38.1
ProgramOwnerIDHasSuffix applies the HasSuffix predicate on the "program_owner_id" field.
func ProgramOwnerIDIn ¶ added in v0.38.1
ProgramOwnerIDIn applies the In predicate on the "program_owner_id" field.
func ProgramOwnerIDIsNil ¶ added in v0.38.1
ProgramOwnerIDIsNil applies the IsNil predicate on the "program_owner_id" field.
func ProgramOwnerIDLT ¶ added in v0.38.1
ProgramOwnerIDLT applies the LT predicate on the "program_owner_id" field.
func ProgramOwnerIDLTE ¶ added in v0.38.1
ProgramOwnerIDLTE applies the LTE predicate on the "program_owner_id" field.
func ProgramOwnerIDNEQ ¶ added in v0.38.1
ProgramOwnerIDNEQ applies the NEQ predicate on the "program_owner_id" field.
func ProgramOwnerIDNotIn ¶ added in v0.38.1
ProgramOwnerIDNotIn applies the NotIn predicate on the "program_owner_id" field.
func ProgramOwnerIDNotNil ¶ added in v0.38.1
ProgramOwnerIDNotNil applies the NotNil predicate on the "program_owner_id" field.
func ProgramTypeEQ ¶ added in v0.10.8
func ProgramTypeEQ(v enums.ProgramType) predicate.Program
ProgramTypeEQ applies the EQ predicate on the "program_type" field.
func ProgramTypeIn ¶ added in v0.10.8
func ProgramTypeIn(vs ...enums.ProgramType) predicate.Program
ProgramTypeIn applies the In predicate on the "program_type" field.
func ProgramTypeNEQ ¶ added in v0.10.8
func ProgramTypeNEQ(v enums.ProgramType) predicate.Program
ProgramTypeNEQ applies the NEQ predicate on the "program_type" field.
func ProgramTypeNotIn ¶ added in v0.10.8
func ProgramTypeNotIn(vs ...enums.ProgramType) predicate.Program
ProgramTypeNotIn applies the NotIn predicate on the "program_type" field.
func ProgramTypeValidator ¶ added in v0.10.8
func ProgramTypeValidator(pt enums.ProgramType) error
ProgramTypeValidator is a validator for the "program_type" field enum values. It is called by the builders before save.
func StartDate ¶
StartDate applies equality check predicate on the "start_date" field. It's identical to StartDateEQ.
func StartDateEQ ¶
StartDateEQ applies the EQ predicate on the "start_date" field.
func StartDateGT ¶
StartDateGT applies the GT predicate on the "start_date" field.
func StartDateGTE ¶
StartDateGTE applies the GTE predicate on the "start_date" field.
func StartDateIn ¶
StartDateIn applies the In predicate on the "start_date" field.
func StartDateIsNil ¶
StartDateIsNil applies the IsNil predicate on the "start_date" field.
func StartDateLT ¶
StartDateLT applies the LT predicate on the "start_date" field.
func StartDateLTE ¶
StartDateLTE applies the LTE predicate on the "start_date" field.
func StartDateNEQ ¶
StartDateNEQ applies the NEQ predicate on the "start_date" field.
func StartDateNotIn ¶
StartDateNotIn applies the NotIn predicate on the "start_date" field.
func StartDateNotNil ¶
StartDateNotNil applies the NotNil predicate on the "start_date" field.
func StatusEQ ¶
func StatusEQ(v enums.ProgramStatus) predicate.Program
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.ProgramStatus) predicate.Program
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.ProgramStatus) predicate.Program
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.ProgramStatus) predicate.Program
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.ProgramStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Program queries.
func ByActionPlans ¶ added in v0.6.1
func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByActionPlans orders the results by action_plans terms.
func ByActionPlansCount ¶ added in v0.6.1
func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption
ByActionPlansCount orders the results by action_plans count.
func ByAuditFirm ¶ added in v0.10.9
func ByAuditFirm(opts ...sql.OrderTermOption) OrderOption
ByAuditFirm orders the results by the audit_firm field.
func ByAuditor ¶ added in v0.10.9
func ByAuditor(opts ...sql.OrderTermOption) OrderOption
ByAuditor orders the results by the auditor field.
func ByAuditorEmail ¶ added in v0.10.9
func ByAuditorEmail(opts ...sql.OrderTermOption) OrderOption
ByAuditorEmail orders the results by the auditor_email field.
func ByAuditorReadComments ¶
func ByAuditorReadComments(opts ...sql.OrderTermOption) OrderOption
ByAuditorReadComments orders the results by the auditor_read_comments field.
func ByAuditorReady ¶
func ByAuditorReady(opts ...sql.OrderTermOption) OrderOption
ByAuditorReady orders the results by the auditor_ready field.
func ByAuditorWriteComments ¶
func ByAuditorWriteComments(opts ...sql.OrderTermOption) OrderOption
ByAuditorWriteComments orders the results by the auditor_write_comments 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 ByControlObjectives ¶ added in v0.6.1
func ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlObjectives orders the results by control_objectives terms.
func ByControlObjectivesCount ¶ added in v0.6.1
func ByControlObjectivesCount(opts ...sql.OrderTermOption) OrderOption
ByControlObjectivesCount orders the results by control_objectives count.
func ByControls ¶
func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControls orders the results by controls terms.
func ByControlsCount ¶
func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
ByControlsCount orders the results by controls count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func 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 ByEndDate ¶
func ByEndDate(opts ...sql.OrderTermOption) OrderOption
ByEndDate orders the results by the end_date field.
func ByEvidence ¶ added in v0.6.19
func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvidence orders the results by evidence terms.
func ByEvidenceCount ¶ added in v0.6.19
func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption
ByEvidenceCount orders the results by evidence count.
func ByFiles ¶
func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFiles orders the results by files terms.
func ByFilesCount ¶
func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
ByFilesCount orders the results by files count.
func ByFrameworkName ¶ added in v0.10.8
func ByFrameworkName(opts ...sql.OrderTermOption) OrderOption
ByFrameworkName orders the results by the framework_name field.
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 ByMembers ¶
func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMembers orders the results by members terms.
func ByMembersCount ¶
func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
ByMembersCount orders the results by members 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 ByNotes ¶
func ByNotes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNotes orders the results by notes terms.
func ByNotesCount ¶
func ByNotesCount(opts ...sql.OrderTermOption) OrderOption
ByNotesCount orders the results by notes count.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByProcedures ¶
func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProcedures orders the results by procedures terms.
func ByProceduresCount ¶
func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
ByProceduresCount orders the results by procedures count.
func ByProgramKindField ¶ added in v0.43.0
func ByProgramKindField(field string, opts ...sql.OrderTermOption) OrderOption
ByProgramKindField orders the results by program_kind field.
func ByProgramKindID ¶ added in v0.43.0
func ByProgramKindID(opts ...sql.OrderTermOption) OrderOption
ByProgramKindID orders the results by the program_kind_id field.
func ByProgramKindName ¶ added in v0.43.0
func ByProgramKindName(opts ...sql.OrderTermOption) OrderOption
ByProgramKindName orders the results by the program_kind_name field.
func ByProgramOwnerField ¶ added in v0.44.0
func ByProgramOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByProgramOwnerField orders the results by program_owner field.
func ByProgramOwnerID ¶ added in v0.38.1
func ByProgramOwnerID(opts ...sql.OrderTermOption) OrderOption
ByProgramOwnerID orders the results by the program_owner_id field.
func ByProgramType ¶ added in v0.10.8
func ByProgramType(opts ...sql.OrderTermOption) OrderOption
ByProgramType orders the results by the program_type 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 ByStartDate ¶
func ByStartDate(opts ...sql.OrderTermOption) OrderOption
ByStartDate orders the results by the start_date field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubcontrols ¶
func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubcontrols orders the results by subcontrols terms.
func BySubcontrolsCount ¶
func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
BySubcontrolsCount orders the results by subcontrols count.
func ByTasks ¶
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByUsers ¶
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.
func ByViewers ¶ added in v0.4.2
func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByViewers orders the results by viewers terms.
func ByViewersCount ¶ added in v0.4.2
func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
ByViewersCount orders the results by viewers count.