taskvirtualmachine

package
v0.0.0-...-481d40d Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the taskvirtualmachine type in the database.
	Label = "task_virtual_machine"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTaskID holds the string denoting the task_id field in the database.
	FieldTaskID = "task_id"
	// FieldVirtualmachineID holds the string denoting the virtualmachine_id field in the database.
	FieldVirtualmachineID = "virtualmachine_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeTask holds the string denoting the task edge name in mutations.
	EdgeTask = "task"
	// EdgeVirtualmachine holds the string denoting the virtualmachine edge name in mutations.
	EdgeVirtualmachine = "virtualmachine"
	// Table holds the table name of the taskvirtualmachine in the database.
	Table = "task_virtualmachines"
	// TaskTable is the table that holds the task relation/edge.
	TaskTable = "task_virtualmachines"
	// TaskInverseTable is the table name for the Task entity.
	// It exists in this package in order to avoid circular dependency with the "task" package.
	TaskInverseTable = "tasks"
	// TaskColumn is the table column denoting the task relation/edge.
	TaskColumn = "task_id"
	// VirtualmachineTable is the table that holds the virtualmachine relation/edge.
	VirtualmachineTable = "task_virtualmachines"
	// VirtualmachineInverseTable is the table name for the VirtualMachine entity.
	// It exists in this package in order to avoid circular dependency with the "virtualmachine" package.
	VirtualmachineInverseTable = "virtualmachines"
	// VirtualmachineColumn is the table column denoting the virtualmachine relation/edge.
	VirtualmachineColumn = "virtualmachine_id"
)

Variables

Columns holds all SQL columns for taskvirtualmachine fields.

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.TaskVirtualMachine

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.TaskVirtualMachine

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.TaskVirtualMachine

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.TaskVirtualMachine

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.TaskVirtualMachine

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.TaskVirtualMachine

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

func CreatedAtNotIn

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

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

func HasTask

func HasTask() predicate.TaskVirtualMachine

HasTask applies the HasEdge predicate on the "task" edge.

func HasTaskWith

func HasTaskWith(preds ...predicate.Task) predicate.TaskVirtualMachine

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

func HasVirtualmachine

func HasVirtualmachine() predicate.TaskVirtualMachine

HasVirtualmachine applies the HasEdge predicate on the "virtualmachine" edge.

func HasVirtualmachineWith

func HasVirtualmachineWith(preds ...predicate.VirtualMachine) predicate.TaskVirtualMachine

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.TaskVirtualMachine

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func TaskID

TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.

func TaskIDEQ

TaskIDEQ applies the EQ predicate on the "task_id" field.

func TaskIDIn

func TaskIDIn(vs ...uuid.UUID) predicate.TaskVirtualMachine

TaskIDIn applies the In predicate on the "task_id" field.

func TaskIDNEQ

TaskIDNEQ applies the NEQ predicate on the "task_id" field.

func TaskIDNotIn

func TaskIDNotIn(vs ...uuid.UUID) predicate.TaskVirtualMachine

TaskIDNotIn applies the NotIn predicate on the "task_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VirtualmachineID

func VirtualmachineID(v string) predicate.TaskVirtualMachine

VirtualmachineID applies equality check predicate on the "virtualmachine_id" field. It's identical to VirtualmachineIDEQ.

func VirtualmachineIDContains

func VirtualmachineIDContains(v string) predicate.TaskVirtualMachine

VirtualmachineIDContains applies the Contains predicate on the "virtualmachine_id" field.

func VirtualmachineIDContainsFold

func VirtualmachineIDContainsFold(v string) predicate.TaskVirtualMachine

VirtualmachineIDContainsFold applies the ContainsFold predicate on the "virtualmachine_id" field.

func VirtualmachineIDEQ

func VirtualmachineIDEQ(v string) predicate.TaskVirtualMachine

VirtualmachineIDEQ applies the EQ predicate on the "virtualmachine_id" field.

func VirtualmachineIDEqualFold

func VirtualmachineIDEqualFold(v string) predicate.TaskVirtualMachine

VirtualmachineIDEqualFold applies the EqualFold predicate on the "virtualmachine_id" field.

func VirtualmachineIDGT

func VirtualmachineIDGT(v string) predicate.TaskVirtualMachine

VirtualmachineIDGT applies the GT predicate on the "virtualmachine_id" field.

func VirtualmachineIDGTE

func VirtualmachineIDGTE(v string) predicate.TaskVirtualMachine

VirtualmachineIDGTE applies the GTE predicate on the "virtualmachine_id" field.

func VirtualmachineIDHasPrefix

func VirtualmachineIDHasPrefix(v string) predicate.TaskVirtualMachine

VirtualmachineIDHasPrefix applies the HasPrefix predicate on the "virtualmachine_id" field.

func VirtualmachineIDHasSuffix

func VirtualmachineIDHasSuffix(v string) predicate.TaskVirtualMachine

VirtualmachineIDHasSuffix applies the HasSuffix predicate on the "virtualmachine_id" field.

func VirtualmachineIDIn

func VirtualmachineIDIn(vs ...string) predicate.TaskVirtualMachine

VirtualmachineIDIn applies the In predicate on the "virtualmachine_id" field.

func VirtualmachineIDLT

func VirtualmachineIDLT(v string) predicate.TaskVirtualMachine

VirtualmachineIDLT applies the LT predicate on the "virtualmachine_id" field.

func VirtualmachineIDLTE

func VirtualmachineIDLTE(v string) predicate.TaskVirtualMachine

VirtualmachineIDLTE applies the LTE predicate on the "virtualmachine_id" field.

func VirtualmachineIDNEQ

func VirtualmachineIDNEQ(v string) predicate.TaskVirtualMachine

VirtualmachineIDNEQ applies the NEQ predicate on the "virtualmachine_id" field.

func VirtualmachineIDNotIn

func VirtualmachineIDNotIn(vs ...string) predicate.TaskVirtualMachine

VirtualmachineIDNotIn applies the NotIn predicate on the "virtualmachine_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the TaskVirtualMachine queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByTaskField

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

ByTaskField orders the results by task field.

func ByTaskID

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

ByTaskID orders the results by the task_id field.

func ByVirtualmachineField

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

ByVirtualmachineField orders the results by virtualmachine field.

func ByVirtualmachineID

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

ByVirtualmachineID orders the results by the virtualmachine_id field.

Jump to

Keyboard shortcuts

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