computeimage

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: 2 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

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 ID

ID filters vertices based on their ID 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

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

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

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

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

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

Jump to

Keyboard shortcuts

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