dbinstance

package
v0.0.0-...-23bdc36 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the dbinstance type in the database.
	Label = "db_instance"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUpdateTime holds the string denoting the update_time field in the database.
	FieldUpdateTime = "update_time"
	// FieldInstanceID holds the string denoting the instance_id field in the database.
	FieldInstanceID = "instance_id"
	// FieldInstanceName holds the string denoting the instance_name field in the database.
	FieldInstanceName = "instance_name"
	// FieldHost holds the string denoting the host field in the database.
	FieldHost = "host"
	// FieldEnv holds the string denoting the env field in the database.
	FieldEnv = "env"
	// FieldInstanceType holds the string denoting the instance_type field in the database.
	FieldInstanceType = "instance_type"
	// FieldEngine holds the string denoting the engine field in the database.
	FieldEngine = "engine"
	// FieldEngineVersion holds the string denoting the engine_version field in the database.
	FieldEngineVersion = "engine_version"
	// FieldSpecification holds the string denoting the specification field in the database.
	FieldSpecification = "specification"
	// FieldInstanceStatus holds the string denoting the instance_status field in the database.
	FieldInstanceStatus = "instance_status"
	// FieldInstanceCreateTime holds the string denoting the instance_create_time field in the database.
	FieldInstanceCreateTime = "instance_create_time"
	// FieldAnnotations holds the string denoting the annotations field in the database.
	FieldAnnotations = "annotations"
	// FieldLabels holds the string denoting the labels field in the database.
	FieldLabels = "labels"
	// Table holds the table name of the dbinstance in the database.
	Table = "t_db_instance"
)

Variables

View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultUpdateTime holds the default value on creation for the "update_time" field.
	DefaultUpdateTime func() time.Time
	// UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
	UpdateDefaultUpdateTime func() time.Time
	// InstanceIDValidator is a validator for the "instance_id" field. It is called by the builders before save.
	InstanceIDValidator func(string) error
	// DefaultInstanceName holds the default value on creation for the "instance_name" field.
	DefaultInstanceName string
	// InstanceNameValidator is a validator for the "instance_name" field. It is called by the builders before save.
	InstanceNameValidator func(string) error
	// DefaultHost holds the default value on creation for the "host" field.
	DefaultHost string
	// HostValidator is a validator for the "host" field. It is called by the builders before save.
	HostValidator func(string) error
	// EnvValidator is a validator for the "env" field. It is called by the builders before save.
	EnvValidator func(string) error
	// DefaultInstanceType holds the default value on creation for the "instance_type" field.
	DefaultInstanceType string
	// InstanceTypeValidator is a validator for the "instance_type" field. It is called by the builders before save.
	InstanceTypeValidator func(string) error
	// DefaultEngine holds the default value on creation for the "engine" field.
	DefaultEngine string
	// EngineValidator is a validator for the "engine" field. It is called by the builders before save.
	EngineValidator func(string) error
	// DefaultEngineVersion holds the default value on creation for the "engine_version" field.
	DefaultEngineVersion string
	// EngineVersionValidator is a validator for the "engine_version" field. It is called by the builders before save.
	EngineVersionValidator func(string) error
	// DefaultSpecification holds the default value on creation for the "specification" field.
	DefaultSpecification string
	// SpecificationValidator is a validator for the "specification" field. It is called by the builders before save.
	SpecificationValidator func(string) error
	// DefaultInstanceStatus holds the default value on creation for the "instance_status" field.
	DefaultInstanceStatus string
	// InstanceStatusValidator is a validator for the "instance_status" field. It is called by the builders before save.
	InstanceStatusValidator func(string) error
	// InstanceCreateTimeValidator is a validator for the "instance_create_time" field. It is called by the builders before save.
	InstanceCreateTimeValidator func(string) error
)

Columns holds all SQL columns for dbinstance fields.

Functions

func And

func And(predicates ...predicate.DbInstance) predicate.DbInstance

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.DbInstance

AnnotationsIsNil applies the IsNil predicate on the "annotations" field.

func AnnotationsNotNil

func AnnotationsNotNil() predicate.DbInstance

AnnotationsNotNil applies the NotNil predicate on the "annotations" field.

func CreateTime

func CreateTime(v time.Time) predicate.DbInstance

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.DbInstance

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.DbInstance

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.DbInstance

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.DbInstance

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.DbInstance

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.DbInstance

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.DbInstance

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.DbInstance

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Engine

func Engine(v string) predicate.DbInstance

Engine applies equality check predicate on the "engine" field. It's identical to EngineEQ.

func EngineContains

func EngineContains(v string) predicate.DbInstance

EngineContains applies the Contains predicate on the "engine" field.

func EngineContainsFold

func EngineContainsFold(v string) predicate.DbInstance

EngineContainsFold applies the ContainsFold predicate on the "engine" field.

func EngineEQ

func EngineEQ(v string) predicate.DbInstance

EngineEQ applies the EQ predicate on the "engine" field.

func EngineEqualFold

func EngineEqualFold(v string) predicate.DbInstance

EngineEqualFold applies the EqualFold predicate on the "engine" field.

func EngineGT

func EngineGT(v string) predicate.DbInstance

EngineGT applies the GT predicate on the "engine" field.

func EngineGTE

func EngineGTE(v string) predicate.DbInstance

EngineGTE applies the GTE predicate on the "engine" field.

func EngineHasPrefix

func EngineHasPrefix(v string) predicate.DbInstance

EngineHasPrefix applies the HasPrefix predicate on the "engine" field.

func EngineHasSuffix

func EngineHasSuffix(v string) predicate.DbInstance

EngineHasSuffix applies the HasSuffix predicate on the "engine" field.

func EngineIn

func EngineIn(vs ...string) predicate.DbInstance

EngineIn applies the In predicate on the "engine" field.

func EngineLT

func EngineLT(v string) predicate.DbInstance

EngineLT applies the LT predicate on the "engine" field.

func EngineLTE

func EngineLTE(v string) predicate.DbInstance

EngineLTE applies the LTE predicate on the "engine" field.

func EngineNEQ

func EngineNEQ(v string) predicate.DbInstance

EngineNEQ applies the NEQ predicate on the "engine" field.

func EngineNotIn

func EngineNotIn(vs ...string) predicate.DbInstance

EngineNotIn applies the NotIn predicate on the "engine" field.

func EngineVersion

func EngineVersion(v string) predicate.DbInstance

EngineVersion applies equality check predicate on the "engine_version" field. It's identical to EngineVersionEQ.

func EngineVersionContains

func EngineVersionContains(v string) predicate.DbInstance

EngineVersionContains applies the Contains predicate on the "engine_version" field.

func EngineVersionContainsFold

func EngineVersionContainsFold(v string) predicate.DbInstance

EngineVersionContainsFold applies the ContainsFold predicate on the "engine_version" field.

func EngineVersionEQ

func EngineVersionEQ(v string) predicate.DbInstance

EngineVersionEQ applies the EQ predicate on the "engine_version" field.

func EngineVersionEqualFold

func EngineVersionEqualFold(v string) predicate.DbInstance

EngineVersionEqualFold applies the EqualFold predicate on the "engine_version" field.

func EngineVersionGT

func EngineVersionGT(v string) predicate.DbInstance

EngineVersionGT applies the GT predicate on the "engine_version" field.

func EngineVersionGTE

func EngineVersionGTE(v string) predicate.DbInstance

EngineVersionGTE applies the GTE predicate on the "engine_version" field.

func EngineVersionHasPrefix

func EngineVersionHasPrefix(v string) predicate.DbInstance

EngineVersionHasPrefix applies the HasPrefix predicate on the "engine_version" field.

func EngineVersionHasSuffix

func EngineVersionHasSuffix(v string) predicate.DbInstance

EngineVersionHasSuffix applies the HasSuffix predicate on the "engine_version" field.

func EngineVersionIn

func EngineVersionIn(vs ...string) predicate.DbInstance

EngineVersionIn applies the In predicate on the "engine_version" field.

func EngineVersionLT

func EngineVersionLT(v string) predicate.DbInstance

EngineVersionLT applies the LT predicate on the "engine_version" field.

func EngineVersionLTE

func EngineVersionLTE(v string) predicate.DbInstance

EngineVersionLTE applies the LTE predicate on the "engine_version" field.

func EngineVersionNEQ

func EngineVersionNEQ(v string) predicate.DbInstance

EngineVersionNEQ applies the NEQ predicate on the "engine_version" field.

func EngineVersionNotIn

func EngineVersionNotIn(vs ...string) predicate.DbInstance

EngineVersionNotIn applies the NotIn predicate on the "engine_version" field.

func Env

Env applies equality check predicate on the "env" field. It's identical to EnvEQ.

func EnvContains

func EnvContains(v string) predicate.DbInstance

EnvContains applies the Contains predicate on the "env" field.

func EnvContainsFold

func EnvContainsFold(v string) predicate.DbInstance

EnvContainsFold applies the ContainsFold predicate on the "env" field.

func EnvEQ

func EnvEQ(v string) predicate.DbInstance

EnvEQ applies the EQ predicate on the "env" field.

func EnvEqualFold

func EnvEqualFold(v string) predicate.DbInstance

EnvEqualFold applies the EqualFold predicate on the "env" field.

func EnvGT

func EnvGT(v string) predicate.DbInstance

EnvGT applies the GT predicate on the "env" field.

func EnvGTE

func EnvGTE(v string) predicate.DbInstance

EnvGTE applies the GTE predicate on the "env" field.

func EnvHasPrefix

func EnvHasPrefix(v string) predicate.DbInstance

EnvHasPrefix applies the HasPrefix predicate on the "env" field.

func EnvHasSuffix

func EnvHasSuffix(v string) predicate.DbInstance

EnvHasSuffix applies the HasSuffix predicate on the "env" field.

func EnvIn

func EnvIn(vs ...string) predicate.DbInstance

EnvIn applies the In predicate on the "env" field.

func EnvLT

func EnvLT(v string) predicate.DbInstance

EnvLT applies the LT predicate on the "env" field.

func EnvLTE

func EnvLTE(v string) predicate.DbInstance

EnvLTE applies the LTE predicate on the "env" field.

func EnvNEQ

func EnvNEQ(v string) predicate.DbInstance

EnvNEQ applies the NEQ predicate on the "env" field.

func EnvNotIn

func EnvNotIn(vs ...string) predicate.DbInstance

EnvNotIn applies the NotIn predicate on the "env" field.

func Host

func Host(v string) predicate.DbInstance

Host applies equality check predicate on the "host" field. It's identical to HostEQ.

func HostContains

func HostContains(v string) predicate.DbInstance

HostContains applies the Contains predicate on the "host" field.

func HostContainsFold

func HostContainsFold(v string) predicate.DbInstance

HostContainsFold applies the ContainsFold predicate on the "host" field.

func HostEQ

func HostEQ(v string) predicate.DbInstance

HostEQ applies the EQ predicate on the "host" field.

func HostEqualFold

func HostEqualFold(v string) predicate.DbInstance

HostEqualFold applies the EqualFold predicate on the "host" field.

func HostGT

func HostGT(v string) predicate.DbInstance

HostGT applies the GT predicate on the "host" field.

func HostGTE

func HostGTE(v string) predicate.DbInstance

HostGTE applies the GTE predicate on the "host" field.

func HostHasPrefix

func HostHasPrefix(v string) predicate.DbInstance

HostHasPrefix applies the HasPrefix predicate on the "host" field.

func HostHasSuffix

func HostHasSuffix(v string) predicate.DbInstance

HostHasSuffix applies the HasSuffix predicate on the "host" field.

func HostIn

func HostIn(vs ...string) predicate.DbInstance

HostIn applies the In predicate on the "host" field.

func HostLT

func HostLT(v string) predicate.DbInstance

HostLT applies the LT predicate on the "host" field.

func HostLTE

func HostLTE(v string) predicate.DbInstance

HostLTE applies the LTE predicate on the "host" field.

func HostNEQ

func HostNEQ(v string) predicate.DbInstance

HostNEQ applies the NEQ predicate on the "host" field.

func HostNotIn

func HostNotIn(vs ...string) predicate.DbInstance

HostNotIn applies the NotIn predicate on the "host" field.

func ID

func ID(id int) predicate.DbInstance

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.DbInstance

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.DbInstance

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.DbInstance

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.DbInstance

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.DbInstance

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.DbInstance

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.DbInstance

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.DbInstance

IDNotIn applies the NotIn predicate on the ID field.

func InstanceCreateTime

func InstanceCreateTime(v string) predicate.DbInstance

InstanceCreateTime applies equality check predicate on the "instance_create_time" field. It's identical to InstanceCreateTimeEQ.

func InstanceCreateTimeContains

func InstanceCreateTimeContains(v string) predicate.DbInstance

InstanceCreateTimeContains applies the Contains predicate on the "instance_create_time" field.

func InstanceCreateTimeContainsFold

func InstanceCreateTimeContainsFold(v string) predicate.DbInstance

InstanceCreateTimeContainsFold applies the ContainsFold predicate on the "instance_create_time" field.

func InstanceCreateTimeEQ

func InstanceCreateTimeEQ(v string) predicate.DbInstance

InstanceCreateTimeEQ applies the EQ predicate on the "instance_create_time" field.

func InstanceCreateTimeEqualFold

func InstanceCreateTimeEqualFold(v string) predicate.DbInstance

InstanceCreateTimeEqualFold applies the EqualFold predicate on the "instance_create_time" field.

func InstanceCreateTimeGT

func InstanceCreateTimeGT(v string) predicate.DbInstance

InstanceCreateTimeGT applies the GT predicate on the "instance_create_time" field.

func InstanceCreateTimeGTE

func InstanceCreateTimeGTE(v string) predicate.DbInstance

InstanceCreateTimeGTE applies the GTE predicate on the "instance_create_time" field.

func InstanceCreateTimeHasPrefix

func InstanceCreateTimeHasPrefix(v string) predicate.DbInstance

InstanceCreateTimeHasPrefix applies the HasPrefix predicate on the "instance_create_time" field.

func InstanceCreateTimeHasSuffix

func InstanceCreateTimeHasSuffix(v string) predicate.DbInstance

InstanceCreateTimeHasSuffix applies the HasSuffix predicate on the "instance_create_time" field.

func InstanceCreateTimeIn

func InstanceCreateTimeIn(vs ...string) predicate.DbInstance

InstanceCreateTimeIn applies the In predicate on the "instance_create_time" field.

func InstanceCreateTimeLT

func InstanceCreateTimeLT(v string) predicate.DbInstance

InstanceCreateTimeLT applies the LT predicate on the "instance_create_time" field.

func InstanceCreateTimeLTE

func InstanceCreateTimeLTE(v string) predicate.DbInstance

InstanceCreateTimeLTE applies the LTE predicate on the "instance_create_time" field.

func InstanceCreateTimeNEQ

func InstanceCreateTimeNEQ(v string) predicate.DbInstance

InstanceCreateTimeNEQ applies the NEQ predicate on the "instance_create_time" field.

func InstanceCreateTimeNotIn

func InstanceCreateTimeNotIn(vs ...string) predicate.DbInstance

InstanceCreateTimeNotIn applies the NotIn predicate on the "instance_create_time" field.

func InstanceID

func InstanceID(v string) predicate.DbInstance

InstanceID applies equality check predicate on the "instance_id" field. It's identical to InstanceIDEQ.

func InstanceIDContains

func InstanceIDContains(v string) predicate.DbInstance

InstanceIDContains applies the Contains predicate on the "instance_id" field.

func InstanceIDContainsFold

func InstanceIDContainsFold(v string) predicate.DbInstance

InstanceIDContainsFold applies the ContainsFold predicate on the "instance_id" field.

func InstanceIDEQ

func InstanceIDEQ(v string) predicate.DbInstance

InstanceIDEQ applies the EQ predicate on the "instance_id" field.

func InstanceIDEqualFold

func InstanceIDEqualFold(v string) predicate.DbInstance

InstanceIDEqualFold applies the EqualFold predicate on the "instance_id" field.

func InstanceIDGT

func InstanceIDGT(v string) predicate.DbInstance

InstanceIDGT applies the GT predicate on the "instance_id" field.

func InstanceIDGTE

func InstanceIDGTE(v string) predicate.DbInstance

InstanceIDGTE applies the GTE predicate on the "instance_id" field.

func InstanceIDHasPrefix

func InstanceIDHasPrefix(v string) predicate.DbInstance

InstanceIDHasPrefix applies the HasPrefix predicate on the "instance_id" field.

func InstanceIDHasSuffix

func InstanceIDHasSuffix(v string) predicate.DbInstance

InstanceIDHasSuffix applies the HasSuffix predicate on the "instance_id" field.

func InstanceIDIn

func InstanceIDIn(vs ...string) predicate.DbInstance

InstanceIDIn applies the In predicate on the "instance_id" field.

func InstanceIDLT

func InstanceIDLT(v string) predicate.DbInstance

InstanceIDLT applies the LT predicate on the "instance_id" field.

func InstanceIDLTE

func InstanceIDLTE(v string) predicate.DbInstance

InstanceIDLTE applies the LTE predicate on the "instance_id" field.

func InstanceIDNEQ

func InstanceIDNEQ(v string) predicate.DbInstance

InstanceIDNEQ applies the NEQ predicate on the "instance_id" field.

func InstanceIDNotIn

func InstanceIDNotIn(vs ...string) predicate.DbInstance

InstanceIDNotIn applies the NotIn predicate on the "instance_id" field.

func InstanceName

func InstanceName(v string) predicate.DbInstance

InstanceName applies equality check predicate on the "instance_name" field. It's identical to InstanceNameEQ.

func InstanceNameContains

func InstanceNameContains(v string) predicate.DbInstance

InstanceNameContains applies the Contains predicate on the "instance_name" field.

func InstanceNameContainsFold

func InstanceNameContainsFold(v string) predicate.DbInstance

InstanceNameContainsFold applies the ContainsFold predicate on the "instance_name" field.

func InstanceNameEQ

func InstanceNameEQ(v string) predicate.DbInstance

InstanceNameEQ applies the EQ predicate on the "instance_name" field.

func InstanceNameEqualFold

func InstanceNameEqualFold(v string) predicate.DbInstance

InstanceNameEqualFold applies the EqualFold predicate on the "instance_name" field.

func InstanceNameGT

func InstanceNameGT(v string) predicate.DbInstance

InstanceNameGT applies the GT predicate on the "instance_name" field.

func InstanceNameGTE

func InstanceNameGTE(v string) predicate.DbInstance

InstanceNameGTE applies the GTE predicate on the "instance_name" field.

func InstanceNameHasPrefix

func InstanceNameHasPrefix(v string) predicate.DbInstance

InstanceNameHasPrefix applies the HasPrefix predicate on the "instance_name" field.

func InstanceNameHasSuffix

func InstanceNameHasSuffix(v string) predicate.DbInstance

InstanceNameHasSuffix applies the HasSuffix predicate on the "instance_name" field.

func InstanceNameIn

func InstanceNameIn(vs ...string) predicate.DbInstance

InstanceNameIn applies the In predicate on the "instance_name" field.

func InstanceNameLT

func InstanceNameLT(v string) predicate.DbInstance

InstanceNameLT applies the LT predicate on the "instance_name" field.

func InstanceNameLTE

func InstanceNameLTE(v string) predicate.DbInstance

InstanceNameLTE applies the LTE predicate on the "instance_name" field.

func InstanceNameNEQ

func InstanceNameNEQ(v string) predicate.DbInstance

InstanceNameNEQ applies the NEQ predicate on the "instance_name" field.

func InstanceNameNotIn

func InstanceNameNotIn(vs ...string) predicate.DbInstance

InstanceNameNotIn applies the NotIn predicate on the "instance_name" field.

func InstanceStatus

func InstanceStatus(v string) predicate.DbInstance

InstanceStatus applies equality check predicate on the "instance_status" field. It's identical to InstanceStatusEQ.

func InstanceStatusContains

func InstanceStatusContains(v string) predicate.DbInstance

InstanceStatusContains applies the Contains predicate on the "instance_status" field.

func InstanceStatusContainsFold

func InstanceStatusContainsFold(v string) predicate.DbInstance

InstanceStatusContainsFold applies the ContainsFold predicate on the "instance_status" field.

func InstanceStatusEQ

func InstanceStatusEQ(v string) predicate.DbInstance

InstanceStatusEQ applies the EQ predicate on the "instance_status" field.

func InstanceStatusEqualFold

func InstanceStatusEqualFold(v string) predicate.DbInstance

InstanceStatusEqualFold applies the EqualFold predicate on the "instance_status" field.

func InstanceStatusGT

func InstanceStatusGT(v string) predicate.DbInstance

InstanceStatusGT applies the GT predicate on the "instance_status" field.

func InstanceStatusGTE

func InstanceStatusGTE(v string) predicate.DbInstance

InstanceStatusGTE applies the GTE predicate on the "instance_status" field.

func InstanceStatusHasPrefix

func InstanceStatusHasPrefix(v string) predicate.DbInstance

InstanceStatusHasPrefix applies the HasPrefix predicate on the "instance_status" field.

func InstanceStatusHasSuffix

func InstanceStatusHasSuffix(v string) predicate.DbInstance

InstanceStatusHasSuffix applies the HasSuffix predicate on the "instance_status" field.

func InstanceStatusIn

func InstanceStatusIn(vs ...string) predicate.DbInstance

InstanceStatusIn applies the In predicate on the "instance_status" field.

func InstanceStatusLT

func InstanceStatusLT(v string) predicate.DbInstance

InstanceStatusLT applies the LT predicate on the "instance_status" field.

func InstanceStatusLTE

func InstanceStatusLTE(v string) predicate.DbInstance

InstanceStatusLTE applies the LTE predicate on the "instance_status" field.

func InstanceStatusNEQ

func InstanceStatusNEQ(v string) predicate.DbInstance

InstanceStatusNEQ applies the NEQ predicate on the "instance_status" field.

func InstanceStatusNotIn

func InstanceStatusNotIn(vs ...string) predicate.DbInstance

InstanceStatusNotIn applies the NotIn predicate on the "instance_status" field.

func InstanceType

func InstanceType(v string) predicate.DbInstance

InstanceType applies equality check predicate on the "instance_type" field. It's identical to InstanceTypeEQ.

func InstanceTypeContains

func InstanceTypeContains(v string) predicate.DbInstance

InstanceTypeContains applies the Contains predicate on the "instance_type" field.

func InstanceTypeContainsFold

func InstanceTypeContainsFold(v string) predicate.DbInstance

InstanceTypeContainsFold applies the ContainsFold predicate on the "instance_type" field.

func InstanceTypeEQ

func InstanceTypeEQ(v string) predicate.DbInstance

InstanceTypeEQ applies the EQ predicate on the "instance_type" field.

func InstanceTypeEqualFold

func InstanceTypeEqualFold(v string) predicate.DbInstance

InstanceTypeEqualFold applies the EqualFold predicate on the "instance_type" field.

func InstanceTypeGT

func InstanceTypeGT(v string) predicate.DbInstance

InstanceTypeGT applies the GT predicate on the "instance_type" field.

func InstanceTypeGTE

func InstanceTypeGTE(v string) predicate.DbInstance

InstanceTypeGTE applies the GTE predicate on the "instance_type" field.

func InstanceTypeHasPrefix

func InstanceTypeHasPrefix(v string) predicate.DbInstance

InstanceTypeHasPrefix applies the HasPrefix predicate on the "instance_type" field.

func InstanceTypeHasSuffix

func InstanceTypeHasSuffix(v string) predicate.DbInstance

InstanceTypeHasSuffix applies the HasSuffix predicate on the "instance_type" field.

func InstanceTypeIn

func InstanceTypeIn(vs ...string) predicate.DbInstance

InstanceTypeIn applies the In predicate on the "instance_type" field.

func InstanceTypeLT

func InstanceTypeLT(v string) predicate.DbInstance

InstanceTypeLT applies the LT predicate on the "instance_type" field.

func InstanceTypeLTE

func InstanceTypeLTE(v string) predicate.DbInstance

InstanceTypeLTE applies the LTE predicate on the "instance_type" field.

func InstanceTypeNEQ

func InstanceTypeNEQ(v string) predicate.DbInstance

InstanceTypeNEQ applies the NEQ predicate on the "instance_type" field.

func InstanceTypeNotIn

func InstanceTypeNotIn(vs ...string) predicate.DbInstance

InstanceTypeNotIn applies the NotIn predicate on the "instance_type" field.

func LabelsIsNil

func LabelsIsNil() predicate.DbInstance

LabelsIsNil applies the IsNil predicate on the "labels" field.

func LabelsNotNil

func LabelsNotNil() predicate.DbInstance

LabelsNotNil applies the NotNil predicate on the "labels" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.DbInstance) predicate.DbInstance

Or groups predicates with the OR operator between them.

func Specification

func Specification(v string) predicate.DbInstance

Specification applies equality check predicate on the "specification" field. It's identical to SpecificationEQ.

func SpecificationContains

func SpecificationContains(v string) predicate.DbInstance

SpecificationContains applies the Contains predicate on the "specification" field.

func SpecificationContainsFold

func SpecificationContainsFold(v string) predicate.DbInstance

SpecificationContainsFold applies the ContainsFold predicate on the "specification" field.

func SpecificationEQ

func SpecificationEQ(v string) predicate.DbInstance

SpecificationEQ applies the EQ predicate on the "specification" field.

func SpecificationEqualFold

func SpecificationEqualFold(v string) predicate.DbInstance

SpecificationEqualFold applies the EqualFold predicate on the "specification" field.

func SpecificationGT

func SpecificationGT(v string) predicate.DbInstance

SpecificationGT applies the GT predicate on the "specification" field.

func SpecificationGTE

func SpecificationGTE(v string) predicate.DbInstance

SpecificationGTE applies the GTE predicate on the "specification" field.

func SpecificationHasPrefix

func SpecificationHasPrefix(v string) predicate.DbInstance

SpecificationHasPrefix applies the HasPrefix predicate on the "specification" field.

func SpecificationHasSuffix

func SpecificationHasSuffix(v string) predicate.DbInstance

SpecificationHasSuffix applies the HasSuffix predicate on the "specification" field.

func SpecificationIn

func SpecificationIn(vs ...string) predicate.DbInstance

SpecificationIn applies the In predicate on the "specification" field.

func SpecificationLT

func SpecificationLT(v string) predicate.DbInstance

SpecificationLT applies the LT predicate on the "specification" field.

func SpecificationLTE

func SpecificationLTE(v string) predicate.DbInstance

SpecificationLTE applies the LTE predicate on the "specification" field.

func SpecificationNEQ

func SpecificationNEQ(v string) predicate.DbInstance

SpecificationNEQ applies the NEQ predicate on the "specification" field.

func SpecificationNotIn

func SpecificationNotIn(vs ...string) predicate.DbInstance

SpecificationNotIn applies the NotIn predicate on the "specification" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.DbInstance

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.DbInstance

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.DbInstance

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.DbInstance

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.DbInstance

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.DbInstance

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.DbInstance

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.DbInstance

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.DbInstance

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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