commitrow

package
v1.66.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the commitrow type in the database.
	Label = "commit_row"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldTimestamp holds the string denoting the timestamp field in the database.
	FieldTimestamp = "timestamp"
	// FieldReceivedAt holds the string denoting the received_at field in the database.
	FieldReceivedAt = "received_at"
	// FieldTree holds the string denoting the tree field in the database.
	FieldTree = "tree"
	// FieldParent holds the string denoting the parent field in the database.
	FieldParent = "parent"
	// FieldAgentID holds the string denoting the agent_id field in the database.
	FieldAgentID = "agent_id"
	// FieldScanStartNs holds the string denoting the scan_start_ns field in the database.
	FieldScanStartNs = "scan_start_ns"
	// FieldPolicyVersion holds the string denoting the policy_version field in the database.
	FieldPolicyVersion = "policy_version"
	// FieldKeyID holds the string denoting the key_id field in the database.
	FieldKeyID = "key_id"
	// FieldConsistent holds the string denoting the consistent field in the database.
	FieldConsistent = "consistent"
	// FieldSetID holds the string denoting the set_id field in the database.
	FieldSetID = "set_id"
	// FieldPresence holds the string denoting the presence field in the database.
	FieldPresence = "presence"
	// FieldPartial holds the string denoting the partial field in the database.
	FieldPartial = "partial"
	// FieldIncomplete holds the string denoting the incomplete field in the database.
	FieldIncomplete = "incomplete"
	// FieldRetainedBy holds the string denoting the retained_by field in the database.
	FieldRetainedBy = "retained_by"
	// FieldRetireAt holds the string denoting the retire_at field in the database.
	FieldRetireAt = "retire_at"
	// FieldRetirePolicy holds the string denoting the retire_policy field in the database.
	FieldRetirePolicy = "retire_policy"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldTombstonedAt holds the string denoting the tombstoned_at field in the database.
	FieldTombstonedAt = "tombstoned_at"
	// FieldLogicalSize holds the string denoting the logical_size field in the database.
	FieldLogicalSize = "logical_size"
	// FieldFileCount holds the string denoting the file_count field in the database.
	FieldFileCount = "file_count"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// EdgeSet holds the string denoting the set edge name in mutations.
	EdgeSet = "set"
	// Table holds the table name of the commitrow in the database.
	Table = "commits"
	// SetTable is the table that holds the set relation/edge.
	SetTable = "commits"
	// SetInverseTable is the table name for the Set entity.
	// It exists in this package in order to avoid circular dependency with the "set" package.
	SetInverseTable = "sets"
	// SetColumn is the table column denoting the set relation/edge.
	SetColumn = "set_id"
)

Variables

View Source
var (
	// DefaultAgentID holds the default value on creation for the "agent_id" field.
	DefaultAgentID string
	// DefaultScanStartNs holds the default value on creation for the "scan_start_ns" field.
	DefaultScanStartNs int64
	// DefaultPolicyVersion holds the default value on creation for the "policy_version" field.
	DefaultPolicyVersion uint32
	// DefaultConsistent holds the default value on creation for the "consistent" field.
	DefaultConsistent bool
	// DefaultPartial holds the default value on creation for the "partial" field.
	DefaultPartial bool
	// DefaultIncomplete holds the default value on creation for the "incomplete" field.
	DefaultIncomplete bool
	// DefaultRetainedBy holds the default value on creation for the "retained_by" field.
	DefaultRetainedBy string
)

Columns holds all SQL columns for commitrow fields.

Functions

func AgentID

func AgentID(v string) predicate.CommitRow

AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.

func AgentIDContains

func AgentIDContains(v string) predicate.CommitRow

AgentIDContains applies the Contains predicate on the "agent_id" field.

func AgentIDContainsFold

func AgentIDContainsFold(v string) predicate.CommitRow

AgentIDContainsFold applies the ContainsFold predicate on the "agent_id" field.

func AgentIDEQ

func AgentIDEQ(v string) predicate.CommitRow

AgentIDEQ applies the EQ predicate on the "agent_id" field.

func AgentIDEqualFold

func AgentIDEqualFold(v string) predicate.CommitRow

AgentIDEqualFold applies the EqualFold predicate on the "agent_id" field.

func AgentIDGT

func AgentIDGT(v string) predicate.CommitRow

AgentIDGT applies the GT predicate on the "agent_id" field.

func AgentIDGTE

func AgentIDGTE(v string) predicate.CommitRow

AgentIDGTE applies the GTE predicate on the "agent_id" field.

func AgentIDHasPrefix

func AgentIDHasPrefix(v string) predicate.CommitRow

AgentIDHasPrefix applies the HasPrefix predicate on the "agent_id" field.

func AgentIDHasSuffix

func AgentIDHasSuffix(v string) predicate.CommitRow

AgentIDHasSuffix applies the HasSuffix predicate on the "agent_id" field.

func AgentIDIn

func AgentIDIn(vs ...string) predicate.CommitRow

AgentIDIn applies the In predicate on the "agent_id" field.

func AgentIDLT

func AgentIDLT(v string) predicate.CommitRow

AgentIDLT applies the LT predicate on the "agent_id" field.

func AgentIDLTE

func AgentIDLTE(v string) predicate.CommitRow

AgentIDLTE applies the LTE predicate on the "agent_id" field.

func AgentIDNEQ

func AgentIDNEQ(v string) predicate.CommitRow

AgentIDNEQ applies the NEQ predicate on the "agent_id" field.

func AgentIDNotIn

func AgentIDNotIn(vs ...string) predicate.CommitRow

AgentIDNotIn applies the NotIn predicate on the "agent_id" field.

func And

func And(predicates ...predicate.CommitRow) predicate.CommitRow

And groups predicates with the AND operator between them.

func Consistent

func Consistent(v bool) predicate.CommitRow

Consistent applies equality check predicate on the "consistent" field. It's identical to ConsistentEQ.

func ConsistentEQ

func ConsistentEQ(v bool) predicate.CommitRow

ConsistentEQ applies the EQ predicate on the "consistent" field.

func ConsistentNEQ

func ConsistentNEQ(v bool) predicate.CommitRow

ConsistentNEQ applies the NEQ predicate on the "consistent" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.CommitRow

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.CommitRow

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.CommitRow

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.CommitRow

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.CommitRow

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.CommitRow

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.CommitRow

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.CommitRow

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.CommitRow

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

func ExpiresAt

func ExpiresAt(v time.Time) predicate.CommitRow

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.CommitRow

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.CommitRow

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.CommitRow

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.CommitRow

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.CommitRow

ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.CommitRow

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.CommitRow

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.CommitRow

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.CommitRow

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.CommitRow

ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.

func FileCount

func FileCount(v int64) predicate.CommitRow

FileCount applies equality check predicate on the "file_count" field. It's identical to FileCountEQ.

func FileCountEQ

func FileCountEQ(v int64) predicate.CommitRow

FileCountEQ applies the EQ predicate on the "file_count" field.

func FileCountGT

func FileCountGT(v int64) predicate.CommitRow

FileCountGT applies the GT predicate on the "file_count" field.

func FileCountGTE

func FileCountGTE(v int64) predicate.CommitRow

FileCountGTE applies the GTE predicate on the "file_count" field.

func FileCountIn

func FileCountIn(vs ...int64) predicate.CommitRow

FileCountIn applies the In predicate on the "file_count" field.

func FileCountIsNil

func FileCountIsNil() predicate.CommitRow

FileCountIsNil applies the IsNil predicate on the "file_count" field.

func FileCountLT

func FileCountLT(v int64) predicate.CommitRow

FileCountLT applies the LT predicate on the "file_count" field.

func FileCountLTE

func FileCountLTE(v int64) predicate.CommitRow

FileCountLTE applies the LTE predicate on the "file_count" field.

func FileCountNEQ

func FileCountNEQ(v int64) predicate.CommitRow

FileCountNEQ applies the NEQ predicate on the "file_count" field.

func FileCountNotIn

func FileCountNotIn(vs ...int64) predicate.CommitRow

FileCountNotIn applies the NotIn predicate on the "file_count" field.

func FileCountNotNil

func FileCountNotNil() predicate.CommitRow

FileCountNotNil applies the NotNil predicate on the "file_count" field.

func HasSet

func HasSet() predicate.CommitRow

HasSet applies the HasEdge predicate on the "set" edge.

func HasSetWith

func HasSetWith(preds ...predicate.Set) predicate.CommitRow

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

func ID

func ID(id int) predicate.CommitRow

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.CommitRow

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.CommitRow

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.CommitRow

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.CommitRow

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.CommitRow

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.CommitRow

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.CommitRow

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.CommitRow

IDNotIn applies the NotIn predicate on the ID field.

func Incomplete

func Incomplete(v bool) predicate.CommitRow

Incomplete applies equality check predicate on the "incomplete" field. It's identical to IncompleteEQ.

func IncompleteEQ

func IncompleteEQ(v bool) predicate.CommitRow

IncompleteEQ applies the EQ predicate on the "incomplete" field.

func IncompleteNEQ

func IncompleteNEQ(v bool) predicate.CommitRow

IncompleteNEQ applies the NEQ predicate on the "incomplete" field.

func KeyID

func KeyID(v string) predicate.CommitRow

KeyID applies equality check predicate on the "key_id" field. It's identical to KeyIDEQ.

func KeyIDContains

func KeyIDContains(v string) predicate.CommitRow

KeyIDContains applies the Contains predicate on the "key_id" field.

func KeyIDContainsFold

func KeyIDContainsFold(v string) predicate.CommitRow

KeyIDContainsFold applies the ContainsFold predicate on the "key_id" field.

func KeyIDEQ

func KeyIDEQ(v string) predicate.CommitRow

KeyIDEQ applies the EQ predicate on the "key_id" field.

func KeyIDEqualFold

func KeyIDEqualFold(v string) predicate.CommitRow

KeyIDEqualFold applies the EqualFold predicate on the "key_id" field.

func KeyIDGT

func KeyIDGT(v string) predicate.CommitRow

KeyIDGT applies the GT predicate on the "key_id" field.

func KeyIDGTE

func KeyIDGTE(v string) predicate.CommitRow

KeyIDGTE applies the GTE predicate on the "key_id" field.

func KeyIDHasPrefix

func KeyIDHasPrefix(v string) predicate.CommitRow

KeyIDHasPrefix applies the HasPrefix predicate on the "key_id" field.

func KeyIDHasSuffix

func KeyIDHasSuffix(v string) predicate.CommitRow

KeyIDHasSuffix applies the HasSuffix predicate on the "key_id" field.

func KeyIDIn

func KeyIDIn(vs ...string) predicate.CommitRow

KeyIDIn applies the In predicate on the "key_id" field.

func KeyIDIsNil

func KeyIDIsNil() predicate.CommitRow

KeyIDIsNil applies the IsNil predicate on the "key_id" field.

func KeyIDLT

func KeyIDLT(v string) predicate.CommitRow

KeyIDLT applies the LT predicate on the "key_id" field.

func KeyIDLTE

func KeyIDLTE(v string) predicate.CommitRow

KeyIDLTE applies the LTE predicate on the "key_id" field.

func KeyIDNEQ

func KeyIDNEQ(v string) predicate.CommitRow

KeyIDNEQ applies the NEQ predicate on the "key_id" field.

func KeyIDNotIn

func KeyIDNotIn(vs ...string) predicate.CommitRow

KeyIDNotIn applies the NotIn predicate on the "key_id" field.

func KeyIDNotNil

func KeyIDNotNil() predicate.CommitRow

KeyIDNotNil applies the NotNil predicate on the "key_id" field.

func LogicalSize

func LogicalSize(v int64) predicate.CommitRow

LogicalSize applies equality check predicate on the "logical_size" field. It's identical to LogicalSizeEQ.

func LogicalSizeEQ

func LogicalSizeEQ(v int64) predicate.CommitRow

LogicalSizeEQ applies the EQ predicate on the "logical_size" field.

func LogicalSizeGT

func LogicalSizeGT(v int64) predicate.CommitRow

LogicalSizeGT applies the GT predicate on the "logical_size" field.

func LogicalSizeGTE

func LogicalSizeGTE(v int64) predicate.CommitRow

LogicalSizeGTE applies the GTE predicate on the "logical_size" field.

func LogicalSizeIn

func LogicalSizeIn(vs ...int64) predicate.CommitRow

LogicalSizeIn applies the In predicate on the "logical_size" field.

func LogicalSizeIsNil

func LogicalSizeIsNil() predicate.CommitRow

LogicalSizeIsNil applies the IsNil predicate on the "logical_size" field.

func LogicalSizeLT

func LogicalSizeLT(v int64) predicate.CommitRow

LogicalSizeLT applies the LT predicate on the "logical_size" field.

func LogicalSizeLTE

func LogicalSizeLTE(v int64) predicate.CommitRow

LogicalSizeLTE applies the LTE predicate on the "logical_size" field.

func LogicalSizeNEQ

func LogicalSizeNEQ(v int64) predicate.CommitRow

LogicalSizeNEQ applies the NEQ predicate on the "logical_size" field.

func LogicalSizeNotIn

func LogicalSizeNotIn(vs ...int64) predicate.CommitRow

LogicalSizeNotIn applies the NotIn predicate on the "logical_size" field.

func LogicalSizeNotNil

func LogicalSizeNotNil() predicate.CommitRow

LogicalSizeNotNil applies the NotNil predicate on the "logical_size" field.

func MetadataIsNil

func MetadataIsNil() predicate.CommitRow

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.CommitRow

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.CommitRow) predicate.CommitRow

Or groups predicates with the OR operator between them.

func Parent

func Parent(v []byte) predicate.CommitRow

Parent applies equality check predicate on the "parent" field. It's identical to ParentEQ.

func ParentEQ

func ParentEQ(v []byte) predicate.CommitRow

ParentEQ applies the EQ predicate on the "parent" field.

func ParentGT

func ParentGT(v []byte) predicate.CommitRow

ParentGT applies the GT predicate on the "parent" field.

func ParentGTE

func ParentGTE(v []byte) predicate.CommitRow

ParentGTE applies the GTE predicate on the "parent" field.

func ParentIn

func ParentIn(vs ...[]byte) predicate.CommitRow

ParentIn applies the In predicate on the "parent" field.

func ParentIsNil

func ParentIsNil() predicate.CommitRow

ParentIsNil applies the IsNil predicate on the "parent" field.

func ParentLT

func ParentLT(v []byte) predicate.CommitRow

ParentLT applies the LT predicate on the "parent" field.

func ParentLTE

func ParentLTE(v []byte) predicate.CommitRow

ParentLTE applies the LTE predicate on the "parent" field.

func ParentNEQ

func ParentNEQ(v []byte) predicate.CommitRow

ParentNEQ applies the NEQ predicate on the "parent" field.

func ParentNotIn

func ParentNotIn(vs ...[]byte) predicate.CommitRow

ParentNotIn applies the NotIn predicate on the "parent" field.

func ParentNotNil

func ParentNotNil() predicate.CommitRow

ParentNotNil applies the NotNil predicate on the "parent" field.

func Partial

func Partial(v bool) predicate.CommitRow

Partial applies equality check predicate on the "partial" field. It's identical to PartialEQ.

func PartialEQ

func PartialEQ(v bool) predicate.CommitRow

PartialEQ applies the EQ predicate on the "partial" field.

func PartialNEQ

func PartialNEQ(v bool) predicate.CommitRow

PartialNEQ applies the NEQ predicate on the "partial" field.

func PolicyVersion

func PolicyVersion(v uint32) predicate.CommitRow

PolicyVersion applies equality check predicate on the "policy_version" field. It's identical to PolicyVersionEQ.

func PolicyVersionEQ

func PolicyVersionEQ(v uint32) predicate.CommitRow

PolicyVersionEQ applies the EQ predicate on the "policy_version" field.

func PolicyVersionGT

func PolicyVersionGT(v uint32) predicate.CommitRow

PolicyVersionGT applies the GT predicate on the "policy_version" field.

func PolicyVersionGTE

func PolicyVersionGTE(v uint32) predicate.CommitRow

PolicyVersionGTE applies the GTE predicate on the "policy_version" field.

func PolicyVersionIn

func PolicyVersionIn(vs ...uint32) predicate.CommitRow

PolicyVersionIn applies the In predicate on the "policy_version" field.

func PolicyVersionLT

func PolicyVersionLT(v uint32) predicate.CommitRow

PolicyVersionLT applies the LT predicate on the "policy_version" field.

func PolicyVersionLTE

func PolicyVersionLTE(v uint32) predicate.CommitRow

PolicyVersionLTE applies the LTE predicate on the "policy_version" field.

func PolicyVersionNEQ

func PolicyVersionNEQ(v uint32) predicate.CommitRow

PolicyVersionNEQ applies the NEQ predicate on the "policy_version" field.

func PolicyVersionNotIn

func PolicyVersionNotIn(vs ...uint32) predicate.CommitRow

PolicyVersionNotIn applies the NotIn predicate on the "policy_version" field.

func Presence

func Presence(v []byte) predicate.CommitRow

Presence applies equality check predicate on the "presence" field. It's identical to PresenceEQ.

func PresenceEQ

func PresenceEQ(v []byte) predicate.CommitRow

PresenceEQ applies the EQ predicate on the "presence" field.

func PresenceGT

func PresenceGT(v []byte) predicate.CommitRow

PresenceGT applies the GT predicate on the "presence" field.

func PresenceGTE

func PresenceGTE(v []byte) predicate.CommitRow

PresenceGTE applies the GTE predicate on the "presence" field.

func PresenceIn

func PresenceIn(vs ...[]byte) predicate.CommitRow

PresenceIn applies the In predicate on the "presence" field.

func PresenceIsNil

func PresenceIsNil() predicate.CommitRow

PresenceIsNil applies the IsNil predicate on the "presence" field.

func PresenceLT

func PresenceLT(v []byte) predicate.CommitRow

PresenceLT applies the LT predicate on the "presence" field.

func PresenceLTE

func PresenceLTE(v []byte) predicate.CommitRow

PresenceLTE applies the LTE predicate on the "presence" field.

func PresenceNEQ

func PresenceNEQ(v []byte) predicate.CommitRow

PresenceNEQ applies the NEQ predicate on the "presence" field.

func PresenceNotIn

func PresenceNotIn(vs ...[]byte) predicate.CommitRow

PresenceNotIn applies the NotIn predicate on the "presence" field.

func PresenceNotNil

func PresenceNotNil() predicate.CommitRow

PresenceNotNil applies the NotNil predicate on the "presence" field.

func ReceivedAt

func ReceivedAt(v time.Time) predicate.CommitRow

ReceivedAt applies equality check predicate on the "received_at" field. It's identical to ReceivedAtEQ.

func ReceivedAtEQ

func ReceivedAtEQ(v time.Time) predicate.CommitRow

ReceivedAtEQ applies the EQ predicate on the "received_at" field.

func ReceivedAtGT

func ReceivedAtGT(v time.Time) predicate.CommitRow

ReceivedAtGT applies the GT predicate on the "received_at" field.

func ReceivedAtGTE

func ReceivedAtGTE(v time.Time) predicate.CommitRow

ReceivedAtGTE applies the GTE predicate on the "received_at" field.

func ReceivedAtIn

func ReceivedAtIn(vs ...time.Time) predicate.CommitRow

ReceivedAtIn applies the In predicate on the "received_at" field.

func ReceivedAtLT

func ReceivedAtLT(v time.Time) predicate.CommitRow

ReceivedAtLT applies the LT predicate on the "received_at" field.

func ReceivedAtLTE

func ReceivedAtLTE(v time.Time) predicate.CommitRow

ReceivedAtLTE applies the LTE predicate on the "received_at" field.

func ReceivedAtNEQ

func ReceivedAtNEQ(v time.Time) predicate.CommitRow

ReceivedAtNEQ applies the NEQ predicate on the "received_at" field.

func ReceivedAtNotIn

func ReceivedAtNotIn(vs ...time.Time) predicate.CommitRow

ReceivedAtNotIn applies the NotIn predicate on the "received_at" field.

func Ref

func Ref(v []byte) predicate.CommitRow

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

func RefEQ

func RefEQ(v []byte) predicate.CommitRow

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

func RefGT

func RefGT(v []byte) predicate.CommitRow

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

func RefGTE

func RefGTE(v []byte) predicate.CommitRow

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

func RefIn

func RefIn(vs ...[]byte) predicate.CommitRow

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

func RefLT

func RefLT(v []byte) predicate.CommitRow

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

func RefLTE

func RefLTE(v []byte) predicate.CommitRow

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

func RefNEQ

func RefNEQ(v []byte) predicate.CommitRow

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

func RefNotIn

func RefNotIn(vs ...[]byte) predicate.CommitRow

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

func RetainedBy

func RetainedBy(v string) predicate.CommitRow

RetainedBy applies equality check predicate on the "retained_by" field. It's identical to RetainedByEQ.

func RetainedByContains

func RetainedByContains(v string) predicate.CommitRow

RetainedByContains applies the Contains predicate on the "retained_by" field.

func RetainedByContainsFold

func RetainedByContainsFold(v string) predicate.CommitRow

RetainedByContainsFold applies the ContainsFold predicate on the "retained_by" field.

func RetainedByEQ

func RetainedByEQ(v string) predicate.CommitRow

RetainedByEQ applies the EQ predicate on the "retained_by" field.

func RetainedByEqualFold

func RetainedByEqualFold(v string) predicate.CommitRow

RetainedByEqualFold applies the EqualFold predicate on the "retained_by" field.

func RetainedByGT

func RetainedByGT(v string) predicate.CommitRow

RetainedByGT applies the GT predicate on the "retained_by" field.

func RetainedByGTE

func RetainedByGTE(v string) predicate.CommitRow

RetainedByGTE applies the GTE predicate on the "retained_by" field.

func RetainedByHasPrefix

func RetainedByHasPrefix(v string) predicate.CommitRow

RetainedByHasPrefix applies the HasPrefix predicate on the "retained_by" field.

func RetainedByHasSuffix

func RetainedByHasSuffix(v string) predicate.CommitRow

RetainedByHasSuffix applies the HasSuffix predicate on the "retained_by" field.

func RetainedByIn

func RetainedByIn(vs ...string) predicate.CommitRow

RetainedByIn applies the In predicate on the "retained_by" field.

func RetainedByLT

func RetainedByLT(v string) predicate.CommitRow

RetainedByLT applies the LT predicate on the "retained_by" field.

func RetainedByLTE

func RetainedByLTE(v string) predicate.CommitRow

RetainedByLTE applies the LTE predicate on the "retained_by" field.

func RetainedByNEQ

func RetainedByNEQ(v string) predicate.CommitRow

RetainedByNEQ applies the NEQ predicate on the "retained_by" field.

func RetainedByNotIn

func RetainedByNotIn(vs ...string) predicate.CommitRow

RetainedByNotIn applies the NotIn predicate on the "retained_by" field.

func RetireAt

func RetireAt(v time.Time) predicate.CommitRow

RetireAt applies equality check predicate on the "retire_at" field. It's identical to RetireAtEQ.

func RetireAtEQ

func RetireAtEQ(v time.Time) predicate.CommitRow

RetireAtEQ applies the EQ predicate on the "retire_at" field.

func RetireAtGT

func RetireAtGT(v time.Time) predicate.CommitRow

RetireAtGT applies the GT predicate on the "retire_at" field.

func RetireAtGTE

func RetireAtGTE(v time.Time) predicate.CommitRow

RetireAtGTE applies the GTE predicate on the "retire_at" field.

func RetireAtIn

func RetireAtIn(vs ...time.Time) predicate.CommitRow

RetireAtIn applies the In predicate on the "retire_at" field.

func RetireAtIsNil

func RetireAtIsNil() predicate.CommitRow

RetireAtIsNil applies the IsNil predicate on the "retire_at" field.

func RetireAtLT

func RetireAtLT(v time.Time) predicate.CommitRow

RetireAtLT applies the LT predicate on the "retire_at" field.

func RetireAtLTE

func RetireAtLTE(v time.Time) predicate.CommitRow

RetireAtLTE applies the LTE predicate on the "retire_at" field.

func RetireAtNEQ

func RetireAtNEQ(v time.Time) predicate.CommitRow

RetireAtNEQ applies the NEQ predicate on the "retire_at" field.

func RetireAtNotIn

func RetireAtNotIn(vs ...time.Time) predicate.CommitRow

RetireAtNotIn applies the NotIn predicate on the "retire_at" field.

func RetireAtNotNil

func RetireAtNotNil() predicate.CommitRow

RetireAtNotNil applies the NotNil predicate on the "retire_at" field.

func RetirePolicy

func RetirePolicy(v string) predicate.CommitRow

RetirePolicy applies equality check predicate on the "retire_policy" field. It's identical to RetirePolicyEQ.

func RetirePolicyContains

func RetirePolicyContains(v string) predicate.CommitRow

RetirePolicyContains applies the Contains predicate on the "retire_policy" field.

func RetirePolicyContainsFold

func RetirePolicyContainsFold(v string) predicate.CommitRow

RetirePolicyContainsFold applies the ContainsFold predicate on the "retire_policy" field.

func RetirePolicyEQ

func RetirePolicyEQ(v string) predicate.CommitRow

RetirePolicyEQ applies the EQ predicate on the "retire_policy" field.

func RetirePolicyEqualFold

func RetirePolicyEqualFold(v string) predicate.CommitRow

RetirePolicyEqualFold applies the EqualFold predicate on the "retire_policy" field.

func RetirePolicyGT

func RetirePolicyGT(v string) predicate.CommitRow

RetirePolicyGT applies the GT predicate on the "retire_policy" field.

func RetirePolicyGTE

func RetirePolicyGTE(v string) predicate.CommitRow

RetirePolicyGTE applies the GTE predicate on the "retire_policy" field.

func RetirePolicyHasPrefix

func RetirePolicyHasPrefix(v string) predicate.CommitRow

RetirePolicyHasPrefix applies the HasPrefix predicate on the "retire_policy" field.

func RetirePolicyHasSuffix

func RetirePolicyHasSuffix(v string) predicate.CommitRow

RetirePolicyHasSuffix applies the HasSuffix predicate on the "retire_policy" field.

func RetirePolicyIn

func RetirePolicyIn(vs ...string) predicate.CommitRow

RetirePolicyIn applies the In predicate on the "retire_policy" field.

func RetirePolicyIsNil

func RetirePolicyIsNil() predicate.CommitRow

RetirePolicyIsNil applies the IsNil predicate on the "retire_policy" field.

func RetirePolicyLT

func RetirePolicyLT(v string) predicate.CommitRow

RetirePolicyLT applies the LT predicate on the "retire_policy" field.

func RetirePolicyLTE

func RetirePolicyLTE(v string) predicate.CommitRow

RetirePolicyLTE applies the LTE predicate on the "retire_policy" field.

func RetirePolicyNEQ

func RetirePolicyNEQ(v string) predicate.CommitRow

RetirePolicyNEQ applies the NEQ predicate on the "retire_policy" field.

func RetirePolicyNotIn

func RetirePolicyNotIn(vs ...string) predicate.CommitRow

RetirePolicyNotIn applies the NotIn predicate on the "retire_policy" field.

func RetirePolicyNotNil

func RetirePolicyNotNil() predicate.CommitRow

RetirePolicyNotNil applies the NotNil predicate on the "retire_policy" field.

func ScanStartNs

func ScanStartNs(v int64) predicate.CommitRow

ScanStartNs applies equality check predicate on the "scan_start_ns" field. It's identical to ScanStartNsEQ.

func ScanStartNsEQ

func ScanStartNsEQ(v int64) predicate.CommitRow

ScanStartNsEQ applies the EQ predicate on the "scan_start_ns" field.

func ScanStartNsGT

func ScanStartNsGT(v int64) predicate.CommitRow

ScanStartNsGT applies the GT predicate on the "scan_start_ns" field.

func ScanStartNsGTE

func ScanStartNsGTE(v int64) predicate.CommitRow

ScanStartNsGTE applies the GTE predicate on the "scan_start_ns" field.

func ScanStartNsIn

func ScanStartNsIn(vs ...int64) predicate.CommitRow

ScanStartNsIn applies the In predicate on the "scan_start_ns" field.

func ScanStartNsLT

func ScanStartNsLT(v int64) predicate.CommitRow

ScanStartNsLT applies the LT predicate on the "scan_start_ns" field.

func ScanStartNsLTE

func ScanStartNsLTE(v int64) predicate.CommitRow

ScanStartNsLTE applies the LTE predicate on the "scan_start_ns" field.

func ScanStartNsNEQ

func ScanStartNsNEQ(v int64) predicate.CommitRow

ScanStartNsNEQ applies the NEQ predicate on the "scan_start_ns" field.

func ScanStartNsNotIn

func ScanStartNsNotIn(vs ...int64) predicate.CommitRow

ScanStartNsNotIn applies the NotIn predicate on the "scan_start_ns" field.

func SetID

func SetID(v int64) predicate.CommitRow

SetID applies equality check predicate on the "set_id" field. It's identical to SetIDEQ.

func SetIDEQ

func SetIDEQ(v int64) predicate.CommitRow

SetIDEQ applies the EQ predicate on the "set_id" field.

func SetIDIn

func SetIDIn(vs ...int64) predicate.CommitRow

SetIDIn applies the In predicate on the "set_id" field.

func SetIDNEQ

func SetIDNEQ(v int64) predicate.CommitRow

SetIDNEQ applies the NEQ predicate on the "set_id" field.

func SetIDNotIn

func SetIDNotIn(vs ...int64) predicate.CommitRow

SetIDNotIn applies the NotIn predicate on the "set_id" field.

func Timestamp

func Timestamp(v time.Time) predicate.CommitRow

Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.

func TimestampEQ

func TimestampEQ(v time.Time) predicate.CommitRow

TimestampEQ applies the EQ predicate on the "timestamp" field.

func TimestampGT

func TimestampGT(v time.Time) predicate.CommitRow

TimestampGT applies the GT predicate on the "timestamp" field.

func TimestampGTE

func TimestampGTE(v time.Time) predicate.CommitRow

TimestampGTE applies the GTE predicate on the "timestamp" field.

func TimestampIn

func TimestampIn(vs ...time.Time) predicate.CommitRow

TimestampIn applies the In predicate on the "timestamp" field.

func TimestampLT

func TimestampLT(v time.Time) predicate.CommitRow

TimestampLT applies the LT predicate on the "timestamp" field.

func TimestampLTE

func TimestampLTE(v time.Time) predicate.CommitRow

TimestampLTE applies the LTE predicate on the "timestamp" field.

func TimestampNEQ

func TimestampNEQ(v time.Time) predicate.CommitRow

TimestampNEQ applies the NEQ predicate on the "timestamp" field.

func TimestampNotIn

func TimestampNotIn(vs ...time.Time) predicate.CommitRow

TimestampNotIn applies the NotIn predicate on the "timestamp" field.

func TombstonedAt

func TombstonedAt(v time.Time) predicate.CommitRow

TombstonedAt applies equality check predicate on the "tombstoned_at" field. It's identical to TombstonedAtEQ.

func TombstonedAtEQ

func TombstonedAtEQ(v time.Time) predicate.CommitRow

TombstonedAtEQ applies the EQ predicate on the "tombstoned_at" field.

func TombstonedAtGT

func TombstonedAtGT(v time.Time) predicate.CommitRow

TombstonedAtGT applies the GT predicate on the "tombstoned_at" field.

func TombstonedAtGTE

func TombstonedAtGTE(v time.Time) predicate.CommitRow

TombstonedAtGTE applies the GTE predicate on the "tombstoned_at" field.

func TombstonedAtIn

func TombstonedAtIn(vs ...time.Time) predicate.CommitRow

TombstonedAtIn applies the In predicate on the "tombstoned_at" field.

func TombstonedAtIsNil

func TombstonedAtIsNil() predicate.CommitRow

TombstonedAtIsNil applies the IsNil predicate on the "tombstoned_at" field.

func TombstonedAtLT

func TombstonedAtLT(v time.Time) predicate.CommitRow

TombstonedAtLT applies the LT predicate on the "tombstoned_at" field.

func TombstonedAtLTE

func TombstonedAtLTE(v time.Time) predicate.CommitRow

TombstonedAtLTE applies the LTE predicate on the "tombstoned_at" field.

func TombstonedAtNEQ

func TombstonedAtNEQ(v time.Time) predicate.CommitRow

TombstonedAtNEQ applies the NEQ predicate on the "tombstoned_at" field.

func TombstonedAtNotIn

func TombstonedAtNotIn(vs ...time.Time) predicate.CommitRow

TombstonedAtNotIn applies the NotIn predicate on the "tombstoned_at" field.

func TombstonedAtNotNil

func TombstonedAtNotNil() predicate.CommitRow

TombstonedAtNotNil applies the NotNil predicate on the "tombstoned_at" field.

func Tree

func Tree(v []byte) predicate.CommitRow

Tree applies equality check predicate on the "tree" field. It's identical to TreeEQ.

func TreeEQ

func TreeEQ(v []byte) predicate.CommitRow

TreeEQ applies the EQ predicate on the "tree" field.

func TreeGT

func TreeGT(v []byte) predicate.CommitRow

TreeGT applies the GT predicate on the "tree" field.

func TreeGTE

func TreeGTE(v []byte) predicate.CommitRow

TreeGTE applies the GTE predicate on the "tree" field.

func TreeIn

func TreeIn(vs ...[]byte) predicate.CommitRow

TreeIn applies the In predicate on the "tree" field.

func TreeLT

func TreeLT(v []byte) predicate.CommitRow

TreeLT applies the LT predicate on the "tree" field.

func TreeLTE

func TreeLTE(v []byte) predicate.CommitRow

TreeLTE applies the LTE predicate on the "tree" field.

func TreeNEQ

func TreeNEQ(v []byte) predicate.CommitRow

TreeNEQ applies the NEQ predicate on the "tree" field.

func TreeNotIn

func TreeNotIn(vs ...[]byte) predicate.CommitRow

TreeNotIn applies the NotIn predicate on the "tree" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CommitRow queries.

func ByAgentID

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

ByAgentID orders the results by the agent_id field.

func ByConsistent

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

ByConsistent orders the results by the consistent field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByExpiresAt

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

ByExpiresAt orders the results by the expires_at field.

func ByFileCount

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

ByFileCount orders the results by the file_count field.

func ByID

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

ByID orders the results by the id field.

func ByIncomplete

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

ByIncomplete orders the results by the incomplete field.

func ByKeyID

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

ByKeyID orders the results by the key_id field.

func ByLogicalSize

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

ByLogicalSize orders the results by the logical_size field.

func ByPartial

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

ByPartial orders the results by the partial field.

func ByPolicyVersion

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

ByPolicyVersion orders the results by the policy_version field.

func ByReceivedAt

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

ByReceivedAt orders the results by the received_at field.

func ByRetainedBy

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

ByRetainedBy orders the results by the retained_by field.

func ByRetireAt

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

ByRetireAt orders the results by the retire_at field.

func ByRetirePolicy

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

ByRetirePolicy orders the results by the retire_policy field.

func ByScanStartNs

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

ByScanStartNs orders the results by the scan_start_ns field.

func BySetField

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

BySetField orders the results by set field.

func BySetID

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

BySetID orders the results by the set_id field.

func ByTimestamp

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

ByTimestamp orders the results by the timestamp field.

func ByTombstonedAt

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

ByTombstonedAt orders the results by the tombstoned_at field.

Jump to

Keyboard shortcuts

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