Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ComputeImage) predicate.ComputeImage
- func Command(v string) predicate.ComputeImage
- func CommandContains(v string) predicate.ComputeImage
- func CommandContainsFold(v string) predicate.ComputeImage
- func CommandEQ(v string) predicate.ComputeImage
- func CommandEqualFold(v string) predicate.ComputeImage
- func CommandGT(v string) predicate.ComputeImage
- func CommandGTE(v string) predicate.ComputeImage
- func CommandHasPrefix(v string) predicate.ComputeImage
- func CommandHasSuffix(v string) predicate.ComputeImage
- func CommandIn(vs ...string) predicate.ComputeImage
- func CommandLT(v string) predicate.ComputeImage
- func CommandLTE(v string) predicate.ComputeImage
- func CommandNEQ(v string) predicate.ComputeImage
- func CommandNotIn(vs ...string) predicate.ComputeImage
- func ID(id int32) predicate.ComputeImage
- func IDEQ(id int32) predicate.ComputeImage
- func IDGT(id int32) predicate.ComputeImage
- func IDGTE(id int32) predicate.ComputeImage
- func IDIn(ids ...int32) predicate.ComputeImage
- func IDLT(id int32) predicate.ComputeImage
- func IDLTE(id int32) predicate.ComputeImage
- func IDNEQ(id int32) predicate.ComputeImage
- func IDNotIn(ids ...int32) predicate.ComputeImage
- func Image(v string) predicate.ComputeImage
- func ImageContains(v string) predicate.ComputeImage
- func ImageContainsFold(v string) predicate.ComputeImage
- func ImageEQ(v string) predicate.ComputeImage
- func ImageEqualFold(v string) predicate.ComputeImage
- func ImageGT(v string) predicate.ComputeImage
- func ImageGTE(v string) predicate.ComputeImage
- func ImageHasPrefix(v string) predicate.ComputeImage
- func ImageHasSuffix(v string) predicate.ComputeImage
- func ImageIn(vs ...string) predicate.ComputeImage
- func ImageLT(v string) predicate.ComputeImage
- func ImageLTE(v string) predicate.ComputeImage
- func ImageNEQ(v string) predicate.ComputeImage
- func ImageNotIn(vs ...string) predicate.ComputeImage
- func Name(v string) predicate.ComputeImage
- func NameContains(v string) predicate.ComputeImage
- func NameContainsFold(v string) predicate.ComputeImage
- func NameEQ(v string) predicate.ComputeImage
- func NameEqualFold(v string) predicate.ComputeImage
- func NameGT(v string) predicate.ComputeImage
- func NameGTE(v string) predicate.ComputeImage
- func NameHasPrefix(v string) predicate.ComputeImage
- func NameHasSuffix(v string) predicate.ComputeImage
- func NameIn(vs ...string) predicate.ComputeImage
- func NameLT(v string) predicate.ComputeImage
- func NameLTE(v string) predicate.ComputeImage
- func NameNEQ(v string) predicate.ComputeImage
- func NameNotIn(vs ...string) predicate.ComputeImage
- func Not(p predicate.ComputeImage) predicate.ComputeImage
- func Or(predicates ...predicate.ComputeImage) predicate.ComputeImage
- func Port(v int32) predicate.ComputeImage
- func PortEQ(v int32) predicate.ComputeImage
- func PortGT(v int32) predicate.ComputeImage
- func PortGTE(v int32) predicate.ComputeImage
- func PortIn(vs ...int32) predicate.ComputeImage
- func PortLT(v int32) predicate.ComputeImage
- func PortLTE(v int32) predicate.ComputeImage
- func PortNEQ(v int32) predicate.ComputeImage
- func PortNotIn(vs ...int32) predicate.ComputeImage
- func Tag(v string) predicate.ComputeImage
- func TagContains(v string) predicate.ComputeImage
- func TagContainsFold(v string) predicate.ComputeImage
- func TagEQ(v string) predicate.ComputeImage
- func TagEqualFold(v string) predicate.ComputeImage
- func TagGT(v string) predicate.ComputeImage
- func TagGTE(v string) predicate.ComputeImage
- func TagHasPrefix(v string) predicate.ComputeImage
- func TagHasSuffix(v string) predicate.ComputeImage
- func TagIn(vs ...string) predicate.ComputeImage
- func TagLT(v string) predicate.ComputeImage
- func TagLTE(v string) predicate.ComputeImage
- func TagNEQ(v string) predicate.ComputeImage
- func TagNotIn(vs ...string) predicate.ComputeImage
- func ValidColumn(column string) bool
- type OrderOption
- func ByCommand(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImage(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPort(opts ...sql.OrderTermOption) OrderOption
- func ByTag(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the computeimage type in the database. Label = "compute_image" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldImage holds the string denoting the image field in the database. FieldImage = "image" // FieldTag holds the string denoting the tag field in the database. FieldTag = "tag" // FieldPort holds the string denoting the port field in the database. FieldPort = "port" // FieldCommand holds the string denoting the command field in the database. FieldCommand = "command" // Table holds the table name of the computeimage in the database. Table = "compute_images" )
Variables ¶
var ( // 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 // TagValidator is a validator for the "tag" field. It is called by the builders before save. TagValidator func(string) error )
var Columns = []string{ FieldID, FieldName, FieldImage, FieldTag, FieldPort, FieldCommand, }
Columns holds all SQL columns for computeimage fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ComputeImage) predicate.ComputeImage
And groups predicates with the AND operator between them.
func Command ¶ added in v0.0.3
func Command(v string) predicate.ComputeImage
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.ComputeImage
CommandContains applies the Contains predicate on the "command" field.
func CommandContainsFold ¶ added in v0.0.3
func CommandContainsFold(v string) predicate.ComputeImage
CommandContainsFold applies the ContainsFold predicate on the "command" field.
func CommandEQ ¶ added in v0.0.3
func CommandEQ(v string) predicate.ComputeImage
CommandEQ applies the EQ predicate on the "command" field.
func CommandEqualFold ¶ added in v0.0.3
func CommandEqualFold(v string) predicate.ComputeImage
CommandEqualFold applies the EqualFold predicate on the "command" field.
func CommandGT ¶ added in v0.0.3
func CommandGT(v string) predicate.ComputeImage
CommandGT applies the GT predicate on the "command" field.
func CommandGTE ¶ added in v0.0.3
func CommandGTE(v string) predicate.ComputeImage
CommandGTE applies the GTE predicate on the "command" field.
func CommandHasPrefix ¶ added in v0.0.3
func CommandHasPrefix(v string) predicate.ComputeImage
CommandHasPrefix applies the HasPrefix predicate on the "command" field.
func CommandHasSuffix ¶ added in v0.0.3
func CommandHasSuffix(v string) predicate.ComputeImage
CommandHasSuffix applies the HasSuffix predicate on the "command" field.
func CommandIn ¶ added in v0.0.3
func CommandIn(vs ...string) predicate.ComputeImage
CommandIn applies the In predicate on the "command" field.
func CommandLT ¶ added in v0.0.3
func CommandLT(v string) predicate.ComputeImage
CommandLT applies the LT predicate on the "command" field.
func CommandLTE ¶ added in v0.0.3
func CommandLTE(v string) predicate.ComputeImage
CommandLTE applies the LTE predicate on the "command" field.
func CommandNEQ ¶ added in v0.0.3
func CommandNEQ(v string) predicate.ComputeImage
CommandNEQ applies the NEQ predicate on the "command" field.
func CommandNotIn ¶ added in v0.0.3
func CommandNotIn(vs ...string) predicate.ComputeImage
CommandNotIn applies the NotIn predicate on the "command" field.
func IDEQ ¶
func IDEQ(id int32) predicate.ComputeImage
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int32) predicate.ComputeImage
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int32) predicate.ComputeImage
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int32) predicate.ComputeImage
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int32) predicate.ComputeImage
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int32) predicate.ComputeImage
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int32) predicate.ComputeImage
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int32) predicate.ComputeImage
IDNotIn applies the NotIn predicate on the ID field.
func Image ¶
func Image(v string) predicate.ComputeImage
Image applies equality check predicate on the "image" field. It's identical to ImageEQ.
func ImageContains ¶
func ImageContains(v string) predicate.ComputeImage
ImageContains applies the Contains predicate on the "image" field.
func ImageContainsFold ¶
func ImageContainsFold(v string) predicate.ComputeImage
ImageContainsFold applies the ContainsFold predicate on the "image" field.
func ImageEQ ¶
func ImageEQ(v string) predicate.ComputeImage
ImageEQ applies the EQ predicate on the "image" field.
func ImageEqualFold ¶
func ImageEqualFold(v string) predicate.ComputeImage
ImageEqualFold applies the EqualFold predicate on the "image" field.
func ImageGT ¶
func ImageGT(v string) predicate.ComputeImage
ImageGT applies the GT predicate on the "image" field.
func ImageGTE ¶
func ImageGTE(v string) predicate.ComputeImage
ImageGTE applies the GTE predicate on the "image" field.
func ImageHasPrefix ¶
func ImageHasPrefix(v string) predicate.ComputeImage
ImageHasPrefix applies the HasPrefix predicate on the "image" field.
func ImageHasSuffix ¶
func ImageHasSuffix(v string) predicate.ComputeImage
ImageHasSuffix applies the HasSuffix predicate on the "image" field.
func ImageIn ¶
func ImageIn(vs ...string) predicate.ComputeImage
ImageIn applies the In predicate on the "image" field.
func ImageLT ¶
func ImageLT(v string) predicate.ComputeImage
ImageLT applies the LT predicate on the "image" field.
func ImageLTE ¶
func ImageLTE(v string) predicate.ComputeImage
ImageLTE applies the LTE predicate on the "image" field.
func ImageNEQ ¶
func ImageNEQ(v string) predicate.ComputeImage
ImageNEQ applies the NEQ predicate on the "image" field.
func ImageNotIn ¶
func ImageNotIn(vs ...string) predicate.ComputeImage
ImageNotIn applies the NotIn predicate on the "image" field.
func Name ¶
func Name(v string) predicate.ComputeImage
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ComputeImage
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ComputeImage
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ComputeImage
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ComputeImage
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ComputeImage
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ComputeImage
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ComputeImage
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ComputeImage
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ComputeImage
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ComputeImage
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ComputeImage
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ComputeImage
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ComputeImage
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ComputeImage) predicate.ComputeImage
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ComputeImage) predicate.ComputeImage
Or groups predicates with the OR operator between them.
func Port ¶
func Port(v int32) predicate.ComputeImage
Port applies equality check predicate on the "port" field. It's identical to PortEQ.
func PortEQ ¶
func PortEQ(v int32) predicate.ComputeImage
PortEQ applies the EQ predicate on the "port" field.
func PortGT ¶
func PortGT(v int32) predicate.ComputeImage
PortGT applies the GT predicate on the "port" field.
func PortGTE ¶
func PortGTE(v int32) predicate.ComputeImage
PortGTE applies the GTE predicate on the "port" field.
func PortIn ¶
func PortIn(vs ...int32) predicate.ComputeImage
PortIn applies the In predicate on the "port" field.
func PortLT ¶
func PortLT(v int32) predicate.ComputeImage
PortLT applies the LT predicate on the "port" field.
func PortLTE ¶
func PortLTE(v int32) predicate.ComputeImage
PortLTE applies the LTE predicate on the "port" field.
func PortNEQ ¶
func PortNEQ(v int32) predicate.ComputeImage
PortNEQ applies the NEQ predicate on the "port" field.
func PortNotIn ¶
func PortNotIn(vs ...int32) predicate.ComputeImage
PortNotIn applies the NotIn predicate on the "port" field.
func Tag ¶
func Tag(v string) predicate.ComputeImage
Tag applies equality check predicate on the "tag" field. It's identical to TagEQ.
func TagContains ¶
func TagContains(v string) predicate.ComputeImage
TagContains applies the Contains predicate on the "tag" field.
func TagContainsFold ¶
func TagContainsFold(v string) predicate.ComputeImage
TagContainsFold applies the ContainsFold predicate on the "tag" field.
func TagEQ ¶
func TagEQ(v string) predicate.ComputeImage
TagEQ applies the EQ predicate on the "tag" field.
func TagEqualFold ¶
func TagEqualFold(v string) predicate.ComputeImage
TagEqualFold applies the EqualFold predicate on the "tag" field.
func TagGT ¶
func TagGT(v string) predicate.ComputeImage
TagGT applies the GT predicate on the "tag" field.
func TagGTE ¶
func TagGTE(v string) predicate.ComputeImage
TagGTE applies the GTE predicate on the "tag" field.
func TagHasPrefix ¶
func TagHasPrefix(v string) predicate.ComputeImage
TagHasPrefix applies the HasPrefix predicate on the "tag" field.
func TagHasSuffix ¶
func TagHasSuffix(v string) predicate.ComputeImage
TagHasSuffix applies the HasSuffix predicate on the "tag" field.
func TagIn ¶
func TagIn(vs ...string) predicate.ComputeImage
TagIn applies the In predicate on the "tag" field.
func TagLT ¶
func TagLT(v string) predicate.ComputeImage
TagLT applies the LT predicate on the "tag" field.
func TagLTE ¶
func TagLTE(v string) predicate.ComputeImage
TagLTE applies the LTE predicate on the "tag" field.
func TagNEQ ¶
func TagNEQ(v string) predicate.ComputeImage
TagNEQ applies the NEQ predicate on the "tag" field.
func TagNotIn ¶
func TagNotIn(vs ...string) predicate.ComputeImage
TagNotIn applies the NotIn predicate on the "tag" 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 ComputeImage queries.
func ByCommand ¶ added in v0.0.3
func ByCommand(opts ...sql.OrderTermOption) OrderOption
ByCommand orders the results by the command 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 ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPort ¶
func ByPort(opts ...sql.OrderTermOption) OrderOption
ByPort orders the results by the port field.
func ByTag ¶
func ByTag(opts ...sql.OrderTermOption) OrderOption
ByTag orders the results by the tag field.