computeinstance

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the computeinstance type in the database.
	Label = "compute_instance"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldOwner holds the string denoting the owner field in the database.
	FieldOwner = "owner"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldCore holds the string denoting the core field in the database.
	FieldCore = "core"
	// FieldMemory holds the string denoting the memory field in the database.
	FieldMemory = "memory"
	// FieldImage holds the string denoting the image field in the database.
	FieldImage = "image"
	// FieldPort holds the string denoting the port field in the database.
	FieldPort = "port"
	// FieldExpirationTime holds the string denoting the expiration_time field in the database.
	FieldExpirationTime = "expiration_time"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldContainerID holds the string denoting the container_id field in the database.
	FieldContainerID = "container_id"
	// FieldPeerID holds the string denoting the peer_id field in the database.
	FieldPeerID = "peer_id"
	// FieldCommand holds the string denoting the command field in the database.
	FieldCommand = "command"
	// Table holds the table name of the computeinstance in the database.
	Table = "compute_instances"
)

Variables

View Source
var (
	// OwnerValidator is a validator for the "owner" field. It is called by the builders before save.
	OwnerValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// CoreValidator is a validator for the "core" field. It is called by the builders before save.
	CoreValidator func(string) error
	// MemoryValidator is a validator for the "memory" field. It is called by the builders before save.
	MemoryValidator func(string) error
	// ImageValidator is a validator for the "image" field. It is called by the builders before save.
	ImageValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for computeinstance fields.

Functions

func And

And groups predicates with the AND operator between them.

func Command added in v0.0.3

func Command(v string) predicate.ComputeInstance

Command applies equality check predicate on the "command" field. It's identical to CommandEQ.

func CommandContains added in v0.0.3

func CommandContains(v string) predicate.ComputeInstance

CommandContains applies the Contains predicate on the "command" field.

func CommandContainsFold added in v0.0.3

func CommandContainsFold(v string) predicate.ComputeInstance

CommandContainsFold applies the ContainsFold predicate on the "command" field.

func CommandEQ added in v0.0.3

func CommandEQ(v string) predicate.ComputeInstance

CommandEQ applies the EQ predicate on the "command" field.

func CommandEqualFold added in v0.0.3

func CommandEqualFold(v string) predicate.ComputeInstance

CommandEqualFold applies the EqualFold predicate on the "command" field.

func CommandGT added in v0.0.3

func CommandGT(v string) predicate.ComputeInstance

CommandGT applies the GT predicate on the "command" field.

func CommandGTE added in v0.0.3

func CommandGTE(v string) predicate.ComputeInstance

CommandGTE applies the GTE predicate on the "command" field.

func CommandHasPrefix added in v0.0.3

func CommandHasPrefix(v string) predicate.ComputeInstance

CommandHasPrefix applies the HasPrefix predicate on the "command" field.

func CommandHasSuffix added in v0.0.3

func CommandHasSuffix(v string) predicate.ComputeInstance

CommandHasSuffix applies the HasSuffix predicate on the "command" field.

func CommandIn added in v0.0.3

func CommandIn(vs ...string) predicate.ComputeInstance

CommandIn applies the In predicate on the "command" field.

func CommandIsNil added in v0.0.3

func CommandIsNil() predicate.ComputeInstance

CommandIsNil applies the IsNil predicate on the "command" field.

func CommandLT added in v0.0.3

func CommandLT(v string) predicate.ComputeInstance

CommandLT applies the LT predicate on the "command" field.

func CommandLTE added in v0.0.3

func CommandLTE(v string) predicate.ComputeInstance

CommandLTE applies the LTE predicate on the "command" field.

func CommandNEQ added in v0.0.3

func CommandNEQ(v string) predicate.ComputeInstance

CommandNEQ applies the NEQ predicate on the "command" field.

func CommandNotIn added in v0.0.3

func CommandNotIn(vs ...string) predicate.ComputeInstance

CommandNotIn applies the NotIn predicate on the "command" field.

func CommandNotNil added in v0.0.3

func CommandNotNil() predicate.ComputeInstance

CommandNotNil applies the NotNil predicate on the "command" field.

func ContainerID

func ContainerID(v string) predicate.ComputeInstance

ContainerID applies equality check predicate on the "container_id" field. It's identical to ContainerIDEQ.

func ContainerIDContains

func ContainerIDContains(v string) predicate.ComputeInstance

ContainerIDContains applies the Contains predicate on the "container_id" field.

func ContainerIDContainsFold

func ContainerIDContainsFold(v string) predicate.ComputeInstance

ContainerIDContainsFold applies the ContainsFold predicate on the "container_id" field.

func ContainerIDEQ

func ContainerIDEQ(v string) predicate.ComputeInstance

ContainerIDEQ applies the EQ predicate on the "container_id" field.

func ContainerIDEqualFold

func ContainerIDEqualFold(v string) predicate.ComputeInstance

ContainerIDEqualFold applies the EqualFold predicate on the "container_id" field.

func ContainerIDGT

func ContainerIDGT(v string) predicate.ComputeInstance

ContainerIDGT applies the GT predicate on the "container_id" field.

func ContainerIDGTE

func ContainerIDGTE(v string) predicate.ComputeInstance

ContainerIDGTE applies the GTE predicate on the "container_id" field.

func ContainerIDHasPrefix

func ContainerIDHasPrefix(v string) predicate.ComputeInstance

ContainerIDHasPrefix applies the HasPrefix predicate on the "container_id" field.

func ContainerIDHasSuffix

func ContainerIDHasSuffix(v string) predicate.ComputeInstance

ContainerIDHasSuffix applies the HasSuffix predicate on the "container_id" field.

func ContainerIDIn

func ContainerIDIn(vs ...string) predicate.ComputeInstance

ContainerIDIn applies the In predicate on the "container_id" field.

func ContainerIDIsNil

func ContainerIDIsNil() predicate.ComputeInstance

ContainerIDIsNil applies the IsNil predicate on the "container_id" field.

func ContainerIDLT

func ContainerIDLT(v string) predicate.ComputeInstance

ContainerIDLT applies the LT predicate on the "container_id" field.

func ContainerIDLTE

func ContainerIDLTE(v string) predicate.ComputeInstance

ContainerIDLTE applies the LTE predicate on the "container_id" field.

func ContainerIDNEQ

func ContainerIDNEQ(v string) predicate.ComputeInstance

ContainerIDNEQ applies the NEQ predicate on the "container_id" field.

func ContainerIDNotIn

func ContainerIDNotIn(vs ...string) predicate.ComputeInstance

ContainerIDNotIn applies the NotIn predicate on the "container_id" field.

func ContainerIDNotNil

func ContainerIDNotNil() predicate.ComputeInstance

ContainerIDNotNil applies the NotNil predicate on the "container_id" field.

func Core

Core applies equality check predicate on the "core" field. It's identical to CoreEQ.

func CoreContains

func CoreContains(v string) predicate.ComputeInstance

CoreContains applies the Contains predicate on the "core" field.

func CoreContainsFold

func CoreContainsFold(v string) predicate.ComputeInstance

CoreContainsFold applies the ContainsFold predicate on the "core" field.

func CoreEQ

CoreEQ applies the EQ predicate on the "core" field.

func CoreEqualFold

func CoreEqualFold(v string) predicate.ComputeInstance

CoreEqualFold applies the EqualFold predicate on the "core" field.

func CoreGT

CoreGT applies the GT predicate on the "core" field.

func CoreGTE

func CoreGTE(v string) predicate.ComputeInstance

CoreGTE applies the GTE predicate on the "core" field.

func CoreHasPrefix

func CoreHasPrefix(v string) predicate.ComputeInstance

CoreHasPrefix applies the HasPrefix predicate on the "core" field.

func CoreHasSuffix

func CoreHasSuffix(v string) predicate.ComputeInstance

CoreHasSuffix applies the HasSuffix predicate on the "core" field.

func CoreIn

func CoreIn(vs ...string) predicate.ComputeInstance

CoreIn applies the In predicate on the "core" field.

func CoreLT

CoreLT applies the LT predicate on the "core" field.

func CoreLTE

func CoreLTE(v string) predicate.ComputeInstance

CoreLTE applies the LTE predicate on the "core" field.

func CoreNEQ

func CoreNEQ(v string) predicate.ComputeInstance

CoreNEQ applies the NEQ predicate on the "core" field.

func CoreNotIn

func CoreNotIn(vs ...string) predicate.ComputeInstance

CoreNotIn applies the NotIn predicate on the "core" field.

func ExpirationTime

func ExpirationTime(v time.Time) predicate.ComputeInstance

ExpirationTime applies equality check predicate on the "expiration_time" field. It's identical to ExpirationTimeEQ.

func ExpirationTimeEQ

func ExpirationTimeEQ(v time.Time) predicate.ComputeInstance

ExpirationTimeEQ applies the EQ predicate on the "expiration_time" field.

func ExpirationTimeGT

func ExpirationTimeGT(v time.Time) predicate.ComputeInstance

ExpirationTimeGT applies the GT predicate on the "expiration_time" field.

func ExpirationTimeGTE

func ExpirationTimeGTE(v time.Time) predicate.ComputeInstance

ExpirationTimeGTE applies the GTE predicate on the "expiration_time" field.

func ExpirationTimeIn

func ExpirationTimeIn(vs ...time.Time) predicate.ComputeInstance

ExpirationTimeIn applies the In predicate on the "expiration_time" field.

func ExpirationTimeLT

func ExpirationTimeLT(v time.Time) predicate.ComputeInstance

ExpirationTimeLT applies the LT predicate on the "expiration_time" field.

func ExpirationTimeLTE

func ExpirationTimeLTE(v time.Time) predicate.ComputeInstance

ExpirationTimeLTE applies the LTE predicate on the "expiration_time" field.

func ExpirationTimeNEQ

func ExpirationTimeNEQ(v time.Time) predicate.ComputeInstance

ExpirationTimeNEQ applies the NEQ predicate on the "expiration_time" field.

func ExpirationTimeNotIn

func ExpirationTimeNotIn(vs ...time.Time) predicate.ComputeInstance

ExpirationTimeNotIn applies the NotIn predicate on the "expiration_time" field.

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

func IDIn(ids ...uuid.UUID) predicate.ComputeInstance

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.ComputeInstance

IDNotIn applies the NotIn predicate on the ID field.

func Image

Image applies equality check predicate on the "image" field. It's identical to ImageEQ.

func ImageContains

func ImageContains(v string) predicate.ComputeInstance

ImageContains applies the Contains predicate on the "image" field.

func ImageContainsFold

func ImageContainsFold(v string) predicate.ComputeInstance

ImageContainsFold applies the ContainsFold predicate on the "image" field.

func ImageEQ

func ImageEQ(v string) predicate.ComputeInstance

ImageEQ applies the EQ predicate on the "image" field.

func ImageEqualFold

func ImageEqualFold(v string) predicate.ComputeInstance

ImageEqualFold applies the EqualFold predicate on the "image" field.

func ImageGT

func ImageGT(v string) predicate.ComputeInstance

ImageGT applies the GT predicate on the "image" field.

func ImageGTE

func ImageGTE(v string) predicate.ComputeInstance

ImageGTE applies the GTE predicate on the "image" field.

func ImageHasPrefix

func ImageHasPrefix(v string) predicate.ComputeInstance

ImageHasPrefix applies the HasPrefix predicate on the "image" field.

func ImageHasSuffix

func ImageHasSuffix(v string) predicate.ComputeInstance

ImageHasSuffix applies the HasSuffix predicate on the "image" field.

func ImageIn

func ImageIn(vs ...string) predicate.ComputeInstance

ImageIn applies the In predicate on the "image" field.

func ImageLT

func ImageLT(v string) predicate.ComputeInstance

ImageLT applies the LT predicate on the "image" field.

func ImageLTE

func ImageLTE(v string) predicate.ComputeInstance

ImageLTE applies the LTE predicate on the "image" field.

func ImageNEQ

func ImageNEQ(v string) predicate.ComputeInstance

ImageNEQ applies the NEQ predicate on the "image" field.

func ImageNotIn

func ImageNotIn(vs ...string) predicate.ComputeInstance

ImageNotIn applies the NotIn predicate on the "image" field.

func Memory

Memory applies equality check predicate on the "memory" field. It's identical to MemoryEQ.

func MemoryContains

func MemoryContains(v string) predicate.ComputeInstance

MemoryContains applies the Contains predicate on the "memory" field.

func MemoryContainsFold

func MemoryContainsFold(v string) predicate.ComputeInstance

MemoryContainsFold applies the ContainsFold predicate on the "memory" field.

func MemoryEQ

func MemoryEQ(v string) predicate.ComputeInstance

MemoryEQ applies the EQ predicate on the "memory" field.

func MemoryEqualFold

func MemoryEqualFold(v string) predicate.ComputeInstance

MemoryEqualFold applies the EqualFold predicate on the "memory" field.

func MemoryGT

func MemoryGT(v string) predicate.ComputeInstance

MemoryGT applies the GT predicate on the "memory" field.

func MemoryGTE

func MemoryGTE(v string) predicate.ComputeInstance

MemoryGTE applies the GTE predicate on the "memory" field.

func MemoryHasPrefix

func MemoryHasPrefix(v string) predicate.ComputeInstance

MemoryHasPrefix applies the HasPrefix predicate on the "memory" field.

func MemoryHasSuffix

func MemoryHasSuffix(v string) predicate.ComputeInstance

MemoryHasSuffix applies the HasSuffix predicate on the "memory" field.

func MemoryIn

func MemoryIn(vs ...string) predicate.ComputeInstance

MemoryIn applies the In predicate on the "memory" field.

func MemoryLT

func MemoryLT(v string) predicate.ComputeInstance

MemoryLT applies the LT predicate on the "memory" field.

func MemoryLTE

func MemoryLTE(v string) predicate.ComputeInstance

MemoryLTE applies the LTE predicate on the "memory" field.

func MemoryNEQ

func MemoryNEQ(v string) predicate.ComputeInstance

MemoryNEQ applies the NEQ predicate on the "memory" field.

func MemoryNotIn

func MemoryNotIn(vs ...string) predicate.ComputeInstance

MemoryNotIn applies the NotIn predicate on the "memory" field.

func Name

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

func NameContains

func NameContains(v string) predicate.ComputeInstance

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

func NameContainsFold

func NameContainsFold(v string) predicate.ComputeInstance

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.ComputeInstance

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

func NameGT

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

func NameGTE

func NameGTE(v string) predicate.ComputeInstance

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.ComputeInstance

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ComputeInstance

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

func NameIn

func NameIn(vs ...string) predicate.ComputeInstance

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

func NameLT

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

func NameLTE

func NameLTE(v string) predicate.ComputeInstance

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

func NameNEQ

func NameNEQ(v string) predicate.ComputeInstance

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Owner

Owner applies equality check predicate on the "owner" field. It's identical to OwnerEQ.

func OwnerContains

func OwnerContains(v string) predicate.ComputeInstance

OwnerContains applies the Contains predicate on the "owner" field.

func OwnerContainsFold

func OwnerContainsFold(v string) predicate.ComputeInstance

OwnerContainsFold applies the ContainsFold predicate on the "owner" field.

func OwnerEQ

func OwnerEQ(v string) predicate.ComputeInstance

OwnerEQ applies the EQ predicate on the "owner" field.

func OwnerEqualFold

func OwnerEqualFold(v string) predicate.ComputeInstance

OwnerEqualFold applies the EqualFold predicate on the "owner" field.

func OwnerGT

func OwnerGT(v string) predicate.ComputeInstance

OwnerGT applies the GT predicate on the "owner" field.

func OwnerGTE

func OwnerGTE(v string) predicate.ComputeInstance

OwnerGTE applies the GTE predicate on the "owner" field.

func OwnerHasPrefix

func OwnerHasPrefix(v string) predicate.ComputeInstance

OwnerHasPrefix applies the HasPrefix predicate on the "owner" field.

func OwnerHasSuffix

func OwnerHasSuffix(v string) predicate.ComputeInstance

OwnerHasSuffix applies the HasSuffix predicate on the "owner" field.

func OwnerIn

func OwnerIn(vs ...string) predicate.ComputeInstance

OwnerIn applies the In predicate on the "owner" field.

func OwnerLT

func OwnerLT(v string) predicate.ComputeInstance

OwnerLT applies the LT predicate on the "owner" field.

func OwnerLTE

func OwnerLTE(v string) predicate.ComputeInstance

OwnerLTE applies the LTE predicate on the "owner" field.

func OwnerNEQ

func OwnerNEQ(v string) predicate.ComputeInstance

OwnerNEQ applies the NEQ predicate on the "owner" field.

func OwnerNotIn

func OwnerNotIn(vs ...string) predicate.ComputeInstance

OwnerNotIn applies the NotIn predicate on the "owner" field.

func PeerID

PeerID applies equality check predicate on the "peer_id" field. It's identical to PeerIDEQ.

func PeerIDContains

func PeerIDContains(v string) predicate.ComputeInstance

PeerIDContains applies the Contains predicate on the "peer_id" field.

func PeerIDContainsFold

func PeerIDContainsFold(v string) predicate.ComputeInstance

PeerIDContainsFold applies the ContainsFold predicate on the "peer_id" field.

func PeerIDEQ

func PeerIDEQ(v string) predicate.ComputeInstance

PeerIDEQ applies the EQ predicate on the "peer_id" field.

func PeerIDEqualFold

func PeerIDEqualFold(v string) predicate.ComputeInstance

PeerIDEqualFold applies the EqualFold predicate on the "peer_id" field.

func PeerIDGT

func PeerIDGT(v string) predicate.ComputeInstance

PeerIDGT applies the GT predicate on the "peer_id" field.

func PeerIDGTE

func PeerIDGTE(v string) predicate.ComputeInstance

PeerIDGTE applies the GTE predicate on the "peer_id" field.

func PeerIDHasPrefix

func PeerIDHasPrefix(v string) predicate.ComputeInstance

PeerIDHasPrefix applies the HasPrefix predicate on the "peer_id" field.

func PeerIDHasSuffix

func PeerIDHasSuffix(v string) predicate.ComputeInstance

PeerIDHasSuffix applies the HasSuffix predicate on the "peer_id" field.

func PeerIDIn

func PeerIDIn(vs ...string) predicate.ComputeInstance

PeerIDIn applies the In predicate on the "peer_id" field.

func PeerIDIsNil

func PeerIDIsNil() predicate.ComputeInstance

PeerIDIsNil applies the IsNil predicate on the "peer_id" field.

func PeerIDLT

func PeerIDLT(v string) predicate.ComputeInstance

PeerIDLT applies the LT predicate on the "peer_id" field.

func PeerIDLTE

func PeerIDLTE(v string) predicate.ComputeInstance

PeerIDLTE applies the LTE predicate on the "peer_id" field.

func PeerIDNEQ

func PeerIDNEQ(v string) predicate.ComputeInstance

PeerIDNEQ applies the NEQ predicate on the "peer_id" field.

func PeerIDNotIn

func PeerIDNotIn(vs ...string) predicate.ComputeInstance

PeerIDNotIn applies the NotIn predicate on the "peer_id" field.

func PeerIDNotNil

func PeerIDNotNil() predicate.ComputeInstance

PeerIDNotNil applies the NotNil predicate on the "peer_id" field.

func Port added in v0.0.2

Port applies equality check predicate on the "port" field. It's identical to PortEQ.

func PortContains added in v0.0.2

func PortContains(v string) predicate.ComputeInstance

PortContains applies the Contains predicate on the "port" field.

func PortContainsFold added in v0.0.2

func PortContainsFold(v string) predicate.ComputeInstance

PortContainsFold applies the ContainsFold predicate on the "port" field.

func PortEQ added in v0.0.2

PortEQ applies the EQ predicate on the "port" field.

func PortEqualFold added in v0.0.2

func PortEqualFold(v string) predicate.ComputeInstance

PortEqualFold applies the EqualFold predicate on the "port" field.

func PortGT added in v0.0.2

PortGT applies the GT predicate on the "port" field.

func PortGTE added in v0.0.2

func PortGTE(v string) predicate.ComputeInstance

PortGTE applies the GTE predicate on the "port" field.

func PortHasPrefix added in v0.0.2

func PortHasPrefix(v string) predicate.ComputeInstance

PortHasPrefix applies the HasPrefix predicate on the "port" field.

func PortHasSuffix added in v0.0.2

func PortHasSuffix(v string) predicate.ComputeInstance

PortHasSuffix applies the HasSuffix predicate on the "port" field.

func PortIn added in v0.0.2

func PortIn(vs ...string) predicate.ComputeInstance

PortIn applies the In predicate on the "port" field.

func PortIsNil added in v0.0.2

func PortIsNil() predicate.ComputeInstance

PortIsNil applies the IsNil predicate on the "port" field.

func PortLT added in v0.0.2

PortLT applies the LT predicate on the "port" field.

func PortLTE added in v0.0.2

func PortLTE(v string) predicate.ComputeInstance

PortLTE applies the LTE predicate on the "port" field.

func PortNEQ added in v0.0.2

func PortNEQ(v string) predicate.ComputeInstance

PortNEQ applies the NEQ predicate on the "port" field.

func PortNotIn added in v0.0.2

func PortNotIn(vs ...string) predicate.ComputeInstance

PortNotIn applies the NotIn predicate on the "port" field.

func PortNotNil added in v0.0.2

func PortNotNil() predicate.ComputeInstance

PortNotNil applies the NotNil predicate on the "port" field.

func Status

func Status(v int8) predicate.ComputeInstance

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

func StatusEQ

func StatusEQ(v int8) predicate.ComputeInstance

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

func StatusGT

func StatusGT(v int8) predicate.ComputeInstance

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

func StatusGTE

func StatusGTE(v int8) predicate.ComputeInstance

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

func StatusIn

func StatusIn(vs ...int8) predicate.ComputeInstance

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

func StatusLT

func StatusLT(v int8) predicate.ComputeInstance

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

func StatusLTE

func StatusLTE(v int8) predicate.ComputeInstance

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

func StatusNEQ

func StatusNEQ(v int8) predicate.ComputeInstance

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

func StatusNotIn

func StatusNotIn(vs ...int8) predicate.ComputeInstance

StatusNotIn applies the NotIn predicate on the "status" 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 ComputeInstance queries.

func ByCommand added in v0.0.3

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

ByCommand orders the results by the command field.

func ByContainerID

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

ByContainerID orders the results by the container_id field.

func ByCore

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

ByCore orders the results by the core field.

func ByExpirationTime

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

ByExpirationTime orders the results by the expiration_time field.

func ByID

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

ByID orders the results by the id field.

func ByImage

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

ByImage orders the results by the image field.

func ByMemory

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

ByMemory orders the results by the memory field.

func ByName

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

ByName orders the results by the name field.

func ByOwner

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

ByOwner orders the results by the owner field.

func ByPeerID

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

ByPeerID orders the results by the peer_id field.

func ByPort added in v0.0.2

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

ByPort orders the results by the port field.

func ByStatus

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

ByStatus orders the results by the status field.

Jump to

Keyboard shortcuts

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