internalpolicyhistory

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the internalpolicyhistory type in the database.
	Label = "internal_policy_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHistoryTime holds the string denoting the history_time field in the database.
	FieldHistoryTime = "history_time"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// 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"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// 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"
	// FieldPolicyType holds the string denoting the policy_type field in the database.
	FieldPolicyType = "policy_type"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldPurposeAndScope holds the string denoting the purpose_and_scope field in the database.
	FieldPurposeAndScope = "purpose_and_scope"
	// FieldBackground holds the string denoting the background field in the database.
	FieldBackground = "background"
	// FieldDetails holds the string denoting the details field in the database.
	FieldDetails = "details"
	// Table holds the table name of the internalpolicyhistory in the database.
	Table = "internal_policy_history"
)

Variables

View Source
var (
	// DefaultHistoryTime holds the default value on creation for the "history_time" field.
	DefaultHistoryTime func() time.Time
	// 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
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for internalpolicyhistory fields.

Functions

func And

And groups predicates with the AND operator between them.

func Background

Background applies equality check predicate on the "background" field. It's identical to BackgroundEQ.

func BackgroundContains

func BackgroundContains(v string) predicate.InternalPolicyHistory

BackgroundContains applies the Contains predicate on the "background" field.

func BackgroundContainsFold

func BackgroundContainsFold(v string) predicate.InternalPolicyHistory

BackgroundContainsFold applies the ContainsFold predicate on the "background" field.

func BackgroundEQ

func BackgroundEQ(v string) predicate.InternalPolicyHistory

BackgroundEQ applies the EQ predicate on the "background" field.

func BackgroundEqualFold

func BackgroundEqualFold(v string) predicate.InternalPolicyHistory

BackgroundEqualFold applies the EqualFold predicate on the "background" field.

func BackgroundGT

func BackgroundGT(v string) predicate.InternalPolicyHistory

BackgroundGT applies the GT predicate on the "background" field.

func BackgroundGTE

func BackgroundGTE(v string) predicate.InternalPolicyHistory

BackgroundGTE applies the GTE predicate on the "background" field.

func BackgroundHasPrefix

func BackgroundHasPrefix(v string) predicate.InternalPolicyHistory

BackgroundHasPrefix applies the HasPrefix predicate on the "background" field.

func BackgroundHasSuffix

func BackgroundHasSuffix(v string) predicate.InternalPolicyHistory

BackgroundHasSuffix applies the HasSuffix predicate on the "background" field.

func BackgroundIn

func BackgroundIn(vs ...string) predicate.InternalPolicyHistory

BackgroundIn applies the In predicate on the "background" field.

func BackgroundIsNil

func BackgroundIsNil() predicate.InternalPolicyHistory

BackgroundIsNil applies the IsNil predicate on the "background" field.

func BackgroundLT

func BackgroundLT(v string) predicate.InternalPolicyHistory

BackgroundLT applies the LT predicate on the "background" field.

func BackgroundLTE

func BackgroundLTE(v string) predicate.InternalPolicyHistory

BackgroundLTE applies the LTE predicate on the "background" field.

func BackgroundNEQ

func BackgroundNEQ(v string) predicate.InternalPolicyHistory

BackgroundNEQ applies the NEQ predicate on the "background" field.

func BackgroundNotIn

func BackgroundNotIn(vs ...string) predicate.InternalPolicyHistory

BackgroundNotIn applies the NotIn predicate on the "background" field.

func BackgroundNotNil

func BackgroundNotNil() predicate.InternalPolicyHistory

BackgroundNotNil applies the NotNil predicate on the "background" field.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.InternalPolicyHistory

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.InternalPolicyHistory

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

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.InternalPolicyHistory

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.InternalPolicyHistory

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.InternalPolicyHistory

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

func CreatedBy

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

func CreatedByContains

func CreatedByContains(v string) predicate.InternalPolicyHistory

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.InternalPolicyHistory

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.InternalPolicyHistory

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.InternalPolicyHistory

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

func CreatedByGT

func CreatedByGT(v string) predicate.InternalPolicyHistory

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.InternalPolicyHistory

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.InternalPolicyHistory

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.InternalPolicyHistory

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.InternalPolicyHistory

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

func CreatedByLT

func CreatedByLT(v string) predicate.InternalPolicyHistory

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.InternalPolicyHistory

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.InternalPolicyHistory

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.InternalPolicyHistory

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

func DeletedAt

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

func DeletedAtEQ

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

func DeletedAtGT

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.InternalPolicyHistory

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.InternalPolicyHistory

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

func DeletedAtLT

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.InternalPolicyHistory

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.InternalPolicyHistory

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.InternalPolicyHistory

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

func DeletedBy

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

func DeletedByContains

func DeletedByContains(v string) predicate.InternalPolicyHistory

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.InternalPolicyHistory

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.InternalPolicyHistory

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.InternalPolicyHistory

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

func DeletedByGT

func DeletedByGT(v string) predicate.InternalPolicyHistory

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.InternalPolicyHistory

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.InternalPolicyHistory

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.InternalPolicyHistory

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.InternalPolicyHistory

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

func DeletedByLT

func DeletedByLT(v string) predicate.InternalPolicyHistory

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.InternalPolicyHistory

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.InternalPolicyHistory

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.InternalPolicyHistory

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

func Description

func Description(v string) predicate.InternalPolicyHistory

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

func DescriptionContains

func DescriptionContains(v string) predicate.InternalPolicyHistory

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.InternalPolicyHistory

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.InternalPolicyHistory

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.InternalPolicyHistory

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

func DescriptionGT

func DescriptionGT(v string) predicate.InternalPolicyHistory

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.InternalPolicyHistory

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.InternalPolicyHistory

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.InternalPolicyHistory

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.InternalPolicyHistory

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.InternalPolicyHistory

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.InternalPolicyHistory

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

func DescriptionNotIn

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

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

func DetailsIsNil

func DetailsIsNil() predicate.InternalPolicyHistory

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

func DetailsNotNil

func DetailsNotNil() predicate.InternalPolicyHistory

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

func HistoryTime

HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.

func HistoryTimeEQ

func HistoryTimeEQ(v time.Time) predicate.InternalPolicyHistory

HistoryTimeEQ applies the EQ predicate on the "history_time" field.

func HistoryTimeGT

func HistoryTimeGT(v time.Time) predicate.InternalPolicyHistory

HistoryTimeGT applies the GT predicate on the "history_time" field.

func HistoryTimeGTE

func HistoryTimeGTE(v time.Time) predicate.InternalPolicyHistory

HistoryTimeGTE applies the GTE predicate on the "history_time" field.

func HistoryTimeIn

func HistoryTimeIn(vs ...time.Time) predicate.InternalPolicyHistory

HistoryTimeIn applies the In predicate on the "history_time" field.

func HistoryTimeLT

func HistoryTimeLT(v time.Time) predicate.InternalPolicyHistory

HistoryTimeLT applies the LT predicate on the "history_time" field.

func HistoryTimeLTE

func HistoryTimeLTE(v time.Time) predicate.InternalPolicyHistory

HistoryTimeLTE applies the LTE predicate on the "history_time" field.

func HistoryTimeNEQ

func HistoryTimeNEQ(v time.Time) predicate.InternalPolicyHistory

HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.

func HistoryTimeNotIn

func HistoryTimeNotIn(vs ...time.Time) predicate.InternalPolicyHistory

HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.InternalPolicyHistory

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.InternalPolicyHistory

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MappingID

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains

func MappingIDContains(v string) predicate.InternalPolicyHistory

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.InternalPolicyHistory

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ

func MappingIDEQ(v string) predicate.InternalPolicyHistory

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.InternalPolicyHistory

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT

func MappingIDGT(v string) predicate.InternalPolicyHistory

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE

func MappingIDGTE(v string) predicate.InternalPolicyHistory

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.InternalPolicyHistory

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.InternalPolicyHistory

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn

func MappingIDIn(vs ...string) predicate.InternalPolicyHistory

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT

func MappingIDLT(v string) predicate.InternalPolicyHistory

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE

func MappingIDLTE(v string) predicate.InternalPolicyHistory

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.InternalPolicyHistory

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn

func MappingIDNotIn(vs ...string) predicate.InternalPolicyHistory

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.InternalPolicyHistory

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.InternalPolicyHistory

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.InternalPolicyHistory

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.InternalPolicyHistory

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.InternalPolicyHistory

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.InternalPolicyHistory

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func OperationEQ

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

func OperationIn(vs ...history.OpType) predicate.InternalPolicyHistory

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

func OperationNotIn(vs ...history.OpType) predicate.InternalPolicyHistory

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o history.OpType) error

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

func Or

Or groups predicates with the OR operator between them.

func PolicyType

PolicyType applies equality check predicate on the "policy_type" field. It's identical to PolicyTypeEQ.

func PolicyTypeContains

func PolicyTypeContains(v string) predicate.InternalPolicyHistory

PolicyTypeContains applies the Contains predicate on the "policy_type" field.

func PolicyTypeContainsFold

func PolicyTypeContainsFold(v string) predicate.InternalPolicyHistory

PolicyTypeContainsFold applies the ContainsFold predicate on the "policy_type" field.

func PolicyTypeEQ

func PolicyTypeEQ(v string) predicate.InternalPolicyHistory

PolicyTypeEQ applies the EQ predicate on the "policy_type" field.

func PolicyTypeEqualFold

func PolicyTypeEqualFold(v string) predicate.InternalPolicyHistory

PolicyTypeEqualFold applies the EqualFold predicate on the "policy_type" field.

func PolicyTypeGT

func PolicyTypeGT(v string) predicate.InternalPolicyHistory

PolicyTypeGT applies the GT predicate on the "policy_type" field.

func PolicyTypeGTE

func PolicyTypeGTE(v string) predicate.InternalPolicyHistory

PolicyTypeGTE applies the GTE predicate on the "policy_type" field.

func PolicyTypeHasPrefix

func PolicyTypeHasPrefix(v string) predicate.InternalPolicyHistory

PolicyTypeHasPrefix applies the HasPrefix predicate on the "policy_type" field.

func PolicyTypeHasSuffix

func PolicyTypeHasSuffix(v string) predicate.InternalPolicyHistory

PolicyTypeHasSuffix applies the HasSuffix predicate on the "policy_type" field.

func PolicyTypeIn

func PolicyTypeIn(vs ...string) predicate.InternalPolicyHistory

PolicyTypeIn applies the In predicate on the "policy_type" field.

func PolicyTypeIsNil

func PolicyTypeIsNil() predicate.InternalPolicyHistory

PolicyTypeIsNil applies the IsNil predicate on the "policy_type" field.

func PolicyTypeLT

func PolicyTypeLT(v string) predicate.InternalPolicyHistory

PolicyTypeLT applies the LT predicate on the "policy_type" field.

func PolicyTypeLTE

func PolicyTypeLTE(v string) predicate.InternalPolicyHistory

PolicyTypeLTE applies the LTE predicate on the "policy_type" field.

func PolicyTypeNEQ

func PolicyTypeNEQ(v string) predicate.InternalPolicyHistory

PolicyTypeNEQ applies the NEQ predicate on the "policy_type" field.

func PolicyTypeNotIn

func PolicyTypeNotIn(vs ...string) predicate.InternalPolicyHistory

PolicyTypeNotIn applies the NotIn predicate on the "policy_type" field.

func PolicyTypeNotNil

func PolicyTypeNotNil() predicate.InternalPolicyHistory

PolicyTypeNotNil applies the NotNil predicate on the "policy_type" field.

func PurposeAndScope

func PurposeAndScope(v string) predicate.InternalPolicyHistory

PurposeAndScope applies equality check predicate on the "purpose_and_scope" field. It's identical to PurposeAndScopeEQ.

func PurposeAndScopeContains

func PurposeAndScopeContains(v string) predicate.InternalPolicyHistory

PurposeAndScopeContains applies the Contains predicate on the "purpose_and_scope" field.

func PurposeAndScopeContainsFold

func PurposeAndScopeContainsFold(v string) predicate.InternalPolicyHistory

PurposeAndScopeContainsFold applies the ContainsFold predicate on the "purpose_and_scope" field.

func PurposeAndScopeEQ

func PurposeAndScopeEQ(v string) predicate.InternalPolicyHistory

PurposeAndScopeEQ applies the EQ predicate on the "purpose_and_scope" field.

func PurposeAndScopeEqualFold

func PurposeAndScopeEqualFold(v string) predicate.InternalPolicyHistory

PurposeAndScopeEqualFold applies the EqualFold predicate on the "purpose_and_scope" field.

func PurposeAndScopeGT

func PurposeAndScopeGT(v string) predicate.InternalPolicyHistory

PurposeAndScopeGT applies the GT predicate on the "purpose_and_scope" field.

func PurposeAndScopeGTE

func PurposeAndScopeGTE(v string) predicate.InternalPolicyHistory

PurposeAndScopeGTE applies the GTE predicate on the "purpose_and_scope" field.

func PurposeAndScopeHasPrefix

func PurposeAndScopeHasPrefix(v string) predicate.InternalPolicyHistory

PurposeAndScopeHasPrefix applies the HasPrefix predicate on the "purpose_and_scope" field.

func PurposeAndScopeHasSuffix

func PurposeAndScopeHasSuffix(v string) predicate.InternalPolicyHistory

PurposeAndScopeHasSuffix applies the HasSuffix predicate on the "purpose_and_scope" field.

func PurposeAndScopeIn

func PurposeAndScopeIn(vs ...string) predicate.InternalPolicyHistory

PurposeAndScopeIn applies the In predicate on the "purpose_and_scope" field.

func PurposeAndScopeIsNil

func PurposeAndScopeIsNil() predicate.InternalPolicyHistory

PurposeAndScopeIsNil applies the IsNil predicate on the "purpose_and_scope" field.

func PurposeAndScopeLT

func PurposeAndScopeLT(v string) predicate.InternalPolicyHistory

PurposeAndScopeLT applies the LT predicate on the "purpose_and_scope" field.

func PurposeAndScopeLTE

func PurposeAndScopeLTE(v string) predicate.InternalPolicyHistory

PurposeAndScopeLTE applies the LTE predicate on the "purpose_and_scope" field.

func PurposeAndScopeNEQ

func PurposeAndScopeNEQ(v string) predicate.InternalPolicyHistory

PurposeAndScopeNEQ applies the NEQ predicate on the "purpose_and_scope" field.

func PurposeAndScopeNotIn

func PurposeAndScopeNotIn(vs ...string) predicate.InternalPolicyHistory

PurposeAndScopeNotIn applies the NotIn predicate on the "purpose_and_scope" field.

func PurposeAndScopeNotNil

func PurposeAndScopeNotNil() predicate.InternalPolicyHistory

PurposeAndScopeNotNil applies the NotNil predicate on the "purpose_and_scope" field.

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefContains

func RefContains(v string) predicate.InternalPolicyHistory

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.InternalPolicyHistory

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

func RefEqualFold(v string) predicate.InternalPolicyHistory

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

RefGT applies the GT predicate on the "ref" field.

func RefGTE

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

func RefHasPrefix(v string) predicate.InternalPolicyHistory

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

func RefHasSuffix(v string) predicate.InternalPolicyHistory

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

RefIn applies the In predicate on the "ref" field.

func RefIsNil

RefIsNil applies the IsNil predicate on the "ref" field.

func RefLT

RefLT applies the LT predicate on the "ref" field.

func RefLTE

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

func RefNotIn(vs ...string) predicate.InternalPolicyHistory

RefNotIn applies the NotIn predicate on the "ref" field.

func RefNotNil

func RefNotNil() predicate.InternalPolicyHistory

RefNotNil applies the NotNil predicate on the "ref" field.

func Status

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.InternalPolicyHistory

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.InternalPolicyHistory

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.InternalPolicyHistory

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.InternalPolicyHistory

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.InternalPolicyHistory

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.InternalPolicyHistory

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.InternalPolicyHistory

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.InternalPolicyHistory

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.InternalPolicyHistory

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

func TagsIsNil

func TagsIsNil() predicate.InternalPolicyHistory

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

func TagsNotNil

func TagsNotNil() predicate.InternalPolicyHistory

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

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.InternalPolicyHistory

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.InternalPolicyHistory

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

func UpdatedAtLT

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.InternalPolicyHistory

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.InternalPolicyHistory

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.InternalPolicyHistory

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

func UpdatedBy

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.InternalPolicyHistory

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.InternalPolicyHistory

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.InternalPolicyHistory

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.InternalPolicyHistory

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.InternalPolicyHistory

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.InternalPolicyHistory

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.InternalPolicyHistory

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.InternalPolicyHistory

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.InternalPolicyHistory

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.InternalPolicyHistory

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.InternalPolicyHistory

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.InternalPolicyHistory

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.InternalPolicyHistory

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

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

func VersionContains

func VersionContains(v string) predicate.InternalPolicyHistory

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

func VersionContainsFold

func VersionContainsFold(v string) predicate.InternalPolicyHistory

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

func VersionEQ

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

func VersionEqualFold

func VersionEqualFold(v string) predicate.InternalPolicyHistory

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

func VersionGT

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

func VersionGTE

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

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.InternalPolicyHistory

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

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.InternalPolicyHistory

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

func VersionIn

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

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

func VersionIsNil

func VersionIsNil() predicate.InternalPolicyHistory

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

func VersionLT

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

func VersionLTE

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

func VersionNEQ

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

func VersionNotIn

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

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

func VersionNotNil

func VersionNotNil() predicate.InternalPolicyHistory

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the InternalPolicyHistory queries.

func ByBackground

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

ByBackground orders the results by the background 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 ByHistoryTime

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

ByHistoryTime orders the results by the history_time field.

func ByID

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

ByID orders the results by the id field.

func ByMappingID

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

ByMappingID orders the results by the mapping_id field.

func ByName

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

ByName orders the results by the name field.

func ByOperation

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

ByOperation orders the results by the operation field.

func ByPolicyType

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

ByPolicyType orders the results by the policy_type field.

func ByPurposeAndScope

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

ByPurposeAndScope orders the results by the purpose_and_scope field.

func ByRef

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

ByRef orders the results by the ref field.

func ByStatus

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

ByStatus orders the results by the status 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