systemdetail

package
v1.11.21 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the systemdetail type in the database.
	Label = "system_detail"
	// 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"
	// FieldProgramID holds the string denoting the program_id field in the database.
	FieldProgramID = "program_id"
	// FieldPlatformID holds the string denoting the platform_id field in the database.
	FieldPlatformID = "platform_id"
	// FieldSystemName holds the string denoting the system_name field in the database.
	FieldSystemName = "system_name"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldAuthorizationBoundary holds the string denoting the authorization_boundary field in the database.
	FieldAuthorizationBoundary = "authorization_boundary"
	// FieldSensitivityLevel holds the string denoting the sensitivity_level field in the database.
	FieldSensitivityLevel = "sensitivity_level"
	// FieldLastReviewed holds the string denoting the last_reviewed field in the database.
	FieldLastReviewed = "last_reviewed"
	// FieldRevisionHistory holds the string denoting the revision_history field in the database.
	FieldRevisionHistory = "revision_history"
	// FieldOscalMetadataJSON holds the string denoting the oscal_metadata_json field in the database.
	FieldOscalMetadataJSON = "oscal_metadata_json"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeProgram holds the string denoting the program edge name in mutations.
	EdgeProgram = "program"
	// EdgePlatform holds the string denoting the platform edge name in mutations.
	EdgePlatform = "platform"
	// Table holds the table name of the systemdetail in the database.
	Table = "system_details"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "system_details"
	// 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"
	// ProgramTable is the table that holds the program relation/edge.
	ProgramTable = "system_details"
	// ProgramInverseTable is the table name for the Program entity.
	// It exists in this package in order to avoid circular dependency with the "program" package.
	ProgramInverseTable = "programs"
	// ProgramColumn is the table column denoting the program relation/edge.
	ProgramColumn = "program_id"
	// PlatformTable is the table that holds the platform relation/edge.
	PlatformTable = "system_details"
	// PlatformInverseTable is the table name for the Platform entity.
	// It exists in this package in order to avoid circular dependency with the "platform" package.
	PlatformInverseTable = "platforms"
	// PlatformColumn is the table column denoting the platform relation/edge.
	PlatformColumn = "platform_id"
)
View Source
const DefaultSensitivityLevel enums.SystemSensitivityLevel = "UNKNOWN"

Variables

View Source
var (
	Hooks        [7]ent.Hook
	Interceptors [3]ent.Interceptor
	Policy       ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save.
	DisplayIDValidator func(string) error
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// SystemNameValidator is a validator for the "system_name" field. It is called by the builders before save.
	SystemNameValidator 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"

Columns holds all SQL columns for systemdetail fields.

Functions

func And

func And(predicates ...predicate.SystemDetail) predicate.SystemDetail

And groups predicates with the AND operator between them.

func AuthorizationBoundary

func AuthorizationBoundary(v string) predicate.SystemDetail

AuthorizationBoundary applies equality check predicate on the "authorization_boundary" field. It's identical to AuthorizationBoundaryEQ.

func AuthorizationBoundaryContains

func AuthorizationBoundaryContains(v string) predicate.SystemDetail

AuthorizationBoundaryContains applies the Contains predicate on the "authorization_boundary" field.

func AuthorizationBoundaryContainsFold

func AuthorizationBoundaryContainsFold(v string) predicate.SystemDetail

AuthorizationBoundaryContainsFold applies the ContainsFold predicate on the "authorization_boundary" field.

func AuthorizationBoundaryEQ

func AuthorizationBoundaryEQ(v string) predicate.SystemDetail

AuthorizationBoundaryEQ applies the EQ predicate on the "authorization_boundary" field.

func AuthorizationBoundaryEqualFold

func AuthorizationBoundaryEqualFold(v string) predicate.SystemDetail

AuthorizationBoundaryEqualFold applies the EqualFold predicate on the "authorization_boundary" field.

func AuthorizationBoundaryGT

func AuthorizationBoundaryGT(v string) predicate.SystemDetail

AuthorizationBoundaryGT applies the GT predicate on the "authorization_boundary" field.

func AuthorizationBoundaryGTE

func AuthorizationBoundaryGTE(v string) predicate.SystemDetail

AuthorizationBoundaryGTE applies the GTE predicate on the "authorization_boundary" field.

func AuthorizationBoundaryHasPrefix

func AuthorizationBoundaryHasPrefix(v string) predicate.SystemDetail

AuthorizationBoundaryHasPrefix applies the HasPrefix predicate on the "authorization_boundary" field.

func AuthorizationBoundaryHasSuffix

func AuthorizationBoundaryHasSuffix(v string) predicate.SystemDetail

AuthorizationBoundaryHasSuffix applies the HasSuffix predicate on the "authorization_boundary" field.

func AuthorizationBoundaryIn

func AuthorizationBoundaryIn(vs ...string) predicate.SystemDetail

AuthorizationBoundaryIn applies the In predicate on the "authorization_boundary" field.

func AuthorizationBoundaryIsNil

func AuthorizationBoundaryIsNil() predicate.SystemDetail

AuthorizationBoundaryIsNil applies the IsNil predicate on the "authorization_boundary" field.

func AuthorizationBoundaryLT

func AuthorizationBoundaryLT(v string) predicate.SystemDetail

AuthorizationBoundaryLT applies the LT predicate on the "authorization_boundary" field.

func AuthorizationBoundaryLTE

func AuthorizationBoundaryLTE(v string) predicate.SystemDetail

AuthorizationBoundaryLTE applies the LTE predicate on the "authorization_boundary" field.

func AuthorizationBoundaryNEQ

func AuthorizationBoundaryNEQ(v string) predicate.SystemDetail

AuthorizationBoundaryNEQ applies the NEQ predicate on the "authorization_boundary" field.

func AuthorizationBoundaryNotIn

func AuthorizationBoundaryNotIn(vs ...string) predicate.SystemDetail

AuthorizationBoundaryNotIn applies the NotIn predicate on the "authorization_boundary" field.

func AuthorizationBoundaryNotNil

func AuthorizationBoundaryNotNil() predicate.SystemDetail

AuthorizationBoundaryNotNil applies the NotNil predicate on the "authorization_boundary" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.SystemDetail

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SystemDetail

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SystemDetail

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SystemDetail

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.SystemDetail

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SystemDetail

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SystemDetail

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SystemDetail

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.SystemDetail

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

func CreatedBy

func CreatedBy(v string) predicate.SystemDetail

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

func CreatedByContains

func CreatedByContains(v string) predicate.SystemDetail

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.SystemDetail

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.SystemDetail

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.SystemDetail

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

func CreatedByGT

func CreatedByGT(v string) predicate.SystemDetail

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.SystemDetail

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.SystemDetail

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.SystemDetail

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.SystemDetail

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

func CreatedByLT

func CreatedByLT(v string) predicate.SystemDetail

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.SystemDetail

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.SystemDetail

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.SystemDetail

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

func DeletedAt

func DeletedAt(v time.Time) predicate.SystemDetail

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.SystemDetail

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.SystemDetail

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.SystemDetail

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.SystemDetail

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.SystemDetail

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.SystemDetail

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.SystemDetail

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.SystemDetail

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

func DeletedBy

func DeletedBy(v string) predicate.SystemDetail

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

func DeletedByContains

func DeletedByContains(v string) predicate.SystemDetail

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.SystemDetail

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.SystemDetail

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.SystemDetail

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

func DeletedByGT

func DeletedByGT(v string) predicate.SystemDetail

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.SystemDetail

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.SystemDetail

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.SystemDetail

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.SystemDetail

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

func DeletedByLT

func DeletedByLT(v string) predicate.SystemDetail

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.SystemDetail

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.SystemDetail

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.SystemDetail

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

func Description

func Description(v string) predicate.SystemDetail

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.SystemDetail

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.SystemDetail

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.SystemDetail

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.SystemDetail

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.SystemDetail

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.SystemDetail

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.SystemDetail

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.SystemDetail

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.SystemDetail

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.SystemDetail

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.SystemDetail

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.SystemDetail

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.SystemDetail

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.SystemDetail

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.SystemDetail

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DisplayID

func DisplayID(v string) predicate.SystemDetail

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

func DisplayIDContains

func DisplayIDContains(v string) predicate.SystemDetail

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

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.SystemDetail

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

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.SystemDetail

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

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.SystemDetail

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

func DisplayIDGT

func DisplayIDGT(v string) predicate.SystemDetail

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

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.SystemDetail

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

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.SystemDetail

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

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.SystemDetail

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

func DisplayIDIn

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

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

func DisplayIDLT

func DisplayIDLT(v string) predicate.SystemDetail

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

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.SystemDetail

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

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.SystemDetail

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

func DisplayIDNotIn

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

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

func HasOwner

func HasOwner() predicate.SystemDetail

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

func HasOwnerWith

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

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

func HasPlatform

func HasPlatform() predicate.SystemDetail

HasPlatform applies the HasEdge predicate on the "platform" edge.

func HasPlatformWith

func HasPlatformWith(preds ...predicate.Platform) predicate.SystemDetail

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

func HasProgram

func HasProgram() predicate.SystemDetail

HasProgram applies the HasEdge predicate on the "program" edge.

func HasProgramWith

func HasProgramWith(preds ...predicate.Program) predicate.SystemDetail

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.SystemDetail

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.SystemDetail

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.SystemDetail

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.SystemDetail

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.SystemDetail

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.SystemDetail

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.SystemDetail

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.SystemDetail

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.SystemDetail

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.SystemDetail

IDNotIn applies the NotIn predicate on the ID field.

func LastReviewed

func LastReviewed(v models.DateTime) predicate.SystemDetail

LastReviewed applies equality check predicate on the "last_reviewed" field. It's identical to LastReviewedEQ.

func LastReviewedEQ

func LastReviewedEQ(v models.DateTime) predicate.SystemDetail

LastReviewedEQ applies the EQ predicate on the "last_reviewed" field.

func LastReviewedGT

func LastReviewedGT(v models.DateTime) predicate.SystemDetail

LastReviewedGT applies the GT predicate on the "last_reviewed" field.

func LastReviewedGTE

func LastReviewedGTE(v models.DateTime) predicate.SystemDetail

LastReviewedGTE applies the GTE predicate on the "last_reviewed" field.

func LastReviewedIn

func LastReviewedIn(vs ...models.DateTime) predicate.SystemDetail

LastReviewedIn applies the In predicate on the "last_reviewed" field.

func LastReviewedIsNil

func LastReviewedIsNil() predicate.SystemDetail

LastReviewedIsNil applies the IsNil predicate on the "last_reviewed" field.

func LastReviewedLT

func LastReviewedLT(v models.DateTime) predicate.SystemDetail

LastReviewedLT applies the LT predicate on the "last_reviewed" field.

func LastReviewedLTE

func LastReviewedLTE(v models.DateTime) predicate.SystemDetail

LastReviewedLTE applies the LTE predicate on the "last_reviewed" field.

func LastReviewedNEQ

func LastReviewedNEQ(v models.DateTime) predicate.SystemDetail

LastReviewedNEQ applies the NEQ predicate on the "last_reviewed" field.

func LastReviewedNotIn

func LastReviewedNotIn(vs ...models.DateTime) predicate.SystemDetail

LastReviewedNotIn applies the NotIn predicate on the "last_reviewed" field.

func LastReviewedNotNil

func LastReviewedNotNil() predicate.SystemDetail

LastReviewedNotNil applies the NotNil predicate on the "last_reviewed" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.SystemDetail) predicate.SystemDetail

Or groups predicates with the OR operator between them.

func OscalMetadataJSONIsNil

func OscalMetadataJSONIsNil() predicate.SystemDetail

OscalMetadataJSONIsNil applies the IsNil predicate on the "oscal_metadata_json" field.

func OscalMetadataJSONNotNil

func OscalMetadataJSONNotNil() predicate.SystemDetail

OscalMetadataJSONNotNil applies the NotNil predicate on the "oscal_metadata_json" field.

func OwnerID

func OwnerID(v string) predicate.SystemDetail

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.SystemDetail

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.SystemDetail

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.SystemDetail

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.SystemDetail

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.SystemDetail

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.SystemDetail

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.SystemDetail

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.SystemDetail

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.SystemDetail

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.SystemDetail

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.SystemDetail

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.SystemDetail

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.SystemDetail

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

func PlatformID

func PlatformID(v string) predicate.SystemDetail

PlatformID applies equality check predicate on the "platform_id" field. It's identical to PlatformIDEQ.

func PlatformIDContains

func PlatformIDContains(v string) predicate.SystemDetail

PlatformIDContains applies the Contains predicate on the "platform_id" field.

func PlatformIDContainsFold

func PlatformIDContainsFold(v string) predicate.SystemDetail

PlatformIDContainsFold applies the ContainsFold predicate on the "platform_id" field.

func PlatformIDEQ

func PlatformIDEQ(v string) predicate.SystemDetail

PlatformIDEQ applies the EQ predicate on the "platform_id" field.

func PlatformIDEqualFold

func PlatformIDEqualFold(v string) predicate.SystemDetail

PlatformIDEqualFold applies the EqualFold predicate on the "platform_id" field.

func PlatformIDGT

func PlatformIDGT(v string) predicate.SystemDetail

PlatformIDGT applies the GT predicate on the "platform_id" field.

func PlatformIDGTE

func PlatformIDGTE(v string) predicate.SystemDetail

PlatformIDGTE applies the GTE predicate on the "platform_id" field.

func PlatformIDHasPrefix

func PlatformIDHasPrefix(v string) predicate.SystemDetail

PlatformIDHasPrefix applies the HasPrefix predicate on the "platform_id" field.

func PlatformIDHasSuffix

func PlatformIDHasSuffix(v string) predicate.SystemDetail

PlatformIDHasSuffix applies the HasSuffix predicate on the "platform_id" field.

func PlatformIDIn

func PlatformIDIn(vs ...string) predicate.SystemDetail

PlatformIDIn applies the In predicate on the "platform_id" field.

func PlatformIDIsNil

func PlatformIDIsNil() predicate.SystemDetail

PlatformIDIsNil applies the IsNil predicate on the "platform_id" field.

func PlatformIDLT

func PlatformIDLT(v string) predicate.SystemDetail

PlatformIDLT applies the LT predicate on the "platform_id" field.

func PlatformIDLTE

func PlatformIDLTE(v string) predicate.SystemDetail

PlatformIDLTE applies the LTE predicate on the "platform_id" field.

func PlatformIDNEQ

func PlatformIDNEQ(v string) predicate.SystemDetail

PlatformIDNEQ applies the NEQ predicate on the "platform_id" field.

func PlatformIDNotIn

func PlatformIDNotIn(vs ...string) predicate.SystemDetail

PlatformIDNotIn applies the NotIn predicate on the "platform_id" field.

func PlatformIDNotNil

func PlatformIDNotNil() predicate.SystemDetail

PlatformIDNotNil applies the NotNil predicate on the "platform_id" field.

func ProgramID

func ProgramID(v string) predicate.SystemDetail

ProgramID applies equality check predicate on the "program_id" field. It's identical to ProgramIDEQ.

func ProgramIDContains

func ProgramIDContains(v string) predicate.SystemDetail

ProgramIDContains applies the Contains predicate on the "program_id" field.

func ProgramIDContainsFold

func ProgramIDContainsFold(v string) predicate.SystemDetail

ProgramIDContainsFold applies the ContainsFold predicate on the "program_id" field.

func ProgramIDEQ

func ProgramIDEQ(v string) predicate.SystemDetail

ProgramIDEQ applies the EQ predicate on the "program_id" field.

func ProgramIDEqualFold

func ProgramIDEqualFold(v string) predicate.SystemDetail

ProgramIDEqualFold applies the EqualFold predicate on the "program_id" field.

func ProgramIDGT

func ProgramIDGT(v string) predicate.SystemDetail

ProgramIDGT applies the GT predicate on the "program_id" field.

func ProgramIDGTE

func ProgramIDGTE(v string) predicate.SystemDetail

ProgramIDGTE applies the GTE predicate on the "program_id" field.

func ProgramIDHasPrefix

func ProgramIDHasPrefix(v string) predicate.SystemDetail

ProgramIDHasPrefix applies the HasPrefix predicate on the "program_id" field.

func ProgramIDHasSuffix

func ProgramIDHasSuffix(v string) predicate.SystemDetail

ProgramIDHasSuffix applies the HasSuffix predicate on the "program_id" field.

func ProgramIDIn

func ProgramIDIn(vs ...string) predicate.SystemDetail

ProgramIDIn applies the In predicate on the "program_id" field.

func ProgramIDIsNil

func ProgramIDIsNil() predicate.SystemDetail

ProgramIDIsNil applies the IsNil predicate on the "program_id" field.

func ProgramIDLT

func ProgramIDLT(v string) predicate.SystemDetail

ProgramIDLT applies the LT predicate on the "program_id" field.

func ProgramIDLTE

func ProgramIDLTE(v string) predicate.SystemDetail

ProgramIDLTE applies the LTE predicate on the "program_id" field.

func ProgramIDNEQ

func ProgramIDNEQ(v string) predicate.SystemDetail

ProgramIDNEQ applies the NEQ predicate on the "program_id" field.

func ProgramIDNotIn

func ProgramIDNotIn(vs ...string) predicate.SystemDetail

ProgramIDNotIn applies the NotIn predicate on the "program_id" field.

func ProgramIDNotNil

func ProgramIDNotNil() predicate.SystemDetail

ProgramIDNotNil applies the NotNil predicate on the "program_id" field.

func RevisionHistoryIsNil

func RevisionHistoryIsNil() predicate.SystemDetail

RevisionHistoryIsNil applies the IsNil predicate on the "revision_history" field.

func RevisionHistoryNotNil

func RevisionHistoryNotNil() predicate.SystemDetail

RevisionHistoryNotNil applies the NotNil predicate on the "revision_history" field.

func SensitivityLevelEQ

func SensitivityLevelEQ(v enums.SystemSensitivityLevel) predicate.SystemDetail

SensitivityLevelEQ applies the EQ predicate on the "sensitivity_level" field.

func SensitivityLevelIn

func SensitivityLevelIn(vs ...enums.SystemSensitivityLevel) predicate.SystemDetail

SensitivityLevelIn applies the In predicate on the "sensitivity_level" field.

func SensitivityLevelIsNil

func SensitivityLevelIsNil() predicate.SystemDetail

SensitivityLevelIsNil applies the IsNil predicate on the "sensitivity_level" field.

func SensitivityLevelNEQ

func SensitivityLevelNEQ(v enums.SystemSensitivityLevel) predicate.SystemDetail

SensitivityLevelNEQ applies the NEQ predicate on the "sensitivity_level" field.

func SensitivityLevelNotIn

func SensitivityLevelNotIn(vs ...enums.SystemSensitivityLevel) predicate.SystemDetail

SensitivityLevelNotIn applies the NotIn predicate on the "sensitivity_level" field.

func SensitivityLevelNotNil

func SensitivityLevelNotNil() predicate.SystemDetail

SensitivityLevelNotNil applies the NotNil predicate on the "sensitivity_level" field.

func SensitivityLevelValidator

func SensitivityLevelValidator(sl enums.SystemSensitivityLevel) error

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

func SystemName

func SystemName(v string) predicate.SystemDetail

SystemName applies equality check predicate on the "system_name" field. It's identical to SystemNameEQ.

func SystemNameContains

func SystemNameContains(v string) predicate.SystemDetail

SystemNameContains applies the Contains predicate on the "system_name" field.

func SystemNameContainsFold

func SystemNameContainsFold(v string) predicate.SystemDetail

SystemNameContainsFold applies the ContainsFold predicate on the "system_name" field.

func SystemNameEQ

func SystemNameEQ(v string) predicate.SystemDetail

SystemNameEQ applies the EQ predicate on the "system_name" field.

func SystemNameEqualFold

func SystemNameEqualFold(v string) predicate.SystemDetail

SystemNameEqualFold applies the EqualFold predicate on the "system_name" field.

func SystemNameGT

func SystemNameGT(v string) predicate.SystemDetail

SystemNameGT applies the GT predicate on the "system_name" field.

func SystemNameGTE

func SystemNameGTE(v string) predicate.SystemDetail

SystemNameGTE applies the GTE predicate on the "system_name" field.

func SystemNameHasPrefix

func SystemNameHasPrefix(v string) predicate.SystemDetail

SystemNameHasPrefix applies the HasPrefix predicate on the "system_name" field.

func SystemNameHasSuffix

func SystemNameHasSuffix(v string) predicate.SystemDetail

SystemNameHasSuffix applies the HasSuffix predicate on the "system_name" field.

func SystemNameIn

func SystemNameIn(vs ...string) predicate.SystemDetail

SystemNameIn applies the In predicate on the "system_name" field.

func SystemNameLT

func SystemNameLT(v string) predicate.SystemDetail

SystemNameLT applies the LT predicate on the "system_name" field.

func SystemNameLTE

func SystemNameLTE(v string) predicate.SystemDetail

SystemNameLTE applies the LTE predicate on the "system_name" field.

func SystemNameNEQ

func SystemNameNEQ(v string) predicate.SystemDetail

SystemNameNEQ applies the NEQ predicate on the "system_name" field.

func SystemNameNotIn

func SystemNameNotIn(vs ...string) predicate.SystemDetail

SystemNameNotIn applies the NotIn predicate on the "system_name" field.

func TagsIsNil

func TagsIsNil() predicate.SystemDetail

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

func TagsNotNil

func TagsNotNil() predicate.SystemDetail

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.SystemDetail

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.SystemDetail

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.SystemDetail

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SystemDetail

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.SystemDetail

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.SystemDetail

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SystemDetail

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SystemDetail

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.SystemDetail

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

func UpdatedBy

func UpdatedBy(v string) predicate.SystemDetail

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.SystemDetail

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.SystemDetail

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.SystemDetail

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.SystemDetail

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.SystemDetail

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.SystemDetail

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.SystemDetail

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.SystemDetail

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.SystemDetail

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.SystemDetail

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.SystemDetail

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.SystemDetail

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.SystemDetail

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

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v string) predicate.SystemDetail

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.SystemDetail

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.SystemDetail

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.SystemDetail

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.SystemDetail

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.SystemDetail

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.SystemDetail

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.SystemDetail

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.SystemDetail

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.SystemDetail

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.SystemDetail

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.SystemDetail

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.SystemDetail

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.SystemDetail

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.SystemDetail

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.SystemDetail

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the SystemDetail queries.

func ByAuthorizationBoundary

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

ByAuthorizationBoundary orders the results by the authorization_boundary field.

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

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

ByDisplayID orders the results by the display_id field.

func ByID

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

ByID orders the results by the id field.

func ByLastReviewed

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

ByLastReviewed orders the results by the last_reviewed field.

func ByOwnerField

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

ByOwnerField orders the results by owner field.

func ByOwnerID

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

ByOwnerID orders the results by the owner_id field.

func ByPlatformField

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

ByPlatformField orders the results by platform field.

func ByPlatformID

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

ByPlatformID orders the results by the platform_id field.

func ByProgramField

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

ByProgramField orders the results by program field.

func ByProgramID

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

ByProgramID orders the results by the program_id field.

func BySensitivityLevel

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

BySensitivityLevel orders the results by the sensitivity_level field.

func BySystemName

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

BySystemName orders the results by the system_name 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.

func ByVersion

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

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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