Documentation
¶
Index ¶
- Constants
- Variables
- func AgentID(v string) predicate.ComputeInstance
- func AgentIDContains(v string) predicate.ComputeInstance
- func AgentIDContainsFold(v string) predicate.ComputeInstance
- func AgentIDEQ(v string) predicate.ComputeInstance
- func AgentIDEqualFold(v string) predicate.ComputeInstance
- func AgentIDGT(v string) predicate.ComputeInstance
- func AgentIDGTE(v string) predicate.ComputeInstance
- func AgentIDHasPrefix(v string) predicate.ComputeInstance
- func AgentIDHasSuffix(v string) predicate.ComputeInstance
- func AgentIDIn(vs ...string) predicate.ComputeInstance
- func AgentIDIsNil() predicate.ComputeInstance
- func AgentIDLT(v string) predicate.ComputeInstance
- func AgentIDLTE(v string) predicate.ComputeInstance
- func AgentIDNEQ(v string) predicate.ComputeInstance
- func AgentIDNotIn(vs ...string) predicate.ComputeInstance
- func AgentIDNotNil() predicate.ComputeInstance
- func And(predicates ...predicate.ComputeInstance) predicate.ComputeInstance
- func Arch(v string) predicate.ComputeInstance
- func ArchContains(v string) predicate.ComputeInstance
- func ArchContainsFold(v string) predicate.ComputeInstance
- func ArchEQ(v string) predicate.ComputeInstance
- func ArchEqualFold(v string) predicate.ComputeInstance
- func ArchGT(v string) predicate.ComputeInstance
- func ArchGTE(v string) predicate.ComputeInstance
- func ArchHasPrefix(v string) predicate.ComputeInstance
- func ArchHasSuffix(v string) predicate.ComputeInstance
- func ArchIn(vs ...string) predicate.ComputeInstance
- func ArchLT(v string) predicate.ComputeInstance
- func ArchLTE(v string) predicate.ComputeInstance
- func ArchNEQ(v string) predicate.ComputeInstance
- func ArchNotIn(vs ...string) predicate.ComputeInstance
- func BootType(v string) predicate.ComputeInstance
- func BootTypeContains(v string) predicate.ComputeInstance
- func BootTypeContainsFold(v string) predicate.ComputeInstance
- func BootTypeEQ(v string) predicate.ComputeInstance
- func BootTypeEqualFold(v string) predicate.ComputeInstance
- func BootTypeGT(v string) predicate.ComputeInstance
- func BootTypeGTE(v string) predicate.ComputeInstance
- func BootTypeHasPrefix(v string) predicate.ComputeInstance
- func BootTypeHasSuffix(v string) predicate.ComputeInstance
- func BootTypeIn(vs ...string) predicate.ComputeInstance
- func BootTypeLT(v string) predicate.ComputeInstance
- func BootTypeLTE(v string) predicate.ComputeInstance
- func BootTypeNEQ(v string) predicate.ComputeInstance
- func BootTypeNotIn(vs ...string) predicate.ComputeInstance
- func ContainerID(v string) predicate.ComputeInstance
- func ContainerIDContains(v string) predicate.ComputeInstance
- func ContainerIDContainsFold(v string) predicate.ComputeInstance
- func ContainerIDEQ(v string) predicate.ComputeInstance
- func ContainerIDEqualFold(v string) predicate.ComputeInstance
- func ContainerIDGT(v string) predicate.ComputeInstance
- func ContainerIDGTE(v string) predicate.ComputeInstance
- func ContainerIDHasPrefix(v string) predicate.ComputeInstance
- func ContainerIDHasSuffix(v string) predicate.ComputeInstance
- func ContainerIDIn(vs ...string) predicate.ComputeInstance
- func ContainerIDIsNil() predicate.ComputeInstance
- func ContainerIDLT(v string) predicate.ComputeInstance
- func ContainerIDLTE(v string) predicate.ComputeInstance
- func ContainerIDNEQ(v string) predicate.ComputeInstance
- func ContainerIDNotIn(vs ...string) predicate.ComputeInstance
- func ContainerIDNotNil() predicate.ComputeInstance
- func Core(v int) predicate.ComputeInstance
- func CoreEQ(v int) predicate.ComputeInstance
- func CoreGT(v int) predicate.ComputeInstance
- func CoreGTE(v int) predicate.ComputeInstance
- func CoreIn(vs ...int) predicate.ComputeInstance
- func CoreLT(v int) predicate.ComputeInstance
- func CoreLTE(v int) predicate.ComputeInstance
- func CoreNEQ(v int) predicate.ComputeInstance
- func CoreNotIn(vs ...int) predicate.ComputeInstance
- func CreateTime(v time.Time) predicate.ComputeInstance
- func CreateTimeEQ(v time.Time) predicate.ComputeInstance
- func CreateTimeGT(v time.Time) predicate.ComputeInstance
- func CreateTimeGTE(v time.Time) predicate.ComputeInstance
- func CreateTimeIn(vs ...time.Time) predicate.ComputeInstance
- func CreateTimeLT(v time.Time) predicate.ComputeInstance
- func CreateTimeLTE(v time.Time) predicate.ComputeInstance
- func CreateTimeNEQ(v time.Time) predicate.ComputeInstance
- func CreateTimeNotIn(vs ...time.Time) predicate.ComputeInstance
- func DockerCompose(v string) predicate.ComputeInstance
- func DockerComposeContains(v string) predicate.ComputeInstance
- func DockerComposeContainsFold(v string) predicate.ComputeInstance
- func DockerComposeEQ(v string) predicate.ComputeInstance
- func DockerComposeEqualFold(v string) predicate.ComputeInstance
- func DockerComposeGT(v string) predicate.ComputeInstance
- func DockerComposeGTE(v string) predicate.ComputeInstance
- func DockerComposeHasPrefix(v string) predicate.ComputeInstance
- func DockerComposeHasSuffix(v string) predicate.ComputeInstance
- func DockerComposeIn(vs ...string) predicate.ComputeInstance
- func DockerComposeLT(v string) predicate.ComputeInstance
- func DockerComposeLTE(v string) predicate.ComputeInstance
- func DockerComposeNEQ(v string) predicate.ComputeInstance
- func DockerComposeNotIn(vs ...string) predicate.ComputeInstance
- func ExpirationTime(v time.Time) predicate.ComputeInstance
- func ExpirationTimeEQ(v time.Time) predicate.ComputeInstance
- func ExpirationTimeGT(v time.Time) predicate.ComputeInstance
- func ExpirationTimeGTE(v time.Time) predicate.ComputeInstance
- func ExpirationTimeIn(vs ...time.Time) predicate.ComputeInstance
- func ExpirationTimeLT(v time.Time) predicate.ComputeInstance
- func ExpirationTimeLTE(v time.Time) predicate.ComputeInstance
- func ExpirationTimeNEQ(v time.Time) predicate.ComputeInstance
- func ExpirationTimeNotIn(vs ...time.Time) predicate.ComputeInstance
- func ID(id uuid.UUID) predicate.ComputeInstance
- func IDEQ(id uuid.UUID) predicate.ComputeInstance
- func IDGT(id uuid.UUID) predicate.ComputeInstance
- func IDGTE(id uuid.UUID) predicate.ComputeInstance
- func IDIn(ids ...uuid.UUID) predicate.ComputeInstance
- func IDLT(id uuid.UUID) predicate.ComputeInstance
- func IDLTE(id uuid.UUID) predicate.ComputeInstance
- func IDNEQ(id uuid.UUID) predicate.ComputeInstance
- func IDNotIn(ids ...uuid.UUID) predicate.ComputeInstance
- func Image(v string) predicate.ComputeInstance
- func ImageContains(v string) predicate.ComputeInstance
- func ImageContainsFold(v string) predicate.ComputeInstance
- func ImageEQ(v string) predicate.ComputeInstance
- func ImageEqualFold(v string) predicate.ComputeInstance
- func ImageGT(v string) predicate.ComputeInstance
- func ImageGTE(v string) predicate.ComputeInstance
- func ImageHasPrefix(v string) predicate.ComputeInstance
- func ImageHasSuffix(v string) predicate.ComputeInstance
- func ImageID(v int32) predicate.ComputeInstance
- func ImageIDEQ(v int32) predicate.ComputeInstance
- func ImageIDGT(v int32) predicate.ComputeInstance
- func ImageIDGTE(v int32) predicate.ComputeInstance
- func ImageIDIn(vs ...int32) predicate.ComputeInstance
- func ImageIDLT(v int32) predicate.ComputeInstance
- func ImageIDLTE(v int32) predicate.ComputeInstance
- func ImageIDNEQ(v int32) predicate.ComputeInstance
- func ImageIDNotIn(vs ...int32) predicate.ComputeInstance
- func ImageIn(vs ...string) predicate.ComputeInstance
- func ImageLT(v string) predicate.ComputeInstance
- func ImageLTE(v string) predicate.ComputeInstance
- func ImageNEQ(v string) predicate.ComputeInstance
- func ImageNotIn(vs ...string) predicate.ComputeInstance
- func Memory(v int) predicate.ComputeInstance
- func MemoryEQ(v int) predicate.ComputeInstance
- func MemoryGT(v int) predicate.ComputeInstance
- func MemoryGTE(v int) predicate.ComputeInstance
- func MemoryIn(vs ...int) predicate.ComputeInstance
- func MemoryLT(v int) predicate.ComputeInstance
- func MemoryLTE(v int) predicate.ComputeInstance
- func MemoryNEQ(v int) predicate.ComputeInstance
- func MemoryNotIn(vs ...int) predicate.ComputeInstance
- func Name(v string) predicate.ComputeInstance
- func NameContains(v string) predicate.ComputeInstance
- func NameContainsFold(v string) predicate.ComputeInstance
- func NameEQ(v string) predicate.ComputeInstance
- func NameEqualFold(v string) predicate.ComputeInstance
- func NameGT(v string) predicate.ComputeInstance
- func NameGTE(v string) predicate.ComputeInstance
- func NameHasPrefix(v string) predicate.ComputeInstance
- func NameHasSuffix(v string) predicate.ComputeInstance
- func NameIn(vs ...string) predicate.ComputeInstance
- func NameLT(v string) predicate.ComputeInstance
- func NameLTE(v string) predicate.ComputeInstance
- func NameNEQ(v string) predicate.ComputeInstance
- func NameNotIn(vs ...string) predicate.ComputeInstance
- func Not(p predicate.ComputeInstance) predicate.ComputeInstance
- func Or(predicates ...predicate.ComputeInstance) predicate.ComputeInstance
- func Owner(v string) predicate.ComputeInstance
- func OwnerContains(v string) predicate.ComputeInstance
- func OwnerContainsFold(v string) predicate.ComputeInstance
- func OwnerEQ(v string) predicate.ComputeInstance
- func OwnerEqualFold(v string) predicate.ComputeInstance
- func OwnerGT(v string) predicate.ComputeInstance
- func OwnerGTE(v string) predicate.ComputeInstance
- func OwnerHasPrefix(v string) predicate.ComputeInstance
- func OwnerHasSuffix(v string) predicate.ComputeInstance
- func OwnerIn(vs ...string) predicate.ComputeInstance
- func OwnerLT(v string) predicate.ComputeInstance
- func OwnerLTE(v string) predicate.ComputeInstance
- func OwnerNEQ(v string) predicate.ComputeInstance
- func OwnerNotIn(vs ...string) predicate.ComputeInstance
- func Port(v string) predicate.ComputeInstance
- func PortContains(v string) predicate.ComputeInstance
- func PortContainsFold(v string) predicate.ComputeInstance
- func PortEQ(v string) predicate.ComputeInstance
- func PortEqualFold(v string) predicate.ComputeInstance
- func PortGT(v string) predicate.ComputeInstance
- func PortGTE(v string) predicate.ComputeInstance
- func PortHasPrefix(v string) predicate.ComputeInstance
- func PortHasSuffix(v string) predicate.ComputeInstance
- func PortIn(vs ...string) predicate.ComputeInstance
- func PortIsNil() predicate.ComputeInstance
- func PortLT(v string) predicate.ComputeInstance
- func PortLTE(v string) predicate.ComputeInstance
- func PortNEQ(v string) predicate.ComputeInstance
- func PortNotIn(vs ...string) predicate.ComputeInstance
- func PortNotNil() predicate.ComputeInstance
- func Status(v compute.InstanceStatus) predicate.ComputeInstance
- func StatusEQ(v compute.InstanceStatus) predicate.ComputeInstance
- func StatusGT(v compute.InstanceStatus) predicate.ComputeInstance
- func StatusGTE(v compute.InstanceStatus) predicate.ComputeInstance
- func StatusIn(vs ...compute.InstanceStatus) predicate.ComputeInstance
- func StatusLT(v compute.InstanceStatus) predicate.ComputeInstance
- func StatusLTE(v compute.InstanceStatus) predicate.ComputeInstance
- func StatusNEQ(v compute.InstanceStatus) predicate.ComputeInstance
- func StatusNotIn(vs ...compute.InstanceStatus) predicate.ComputeInstance
- func ValidColumn(column string) bool
- func VncIP(v string) predicate.ComputeInstance
- func VncIPContains(v string) predicate.ComputeInstance
- func VncIPContainsFold(v string) predicate.ComputeInstance
- func VncIPEQ(v string) predicate.ComputeInstance
- func VncIPEqualFold(v string) predicate.ComputeInstance
- func VncIPGT(v string) predicate.ComputeInstance
- func VncIPGTE(v string) predicate.ComputeInstance
- func VncIPHasPrefix(v string) predicate.ComputeInstance
- func VncIPHasSuffix(v string) predicate.ComputeInstance
- func VncIPIn(vs ...string) predicate.ComputeInstance
- func VncIPLT(v string) predicate.ComputeInstance
- func VncIPLTE(v string) predicate.ComputeInstance
- func VncIPNEQ(v string) predicate.ComputeInstance
- func VncIPNotIn(vs ...string) predicate.ComputeInstance
- func VncPort(v int32) predicate.ComputeInstance
- func VncPortEQ(v int32) predicate.ComputeInstance
- func VncPortGT(v int32) predicate.ComputeInstance
- func VncPortGTE(v int32) predicate.ComputeInstance
- func VncPortIn(vs ...int32) predicate.ComputeInstance
- func VncPortLT(v int32) predicate.ComputeInstance
- func VncPortLTE(v int32) predicate.ComputeInstance
- func VncPortNEQ(v int32) predicate.ComputeInstance
- func VncPortNotIn(vs ...int32) predicate.ComputeInstance
- type OrderOption
- func ByAgentID(opts ...sql.OrderTermOption) OrderOption
- func ByArch(opts ...sql.OrderTermOption) OrderOption
- func ByBootType(opts ...sql.OrderTermOption) OrderOption
- func ByContainerID(opts ...sql.OrderTermOption) OrderOption
- func ByCore(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByDockerCompose(opts ...sql.OrderTermOption) OrderOption
- func ByExpirationTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImage(opts ...sql.OrderTermOption) OrderOption
- func ByImageID(opts ...sql.OrderTermOption) OrderOption
- func ByMemory(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwner(opts ...sql.OrderTermOption) OrderOption
- func ByPort(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByVncIP(opts ...sql.OrderTermOption) OrderOption
- func ByVncPort(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" // FieldImageID holds the string denoting the image_id field in the database. FieldImageID = "image_id" // 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" // FieldAgentID holds the string denoting the agent_id field in the database. FieldAgentID = "agent_id" // FieldVncIP holds the string denoting the vnc_ip field in the database. FieldVncIP = "vnc_ip" // FieldVncPort holds the string denoting the vnc_port field in the database. FieldVncPort = "vnc_port" // FieldDockerCompose holds the string denoting the docker_compose field in the database. FieldDockerCompose = "docker_compose" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldArch holds the string denoting the arch field in the database. FieldArch = "arch" // FieldBootType holds the string denoting the boot_type field in the database. FieldBootType = "boot_type" // Table holds the table name of the computeinstance in the database. Table = "compute_instances" )
Variables ¶
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 // ImageValidator is a validator for the "image" field. It is called by the builders before save. ImageValidator func(string) error // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultBootType holds the default value on creation for the "boot_type" field. DefaultBootType string // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldOwner, FieldName, FieldCore, FieldMemory, FieldImage, FieldImageID, FieldPort, FieldExpirationTime, FieldStatus, FieldContainerID, FieldAgentID, FieldVncIP, FieldVncPort, FieldDockerCompose, FieldCreateTime, FieldArch, FieldBootType, }
Columns holds all SQL columns for computeinstance fields.
Functions ¶
func AgentID ¶
func AgentID(v string) predicate.ComputeInstance
AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.
func AgentIDContains ¶
func AgentIDContains(v string) predicate.ComputeInstance
AgentIDContains applies the Contains predicate on the "agent_id" field.
func AgentIDContainsFold ¶
func AgentIDContainsFold(v string) predicate.ComputeInstance
AgentIDContainsFold applies the ContainsFold predicate on the "agent_id" field.
func AgentIDEQ ¶
func AgentIDEQ(v string) predicate.ComputeInstance
AgentIDEQ applies the EQ predicate on the "agent_id" field.
func AgentIDEqualFold ¶
func AgentIDEqualFold(v string) predicate.ComputeInstance
AgentIDEqualFold applies the EqualFold predicate on the "agent_id" field.
func AgentIDGT ¶
func AgentIDGT(v string) predicate.ComputeInstance
AgentIDGT applies the GT predicate on the "agent_id" field.
func AgentIDGTE ¶
func AgentIDGTE(v string) predicate.ComputeInstance
AgentIDGTE applies the GTE predicate on the "agent_id" field.
func AgentIDHasPrefix ¶
func AgentIDHasPrefix(v string) predicate.ComputeInstance
AgentIDHasPrefix applies the HasPrefix predicate on the "agent_id" field.
func AgentIDHasSuffix ¶
func AgentIDHasSuffix(v string) predicate.ComputeInstance
AgentIDHasSuffix applies the HasSuffix predicate on the "agent_id" field.
func AgentIDIn ¶
func AgentIDIn(vs ...string) predicate.ComputeInstance
AgentIDIn applies the In predicate on the "agent_id" field.
func AgentIDIsNil ¶
func AgentIDIsNil() predicate.ComputeInstance
AgentIDIsNil applies the IsNil predicate on the "agent_id" field.
func AgentIDLT ¶
func AgentIDLT(v string) predicate.ComputeInstance
AgentIDLT applies the LT predicate on the "agent_id" field.
func AgentIDLTE ¶
func AgentIDLTE(v string) predicate.ComputeInstance
AgentIDLTE applies the LTE predicate on the "agent_id" field.
func AgentIDNEQ ¶
func AgentIDNEQ(v string) predicate.ComputeInstance
AgentIDNEQ applies the NEQ predicate on the "agent_id" field.
func AgentIDNotIn ¶
func AgentIDNotIn(vs ...string) predicate.ComputeInstance
AgentIDNotIn applies the NotIn predicate on the "agent_id" field.
func AgentIDNotNil ¶
func AgentIDNotNil() predicate.ComputeInstance
AgentIDNotNil applies the NotNil predicate on the "agent_id" field.
func And ¶
func And(predicates ...predicate.ComputeInstance) predicate.ComputeInstance
And groups predicates with the AND operator between them.
func Arch ¶ added in v0.0.12
func Arch(v string) predicate.ComputeInstance
Arch applies equality check predicate on the "arch" field. It's identical to ArchEQ.
func ArchContains ¶ added in v0.0.12
func ArchContains(v string) predicate.ComputeInstance
ArchContains applies the Contains predicate on the "arch" field.
func ArchContainsFold ¶ added in v0.0.12
func ArchContainsFold(v string) predicate.ComputeInstance
ArchContainsFold applies the ContainsFold predicate on the "arch" field.
func ArchEQ ¶ added in v0.0.12
func ArchEQ(v string) predicate.ComputeInstance
ArchEQ applies the EQ predicate on the "arch" field.
func ArchEqualFold ¶ added in v0.0.12
func ArchEqualFold(v string) predicate.ComputeInstance
ArchEqualFold applies the EqualFold predicate on the "arch" field.
func ArchGT ¶ added in v0.0.12
func ArchGT(v string) predicate.ComputeInstance
ArchGT applies the GT predicate on the "arch" field.
func ArchGTE ¶ added in v0.0.12
func ArchGTE(v string) predicate.ComputeInstance
ArchGTE applies the GTE predicate on the "arch" field.
func ArchHasPrefix ¶ added in v0.0.12
func ArchHasPrefix(v string) predicate.ComputeInstance
ArchHasPrefix applies the HasPrefix predicate on the "arch" field.
func ArchHasSuffix ¶ added in v0.0.12
func ArchHasSuffix(v string) predicate.ComputeInstance
ArchHasSuffix applies the HasSuffix predicate on the "arch" field.
func ArchIn ¶ added in v0.0.12
func ArchIn(vs ...string) predicate.ComputeInstance
ArchIn applies the In predicate on the "arch" field.
func ArchLT ¶ added in v0.0.12
func ArchLT(v string) predicate.ComputeInstance
ArchLT applies the LT predicate on the "arch" field.
func ArchLTE ¶ added in v0.0.12
func ArchLTE(v string) predicate.ComputeInstance
ArchLTE applies the LTE predicate on the "arch" field.
func ArchNEQ ¶ added in v0.0.12
func ArchNEQ(v string) predicate.ComputeInstance
ArchNEQ applies the NEQ predicate on the "arch" field.
func ArchNotIn ¶ added in v0.0.12
func ArchNotIn(vs ...string) predicate.ComputeInstance
ArchNotIn applies the NotIn predicate on the "arch" field.
func BootType ¶ added in v0.0.12
func BootType(v string) predicate.ComputeInstance
BootType applies equality check predicate on the "boot_type" field. It's identical to BootTypeEQ.
func BootTypeContains ¶ added in v0.0.12
func BootTypeContains(v string) predicate.ComputeInstance
BootTypeContains applies the Contains predicate on the "boot_type" field.
func BootTypeContainsFold ¶ added in v0.0.12
func BootTypeContainsFold(v string) predicate.ComputeInstance
BootTypeContainsFold applies the ContainsFold predicate on the "boot_type" field.
func BootTypeEQ ¶ added in v0.0.12
func BootTypeEQ(v string) predicate.ComputeInstance
BootTypeEQ applies the EQ predicate on the "boot_type" field.
func BootTypeEqualFold ¶ added in v0.0.12
func BootTypeEqualFold(v string) predicate.ComputeInstance
BootTypeEqualFold applies the EqualFold predicate on the "boot_type" field.
func BootTypeGT ¶ added in v0.0.12
func BootTypeGT(v string) predicate.ComputeInstance
BootTypeGT applies the GT predicate on the "boot_type" field.
func BootTypeGTE ¶ added in v0.0.12
func BootTypeGTE(v string) predicate.ComputeInstance
BootTypeGTE applies the GTE predicate on the "boot_type" field.
func BootTypeHasPrefix ¶ added in v0.0.12
func BootTypeHasPrefix(v string) predicate.ComputeInstance
BootTypeHasPrefix applies the HasPrefix predicate on the "boot_type" field.
func BootTypeHasSuffix ¶ added in v0.0.12
func BootTypeHasSuffix(v string) predicate.ComputeInstance
BootTypeHasSuffix applies the HasSuffix predicate on the "boot_type" field.
func BootTypeIn ¶ added in v0.0.12
func BootTypeIn(vs ...string) predicate.ComputeInstance
BootTypeIn applies the In predicate on the "boot_type" field.
func BootTypeLT ¶ added in v0.0.12
func BootTypeLT(v string) predicate.ComputeInstance
BootTypeLT applies the LT predicate on the "boot_type" field.
func BootTypeLTE ¶ added in v0.0.12
func BootTypeLTE(v string) predicate.ComputeInstance
BootTypeLTE applies the LTE predicate on the "boot_type" field.
func BootTypeNEQ ¶ added in v0.0.12
func BootTypeNEQ(v string) predicate.ComputeInstance
BootTypeNEQ applies the NEQ predicate on the "boot_type" field.
func BootTypeNotIn ¶ added in v0.0.12
func BootTypeNotIn(vs ...string) predicate.ComputeInstance
BootTypeNotIn applies the NotIn predicate on the "boot_type" 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 ¶
func Core(v int) predicate.ComputeInstance
Core applies equality check predicate on the "core" field. It's identical to CoreEQ.
func CoreEQ ¶
func CoreEQ(v int) predicate.ComputeInstance
CoreEQ applies the EQ predicate on the "core" field.
func CoreGT ¶
func CoreGT(v int) predicate.ComputeInstance
CoreGT applies the GT predicate on the "core" field.
func CoreGTE ¶
func CoreGTE(v int) predicate.ComputeInstance
CoreGTE applies the GTE predicate on the "core" field.
func CoreIn ¶
func CoreIn(vs ...int) predicate.ComputeInstance
CoreIn applies the In predicate on the "core" field.
func CoreLT ¶
func CoreLT(v int) predicate.ComputeInstance
CoreLT applies the LT predicate on the "core" field.
func CoreLTE ¶
func CoreLTE(v int) predicate.ComputeInstance
CoreLTE applies the LTE predicate on the "core" field.
func CoreNEQ ¶
func CoreNEQ(v int) predicate.ComputeInstance
CoreNEQ applies the NEQ predicate on the "core" field.
func CoreNotIn ¶
func CoreNotIn(vs ...int) predicate.ComputeInstance
CoreNotIn applies the NotIn predicate on the "core" field.
func CreateTime ¶
func CreateTime(v time.Time) predicate.ComputeInstance
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.ComputeInstance
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.ComputeInstance
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.ComputeInstance
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.ComputeInstance
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.ComputeInstance
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.ComputeInstance
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.ComputeInstance
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.ComputeInstance
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DockerCompose ¶
func DockerCompose(v string) predicate.ComputeInstance
DockerCompose applies equality check predicate on the "docker_compose" field. It's identical to DockerComposeEQ.
func DockerComposeContains ¶
func DockerComposeContains(v string) predicate.ComputeInstance
DockerComposeContains applies the Contains predicate on the "docker_compose" field.
func DockerComposeContainsFold ¶
func DockerComposeContainsFold(v string) predicate.ComputeInstance
DockerComposeContainsFold applies the ContainsFold predicate on the "docker_compose" field.
func DockerComposeEQ ¶
func DockerComposeEQ(v string) predicate.ComputeInstance
DockerComposeEQ applies the EQ predicate on the "docker_compose" field.
func DockerComposeEqualFold ¶
func DockerComposeEqualFold(v string) predicate.ComputeInstance
DockerComposeEqualFold applies the EqualFold predicate on the "docker_compose" field.
func DockerComposeGT ¶
func DockerComposeGT(v string) predicate.ComputeInstance
DockerComposeGT applies the GT predicate on the "docker_compose" field.
func DockerComposeGTE ¶
func DockerComposeGTE(v string) predicate.ComputeInstance
DockerComposeGTE applies the GTE predicate on the "docker_compose" field.
func DockerComposeHasPrefix ¶
func DockerComposeHasPrefix(v string) predicate.ComputeInstance
DockerComposeHasPrefix applies the HasPrefix predicate on the "docker_compose" field.
func DockerComposeHasSuffix ¶
func DockerComposeHasSuffix(v string) predicate.ComputeInstance
DockerComposeHasSuffix applies the HasSuffix predicate on the "docker_compose" field.
func DockerComposeIn ¶
func DockerComposeIn(vs ...string) predicate.ComputeInstance
DockerComposeIn applies the In predicate on the "docker_compose" field.
func DockerComposeLT ¶
func DockerComposeLT(v string) predicate.ComputeInstance
DockerComposeLT applies the LT predicate on the "docker_compose" field.
func DockerComposeLTE ¶
func DockerComposeLTE(v string) predicate.ComputeInstance
DockerComposeLTE applies the LTE predicate on the "docker_compose" field.
func DockerComposeNEQ ¶
func DockerComposeNEQ(v string) predicate.ComputeInstance
DockerComposeNEQ applies the NEQ predicate on the "docker_compose" field.
func DockerComposeNotIn ¶
func DockerComposeNotIn(vs ...string) predicate.ComputeInstance
DockerComposeNotIn applies the NotIn predicate on the "docker_compose" 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 ¶
func ID(id uuid.UUID) predicate.ComputeInstance
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ComputeInstance
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ComputeInstance
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ComputeInstance
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 ¶
func IDLT(id uuid.UUID) predicate.ComputeInstance
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ComputeInstance
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ComputeInstance
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 ¶
func Image(v string) predicate.ComputeInstance
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 ImageID ¶
func ImageID(v int32) predicate.ComputeInstance
ImageID applies equality check predicate on the "image_id" field. It's identical to ImageIDEQ.
func ImageIDEQ ¶
func ImageIDEQ(v int32) predicate.ComputeInstance
ImageIDEQ applies the EQ predicate on the "image_id" field.
func ImageIDGT ¶
func ImageIDGT(v int32) predicate.ComputeInstance
ImageIDGT applies the GT predicate on the "image_id" field.
func ImageIDGTE ¶
func ImageIDGTE(v int32) predicate.ComputeInstance
ImageIDGTE applies the GTE predicate on the "image_id" field.
func ImageIDIn ¶
func ImageIDIn(vs ...int32) predicate.ComputeInstance
ImageIDIn applies the In predicate on the "image_id" field.
func ImageIDLT ¶
func ImageIDLT(v int32) predicate.ComputeInstance
ImageIDLT applies the LT predicate on the "image_id" field.
func ImageIDLTE ¶
func ImageIDLTE(v int32) predicate.ComputeInstance
ImageIDLTE applies the LTE predicate on the "image_id" field.
func ImageIDNEQ ¶
func ImageIDNEQ(v int32) predicate.ComputeInstance
ImageIDNEQ applies the NEQ predicate on the "image_id" field.
func ImageIDNotIn ¶
func ImageIDNotIn(vs ...int32) predicate.ComputeInstance
ImageIDNotIn applies the NotIn predicate on the "image_id" 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 ¶
func Memory(v int) predicate.ComputeInstance
Memory applies equality check predicate on the "memory" field. It's identical to MemoryEQ.
func MemoryEQ ¶
func MemoryEQ(v int) predicate.ComputeInstance
MemoryEQ applies the EQ predicate on the "memory" field.
func MemoryGT ¶
func MemoryGT(v int) predicate.ComputeInstance
MemoryGT applies the GT predicate on the "memory" field.
func MemoryGTE ¶
func MemoryGTE(v int) predicate.ComputeInstance
MemoryGTE applies the GTE predicate on the "memory" field.
func MemoryIn ¶
func MemoryIn(vs ...int) predicate.ComputeInstance
MemoryIn applies the In predicate on the "memory" field.
func MemoryLT ¶
func MemoryLT(v int) predicate.ComputeInstance
MemoryLT applies the LT predicate on the "memory" field.
func MemoryLTE ¶
func MemoryLTE(v int) predicate.ComputeInstance
MemoryLTE applies the LTE predicate on the "memory" field.
func MemoryNEQ ¶
func MemoryNEQ(v int) predicate.ComputeInstance
MemoryNEQ applies the NEQ predicate on the "memory" field.
func MemoryNotIn ¶
func MemoryNotIn(vs ...int) predicate.ComputeInstance
MemoryNotIn applies the NotIn predicate on the "memory" field.
func Name ¶
func Name(v string) predicate.ComputeInstance
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 ¶
func NameEQ(v string) predicate.ComputeInstance
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 ¶
func NameGT(v string) predicate.ComputeInstance
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 ¶
func NameLT(v string) predicate.ComputeInstance
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 ¶
func Not(p predicate.ComputeInstance) predicate.ComputeInstance
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ComputeInstance) predicate.ComputeInstance
Or groups predicates with the OR operator between them.
func Owner ¶
func Owner(v string) predicate.ComputeInstance
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 Port ¶
func Port(v string) predicate.ComputeInstance
Port applies equality check predicate on the "port" field. It's identical to PortEQ.
func PortContains ¶
func PortContains(v string) predicate.ComputeInstance
PortContains applies the Contains predicate on the "port" field.
func PortContainsFold ¶
func PortContainsFold(v string) predicate.ComputeInstance
PortContainsFold applies the ContainsFold predicate on the "port" field.
func PortEQ ¶
func PortEQ(v string) predicate.ComputeInstance
PortEQ applies the EQ predicate on the "port" field.
func PortEqualFold ¶
func PortEqualFold(v string) predicate.ComputeInstance
PortEqualFold applies the EqualFold predicate on the "port" field.
func PortGT ¶
func PortGT(v string) predicate.ComputeInstance
PortGT applies the GT predicate on the "port" field.
func PortGTE ¶
func PortGTE(v string) predicate.ComputeInstance
PortGTE applies the GTE predicate on the "port" field.
func PortHasPrefix ¶
func PortHasPrefix(v string) predicate.ComputeInstance
PortHasPrefix applies the HasPrefix predicate on the "port" field.
func PortHasSuffix ¶
func PortHasSuffix(v string) predicate.ComputeInstance
PortHasSuffix applies the HasSuffix predicate on the "port" field.
func PortIn ¶
func PortIn(vs ...string) predicate.ComputeInstance
PortIn applies the In predicate on the "port" field.
func PortIsNil ¶
func PortIsNil() predicate.ComputeInstance
PortIsNil applies the IsNil predicate on the "port" field.
func PortLT ¶
func PortLT(v string) predicate.ComputeInstance
PortLT applies the LT predicate on the "port" field.
func PortLTE ¶
func PortLTE(v string) predicate.ComputeInstance
PortLTE applies the LTE predicate on the "port" field.
func PortNEQ ¶
func PortNEQ(v string) predicate.ComputeInstance
PortNEQ applies the NEQ predicate on the "port" field.
func PortNotIn ¶
func PortNotIn(vs ...string) predicate.ComputeInstance
PortNotIn applies the NotIn predicate on the "port" field.
func PortNotNil ¶
func PortNotNil() predicate.ComputeInstance
PortNotNil applies the NotNil predicate on the "port" field.
func Status ¶
func Status(v compute.InstanceStatus) predicate.ComputeInstance
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v compute.InstanceStatus) predicate.ComputeInstance
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v compute.InstanceStatus) predicate.ComputeInstance
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v compute.InstanceStatus) predicate.ComputeInstance
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...compute.InstanceStatus) predicate.ComputeInstance
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v compute.InstanceStatus) predicate.ComputeInstance
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v compute.InstanceStatus) predicate.ComputeInstance
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v compute.InstanceStatus) predicate.ComputeInstance
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...compute.InstanceStatus) predicate.ComputeInstance
StatusNotIn applies the NotIn predicate on the "status" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VncIP ¶
func VncIP(v string) predicate.ComputeInstance
VncIP applies equality check predicate on the "vnc_ip" field. It's identical to VncIPEQ.
func VncIPContains ¶
func VncIPContains(v string) predicate.ComputeInstance
VncIPContains applies the Contains predicate on the "vnc_ip" field.
func VncIPContainsFold ¶
func VncIPContainsFold(v string) predicate.ComputeInstance
VncIPContainsFold applies the ContainsFold predicate on the "vnc_ip" field.
func VncIPEQ ¶
func VncIPEQ(v string) predicate.ComputeInstance
VncIPEQ applies the EQ predicate on the "vnc_ip" field.
func VncIPEqualFold ¶
func VncIPEqualFold(v string) predicate.ComputeInstance
VncIPEqualFold applies the EqualFold predicate on the "vnc_ip" field.
func VncIPGT ¶
func VncIPGT(v string) predicate.ComputeInstance
VncIPGT applies the GT predicate on the "vnc_ip" field.
func VncIPGTE ¶
func VncIPGTE(v string) predicate.ComputeInstance
VncIPGTE applies the GTE predicate on the "vnc_ip" field.
func VncIPHasPrefix ¶
func VncIPHasPrefix(v string) predicate.ComputeInstance
VncIPHasPrefix applies the HasPrefix predicate on the "vnc_ip" field.
func VncIPHasSuffix ¶
func VncIPHasSuffix(v string) predicate.ComputeInstance
VncIPHasSuffix applies the HasSuffix predicate on the "vnc_ip" field.
func VncIPIn ¶
func VncIPIn(vs ...string) predicate.ComputeInstance
VncIPIn applies the In predicate on the "vnc_ip" field.
func VncIPLT ¶
func VncIPLT(v string) predicate.ComputeInstance
VncIPLT applies the LT predicate on the "vnc_ip" field.
func VncIPLTE ¶
func VncIPLTE(v string) predicate.ComputeInstance
VncIPLTE applies the LTE predicate on the "vnc_ip" field.
func VncIPNEQ ¶
func VncIPNEQ(v string) predicate.ComputeInstance
VncIPNEQ applies the NEQ predicate on the "vnc_ip" field.
func VncIPNotIn ¶
func VncIPNotIn(vs ...string) predicate.ComputeInstance
VncIPNotIn applies the NotIn predicate on the "vnc_ip" field.
func VncPort ¶
func VncPort(v int32) predicate.ComputeInstance
VncPort applies equality check predicate on the "vnc_port" field. It's identical to VncPortEQ.
func VncPortEQ ¶
func VncPortEQ(v int32) predicate.ComputeInstance
VncPortEQ applies the EQ predicate on the "vnc_port" field.
func VncPortGT ¶
func VncPortGT(v int32) predicate.ComputeInstance
VncPortGT applies the GT predicate on the "vnc_port" field.
func VncPortGTE ¶
func VncPortGTE(v int32) predicate.ComputeInstance
VncPortGTE applies the GTE predicate on the "vnc_port" field.
func VncPortIn ¶
func VncPortIn(vs ...int32) predicate.ComputeInstance
VncPortIn applies the In predicate on the "vnc_port" field.
func VncPortLT ¶
func VncPortLT(v int32) predicate.ComputeInstance
VncPortLT applies the LT predicate on the "vnc_port" field.
func VncPortLTE ¶
func VncPortLTE(v int32) predicate.ComputeInstance
VncPortLTE applies the LTE predicate on the "vnc_port" field.
func VncPortNEQ ¶
func VncPortNEQ(v int32) predicate.ComputeInstance
VncPortNEQ applies the NEQ predicate on the "vnc_port" field.
func VncPortNotIn ¶
func VncPortNotIn(vs ...int32) predicate.ComputeInstance
VncPortNotIn applies the NotIn predicate on the "vnc_port" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ComputeInstance queries.
func ByAgentID ¶
func ByAgentID(opts ...sql.OrderTermOption) OrderOption
ByAgentID orders the results by the agent_id field.
func ByArch ¶ added in v0.0.12
func ByArch(opts ...sql.OrderTermOption) OrderOption
ByArch orders the results by the arch field.
func ByBootType ¶ added in v0.0.12
func ByBootType(opts ...sql.OrderTermOption) OrderOption
ByBootType orders the results by the boot_type 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 ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByDockerCompose ¶
func ByDockerCompose(opts ...sql.OrderTermOption) OrderOption
ByDockerCompose orders the results by the docker_compose 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 ByImageID ¶
func ByImageID(opts ...sql.OrderTermOption) OrderOption
ByImageID orders the results by the image_id 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 ByPort ¶
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.
func ByVncIP ¶
func ByVncIP(opts ...sql.OrderTermOption) OrderOption
ByVncIP orders the results by the vnc_ip field.
func ByVncPort ¶
func ByVncPort(opts ...sql.OrderTermOption) OrderOption
ByVncPort orders the results by the vnc_port field.