Documentation
¶
Index ¶
- Constants
- Variables
- func AgentID(v string) predicate.CommitRow
- func AgentIDContains(v string) predicate.CommitRow
- func AgentIDContainsFold(v string) predicate.CommitRow
- func AgentIDEQ(v string) predicate.CommitRow
- func AgentIDEqualFold(v string) predicate.CommitRow
- func AgentIDGT(v string) predicate.CommitRow
- func AgentIDGTE(v string) predicate.CommitRow
- func AgentIDHasPrefix(v string) predicate.CommitRow
- func AgentIDHasSuffix(v string) predicate.CommitRow
- func AgentIDIn(vs ...string) predicate.CommitRow
- func AgentIDLT(v string) predicate.CommitRow
- func AgentIDLTE(v string) predicate.CommitRow
- func AgentIDNEQ(v string) predicate.CommitRow
- func AgentIDNotIn(vs ...string) predicate.CommitRow
- func And(predicates ...predicate.CommitRow) predicate.CommitRow
- func Consistent(v bool) predicate.CommitRow
- func ConsistentEQ(v bool) predicate.CommitRow
- func ConsistentNEQ(v bool) predicate.CommitRow
- func DeletedAt(v time.Time) predicate.CommitRow
- func DeletedAtEQ(v time.Time) predicate.CommitRow
- func DeletedAtGT(v time.Time) predicate.CommitRow
- func DeletedAtGTE(v time.Time) predicate.CommitRow
- func DeletedAtIn(vs ...time.Time) predicate.CommitRow
- func DeletedAtIsNil() predicate.CommitRow
- func DeletedAtLT(v time.Time) predicate.CommitRow
- func DeletedAtLTE(v time.Time) predicate.CommitRow
- func DeletedAtNEQ(v time.Time) predicate.CommitRow
- func DeletedAtNotIn(vs ...time.Time) predicate.CommitRow
- func DeletedAtNotNil() predicate.CommitRow
- func ExpiresAt(v time.Time) predicate.CommitRow
- func ExpiresAtEQ(v time.Time) predicate.CommitRow
- func ExpiresAtGT(v time.Time) predicate.CommitRow
- func ExpiresAtGTE(v time.Time) predicate.CommitRow
- func ExpiresAtIn(vs ...time.Time) predicate.CommitRow
- func ExpiresAtIsNil() predicate.CommitRow
- func ExpiresAtLT(v time.Time) predicate.CommitRow
- func ExpiresAtLTE(v time.Time) predicate.CommitRow
- func ExpiresAtNEQ(v time.Time) predicate.CommitRow
- func ExpiresAtNotIn(vs ...time.Time) predicate.CommitRow
- func ExpiresAtNotNil() predicate.CommitRow
- func FileCount(v int64) predicate.CommitRow
- func FileCountEQ(v int64) predicate.CommitRow
- func FileCountGT(v int64) predicate.CommitRow
- func FileCountGTE(v int64) predicate.CommitRow
- func FileCountIn(vs ...int64) predicate.CommitRow
- func FileCountIsNil() predicate.CommitRow
- func FileCountLT(v int64) predicate.CommitRow
- func FileCountLTE(v int64) predicate.CommitRow
- func FileCountNEQ(v int64) predicate.CommitRow
- func FileCountNotIn(vs ...int64) predicate.CommitRow
- func FileCountNotNil() predicate.CommitRow
- func HasSet() predicate.CommitRow
- func HasSetWith(preds ...predicate.Set) predicate.CommitRow
- func ID(id int) predicate.CommitRow
- func IDEQ(id int) predicate.CommitRow
- func IDGT(id int) predicate.CommitRow
- func IDGTE(id int) predicate.CommitRow
- func IDIn(ids ...int) predicate.CommitRow
- func IDLT(id int) predicate.CommitRow
- func IDLTE(id int) predicate.CommitRow
- func IDNEQ(id int) predicate.CommitRow
- func IDNotIn(ids ...int) predicate.CommitRow
- func Incomplete(v bool) predicate.CommitRow
- func IncompleteEQ(v bool) predicate.CommitRow
- func IncompleteNEQ(v bool) predicate.CommitRow
- func KeyID(v string) predicate.CommitRow
- func KeyIDContains(v string) predicate.CommitRow
- func KeyIDContainsFold(v string) predicate.CommitRow
- func KeyIDEQ(v string) predicate.CommitRow
- func KeyIDEqualFold(v string) predicate.CommitRow
- func KeyIDGT(v string) predicate.CommitRow
- func KeyIDGTE(v string) predicate.CommitRow
- func KeyIDHasPrefix(v string) predicate.CommitRow
- func KeyIDHasSuffix(v string) predicate.CommitRow
- func KeyIDIn(vs ...string) predicate.CommitRow
- func KeyIDIsNil() predicate.CommitRow
- func KeyIDLT(v string) predicate.CommitRow
- func KeyIDLTE(v string) predicate.CommitRow
- func KeyIDNEQ(v string) predicate.CommitRow
- func KeyIDNotIn(vs ...string) predicate.CommitRow
- func KeyIDNotNil() predicate.CommitRow
- func LogicalSize(v int64) predicate.CommitRow
- func LogicalSizeEQ(v int64) predicate.CommitRow
- func LogicalSizeGT(v int64) predicate.CommitRow
- func LogicalSizeGTE(v int64) predicate.CommitRow
- func LogicalSizeIn(vs ...int64) predicate.CommitRow
- func LogicalSizeIsNil() predicate.CommitRow
- func LogicalSizeLT(v int64) predicate.CommitRow
- func LogicalSizeLTE(v int64) predicate.CommitRow
- func LogicalSizeNEQ(v int64) predicate.CommitRow
- func LogicalSizeNotIn(vs ...int64) predicate.CommitRow
- func LogicalSizeNotNil() predicate.CommitRow
- func MetadataIsNil() predicate.CommitRow
- func MetadataNotNil() predicate.CommitRow
- func Not(p predicate.CommitRow) predicate.CommitRow
- func Or(predicates ...predicate.CommitRow) predicate.CommitRow
- func Parent(v []byte) predicate.CommitRow
- func ParentEQ(v []byte) predicate.CommitRow
- func ParentGT(v []byte) predicate.CommitRow
- func ParentGTE(v []byte) predicate.CommitRow
- func ParentIn(vs ...[]byte) predicate.CommitRow
- func ParentIsNil() predicate.CommitRow
- func ParentLT(v []byte) predicate.CommitRow
- func ParentLTE(v []byte) predicate.CommitRow
- func ParentNEQ(v []byte) predicate.CommitRow
- func ParentNotIn(vs ...[]byte) predicate.CommitRow
- func ParentNotNil() predicate.CommitRow
- func Partial(v bool) predicate.CommitRow
- func PartialEQ(v bool) predicate.CommitRow
- func PartialNEQ(v bool) predicate.CommitRow
- func PolicyVersion(v uint32) predicate.CommitRow
- func PolicyVersionEQ(v uint32) predicate.CommitRow
- func PolicyVersionGT(v uint32) predicate.CommitRow
- func PolicyVersionGTE(v uint32) predicate.CommitRow
- func PolicyVersionIn(vs ...uint32) predicate.CommitRow
- func PolicyVersionLT(v uint32) predicate.CommitRow
- func PolicyVersionLTE(v uint32) predicate.CommitRow
- func PolicyVersionNEQ(v uint32) predicate.CommitRow
- func PolicyVersionNotIn(vs ...uint32) predicate.CommitRow
- func Presence(v []byte) predicate.CommitRow
- func PresenceEQ(v []byte) predicate.CommitRow
- func PresenceGT(v []byte) predicate.CommitRow
- func PresenceGTE(v []byte) predicate.CommitRow
- func PresenceIn(vs ...[]byte) predicate.CommitRow
- func PresenceIsNil() predicate.CommitRow
- func PresenceLT(v []byte) predicate.CommitRow
- func PresenceLTE(v []byte) predicate.CommitRow
- func PresenceNEQ(v []byte) predicate.CommitRow
- func PresenceNotIn(vs ...[]byte) predicate.CommitRow
- func PresenceNotNil() predicate.CommitRow
- func ReceivedAt(v time.Time) predicate.CommitRow
- func ReceivedAtEQ(v time.Time) predicate.CommitRow
- func ReceivedAtGT(v time.Time) predicate.CommitRow
- func ReceivedAtGTE(v time.Time) predicate.CommitRow
- func ReceivedAtIn(vs ...time.Time) predicate.CommitRow
- func ReceivedAtLT(v time.Time) predicate.CommitRow
- func ReceivedAtLTE(v time.Time) predicate.CommitRow
- func ReceivedAtNEQ(v time.Time) predicate.CommitRow
- func ReceivedAtNotIn(vs ...time.Time) predicate.CommitRow
- func Ref(v []byte) predicate.CommitRow
- func RefEQ(v []byte) predicate.CommitRow
- func RefGT(v []byte) predicate.CommitRow
- func RefGTE(v []byte) predicate.CommitRow
- func RefIn(vs ...[]byte) predicate.CommitRow
- func RefLT(v []byte) predicate.CommitRow
- func RefLTE(v []byte) predicate.CommitRow
- func RefNEQ(v []byte) predicate.CommitRow
- func RefNotIn(vs ...[]byte) predicate.CommitRow
- func RetainedBy(v string) predicate.CommitRow
- func RetainedByContains(v string) predicate.CommitRow
- func RetainedByContainsFold(v string) predicate.CommitRow
- func RetainedByEQ(v string) predicate.CommitRow
- func RetainedByEqualFold(v string) predicate.CommitRow
- func RetainedByGT(v string) predicate.CommitRow
- func RetainedByGTE(v string) predicate.CommitRow
- func RetainedByHasPrefix(v string) predicate.CommitRow
- func RetainedByHasSuffix(v string) predicate.CommitRow
- func RetainedByIn(vs ...string) predicate.CommitRow
- func RetainedByLT(v string) predicate.CommitRow
- func RetainedByLTE(v string) predicate.CommitRow
- func RetainedByNEQ(v string) predicate.CommitRow
- func RetainedByNotIn(vs ...string) predicate.CommitRow
- func RetireAt(v time.Time) predicate.CommitRow
- func RetireAtEQ(v time.Time) predicate.CommitRow
- func RetireAtGT(v time.Time) predicate.CommitRow
- func RetireAtGTE(v time.Time) predicate.CommitRow
- func RetireAtIn(vs ...time.Time) predicate.CommitRow
- func RetireAtIsNil() predicate.CommitRow
- func RetireAtLT(v time.Time) predicate.CommitRow
- func RetireAtLTE(v time.Time) predicate.CommitRow
- func RetireAtNEQ(v time.Time) predicate.CommitRow
- func RetireAtNotIn(vs ...time.Time) predicate.CommitRow
- func RetireAtNotNil() predicate.CommitRow
- func RetirePolicy(v string) predicate.CommitRow
- func RetirePolicyContains(v string) predicate.CommitRow
- func RetirePolicyContainsFold(v string) predicate.CommitRow
- func RetirePolicyEQ(v string) predicate.CommitRow
- func RetirePolicyEqualFold(v string) predicate.CommitRow
- func RetirePolicyGT(v string) predicate.CommitRow
- func RetirePolicyGTE(v string) predicate.CommitRow
- func RetirePolicyHasPrefix(v string) predicate.CommitRow
- func RetirePolicyHasSuffix(v string) predicate.CommitRow
- func RetirePolicyIn(vs ...string) predicate.CommitRow
- func RetirePolicyIsNil() predicate.CommitRow
- func RetirePolicyLT(v string) predicate.CommitRow
- func RetirePolicyLTE(v string) predicate.CommitRow
- func RetirePolicyNEQ(v string) predicate.CommitRow
- func RetirePolicyNotIn(vs ...string) predicate.CommitRow
- func RetirePolicyNotNil() predicate.CommitRow
- func ScanStartNs(v int64) predicate.CommitRow
- func ScanStartNsEQ(v int64) predicate.CommitRow
- func ScanStartNsGT(v int64) predicate.CommitRow
- func ScanStartNsGTE(v int64) predicate.CommitRow
- func ScanStartNsIn(vs ...int64) predicate.CommitRow
- func ScanStartNsLT(v int64) predicate.CommitRow
- func ScanStartNsLTE(v int64) predicate.CommitRow
- func ScanStartNsNEQ(v int64) predicate.CommitRow
- func ScanStartNsNotIn(vs ...int64) predicate.CommitRow
- func SetID(v int64) predicate.CommitRow
- func SetIDEQ(v int64) predicate.CommitRow
- func SetIDIn(vs ...int64) predicate.CommitRow
- func SetIDNEQ(v int64) predicate.CommitRow
- func SetIDNotIn(vs ...int64) predicate.CommitRow
- func Timestamp(v time.Time) predicate.CommitRow
- func TimestampEQ(v time.Time) predicate.CommitRow
- func TimestampGT(v time.Time) predicate.CommitRow
- func TimestampGTE(v time.Time) predicate.CommitRow
- func TimestampIn(vs ...time.Time) predicate.CommitRow
- func TimestampLT(v time.Time) predicate.CommitRow
- func TimestampLTE(v time.Time) predicate.CommitRow
- func TimestampNEQ(v time.Time) predicate.CommitRow
- func TimestampNotIn(vs ...time.Time) predicate.CommitRow
- func TombstonedAt(v time.Time) predicate.CommitRow
- func TombstonedAtEQ(v time.Time) predicate.CommitRow
- func TombstonedAtGT(v time.Time) predicate.CommitRow
- func TombstonedAtGTE(v time.Time) predicate.CommitRow
- func TombstonedAtIn(vs ...time.Time) predicate.CommitRow
- func TombstonedAtIsNil() predicate.CommitRow
- func TombstonedAtLT(v time.Time) predicate.CommitRow
- func TombstonedAtLTE(v time.Time) predicate.CommitRow
- func TombstonedAtNEQ(v time.Time) predicate.CommitRow
- func TombstonedAtNotIn(vs ...time.Time) predicate.CommitRow
- func TombstonedAtNotNil() predicate.CommitRow
- func Tree(v []byte) predicate.CommitRow
- func TreeEQ(v []byte) predicate.CommitRow
- func TreeGT(v []byte) predicate.CommitRow
- func TreeGTE(v []byte) predicate.CommitRow
- func TreeIn(vs ...[]byte) predicate.CommitRow
- func TreeLT(v []byte) predicate.CommitRow
- func TreeLTE(v []byte) predicate.CommitRow
- func TreeNEQ(v []byte) predicate.CommitRow
- func TreeNotIn(vs ...[]byte) predicate.CommitRow
- func ValidColumn(column string) bool
- type OrderOption
- func ByAgentID(opts ...sql.OrderTermOption) OrderOption
- func ByConsistent(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByFileCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIncomplete(opts ...sql.OrderTermOption) OrderOption
- func ByKeyID(opts ...sql.OrderTermOption) OrderOption
- func ByLogicalSize(opts ...sql.OrderTermOption) OrderOption
- func ByPartial(opts ...sql.OrderTermOption) OrderOption
- func ByPolicyVersion(opts ...sql.OrderTermOption) OrderOption
- func ByReceivedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRetainedBy(opts ...sql.OrderTermOption) OrderOption
- func ByRetireAt(opts ...sql.OrderTermOption) OrderOption
- func ByRetirePolicy(opts ...sql.OrderTermOption) OrderOption
- func ByScanStartNs(opts ...sql.OrderTermOption) OrderOption
- func BySetField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySetID(opts ...sql.OrderTermOption) OrderOption
- func ByTimestamp(opts ...sql.OrderTermOption) OrderOption
- func ByTombstonedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldRef, FieldTimestamp, FieldReceivedAt, FieldTree, FieldParent, FieldAgentID, FieldScanStartNs, FieldPolicyVersion, FieldKeyID, FieldConsistent, FieldSetID, FieldPresence, FieldPartial, FieldIncomplete, FieldRetainedBy, FieldRetireAt, FieldRetirePolicy, FieldDeletedAt, FieldExpiresAt, FieldTombstonedAt, FieldLogicalSize, FieldFileCount, FieldMetadata, }
Columns holds all SQL columns for commitrow fields.
Functions ¶
func AgentID ¶
AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.
func AgentIDContains ¶
AgentIDContains applies the Contains predicate on the "agent_id" field.
func AgentIDContainsFold ¶
AgentIDContainsFold applies the ContainsFold predicate on the "agent_id" field.
func AgentIDEqualFold ¶
AgentIDEqualFold applies the EqualFold predicate on the "agent_id" field.
func AgentIDGTE ¶
AgentIDGTE applies the GTE predicate on the "agent_id" field.
func AgentIDHasPrefix ¶
AgentIDHasPrefix applies the HasPrefix predicate on the "agent_id" field.
func AgentIDHasSuffix ¶
AgentIDHasSuffix applies the HasSuffix predicate on the "agent_id" field.
func AgentIDLTE ¶
AgentIDLTE applies the LTE predicate on the "agent_id" field.
func AgentIDNEQ ¶
AgentIDNEQ applies the NEQ predicate on the "agent_id" field.
func AgentIDNotIn ¶
AgentIDNotIn applies the NotIn predicate on the "agent_id" field.
func Consistent ¶
Consistent applies equality check predicate on the "consistent" field. It's identical to ConsistentEQ.
func ConsistentEQ ¶
ConsistentEQ applies the EQ predicate on the "consistent" field.
func ConsistentNEQ ¶
ConsistentNEQ applies the NEQ predicate on the "consistent" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func ExpiresAt ¶
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func FileCount ¶
FileCount applies equality check predicate on the "file_count" field. It's identical to FileCountEQ.
func FileCountEQ ¶
FileCountEQ applies the EQ predicate on the "file_count" field.
func FileCountGT ¶
FileCountGT applies the GT predicate on the "file_count" field.
func FileCountGTE ¶
FileCountGTE applies the GTE predicate on the "file_count" field.
func FileCountIn ¶
FileCountIn applies the In predicate on the "file_count" field.
func FileCountIsNil ¶
FileCountIsNil applies the IsNil predicate on the "file_count" field.
func FileCountLT ¶
FileCountLT applies the LT predicate on the "file_count" field.
func FileCountLTE ¶
FileCountLTE applies the LTE predicate on the "file_count" field.
func FileCountNEQ ¶
FileCountNEQ applies the NEQ predicate on the "file_count" field.
func FileCountNotIn ¶
FileCountNotIn applies the NotIn predicate on the "file_count" field.
func FileCountNotNil ¶
FileCountNotNil applies the NotNil predicate on the "file_count" field.
func HasSetWith ¶
HasSetWith applies the HasEdge predicate on the "set" edge with a given conditions (other predicates).
func Incomplete ¶
Incomplete applies equality check predicate on the "incomplete" field. It's identical to IncompleteEQ.
func IncompleteEQ ¶
IncompleteEQ applies the EQ predicate on the "incomplete" field.
func IncompleteNEQ ¶
IncompleteNEQ applies the NEQ predicate on the "incomplete" field.
func KeyID ¶
KeyID applies equality check predicate on the "key_id" field. It's identical to KeyIDEQ.
func KeyIDContains ¶
KeyIDContains applies the Contains predicate on the "key_id" field.
func KeyIDContainsFold ¶
KeyIDContainsFold applies the ContainsFold predicate on the "key_id" field.
func KeyIDEqualFold ¶
KeyIDEqualFold applies the EqualFold predicate on the "key_id" field.
func KeyIDHasPrefix ¶
KeyIDHasPrefix applies the HasPrefix predicate on the "key_id" field.
func KeyIDHasSuffix ¶
KeyIDHasSuffix applies the HasSuffix predicate on the "key_id" field.
func KeyIDIsNil ¶
KeyIDIsNil applies the IsNil predicate on the "key_id" field.
func KeyIDNotIn ¶
KeyIDNotIn applies the NotIn predicate on the "key_id" field.
func KeyIDNotNil ¶
KeyIDNotNil applies the NotNil predicate on the "key_id" field.
func LogicalSize ¶
LogicalSize applies equality check predicate on the "logical_size" field. It's identical to LogicalSizeEQ.
func LogicalSizeEQ ¶
LogicalSizeEQ applies the EQ predicate on the "logical_size" field.
func LogicalSizeGT ¶
LogicalSizeGT applies the GT predicate on the "logical_size" field.
func LogicalSizeGTE ¶
LogicalSizeGTE applies the GTE predicate on the "logical_size" field.
func LogicalSizeIn ¶
LogicalSizeIn applies the In predicate on the "logical_size" field.
func LogicalSizeIsNil ¶
LogicalSizeIsNil applies the IsNil predicate on the "logical_size" field.
func LogicalSizeLT ¶
LogicalSizeLT applies the LT predicate on the "logical_size" field.
func LogicalSizeLTE ¶
LogicalSizeLTE applies the LTE predicate on the "logical_size" field.
func LogicalSizeNEQ ¶
LogicalSizeNEQ applies the NEQ predicate on the "logical_size" field.
func LogicalSizeNotIn ¶
LogicalSizeNotIn applies the NotIn predicate on the "logical_size" field.
func LogicalSizeNotNil ¶
LogicalSizeNotNil applies the NotNil predicate on the "logical_size" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Parent ¶
Parent applies equality check predicate on the "parent" field. It's identical to ParentEQ.
func ParentIsNil ¶
ParentIsNil applies the IsNil predicate on the "parent" field.
func ParentNotIn ¶
ParentNotIn applies the NotIn predicate on the "parent" field.
func ParentNotNil ¶
ParentNotNil applies the NotNil predicate on the "parent" field.
func Partial ¶
Partial applies equality check predicate on the "partial" field. It's identical to PartialEQ.
func PartialNEQ ¶
PartialNEQ applies the NEQ predicate on the "partial" field.
func PolicyVersion ¶
PolicyVersion applies equality check predicate on the "policy_version" field. It's identical to PolicyVersionEQ.
func PolicyVersionEQ ¶
PolicyVersionEQ applies the EQ predicate on the "policy_version" field.
func PolicyVersionGT ¶
PolicyVersionGT applies the GT predicate on the "policy_version" field.
func PolicyVersionGTE ¶
PolicyVersionGTE applies the GTE predicate on the "policy_version" field.
func PolicyVersionIn ¶
PolicyVersionIn applies the In predicate on the "policy_version" field.
func PolicyVersionLT ¶
PolicyVersionLT applies the LT predicate on the "policy_version" field.
func PolicyVersionLTE ¶
PolicyVersionLTE applies the LTE predicate on the "policy_version" field.
func PolicyVersionNEQ ¶
PolicyVersionNEQ applies the NEQ predicate on the "policy_version" field.
func PolicyVersionNotIn ¶
PolicyVersionNotIn applies the NotIn predicate on the "policy_version" field.
func Presence ¶
Presence applies equality check predicate on the "presence" field. It's identical to PresenceEQ.
func PresenceEQ ¶
PresenceEQ applies the EQ predicate on the "presence" field.
func PresenceGT ¶
PresenceGT applies the GT predicate on the "presence" field.
func PresenceGTE ¶
PresenceGTE applies the GTE predicate on the "presence" field.
func PresenceIn ¶
PresenceIn applies the In predicate on the "presence" field.
func PresenceIsNil ¶
PresenceIsNil applies the IsNil predicate on the "presence" field.
func PresenceLT ¶
PresenceLT applies the LT predicate on the "presence" field.
func PresenceLTE ¶
PresenceLTE applies the LTE predicate on the "presence" field.
func PresenceNEQ ¶
PresenceNEQ applies the NEQ predicate on the "presence" field.
func PresenceNotIn ¶
PresenceNotIn applies the NotIn predicate on the "presence" field.
func PresenceNotNil ¶
PresenceNotNil applies the NotNil predicate on the "presence" field.
func ReceivedAt ¶
ReceivedAt applies equality check predicate on the "received_at" field. It's identical to ReceivedAtEQ.
func ReceivedAtEQ ¶
ReceivedAtEQ applies the EQ predicate on the "received_at" field.
func ReceivedAtGT ¶
ReceivedAtGT applies the GT predicate on the "received_at" field.
func ReceivedAtGTE ¶
ReceivedAtGTE applies the GTE predicate on the "received_at" field.
func ReceivedAtIn ¶
ReceivedAtIn applies the In predicate on the "received_at" field.
func ReceivedAtLT ¶
ReceivedAtLT applies the LT predicate on the "received_at" field.
func ReceivedAtLTE ¶
ReceivedAtLTE applies the LTE predicate on the "received_at" field.
func ReceivedAtNEQ ¶
ReceivedAtNEQ applies the NEQ predicate on the "received_at" field.
func ReceivedAtNotIn ¶
ReceivedAtNotIn applies the NotIn predicate on the "received_at" field.
func RetainedBy ¶
RetainedBy applies equality check predicate on the "retained_by" field. It's identical to RetainedByEQ.
func RetainedByContains ¶
RetainedByContains applies the Contains predicate on the "retained_by" field.
func RetainedByContainsFold ¶
RetainedByContainsFold applies the ContainsFold predicate on the "retained_by" field.
func RetainedByEQ ¶
RetainedByEQ applies the EQ predicate on the "retained_by" field.
func RetainedByEqualFold ¶
RetainedByEqualFold applies the EqualFold predicate on the "retained_by" field.
func RetainedByGT ¶
RetainedByGT applies the GT predicate on the "retained_by" field.
func RetainedByGTE ¶
RetainedByGTE applies the GTE predicate on the "retained_by" field.
func RetainedByHasPrefix ¶
RetainedByHasPrefix applies the HasPrefix predicate on the "retained_by" field.
func RetainedByHasSuffix ¶
RetainedByHasSuffix applies the HasSuffix predicate on the "retained_by" field.
func RetainedByIn ¶
RetainedByIn applies the In predicate on the "retained_by" field.
func RetainedByLT ¶
RetainedByLT applies the LT predicate on the "retained_by" field.
func RetainedByLTE ¶
RetainedByLTE applies the LTE predicate on the "retained_by" field.
func RetainedByNEQ ¶
RetainedByNEQ applies the NEQ predicate on the "retained_by" field.
func RetainedByNotIn ¶
RetainedByNotIn applies the NotIn predicate on the "retained_by" field.
func RetireAt ¶
RetireAt applies equality check predicate on the "retire_at" field. It's identical to RetireAtEQ.
func RetireAtEQ ¶
RetireAtEQ applies the EQ predicate on the "retire_at" field.
func RetireAtGT ¶
RetireAtGT applies the GT predicate on the "retire_at" field.
func RetireAtGTE ¶
RetireAtGTE applies the GTE predicate on the "retire_at" field.
func RetireAtIn ¶
RetireAtIn applies the In predicate on the "retire_at" field.
func RetireAtIsNil ¶
RetireAtIsNil applies the IsNil predicate on the "retire_at" field.
func RetireAtLT ¶
RetireAtLT applies the LT predicate on the "retire_at" field.
func RetireAtLTE ¶
RetireAtLTE applies the LTE predicate on the "retire_at" field.
func RetireAtNEQ ¶
RetireAtNEQ applies the NEQ predicate on the "retire_at" field.
func RetireAtNotIn ¶
RetireAtNotIn applies the NotIn predicate on the "retire_at" field.
func RetireAtNotNil ¶
RetireAtNotNil applies the NotNil predicate on the "retire_at" field.
func RetirePolicy ¶
RetirePolicy applies equality check predicate on the "retire_policy" field. It's identical to RetirePolicyEQ.
func RetirePolicyContains ¶
RetirePolicyContains applies the Contains predicate on the "retire_policy" field.
func RetirePolicyContainsFold ¶
RetirePolicyContainsFold applies the ContainsFold predicate on the "retire_policy" field.
func RetirePolicyEQ ¶
RetirePolicyEQ applies the EQ predicate on the "retire_policy" field.
func RetirePolicyEqualFold ¶
RetirePolicyEqualFold applies the EqualFold predicate on the "retire_policy" field.
func RetirePolicyGT ¶
RetirePolicyGT applies the GT predicate on the "retire_policy" field.
func RetirePolicyGTE ¶
RetirePolicyGTE applies the GTE predicate on the "retire_policy" field.
func RetirePolicyHasPrefix ¶
RetirePolicyHasPrefix applies the HasPrefix predicate on the "retire_policy" field.
func RetirePolicyHasSuffix ¶
RetirePolicyHasSuffix applies the HasSuffix predicate on the "retire_policy" field.
func RetirePolicyIn ¶
RetirePolicyIn applies the In predicate on the "retire_policy" field.
func RetirePolicyIsNil ¶
RetirePolicyIsNil applies the IsNil predicate on the "retire_policy" field.
func RetirePolicyLT ¶
RetirePolicyLT applies the LT predicate on the "retire_policy" field.
func RetirePolicyLTE ¶
RetirePolicyLTE applies the LTE predicate on the "retire_policy" field.
func RetirePolicyNEQ ¶
RetirePolicyNEQ applies the NEQ predicate on the "retire_policy" field.
func RetirePolicyNotIn ¶
RetirePolicyNotIn applies the NotIn predicate on the "retire_policy" field.
func RetirePolicyNotNil ¶
RetirePolicyNotNil applies the NotNil predicate on the "retire_policy" field.
func ScanStartNs ¶
ScanStartNs applies equality check predicate on the "scan_start_ns" field. It's identical to ScanStartNsEQ.
func ScanStartNsEQ ¶
ScanStartNsEQ applies the EQ predicate on the "scan_start_ns" field.
func ScanStartNsGT ¶
ScanStartNsGT applies the GT predicate on the "scan_start_ns" field.
func ScanStartNsGTE ¶
ScanStartNsGTE applies the GTE predicate on the "scan_start_ns" field.
func ScanStartNsIn ¶
ScanStartNsIn applies the In predicate on the "scan_start_ns" field.
func ScanStartNsLT ¶
ScanStartNsLT applies the LT predicate on the "scan_start_ns" field.
func ScanStartNsLTE ¶
ScanStartNsLTE applies the LTE predicate on the "scan_start_ns" field.
func ScanStartNsNEQ ¶
ScanStartNsNEQ applies the NEQ predicate on the "scan_start_ns" field.
func ScanStartNsNotIn ¶
ScanStartNsNotIn applies the NotIn predicate on the "scan_start_ns" field.
func SetID ¶
SetID applies equality check predicate on the "set_id" field. It's identical to SetIDEQ.
func SetIDNotIn ¶
SetIDNotIn applies the NotIn predicate on the "set_id" field.
func Timestamp ¶
Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.
func TimestampEQ ¶
TimestampEQ applies the EQ predicate on the "timestamp" field.
func TimestampGT ¶
TimestampGT applies the GT predicate on the "timestamp" field.
func TimestampGTE ¶
TimestampGTE applies the GTE predicate on the "timestamp" field.
func TimestampIn ¶
TimestampIn applies the In predicate on the "timestamp" field.
func TimestampLT ¶
TimestampLT applies the LT predicate on the "timestamp" field.
func TimestampLTE ¶
TimestampLTE applies the LTE predicate on the "timestamp" field.
func TimestampNEQ ¶
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
func TimestampNotIn ¶
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
func TombstonedAt ¶
TombstonedAt applies equality check predicate on the "tombstoned_at" field. It's identical to TombstonedAtEQ.
func TombstonedAtEQ ¶
TombstonedAtEQ applies the EQ predicate on the "tombstoned_at" field.
func TombstonedAtGT ¶
TombstonedAtGT applies the GT predicate on the "tombstoned_at" field.
func TombstonedAtGTE ¶
TombstonedAtGTE applies the GTE predicate on the "tombstoned_at" field.
func TombstonedAtIn ¶
TombstonedAtIn applies the In predicate on the "tombstoned_at" field.
func TombstonedAtIsNil ¶
TombstonedAtIsNil applies the IsNil predicate on the "tombstoned_at" field.
func TombstonedAtLT ¶
TombstonedAtLT applies the LT predicate on the "tombstoned_at" field.
func TombstonedAtLTE ¶
TombstonedAtLTE applies the LTE predicate on the "tombstoned_at" field.
func TombstonedAtNEQ ¶
TombstonedAtNEQ applies the NEQ predicate on the "tombstoned_at" field.
func TombstonedAtNotIn ¶
TombstonedAtNotIn applies the NotIn predicate on the "tombstoned_at" field.
func TombstonedAtNotNil ¶
TombstonedAtNotNil applies the NotNil predicate on the "tombstoned_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the 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.