machine

package
v1.5.37 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the machine type in the database.
	Label = "machine"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldLastPush holds the string denoting the last_push field in the database.
	FieldLastPush = "last_push"
	// FieldLastHeartbeat holds the string denoting the last_heartbeat field in the database.
	FieldLastHeartbeat = "last_heartbeat"
	// FieldMachineId holds the string denoting the machineid field in the database.
	FieldMachineId = "machine_id"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldIpAddress holds the string denoting the ipaddress field in the database.
	FieldIpAddress = "ip_address"
	// FieldScenarios holds the string denoting the scenarios field in the database.
	FieldScenarios = "scenarios"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldIsValidated holds the string denoting the isvalidated field in the database.
	FieldIsValidated = "is_validated"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldAuthType holds the string denoting the auth_type field in the database.
	FieldAuthType = "auth_type"
	// EdgeAlerts holds the string denoting the alerts edge name in mutations.
	EdgeAlerts = "alerts"
	// Table holds the table name of the machine in the database.
	Table = "machines"
	// AlertsTable is the table that holds the alerts relation/edge.
	AlertsTable = "alerts"
	// AlertsInverseTable is the table name for the Alert entity.
	// It exists in this package in order to avoid circular dependency with the "alert" package.
	AlertsInverseTable = "alerts"
	// AlertsColumn is the table column denoting the alerts relation/edge.
	AlertsColumn = "machine_alerts"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// UpdateDefaultCreatedAt holds the default value on update for the "created_at" field.
	UpdateDefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultLastPush holds the default value on creation for the "last_push" field.
	DefaultLastPush func() time.Time
	// UpdateDefaultLastPush holds the default value on update for the "last_push" field.
	UpdateDefaultLastPush func() time.Time
	// DefaultLastHeartbeat holds the default value on creation for the "last_heartbeat" field.
	DefaultLastHeartbeat func() time.Time
	// UpdateDefaultLastHeartbeat holds the default value on update for the "last_heartbeat" field.
	UpdateDefaultLastHeartbeat func() time.Time
	// ScenariosValidator is a validator for the "scenarios" field. It is called by the builders before save.
	ScenariosValidator func(string) error
	// DefaultIsValidated holds the default value on creation for the "isValidated" field.
	DefaultIsValidated bool
	// DefaultAuthType holds the default value on creation for the "auth_type" field.
	DefaultAuthType string
)

Columns holds all SQL columns for machine fields.

Functions

func And

func And(predicates ...predicate.Machine) predicate.Machine

And groups predicates with the AND operator between them.

func AuthType

func AuthType(v string) predicate.Machine

AuthType applies equality check predicate on the "auth_type" field. It's identical to AuthTypeEQ.

func AuthTypeContains

func AuthTypeContains(v string) predicate.Machine

AuthTypeContains applies the Contains predicate on the "auth_type" field.

func AuthTypeContainsFold

func AuthTypeContainsFold(v string) predicate.Machine

AuthTypeContainsFold applies the ContainsFold predicate on the "auth_type" field.

func AuthTypeEQ

func AuthTypeEQ(v string) predicate.Machine

AuthTypeEQ applies the EQ predicate on the "auth_type" field.

func AuthTypeEqualFold

func AuthTypeEqualFold(v string) predicate.Machine

AuthTypeEqualFold applies the EqualFold predicate on the "auth_type" field.

func AuthTypeGT

func AuthTypeGT(v string) predicate.Machine

AuthTypeGT applies the GT predicate on the "auth_type" field.

func AuthTypeGTE

func AuthTypeGTE(v string) predicate.Machine

AuthTypeGTE applies the GTE predicate on the "auth_type" field.

func AuthTypeHasPrefix

func AuthTypeHasPrefix(v string) predicate.Machine

AuthTypeHasPrefix applies the HasPrefix predicate on the "auth_type" field.

func AuthTypeHasSuffix

func AuthTypeHasSuffix(v string) predicate.Machine

AuthTypeHasSuffix applies the HasSuffix predicate on the "auth_type" field.

func AuthTypeIn

func AuthTypeIn(vs ...string) predicate.Machine

AuthTypeIn applies the In predicate on the "auth_type" field.

func AuthTypeLT

func AuthTypeLT(v string) predicate.Machine

AuthTypeLT applies the LT predicate on the "auth_type" field.

func AuthTypeLTE

func AuthTypeLTE(v string) predicate.Machine

AuthTypeLTE applies the LTE predicate on the "auth_type" field.

func AuthTypeNEQ

func AuthTypeNEQ(v string) predicate.Machine

AuthTypeNEQ applies the NEQ predicate on the "auth_type" field.

func AuthTypeNotIn

func AuthTypeNotIn(vs ...string) predicate.Machine

AuthTypeNotIn applies the NotIn predicate on the "auth_type" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Machine

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Machine

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Machine

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Machine

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Machine

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Machine

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Machine

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Machine

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Machine

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Machine

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Machine

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func HasAlerts

func HasAlerts() predicate.Machine

HasAlerts applies the HasEdge predicate on the "alerts" edge.

func HasAlertsWith

func HasAlertsWith(preds ...predicate.Alert) predicate.Machine

HasAlertsWith applies the HasEdge predicate on the "alerts" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Machine

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Machine

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Machine

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Machine

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Machine

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Machine

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Machine

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IpAddress

func IpAddress(v string) predicate.Machine

IpAddress applies equality check predicate on the "ipAddress" field. It's identical to IpAddressEQ.

func IpAddressContains

func IpAddressContains(v string) predicate.Machine

IpAddressContains applies the Contains predicate on the "ipAddress" field.

func IpAddressContainsFold

func IpAddressContainsFold(v string) predicate.Machine

IpAddressContainsFold applies the ContainsFold predicate on the "ipAddress" field.

func IpAddressEQ

func IpAddressEQ(v string) predicate.Machine

IpAddressEQ applies the EQ predicate on the "ipAddress" field.

func IpAddressEqualFold

func IpAddressEqualFold(v string) predicate.Machine

IpAddressEqualFold applies the EqualFold predicate on the "ipAddress" field.

func IpAddressGT

func IpAddressGT(v string) predicate.Machine

IpAddressGT applies the GT predicate on the "ipAddress" field.

func IpAddressGTE

func IpAddressGTE(v string) predicate.Machine

IpAddressGTE applies the GTE predicate on the "ipAddress" field.

func IpAddressHasPrefix

func IpAddressHasPrefix(v string) predicate.Machine

IpAddressHasPrefix applies the HasPrefix predicate on the "ipAddress" field.

func IpAddressHasSuffix

func IpAddressHasSuffix(v string) predicate.Machine

IpAddressHasSuffix applies the HasSuffix predicate on the "ipAddress" field.

func IpAddressIn

func IpAddressIn(vs ...string) predicate.Machine

IpAddressIn applies the In predicate on the "ipAddress" field.

func IpAddressLT

func IpAddressLT(v string) predicate.Machine

IpAddressLT applies the LT predicate on the "ipAddress" field.

func IpAddressLTE

func IpAddressLTE(v string) predicate.Machine

IpAddressLTE applies the LTE predicate on the "ipAddress" field.

func IpAddressNEQ

func IpAddressNEQ(v string) predicate.Machine

IpAddressNEQ applies the NEQ predicate on the "ipAddress" field.

func IpAddressNotIn

func IpAddressNotIn(vs ...string) predicate.Machine

IpAddressNotIn applies the NotIn predicate on the "ipAddress" field.

func IsValidated

func IsValidated(v bool) predicate.Machine

IsValidated applies equality check predicate on the "isValidated" field. It's identical to IsValidatedEQ.

func IsValidatedEQ

func IsValidatedEQ(v bool) predicate.Machine

IsValidatedEQ applies the EQ predicate on the "isValidated" field.

func IsValidatedNEQ

func IsValidatedNEQ(v bool) predicate.Machine

IsValidatedNEQ applies the NEQ predicate on the "isValidated" field.

func LastHeartbeat

func LastHeartbeat(v time.Time) predicate.Machine

LastHeartbeat applies equality check predicate on the "last_heartbeat" field. It's identical to LastHeartbeatEQ.

func LastHeartbeatEQ

func LastHeartbeatEQ(v time.Time) predicate.Machine

LastHeartbeatEQ applies the EQ predicate on the "last_heartbeat" field.

func LastHeartbeatGT

func LastHeartbeatGT(v time.Time) predicate.Machine

LastHeartbeatGT applies the GT predicate on the "last_heartbeat" field.

func LastHeartbeatGTE

func LastHeartbeatGTE(v time.Time) predicate.Machine

LastHeartbeatGTE applies the GTE predicate on the "last_heartbeat" field.

func LastHeartbeatIn

func LastHeartbeatIn(vs ...time.Time) predicate.Machine

LastHeartbeatIn applies the In predicate on the "last_heartbeat" field.

func LastHeartbeatIsNil

func LastHeartbeatIsNil() predicate.Machine

LastHeartbeatIsNil applies the IsNil predicate on the "last_heartbeat" field.

func LastHeartbeatLT

func LastHeartbeatLT(v time.Time) predicate.Machine

LastHeartbeatLT applies the LT predicate on the "last_heartbeat" field.

func LastHeartbeatLTE

func LastHeartbeatLTE(v time.Time) predicate.Machine

LastHeartbeatLTE applies the LTE predicate on the "last_heartbeat" field.

func LastHeartbeatNEQ

func LastHeartbeatNEQ(v time.Time) predicate.Machine

LastHeartbeatNEQ applies the NEQ predicate on the "last_heartbeat" field.

func LastHeartbeatNotIn

func LastHeartbeatNotIn(vs ...time.Time) predicate.Machine

LastHeartbeatNotIn applies the NotIn predicate on the "last_heartbeat" field.

func LastHeartbeatNotNil

func LastHeartbeatNotNil() predicate.Machine

LastHeartbeatNotNil applies the NotNil predicate on the "last_heartbeat" field.

func LastPush

func LastPush(v time.Time) predicate.Machine

LastPush applies equality check predicate on the "last_push" field. It's identical to LastPushEQ.

func LastPushEQ

func LastPushEQ(v time.Time) predicate.Machine

LastPushEQ applies the EQ predicate on the "last_push" field.

func LastPushGT

func LastPushGT(v time.Time) predicate.Machine

LastPushGT applies the GT predicate on the "last_push" field.

func LastPushGTE

func LastPushGTE(v time.Time) predicate.Machine

LastPushGTE applies the GTE predicate on the "last_push" field.

func LastPushIn

func LastPushIn(vs ...time.Time) predicate.Machine

LastPushIn applies the In predicate on the "last_push" field.

func LastPushIsNil

func LastPushIsNil() predicate.Machine

LastPushIsNil applies the IsNil predicate on the "last_push" field.

func LastPushLT

func LastPushLT(v time.Time) predicate.Machine

LastPushLT applies the LT predicate on the "last_push" field.

func LastPushLTE

func LastPushLTE(v time.Time) predicate.Machine

LastPushLTE applies the LTE predicate on the "last_push" field.

func LastPushNEQ

func LastPushNEQ(v time.Time) predicate.Machine

LastPushNEQ applies the NEQ predicate on the "last_push" field.

func LastPushNotIn

func LastPushNotIn(vs ...time.Time) predicate.Machine

LastPushNotIn applies the NotIn predicate on the "last_push" field.

func LastPushNotNil

func LastPushNotNil() predicate.Machine

LastPushNotNil applies the NotNil predicate on the "last_push" field.

func MachineId

func MachineId(v string) predicate.Machine

MachineId applies equality check predicate on the "machineId" field. It's identical to MachineIdEQ.

func MachineIdContains

func MachineIdContains(v string) predicate.Machine

MachineIdContains applies the Contains predicate on the "machineId" field.

func MachineIdContainsFold

func MachineIdContainsFold(v string) predicate.Machine

MachineIdContainsFold applies the ContainsFold predicate on the "machineId" field.

func MachineIdEQ

func MachineIdEQ(v string) predicate.Machine

MachineIdEQ applies the EQ predicate on the "machineId" field.

func MachineIdEqualFold

func MachineIdEqualFold(v string) predicate.Machine

MachineIdEqualFold applies the EqualFold predicate on the "machineId" field.

func MachineIdGT

func MachineIdGT(v string) predicate.Machine

MachineIdGT applies the GT predicate on the "machineId" field.

func MachineIdGTE

func MachineIdGTE(v string) predicate.Machine

MachineIdGTE applies the GTE predicate on the "machineId" field.

func MachineIdHasPrefix

func MachineIdHasPrefix(v string) predicate.Machine

MachineIdHasPrefix applies the HasPrefix predicate on the "machineId" field.

func MachineIdHasSuffix

func MachineIdHasSuffix(v string) predicate.Machine

MachineIdHasSuffix applies the HasSuffix predicate on the "machineId" field.

func MachineIdIn

func MachineIdIn(vs ...string) predicate.Machine

MachineIdIn applies the In predicate on the "machineId" field.

func MachineIdLT

func MachineIdLT(v string) predicate.Machine

MachineIdLT applies the LT predicate on the "machineId" field.

func MachineIdLTE

func MachineIdLTE(v string) predicate.Machine

MachineIdLTE applies the LTE predicate on the "machineId" field.

func MachineIdNEQ

func MachineIdNEQ(v string) predicate.Machine

MachineIdNEQ applies the NEQ predicate on the "machineId" field.

func MachineIdNotIn

func MachineIdNotIn(vs ...string) predicate.Machine

MachineIdNotIn applies the NotIn predicate on the "machineId" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Machine) predicate.Machine

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.Machine

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.Machine

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.Machine

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.Machine

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.Machine

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.Machine

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.Machine

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.Machine

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.Machine

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.Machine

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.Machine

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.Machine

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.Machine

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.Machine

PasswordNotIn applies the NotIn predicate on the "password" field.

func Scenarios

func Scenarios(v string) predicate.Machine

Scenarios applies equality check predicate on the "scenarios" field. It's identical to ScenariosEQ.

func ScenariosContains

func ScenariosContains(v string) predicate.Machine

ScenariosContains applies the Contains predicate on the "scenarios" field.

func ScenariosContainsFold

func ScenariosContainsFold(v string) predicate.Machine

ScenariosContainsFold applies the ContainsFold predicate on the "scenarios" field.

func ScenariosEQ

func ScenariosEQ(v string) predicate.Machine

ScenariosEQ applies the EQ predicate on the "scenarios" field.

func ScenariosEqualFold

func ScenariosEqualFold(v string) predicate.Machine

ScenariosEqualFold applies the EqualFold predicate on the "scenarios" field.

func ScenariosGT

func ScenariosGT(v string) predicate.Machine

ScenariosGT applies the GT predicate on the "scenarios" field.

func ScenariosGTE

func ScenariosGTE(v string) predicate.Machine

ScenariosGTE applies the GTE predicate on the "scenarios" field.

func ScenariosHasPrefix

func ScenariosHasPrefix(v string) predicate.Machine

ScenariosHasPrefix applies the HasPrefix predicate on the "scenarios" field.

func ScenariosHasSuffix

func ScenariosHasSuffix(v string) predicate.Machine

ScenariosHasSuffix applies the HasSuffix predicate on the "scenarios" field.

func ScenariosIn

func ScenariosIn(vs ...string) predicate.Machine

ScenariosIn applies the In predicate on the "scenarios" field.

func ScenariosIsNil

func ScenariosIsNil() predicate.Machine

ScenariosIsNil applies the IsNil predicate on the "scenarios" field.

func ScenariosLT

func ScenariosLT(v string) predicate.Machine

ScenariosLT applies the LT predicate on the "scenarios" field.

func ScenariosLTE

func ScenariosLTE(v string) predicate.Machine

ScenariosLTE applies the LTE predicate on the "scenarios" field.

func ScenariosNEQ

func ScenariosNEQ(v string) predicate.Machine

ScenariosNEQ applies the NEQ predicate on the "scenarios" field.

func ScenariosNotIn

func ScenariosNotIn(vs ...string) predicate.Machine

ScenariosNotIn applies the NotIn predicate on the "scenarios" field.

func ScenariosNotNil

func ScenariosNotNil() predicate.Machine

ScenariosNotNil applies the NotNil predicate on the "scenarios" field.

func Status

func Status(v string) predicate.Machine

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

func StatusContains

func StatusContains(v string) predicate.Machine

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Machine

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Machine

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.Machine

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Machine

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

func StatusGTE

func StatusGTE(v string) predicate.Machine

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Machine

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Machine

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Machine

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

func StatusIsNil

func StatusIsNil() predicate.Machine

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Machine

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

func StatusLTE

func StatusLTE(v string) predicate.Machine

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

func StatusNEQ

func StatusNEQ(v string) predicate.Machine

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

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Machine

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.Machine

StatusNotNil applies the NotNil predicate on the "status" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Machine

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Machine

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Machine

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Machine

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Machine

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Machine

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Machine

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Machine

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Machine

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Machine

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Machine

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v string) predicate.Machine

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.Machine

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.Machine

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.Machine

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.Machine

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.Machine

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.Machine

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.Machine

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.Machine

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.Machine

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.Machine

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.Machine

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.Machine

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.Machine

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.Machine

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.Machine

VersionNotNil applies the NotNil predicate on the "version" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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