Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkspaceInitLease) predicate.WorkspaceInitLease
- func CreatedAt(v time.Time) predicate.WorkspaceInitLease
- func CreatedAtEQ(v time.Time) predicate.WorkspaceInitLease
- func CreatedAtGT(v time.Time) predicate.WorkspaceInitLease
- func CreatedAtGTE(v time.Time) predicate.WorkspaceInitLease
- func CreatedAtIn(vs ...time.Time) predicate.WorkspaceInitLease
- func CreatedAtLT(v time.Time) predicate.WorkspaceInitLease
- func CreatedAtLTE(v time.Time) predicate.WorkspaceInitLease
- func CreatedAtNEQ(v time.Time) predicate.WorkspaceInitLease
- func CreatedAtNotIn(vs ...time.Time) predicate.WorkspaceInitLease
- func HeartbeatAt(v time.Time) predicate.WorkspaceInitLease
- func HeartbeatAtEQ(v time.Time) predicate.WorkspaceInitLease
- func HeartbeatAtGT(v time.Time) predicate.WorkspaceInitLease
- func HeartbeatAtGTE(v time.Time) predicate.WorkspaceInitLease
- func HeartbeatAtIn(vs ...time.Time) predicate.WorkspaceInitLease
- func HeartbeatAtLT(v time.Time) predicate.WorkspaceInitLease
- func HeartbeatAtLTE(v time.Time) predicate.WorkspaceInitLease
- func HeartbeatAtNEQ(v time.Time) predicate.WorkspaceInitLease
- func HeartbeatAtNotIn(vs ...time.Time) predicate.WorkspaceInitLease
- func ID(id uuid.UUID) predicate.WorkspaceInitLease
- func IDEQ(id uuid.UUID) predicate.WorkspaceInitLease
- func IDGT(id uuid.UUID) predicate.WorkspaceInitLease
- func IDGTE(id uuid.UUID) predicate.WorkspaceInitLease
- func IDIn(ids ...uuid.UUID) predicate.WorkspaceInitLease
- func IDLT(id uuid.UUID) predicate.WorkspaceInitLease
- func IDLTE(id uuid.UUID) predicate.WorkspaceInitLease
- func IDNEQ(id uuid.UUID) predicate.WorkspaceInitLease
- func IDNotIn(ids ...uuid.UUID) predicate.WorkspaceInitLease
- func LeaseExpiresAt(v time.Time) predicate.WorkspaceInitLease
- func LeaseExpiresAtEQ(v time.Time) predicate.WorkspaceInitLease
- func LeaseExpiresAtGT(v time.Time) predicate.WorkspaceInitLease
- func LeaseExpiresAtGTE(v time.Time) predicate.WorkspaceInitLease
- func LeaseExpiresAtIn(vs ...time.Time) predicate.WorkspaceInitLease
- func LeaseExpiresAtLT(v time.Time) predicate.WorkspaceInitLease
- func LeaseExpiresAtLTE(v time.Time) predicate.WorkspaceInitLease
- func LeaseExpiresAtNEQ(v time.Time) predicate.WorkspaceInitLease
- func LeaseExpiresAtNotIn(vs ...time.Time) predicate.WorkspaceInitLease
- func LeaseKey(v string) predicate.WorkspaceInitLease
- func LeaseKeyContains(v string) predicate.WorkspaceInitLease
- func LeaseKeyContainsFold(v string) predicate.WorkspaceInitLease
- func LeaseKeyEQ(v string) predicate.WorkspaceInitLease
- func LeaseKeyEqualFold(v string) predicate.WorkspaceInitLease
- func LeaseKeyGT(v string) predicate.WorkspaceInitLease
- func LeaseKeyGTE(v string) predicate.WorkspaceInitLease
- func LeaseKeyHasPrefix(v string) predicate.WorkspaceInitLease
- func LeaseKeyHasSuffix(v string) predicate.WorkspaceInitLease
- func LeaseKeyIn(vs ...string) predicate.WorkspaceInitLease
- func LeaseKeyLT(v string) predicate.WorkspaceInitLease
- func LeaseKeyLTE(v string) predicate.WorkspaceInitLease
- func LeaseKeyNEQ(v string) predicate.WorkspaceInitLease
- func LeaseKeyNotIn(vs ...string) predicate.WorkspaceInitLease
- func MachineID(v uuid.UUID) predicate.WorkspaceInitLease
- func MachineIDEQ(v uuid.UUID) predicate.WorkspaceInitLease
- func MachineIDGT(v uuid.UUID) predicate.WorkspaceInitLease
- func MachineIDGTE(v uuid.UUID) predicate.WorkspaceInitLease
- func MachineIDIn(vs ...uuid.UUID) predicate.WorkspaceInitLease
- func MachineIDLT(v uuid.UUID) predicate.WorkspaceInitLease
- func MachineIDLTE(v uuid.UUID) predicate.WorkspaceInitLease
- func MachineIDNEQ(v uuid.UUID) predicate.WorkspaceInitLease
- func MachineIDNotIn(vs ...uuid.UUID) predicate.WorkspaceInitLease
- func Not(p predicate.WorkspaceInitLease) predicate.WorkspaceInitLease
- func Or(predicates ...predicate.WorkspaceInitLease) predicate.WorkspaceInitLease
- func OwnerRunID(v uuid.UUID) predicate.WorkspaceInitLease
- func OwnerRunIDEQ(v uuid.UUID) predicate.WorkspaceInitLease
- func OwnerRunIDGT(v uuid.UUID) predicate.WorkspaceInitLease
- func OwnerRunIDGTE(v uuid.UUID) predicate.WorkspaceInitLease
- func OwnerRunIDIn(vs ...uuid.UUID) predicate.WorkspaceInitLease
- func OwnerRunIDLT(v uuid.UUID) predicate.WorkspaceInitLease
- func OwnerRunIDLTE(v uuid.UUID) predicate.WorkspaceInitLease
- func OwnerRunIDNEQ(v uuid.UUID) predicate.WorkspaceInitLease
- func OwnerRunIDNotIn(vs ...uuid.UUID) predicate.WorkspaceInitLease
- func UpdatedAt(v time.Time) predicate.WorkspaceInitLease
- func UpdatedAtEQ(v time.Time) predicate.WorkspaceInitLease
- func UpdatedAtGT(v time.Time) predicate.WorkspaceInitLease
- func UpdatedAtGTE(v time.Time) predicate.WorkspaceInitLease
- func UpdatedAtIn(vs ...time.Time) predicate.WorkspaceInitLease
- func UpdatedAtLT(v time.Time) predicate.WorkspaceInitLease
- func UpdatedAtLTE(v time.Time) predicate.WorkspaceInitLease
- func UpdatedAtNEQ(v time.Time) predicate.WorkspaceInitLease
- func UpdatedAtNotIn(vs ...time.Time) predicate.WorkspaceInitLease
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByHeartbeatAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLeaseExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByLeaseKey(opts ...sql.OrderTermOption) OrderOption
- func ByMachineID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerRunID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workspaceinitlease type in the database. Label = "workspace_init_lease" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldLeaseKey holds the string denoting the lease_key field in the database. FieldLeaseKey = "lease_key" // FieldMachineID holds the string denoting the machine_id field in the database. FieldMachineID = "machine_id" // FieldOwnerRunID holds the string denoting the owner_run_id field in the database. FieldOwnerRunID = "owner_run_id" // FieldLeaseExpiresAt holds the string denoting the lease_expires_at field in the database. FieldLeaseExpiresAt = "lease_expires_at" // FieldHeartbeatAt holds the string denoting the heartbeat_at field in the database. FieldHeartbeatAt = "heartbeat_at" // 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" // Table holds the table name of the workspaceinitlease in the database. Table = "workspace_init_leases" )
Variables ¶
var ( // LeaseKeyValidator is a validator for the "lease_key" field. It is called by the builders before save. LeaseKeyValidator func(string) error // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldLeaseKey, FieldMachineID, FieldOwnerRunID, FieldLeaseExpiresAt, FieldHeartbeatAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for workspaceinitlease fields.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkspaceInitLease) predicate.WorkspaceInitLease
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.WorkspaceInitLease
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.WorkspaceInitLease
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.WorkspaceInitLease
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.WorkspaceInitLease
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.WorkspaceInitLease
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.WorkspaceInitLease
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.WorkspaceInitLease
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.WorkspaceInitLease
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.WorkspaceInitLease
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HeartbeatAt ¶
func HeartbeatAt(v time.Time) predicate.WorkspaceInitLease
HeartbeatAt applies equality check predicate on the "heartbeat_at" field. It's identical to HeartbeatAtEQ.
func HeartbeatAtEQ ¶
func HeartbeatAtEQ(v time.Time) predicate.WorkspaceInitLease
HeartbeatAtEQ applies the EQ predicate on the "heartbeat_at" field.
func HeartbeatAtGT ¶
func HeartbeatAtGT(v time.Time) predicate.WorkspaceInitLease
HeartbeatAtGT applies the GT predicate on the "heartbeat_at" field.
func HeartbeatAtGTE ¶
func HeartbeatAtGTE(v time.Time) predicate.WorkspaceInitLease
HeartbeatAtGTE applies the GTE predicate on the "heartbeat_at" field.
func HeartbeatAtIn ¶
func HeartbeatAtIn(vs ...time.Time) predicate.WorkspaceInitLease
HeartbeatAtIn applies the In predicate on the "heartbeat_at" field.
func HeartbeatAtLT ¶
func HeartbeatAtLT(v time.Time) predicate.WorkspaceInitLease
HeartbeatAtLT applies the LT predicate on the "heartbeat_at" field.
func HeartbeatAtLTE ¶
func HeartbeatAtLTE(v time.Time) predicate.WorkspaceInitLease
HeartbeatAtLTE applies the LTE predicate on the "heartbeat_at" field.
func HeartbeatAtNEQ ¶
func HeartbeatAtNEQ(v time.Time) predicate.WorkspaceInitLease
HeartbeatAtNEQ applies the NEQ predicate on the "heartbeat_at" field.
func HeartbeatAtNotIn ¶
func HeartbeatAtNotIn(vs ...time.Time) predicate.WorkspaceInitLease
HeartbeatAtNotIn applies the NotIn predicate on the "heartbeat_at" field.
func ID ¶
func ID(id uuid.UUID) predicate.WorkspaceInitLease
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.WorkspaceInitLease
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.WorkspaceInitLease
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.WorkspaceInitLease
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.WorkspaceInitLease
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.WorkspaceInitLease
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.WorkspaceInitLease
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.WorkspaceInitLease
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.WorkspaceInitLease
IDNotIn applies the NotIn predicate on the ID field.
func LeaseExpiresAt ¶
func LeaseExpiresAt(v time.Time) predicate.WorkspaceInitLease
LeaseExpiresAt applies equality check predicate on the "lease_expires_at" field. It's identical to LeaseExpiresAtEQ.
func LeaseExpiresAtEQ ¶
func LeaseExpiresAtEQ(v time.Time) predicate.WorkspaceInitLease
LeaseExpiresAtEQ applies the EQ predicate on the "lease_expires_at" field.
func LeaseExpiresAtGT ¶
func LeaseExpiresAtGT(v time.Time) predicate.WorkspaceInitLease
LeaseExpiresAtGT applies the GT predicate on the "lease_expires_at" field.
func LeaseExpiresAtGTE ¶
func LeaseExpiresAtGTE(v time.Time) predicate.WorkspaceInitLease
LeaseExpiresAtGTE applies the GTE predicate on the "lease_expires_at" field.
func LeaseExpiresAtIn ¶
func LeaseExpiresAtIn(vs ...time.Time) predicate.WorkspaceInitLease
LeaseExpiresAtIn applies the In predicate on the "lease_expires_at" field.
func LeaseExpiresAtLT ¶
func LeaseExpiresAtLT(v time.Time) predicate.WorkspaceInitLease
LeaseExpiresAtLT applies the LT predicate on the "lease_expires_at" field.
func LeaseExpiresAtLTE ¶
func LeaseExpiresAtLTE(v time.Time) predicate.WorkspaceInitLease
LeaseExpiresAtLTE applies the LTE predicate on the "lease_expires_at" field.
func LeaseExpiresAtNEQ ¶
func LeaseExpiresAtNEQ(v time.Time) predicate.WorkspaceInitLease
LeaseExpiresAtNEQ applies the NEQ predicate on the "lease_expires_at" field.
func LeaseExpiresAtNotIn ¶
func LeaseExpiresAtNotIn(vs ...time.Time) predicate.WorkspaceInitLease
LeaseExpiresAtNotIn applies the NotIn predicate on the "lease_expires_at" field.
func LeaseKey ¶
func LeaseKey(v string) predicate.WorkspaceInitLease
LeaseKey applies equality check predicate on the "lease_key" field. It's identical to LeaseKeyEQ.
func LeaseKeyContains ¶
func LeaseKeyContains(v string) predicate.WorkspaceInitLease
LeaseKeyContains applies the Contains predicate on the "lease_key" field.
func LeaseKeyContainsFold ¶
func LeaseKeyContainsFold(v string) predicate.WorkspaceInitLease
LeaseKeyContainsFold applies the ContainsFold predicate on the "lease_key" field.
func LeaseKeyEQ ¶
func LeaseKeyEQ(v string) predicate.WorkspaceInitLease
LeaseKeyEQ applies the EQ predicate on the "lease_key" field.
func LeaseKeyEqualFold ¶
func LeaseKeyEqualFold(v string) predicate.WorkspaceInitLease
LeaseKeyEqualFold applies the EqualFold predicate on the "lease_key" field.
func LeaseKeyGT ¶
func LeaseKeyGT(v string) predicate.WorkspaceInitLease
LeaseKeyGT applies the GT predicate on the "lease_key" field.
func LeaseKeyGTE ¶
func LeaseKeyGTE(v string) predicate.WorkspaceInitLease
LeaseKeyGTE applies the GTE predicate on the "lease_key" field.
func LeaseKeyHasPrefix ¶
func LeaseKeyHasPrefix(v string) predicate.WorkspaceInitLease
LeaseKeyHasPrefix applies the HasPrefix predicate on the "lease_key" field.
func LeaseKeyHasSuffix ¶
func LeaseKeyHasSuffix(v string) predicate.WorkspaceInitLease
LeaseKeyHasSuffix applies the HasSuffix predicate on the "lease_key" field.
func LeaseKeyIn ¶
func LeaseKeyIn(vs ...string) predicate.WorkspaceInitLease
LeaseKeyIn applies the In predicate on the "lease_key" field.
func LeaseKeyLT ¶
func LeaseKeyLT(v string) predicate.WorkspaceInitLease
LeaseKeyLT applies the LT predicate on the "lease_key" field.
func LeaseKeyLTE ¶
func LeaseKeyLTE(v string) predicate.WorkspaceInitLease
LeaseKeyLTE applies the LTE predicate on the "lease_key" field.
func LeaseKeyNEQ ¶
func LeaseKeyNEQ(v string) predicate.WorkspaceInitLease
LeaseKeyNEQ applies the NEQ predicate on the "lease_key" field.
func LeaseKeyNotIn ¶
func LeaseKeyNotIn(vs ...string) predicate.WorkspaceInitLease
LeaseKeyNotIn applies the NotIn predicate on the "lease_key" field.
func MachineID ¶
func MachineID(v uuid.UUID) predicate.WorkspaceInitLease
MachineID applies equality check predicate on the "machine_id" field. It's identical to MachineIDEQ.
func MachineIDEQ ¶
func MachineIDEQ(v uuid.UUID) predicate.WorkspaceInitLease
MachineIDEQ applies the EQ predicate on the "machine_id" field.
func MachineIDGT ¶
func MachineIDGT(v uuid.UUID) predicate.WorkspaceInitLease
MachineIDGT applies the GT predicate on the "machine_id" field.
func MachineIDGTE ¶
func MachineIDGTE(v uuid.UUID) predicate.WorkspaceInitLease
MachineIDGTE applies the GTE predicate on the "machine_id" field.
func MachineIDIn ¶
func MachineIDIn(vs ...uuid.UUID) predicate.WorkspaceInitLease
MachineIDIn applies the In predicate on the "machine_id" field.
func MachineIDLT ¶
func MachineIDLT(v uuid.UUID) predicate.WorkspaceInitLease
MachineIDLT applies the LT predicate on the "machine_id" field.
func MachineIDLTE ¶
func MachineIDLTE(v uuid.UUID) predicate.WorkspaceInitLease
MachineIDLTE applies the LTE predicate on the "machine_id" field.
func MachineIDNEQ ¶
func MachineIDNEQ(v uuid.UUID) predicate.WorkspaceInitLease
MachineIDNEQ applies the NEQ predicate on the "machine_id" field.
func MachineIDNotIn ¶
func MachineIDNotIn(vs ...uuid.UUID) predicate.WorkspaceInitLease
MachineIDNotIn applies the NotIn predicate on the "machine_id" field.
func Not ¶
func Not(p predicate.WorkspaceInitLease) predicate.WorkspaceInitLease
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WorkspaceInitLease) predicate.WorkspaceInitLease
Or groups predicates with the OR operator between them.
func OwnerRunID ¶
func OwnerRunID(v uuid.UUID) predicate.WorkspaceInitLease
OwnerRunID applies equality check predicate on the "owner_run_id" field. It's identical to OwnerRunIDEQ.
func OwnerRunIDEQ ¶
func OwnerRunIDEQ(v uuid.UUID) predicate.WorkspaceInitLease
OwnerRunIDEQ applies the EQ predicate on the "owner_run_id" field.
func OwnerRunIDGT ¶
func OwnerRunIDGT(v uuid.UUID) predicate.WorkspaceInitLease
OwnerRunIDGT applies the GT predicate on the "owner_run_id" field.
func OwnerRunIDGTE ¶
func OwnerRunIDGTE(v uuid.UUID) predicate.WorkspaceInitLease
OwnerRunIDGTE applies the GTE predicate on the "owner_run_id" field.
func OwnerRunIDIn ¶
func OwnerRunIDIn(vs ...uuid.UUID) predicate.WorkspaceInitLease
OwnerRunIDIn applies the In predicate on the "owner_run_id" field.
func OwnerRunIDLT ¶
func OwnerRunIDLT(v uuid.UUID) predicate.WorkspaceInitLease
OwnerRunIDLT applies the LT predicate on the "owner_run_id" field.
func OwnerRunIDLTE ¶
func OwnerRunIDLTE(v uuid.UUID) predicate.WorkspaceInitLease
OwnerRunIDLTE applies the LTE predicate on the "owner_run_id" field.
func OwnerRunIDNEQ ¶
func OwnerRunIDNEQ(v uuid.UUID) predicate.WorkspaceInitLease
OwnerRunIDNEQ applies the NEQ predicate on the "owner_run_id" field.
func OwnerRunIDNotIn ¶
func OwnerRunIDNotIn(vs ...uuid.UUID) predicate.WorkspaceInitLease
OwnerRunIDNotIn applies the NotIn predicate on the "owner_run_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.WorkspaceInitLease
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.WorkspaceInitLease
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.WorkspaceInitLease
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.WorkspaceInitLease
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.WorkspaceInitLease
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.WorkspaceInitLease
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.WorkspaceInitLease
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.WorkspaceInitLease
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.WorkspaceInitLease
UpdatedAtNotIn applies the NotIn predicate on the "updated_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 WorkspaceInitLease queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByHeartbeatAt ¶
func ByHeartbeatAt(opts ...sql.OrderTermOption) OrderOption
ByHeartbeatAt orders the results by the heartbeat_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLeaseExpiresAt ¶
func ByLeaseExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByLeaseExpiresAt orders the results by the lease_expires_at field.
func ByLeaseKey ¶
func ByLeaseKey(opts ...sql.OrderTermOption) OrderOption
ByLeaseKey orders the results by the lease_key field.
func ByMachineID ¶
func ByMachineID(opts ...sql.OrderTermOption) OrderOption
ByMachineID orders the results by the machine_id field.
func ByOwnerRunID ¶
func ByOwnerRunID(opts ...sql.OrderTermOption) OrderOption
ByOwnerRunID orders the results by the owner_run_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.