Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.VirtualMachine) predicate.VirtualMachine
- func Arch(v string) predicate.VirtualMachine
- func ArchContains(v string) predicate.VirtualMachine
- func ArchContainsFold(v string) predicate.VirtualMachine
- func ArchEQ(v string) predicate.VirtualMachine
- func ArchEqualFold(v string) predicate.VirtualMachine
- func ArchGT(v string) predicate.VirtualMachine
- func ArchGTE(v string) predicate.VirtualMachine
- func ArchHasPrefix(v string) predicate.VirtualMachine
- func ArchHasSuffix(v string) predicate.VirtualMachine
- func ArchIn(vs ...string) predicate.VirtualMachine
- func ArchIsNil() predicate.VirtualMachine
- func ArchLT(v string) predicate.VirtualMachine
- func ArchLTE(v string) predicate.VirtualMachine
- func ArchNEQ(v string) predicate.VirtualMachine
- func ArchNotIn(vs ...string) predicate.VirtualMachine
- func ArchNotNil() predicate.VirtualMachine
- func Branch(v string) predicate.VirtualMachine
- func BranchContains(v string) predicate.VirtualMachine
- func BranchContainsFold(v string) predicate.VirtualMachine
- func BranchEQ(v string) predicate.VirtualMachine
- func BranchEqualFold(v string) predicate.VirtualMachine
- func BranchGT(v string) predicate.VirtualMachine
- func BranchGTE(v string) predicate.VirtualMachine
- func BranchHasPrefix(v string) predicate.VirtualMachine
- func BranchHasSuffix(v string) predicate.VirtualMachine
- func BranchIn(vs ...string) predicate.VirtualMachine
- func BranchIsNil() predicate.VirtualMachine
- func BranchLT(v string) predicate.VirtualMachine
- func BranchLTE(v string) predicate.VirtualMachine
- func BranchNEQ(v string) predicate.VirtualMachine
- func BranchNotIn(vs ...string) predicate.VirtualMachine
- func BranchNotNil() predicate.VirtualMachine
- func ConditionsIsNil() predicate.VirtualMachine
- func ConditionsNotNil() predicate.VirtualMachine
- func Cores(v int) predicate.VirtualMachine
- func CoresEQ(v int) predicate.VirtualMachine
- func CoresGT(v int) predicate.VirtualMachine
- func CoresGTE(v int) predicate.VirtualMachine
- func CoresIn(vs ...int) predicate.VirtualMachine
- func CoresIsNil() predicate.VirtualMachine
- func CoresLT(v int) predicate.VirtualMachine
- func CoresLTE(v int) predicate.VirtualMachine
- func CoresNEQ(v int) predicate.VirtualMachine
- func CoresNotIn(vs ...int) predicate.VirtualMachine
- func CoresNotNil() predicate.VirtualMachine
- func CreatedAt(v time.Time) predicate.VirtualMachine
- func CreatedAtEQ(v time.Time) predicate.VirtualMachine
- func CreatedAtGT(v time.Time) predicate.VirtualMachine
- func CreatedAtGTE(v time.Time) predicate.VirtualMachine
- func CreatedAtIn(vs ...time.Time) predicate.VirtualMachine
- func CreatedAtLT(v time.Time) predicate.VirtualMachine
- func CreatedAtLTE(v time.Time) predicate.VirtualMachine
- func CreatedAtNEQ(v time.Time) predicate.VirtualMachine
- func CreatedAtNotIn(vs ...time.Time) predicate.VirtualMachine
- func DeletedAt(v time.Time) predicate.VirtualMachine
- func DeletedAtEQ(v time.Time) predicate.VirtualMachine
- func DeletedAtGT(v time.Time) predicate.VirtualMachine
- func DeletedAtGTE(v time.Time) predicate.VirtualMachine
- func DeletedAtIn(vs ...time.Time) predicate.VirtualMachine
- func DeletedAtIsNil() predicate.VirtualMachine
- func DeletedAtLT(v time.Time) predicate.VirtualMachine
- func DeletedAtLTE(v time.Time) predicate.VirtualMachine
- func DeletedAtNEQ(v time.Time) predicate.VirtualMachine
- func DeletedAtNotIn(vs ...time.Time) predicate.VirtualMachine
- func DeletedAtNotNil() predicate.VirtualMachine
- func EnvironmentID(v string) predicate.VirtualMachine
- func EnvironmentIDContains(v string) predicate.VirtualMachine
- func EnvironmentIDContainsFold(v string) predicate.VirtualMachine
- func EnvironmentIDEQ(v string) predicate.VirtualMachine
- func EnvironmentIDEqualFold(v string) predicate.VirtualMachine
- func EnvironmentIDGT(v string) predicate.VirtualMachine
- func EnvironmentIDGTE(v string) predicate.VirtualMachine
- func EnvironmentIDHasPrefix(v string) predicate.VirtualMachine
- func EnvironmentIDHasSuffix(v string) predicate.VirtualMachine
- func EnvironmentIDIn(vs ...string) predicate.VirtualMachine
- func EnvironmentIDIsNil() predicate.VirtualMachine
- func EnvironmentIDLT(v string) predicate.VirtualMachine
- func EnvironmentIDLTE(v string) predicate.VirtualMachine
- func EnvironmentIDNEQ(v string) predicate.VirtualMachine
- func EnvironmentIDNotIn(vs ...string) predicate.VirtualMachine
- func EnvironmentIDNotNil() predicate.VirtualMachine
- func ExternalIP(v string) predicate.VirtualMachine
- func ExternalIPContains(v string) predicate.VirtualMachine
- func ExternalIPContainsFold(v string) predicate.VirtualMachine
- func ExternalIPEQ(v string) predicate.VirtualMachine
- func ExternalIPEqualFold(v string) predicate.VirtualMachine
- func ExternalIPGT(v string) predicate.VirtualMachine
- func ExternalIPGTE(v string) predicate.VirtualMachine
- func ExternalIPHasPrefix(v string) predicate.VirtualMachine
- func ExternalIPHasSuffix(v string) predicate.VirtualMachine
- func ExternalIPIn(vs ...string) predicate.VirtualMachine
- func ExternalIPIsNil() predicate.VirtualMachine
- func ExternalIPLT(v string) predicate.VirtualMachine
- func ExternalIPLTE(v string) predicate.VirtualMachine
- func ExternalIPNEQ(v string) predicate.VirtualMachine
- func ExternalIPNotIn(vs ...string) predicate.VirtualMachine
- func ExternalIPNotNil() predicate.VirtualMachine
- func GitIdentityID(v uuid.UUID) predicate.VirtualMachine
- func GitIdentityIDEQ(v uuid.UUID) predicate.VirtualMachine
- func GitIdentityIDIn(vs ...uuid.UUID) predicate.VirtualMachine
- func GitIdentityIDIsNil() predicate.VirtualMachine
- func GitIdentityIDNEQ(v uuid.UUID) predicate.VirtualMachine
- func GitIdentityIDNotIn(vs ...uuid.UUID) predicate.VirtualMachine
- func GitIdentityIDNotNil() predicate.VirtualMachine
- func HasGitIdentity() predicate.VirtualMachine
- func HasGitIdentityWith(preds ...predicate.GitIdentity) predicate.VirtualMachine
- func HasHost() predicate.VirtualMachine
- func HasHostWith(preds ...predicate.Host) predicate.VirtualMachine
- func HasModel() predicate.VirtualMachine
- func HasModelWith(preds ...predicate.Model) predicate.VirtualMachine
- func HasTaskVms() predicate.VirtualMachine
- func HasTaskVmsWith(preds ...predicate.TaskVirtualMachine) predicate.VirtualMachine
- func HasTasks() predicate.VirtualMachine
- func HasTasksWith(preds ...predicate.Task) predicate.VirtualMachine
- func HasUser() predicate.VirtualMachine
- func HasUserWith(preds ...predicate.User) predicate.VirtualMachine
- func HostID(v string) predicate.VirtualMachine
- func HostIDContains(v string) predicate.VirtualMachine
- func HostIDContainsFold(v string) predicate.VirtualMachine
- func HostIDEQ(v string) predicate.VirtualMachine
- func HostIDEqualFold(v string) predicate.VirtualMachine
- func HostIDGT(v string) predicate.VirtualMachine
- func HostIDGTE(v string) predicate.VirtualMachine
- func HostIDHasPrefix(v string) predicate.VirtualMachine
- func HostIDHasSuffix(v string) predicate.VirtualMachine
- func HostIDIn(vs ...string) predicate.VirtualMachine
- func HostIDLT(v string) predicate.VirtualMachine
- func HostIDLTE(v string) predicate.VirtualMachine
- func HostIDNEQ(v string) predicate.VirtualMachine
- func HostIDNotIn(vs ...string) predicate.VirtualMachine
- func Hostname(v string) predicate.VirtualMachine
- func HostnameContains(v string) predicate.VirtualMachine
- func HostnameContainsFold(v string) predicate.VirtualMachine
- func HostnameEQ(v string) predicate.VirtualMachine
- func HostnameEqualFold(v string) predicate.VirtualMachine
- func HostnameGT(v string) predicate.VirtualMachine
- func HostnameGTE(v string) predicate.VirtualMachine
- func HostnameHasPrefix(v string) predicate.VirtualMachine
- func HostnameHasSuffix(v string) predicate.VirtualMachine
- func HostnameIn(vs ...string) predicate.VirtualMachine
- func HostnameIsNil() predicate.VirtualMachine
- func HostnameLT(v string) predicate.VirtualMachine
- func HostnameLTE(v string) predicate.VirtualMachine
- func HostnameNEQ(v string) predicate.VirtualMachine
- func HostnameNotIn(vs ...string) predicate.VirtualMachine
- func HostnameNotNil() predicate.VirtualMachine
- func ID(id string) predicate.VirtualMachine
- func IDContainsFold(id string) predicate.VirtualMachine
- func IDEQ(id string) predicate.VirtualMachine
- func IDEqualFold(id string) predicate.VirtualMachine
- func IDGT(id string) predicate.VirtualMachine
- func IDGTE(id string) predicate.VirtualMachine
- func IDIn(ids ...string) predicate.VirtualMachine
- func IDLT(id string) predicate.VirtualMachine
- func IDLTE(id string) predicate.VirtualMachine
- func IDNEQ(id string) predicate.VirtualMachine
- func IDNotIn(ids ...string) predicate.VirtualMachine
- func InternalIP(v string) predicate.VirtualMachine
- func InternalIPContains(v string) predicate.VirtualMachine
- func InternalIPContainsFold(v string) predicate.VirtualMachine
- func InternalIPEQ(v string) predicate.VirtualMachine
- func InternalIPEqualFold(v string) predicate.VirtualMachine
- func InternalIPGT(v string) predicate.VirtualMachine
- func InternalIPGTE(v string) predicate.VirtualMachine
- func InternalIPHasPrefix(v string) predicate.VirtualMachine
- func InternalIPHasSuffix(v string) predicate.VirtualMachine
- func InternalIPIn(vs ...string) predicate.VirtualMachine
- func InternalIPIsNil() predicate.VirtualMachine
- func InternalIPLT(v string) predicate.VirtualMachine
- func InternalIPLTE(v string) predicate.VirtualMachine
- func InternalIPNEQ(v string) predicate.VirtualMachine
- func InternalIPNotIn(vs ...string) predicate.VirtualMachine
- func InternalIPNotNil() predicate.VirtualMachine
- func IsRecycled(v bool) predicate.VirtualMachine
- func IsRecycledEQ(v bool) predicate.VirtualMachine
- func IsRecycledIsNil() predicate.VirtualMachine
- func IsRecycledNEQ(v bool) predicate.VirtualMachine
- func IsRecycledNotNil() predicate.VirtualMachine
- func MachineID(v string) predicate.VirtualMachine
- func MachineIDContains(v string) predicate.VirtualMachine
- func MachineIDContainsFold(v string) predicate.VirtualMachine
- func MachineIDEQ(v string) predicate.VirtualMachine
- func MachineIDEqualFold(v string) predicate.VirtualMachine
- func MachineIDGT(v string) predicate.VirtualMachine
- func MachineIDGTE(v string) predicate.VirtualMachine
- func MachineIDHasPrefix(v string) predicate.VirtualMachine
- func MachineIDHasSuffix(v string) predicate.VirtualMachine
- func MachineIDIn(vs ...string) predicate.VirtualMachine
- func MachineIDIsNil() predicate.VirtualMachine
- func MachineIDLT(v string) predicate.VirtualMachine
- func MachineIDLTE(v string) predicate.VirtualMachine
- func MachineIDNEQ(v string) predicate.VirtualMachine
- func MachineIDNotIn(vs ...string) predicate.VirtualMachine
- func MachineIDNotNil() predicate.VirtualMachine
- func Memory(v int64) predicate.VirtualMachine
- func MemoryEQ(v int64) predicate.VirtualMachine
- func MemoryGT(v int64) predicate.VirtualMachine
- func MemoryGTE(v int64) predicate.VirtualMachine
- func MemoryIn(vs ...int64) predicate.VirtualMachine
- func MemoryIsNil() predicate.VirtualMachine
- func MemoryLT(v int64) predicate.VirtualMachine
- func MemoryLTE(v int64) predicate.VirtualMachine
- func MemoryNEQ(v int64) predicate.VirtualMachine
- func MemoryNotIn(vs ...int64) predicate.VirtualMachine
- func MemoryNotNil() predicate.VirtualMachine
- func ModelID(v uuid.UUID) predicate.VirtualMachine
- func ModelIDEQ(v uuid.UUID) predicate.VirtualMachine
- func ModelIDIn(vs ...uuid.UUID) predicate.VirtualMachine
- func ModelIDIsNil() predicate.VirtualMachine
- func ModelIDNEQ(v uuid.UUID) predicate.VirtualMachine
- func ModelIDNotIn(vs ...uuid.UUID) predicate.VirtualMachine
- func ModelIDNotNil() predicate.VirtualMachine
- func Name(v string) predicate.VirtualMachine
- func NameContains(v string) predicate.VirtualMachine
- func NameContainsFold(v string) predicate.VirtualMachine
- func NameEQ(v string) predicate.VirtualMachine
- func NameEqualFold(v string) predicate.VirtualMachine
- func NameGT(v string) predicate.VirtualMachine
- func NameGTE(v string) predicate.VirtualMachine
- func NameHasPrefix(v string) predicate.VirtualMachine
- func NameHasSuffix(v string) predicate.VirtualMachine
- func NameIn(vs ...string) predicate.VirtualMachine
- func NameLT(v string) predicate.VirtualMachine
- func NameLTE(v string) predicate.VirtualMachine
- func NameNEQ(v string) predicate.VirtualMachine
- func NameNotIn(vs ...string) predicate.VirtualMachine
- func Not(p predicate.VirtualMachine) predicate.VirtualMachine
- func Or(predicates ...predicate.VirtualMachine) predicate.VirtualMachine
- func Os(v string) predicate.VirtualMachine
- func OsContains(v string) predicate.VirtualMachine
- func OsContainsFold(v string) predicate.VirtualMachine
- func OsEQ(v string) predicate.VirtualMachine
- func OsEqualFold(v string) predicate.VirtualMachine
- func OsGT(v string) predicate.VirtualMachine
- func OsGTE(v string) predicate.VirtualMachine
- func OsHasPrefix(v string) predicate.VirtualMachine
- func OsHasSuffix(v string) predicate.VirtualMachine
- func OsIn(vs ...string) predicate.VirtualMachine
- func OsIsNil() predicate.VirtualMachine
- func OsLT(v string) predicate.VirtualMachine
- func OsLTE(v string) predicate.VirtualMachine
- func OsNEQ(v string) predicate.VirtualMachine
- func OsNotIn(vs ...string) predicate.VirtualMachine
- func OsNotNil() predicate.VirtualMachine
- func RepoFilename(v string) predicate.VirtualMachine
- func RepoFilenameContains(v string) predicate.VirtualMachine
- func RepoFilenameContainsFold(v string) predicate.VirtualMachine
- func RepoFilenameEQ(v string) predicate.VirtualMachine
- func RepoFilenameEqualFold(v string) predicate.VirtualMachine
- func RepoFilenameGT(v string) predicate.VirtualMachine
- func RepoFilenameGTE(v string) predicate.VirtualMachine
- func RepoFilenameHasPrefix(v string) predicate.VirtualMachine
- func RepoFilenameHasSuffix(v string) predicate.VirtualMachine
- func RepoFilenameIn(vs ...string) predicate.VirtualMachine
- func RepoFilenameIsNil() predicate.VirtualMachine
- func RepoFilenameLT(v string) predicate.VirtualMachine
- func RepoFilenameLTE(v string) predicate.VirtualMachine
- func RepoFilenameNEQ(v string) predicate.VirtualMachine
- func RepoFilenameNotIn(vs ...string) predicate.VirtualMachine
- func RepoFilenameNotNil() predicate.VirtualMachine
- func RepoURL(v string) predicate.VirtualMachine
- func RepoURLContains(v string) predicate.VirtualMachine
- func RepoURLContainsFold(v string) predicate.VirtualMachine
- func RepoURLEQ(v string) predicate.VirtualMachine
- func RepoURLEqualFold(v string) predicate.VirtualMachine
- func RepoURLGT(v string) predicate.VirtualMachine
- func RepoURLGTE(v string) predicate.VirtualMachine
- func RepoURLHasPrefix(v string) predicate.VirtualMachine
- func RepoURLHasSuffix(v string) predicate.VirtualMachine
- func RepoURLIn(vs ...string) predicate.VirtualMachine
- func RepoURLIsNil() predicate.VirtualMachine
- func RepoURLLT(v string) predicate.VirtualMachine
- func RepoURLLTE(v string) predicate.VirtualMachine
- func RepoURLNEQ(v string) predicate.VirtualMachine
- func RepoURLNotIn(vs ...string) predicate.VirtualMachine
- func RepoURLNotNil() predicate.VirtualMachine
- func TTL(v int64) predicate.VirtualMachine
- func TTLEQ(v int64) predicate.VirtualMachine
- func TTLGT(v int64) predicate.VirtualMachine
- func TTLGTE(v int64) predicate.VirtualMachine
- func TTLIn(vs ...int64) predicate.VirtualMachine
- func TTLIsNil() predicate.VirtualMachine
- func TTLKind(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindContains(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindContainsFold(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindEQ(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindEqualFold(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindGT(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindGTE(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindHasPrefix(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindHasSuffix(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindIn(vs ...consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindIsNil() predicate.VirtualMachine
- func TTLKindLT(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindLTE(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindNEQ(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindNotIn(vs ...consts.VirtualmachineTTLKind) predicate.VirtualMachine
- func TTLKindNotNil() predicate.VirtualMachine
- func TTLLT(v int64) predicate.VirtualMachine
- func TTLLTE(v int64) predicate.VirtualMachine
- func TTLNEQ(v int64) predicate.VirtualMachine
- func TTLNotIn(vs ...int64) predicate.VirtualMachine
- func TTLNotNil() predicate.VirtualMachine
- func UpdatedAt(v time.Time) predicate.VirtualMachine
- func UpdatedAtEQ(v time.Time) predicate.VirtualMachine
- func UpdatedAtGT(v time.Time) predicate.VirtualMachine
- func UpdatedAtGTE(v time.Time) predicate.VirtualMachine
- func UpdatedAtIn(vs ...time.Time) predicate.VirtualMachine
- func UpdatedAtLT(v time.Time) predicate.VirtualMachine
- func UpdatedAtLTE(v time.Time) predicate.VirtualMachine
- func UpdatedAtNEQ(v time.Time) predicate.VirtualMachine
- func UpdatedAtNotIn(vs ...time.Time) predicate.VirtualMachine
- func UserID(v uuid.UUID) predicate.VirtualMachine
- func UserIDEQ(v uuid.UUID) predicate.VirtualMachine
- func UserIDIn(vs ...uuid.UUID) predicate.VirtualMachine
- func UserIDIsNil() predicate.VirtualMachine
- func UserIDNEQ(v uuid.UUID) predicate.VirtualMachine
- func UserIDNotIn(vs ...uuid.UUID) predicate.VirtualMachine
- func UserIDNotNil() predicate.VirtualMachine
- func ValidColumn(column string) bool
- func Version(v string) predicate.VirtualMachine
- func VersionContains(v string) predicate.VirtualMachine
- func VersionContainsFold(v string) predicate.VirtualMachine
- func VersionEQ(v string) predicate.VirtualMachine
- func VersionEqualFold(v string) predicate.VirtualMachine
- func VersionGT(v string) predicate.VirtualMachine
- func VersionGTE(v string) predicate.VirtualMachine
- func VersionHasPrefix(v string) predicate.VirtualMachine
- func VersionHasSuffix(v string) predicate.VirtualMachine
- func VersionIn(vs ...string) predicate.VirtualMachine
- func VersionIsNil() predicate.VirtualMachine
- func VersionLT(v string) predicate.VirtualMachine
- func VersionLTE(v string) predicate.VirtualMachine
- func VersionNEQ(v string) predicate.VirtualMachine
- func VersionNotIn(vs ...string) predicate.VirtualMachine
- func VersionNotNil() predicate.VirtualMachine
- type OrderOption
- func ByArch(opts ...sql.OrderTermOption) OrderOption
- func ByBranch(opts ...sql.OrderTermOption) OrderOption
- func ByCores(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByExternalIP(opts ...sql.OrderTermOption) OrderOption
- func ByGitIdentityField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByGitIdentityID(opts ...sql.OrderTermOption) OrderOption
- func ByHostField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByHostID(opts ...sql.OrderTermOption) OrderOption
- func ByHostname(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInternalIP(opts ...sql.OrderTermOption) OrderOption
- func ByIsRecycled(opts ...sql.OrderTermOption) OrderOption
- func ByMachineID(opts ...sql.OrderTermOption) OrderOption
- func ByMemory(opts ...sql.OrderTermOption) OrderOption
- func ByModelField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByModelID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOs(opts ...sql.OrderTermOption) OrderOption
- func ByRepoFilename(opts ...sql.OrderTermOption) OrderOption
- func ByRepoURL(opts ...sql.OrderTermOption) OrderOption
- func ByTTL(opts ...sql.OrderTermOption) OrderOption
- func ByTTLKind(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTaskVmsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the virtualmachine type in the database. Label = "virtual_machine" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldHostID holds the string denoting the host_id field in the database. FieldHostID = "host_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldModelID holds the string denoting the model_id field in the database. FieldModelID = "model_id" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldHostname holds the string denoting the hostname field in the database. FieldHostname = "hostname" // FieldArch holds the string denoting the arch field in the database. FieldArch = "arch" // FieldCores holds the string denoting the cores field in the database. FieldCores = "cores" // FieldMemory holds the string denoting the memory field in the database. FieldMemory = "memory" // FieldOs holds the string denoting the os field in the database. FieldOs = "os" // FieldExternalIP holds the string denoting the external_ip field in the database. FieldExternalIP = "external_ip" // FieldInternalIP holds the string denoting the internal_ip field in the database. FieldInternalIP = "internal_ip" // FieldTTLKind holds the string denoting the ttl_kind field in the database. FieldTTLKind = "ttl_kind" // FieldTTL holds the string denoting the ttl field in the database. FieldTTL = "ttl" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldMachineID holds the string denoting the machine_id field in the database. FieldMachineID = "machine_id" // FieldRepoURL holds the string denoting the repo_url field in the database. FieldRepoURL = "repo_url" // FieldRepoFilename holds the string denoting the repo_filename field in the database. FieldRepoFilename = "repo_filename" // FieldBranch holds the string denoting the branch field in the database. FieldBranch = "branch" // FieldGitIdentityID holds the string denoting the git_identity_id field in the database. FieldGitIdentityID = "git_identity_id" // FieldIsRecycled holds the string denoting the is_recycled field in the database. FieldIsRecycled = "is_recycled" // FieldConditions holds the string denoting the conditions field in the database. FieldConditions = "conditions" // 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" // EdgeHost holds the string denoting the host edge name in mutations. EdgeHost = "host" // EdgeModel holds the string denoting the model edge name in mutations. EdgeModel = "model" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeGitIdentity holds the string denoting the git_identity edge name in mutations. EdgeGitIdentity = "git_identity" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgeTaskVms holds the string denoting the task_vms edge name in mutations. EdgeTaskVms = "task_vms" // Table holds the table name of the virtualmachine in the database. Table = "virtualmachines" // HostTable is the table that holds the host relation/edge. HostTable = "virtualmachines" // HostInverseTable is the table name for the Host entity. // It exists in this package in order to avoid circular dependency with the "host" package. HostInverseTable = "hosts" // HostColumn is the table column denoting the host relation/edge. HostColumn = "host_id" // ModelTable is the table that holds the model relation/edge. ModelTable = "virtualmachines" // ModelInverseTable is the table name for the Model entity. // It exists in this package in order to avoid circular dependency with the "model" package. ModelInverseTable = "models" // ModelColumn is the table column denoting the model relation/edge. ModelColumn = "model_id" // UserTable is the table that holds the user relation/edge. UserTable = "virtualmachines" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" // GitIdentityTable is the table that holds the git_identity relation/edge. GitIdentityTable = "virtualmachines" // GitIdentityInverseTable is the table name for the GitIdentity entity. // It exists in this package in order to avoid circular dependency with the "gitidentity" package. GitIdentityInverseTable = "git_identities" // GitIdentityColumn is the table column denoting the git_identity relation/edge. GitIdentityColumn = "git_identity_id" // TasksTable is the table that holds the tasks relation/edge. The primary key declared below. TasksTable = "task_virtualmachines" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // TaskVmsTable is the table that holds the task_vms relation/edge. TaskVmsTable = "task_virtualmachines" // TaskVmsInverseTable is the table name for the TaskVirtualMachine entity. // It exists in this package in order to avoid circular dependency with the "taskvirtualmachine" package. TaskVmsInverseTable = "task_virtualmachines" // TaskVmsColumn is the table column denoting the task_vms relation/edge. TaskVmsColumn = "virtualmachine_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/chaitin/MonkeyCode/backend/db/runtime"
var Columns = []string{ FieldID, FieldDeletedAt, FieldHostID, FieldUserID, FieldModelID, FieldEnvironmentID, FieldName, FieldHostname, FieldArch, FieldCores, FieldMemory, FieldOs, FieldExternalIP, FieldInternalIP, FieldTTLKind, FieldTTL, FieldVersion, FieldMachineID, FieldRepoURL, FieldRepoFilename, FieldBranch, FieldGitIdentityID, FieldIsRecycled, FieldConditions, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for virtualmachine fields.
var ( // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"virtualmachine_id", "task_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.VirtualMachine) predicate.VirtualMachine
And groups predicates with the AND operator between them.
func Arch ¶
func Arch(v string) predicate.VirtualMachine
Arch applies equality check predicate on the "arch" field. It's identical to ArchEQ.
func ArchContains ¶
func ArchContains(v string) predicate.VirtualMachine
ArchContains applies the Contains predicate on the "arch" field.
func ArchContainsFold ¶
func ArchContainsFold(v string) predicate.VirtualMachine
ArchContainsFold applies the ContainsFold predicate on the "arch" field.
func ArchEQ ¶
func ArchEQ(v string) predicate.VirtualMachine
ArchEQ applies the EQ predicate on the "arch" field.
func ArchEqualFold ¶
func ArchEqualFold(v string) predicate.VirtualMachine
ArchEqualFold applies the EqualFold predicate on the "arch" field.
func ArchGT ¶
func ArchGT(v string) predicate.VirtualMachine
ArchGT applies the GT predicate on the "arch" field.
func ArchGTE ¶
func ArchGTE(v string) predicate.VirtualMachine
ArchGTE applies the GTE predicate on the "arch" field.
func ArchHasPrefix ¶
func ArchHasPrefix(v string) predicate.VirtualMachine
ArchHasPrefix applies the HasPrefix predicate on the "arch" field.
func ArchHasSuffix ¶
func ArchHasSuffix(v string) predicate.VirtualMachine
ArchHasSuffix applies the HasSuffix predicate on the "arch" field.
func ArchIn ¶
func ArchIn(vs ...string) predicate.VirtualMachine
ArchIn applies the In predicate on the "arch" field.
func ArchIsNil ¶
func ArchIsNil() predicate.VirtualMachine
ArchIsNil applies the IsNil predicate on the "arch" field.
func ArchLT ¶
func ArchLT(v string) predicate.VirtualMachine
ArchLT applies the LT predicate on the "arch" field.
func ArchLTE ¶
func ArchLTE(v string) predicate.VirtualMachine
ArchLTE applies the LTE predicate on the "arch" field.
func ArchNEQ ¶
func ArchNEQ(v string) predicate.VirtualMachine
ArchNEQ applies the NEQ predicate on the "arch" field.
func ArchNotIn ¶
func ArchNotIn(vs ...string) predicate.VirtualMachine
ArchNotIn applies the NotIn predicate on the "arch" field.
func ArchNotNil ¶
func ArchNotNil() predicate.VirtualMachine
ArchNotNil applies the NotNil predicate on the "arch" field.
func Branch ¶
func Branch(v string) predicate.VirtualMachine
Branch applies equality check predicate on the "branch" field. It's identical to BranchEQ.
func BranchContains ¶
func BranchContains(v string) predicate.VirtualMachine
BranchContains applies the Contains predicate on the "branch" field.
func BranchContainsFold ¶
func BranchContainsFold(v string) predicate.VirtualMachine
BranchContainsFold applies the ContainsFold predicate on the "branch" field.
func BranchEQ ¶
func BranchEQ(v string) predicate.VirtualMachine
BranchEQ applies the EQ predicate on the "branch" field.
func BranchEqualFold ¶
func BranchEqualFold(v string) predicate.VirtualMachine
BranchEqualFold applies the EqualFold predicate on the "branch" field.
func BranchGT ¶
func BranchGT(v string) predicate.VirtualMachine
BranchGT applies the GT predicate on the "branch" field.
func BranchGTE ¶
func BranchGTE(v string) predicate.VirtualMachine
BranchGTE applies the GTE predicate on the "branch" field.
func BranchHasPrefix ¶
func BranchHasPrefix(v string) predicate.VirtualMachine
BranchHasPrefix applies the HasPrefix predicate on the "branch" field.
func BranchHasSuffix ¶
func BranchHasSuffix(v string) predicate.VirtualMachine
BranchHasSuffix applies the HasSuffix predicate on the "branch" field.
func BranchIn ¶
func BranchIn(vs ...string) predicate.VirtualMachine
BranchIn applies the In predicate on the "branch" field.
func BranchIsNil ¶
func BranchIsNil() predicate.VirtualMachine
BranchIsNil applies the IsNil predicate on the "branch" field.
func BranchLT ¶
func BranchLT(v string) predicate.VirtualMachine
BranchLT applies the LT predicate on the "branch" field.
func BranchLTE ¶
func BranchLTE(v string) predicate.VirtualMachine
BranchLTE applies the LTE predicate on the "branch" field.
func BranchNEQ ¶
func BranchNEQ(v string) predicate.VirtualMachine
BranchNEQ applies the NEQ predicate on the "branch" field.
func BranchNotIn ¶
func BranchNotIn(vs ...string) predicate.VirtualMachine
BranchNotIn applies the NotIn predicate on the "branch" field.
func BranchNotNil ¶
func BranchNotNil() predicate.VirtualMachine
BranchNotNil applies the NotNil predicate on the "branch" field.
func ConditionsIsNil ¶
func ConditionsIsNil() predicate.VirtualMachine
ConditionsIsNil applies the IsNil predicate on the "conditions" field.
func ConditionsNotNil ¶
func ConditionsNotNil() predicate.VirtualMachine
ConditionsNotNil applies the NotNil predicate on the "conditions" field.
func Cores ¶
func Cores(v int) predicate.VirtualMachine
Cores applies equality check predicate on the "cores" field. It's identical to CoresEQ.
func CoresEQ ¶
func CoresEQ(v int) predicate.VirtualMachine
CoresEQ applies the EQ predicate on the "cores" field.
func CoresGT ¶
func CoresGT(v int) predicate.VirtualMachine
CoresGT applies the GT predicate on the "cores" field.
func CoresGTE ¶
func CoresGTE(v int) predicate.VirtualMachine
CoresGTE applies the GTE predicate on the "cores" field.
func CoresIn ¶
func CoresIn(vs ...int) predicate.VirtualMachine
CoresIn applies the In predicate on the "cores" field.
func CoresIsNil ¶
func CoresIsNil() predicate.VirtualMachine
CoresIsNil applies the IsNil predicate on the "cores" field.
func CoresLT ¶
func CoresLT(v int) predicate.VirtualMachine
CoresLT applies the LT predicate on the "cores" field.
func CoresLTE ¶
func CoresLTE(v int) predicate.VirtualMachine
CoresLTE applies the LTE predicate on the "cores" field.
func CoresNEQ ¶
func CoresNEQ(v int) predicate.VirtualMachine
CoresNEQ applies the NEQ predicate on the "cores" field.
func CoresNotIn ¶
func CoresNotIn(vs ...int) predicate.VirtualMachine
CoresNotIn applies the NotIn predicate on the "cores" field.
func CoresNotNil ¶
func CoresNotNil() predicate.VirtualMachine
CoresNotNil applies the NotNil predicate on the "cores" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.VirtualMachine
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.VirtualMachine
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.VirtualMachine
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.VirtualMachine
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.VirtualMachine
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.VirtualMachine
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.VirtualMachine
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.VirtualMachine
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.VirtualMachine
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.VirtualMachine
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.VirtualMachine
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.VirtualMachine
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.VirtualMachine
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.VirtualMachine
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.VirtualMachine
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.VirtualMachine
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.VirtualMachine
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.VirtualMachine
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.VirtualMachine
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.VirtualMachine
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func EnvironmentID ¶
func EnvironmentID(v string) predicate.VirtualMachine
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
func EnvironmentIDContains(v string) predicate.VirtualMachine
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
func EnvironmentIDContainsFold(v string) predicate.VirtualMachine
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
func EnvironmentIDEQ(v string) predicate.VirtualMachine
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
func EnvironmentIDEqualFold(v string) predicate.VirtualMachine
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
func EnvironmentIDGT(v string) predicate.VirtualMachine
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
func EnvironmentIDGTE(v string) predicate.VirtualMachine
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
func EnvironmentIDHasPrefix(v string) predicate.VirtualMachine
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
func EnvironmentIDHasSuffix(v string) predicate.VirtualMachine
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
func EnvironmentIDIn(vs ...string) predicate.VirtualMachine
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶
func EnvironmentIDIsNil() predicate.VirtualMachine
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶
func EnvironmentIDLT(v string) predicate.VirtualMachine
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
func EnvironmentIDLTE(v string) predicate.VirtualMachine
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
func EnvironmentIDNEQ(v string) predicate.VirtualMachine
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
func EnvironmentIDNotIn(vs ...string) predicate.VirtualMachine
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶
func EnvironmentIDNotNil() predicate.VirtualMachine
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func ExternalIP ¶
func ExternalIP(v string) predicate.VirtualMachine
ExternalIP applies equality check predicate on the "external_ip" field. It's identical to ExternalIPEQ.
func ExternalIPContains ¶
func ExternalIPContains(v string) predicate.VirtualMachine
ExternalIPContains applies the Contains predicate on the "external_ip" field.
func ExternalIPContainsFold ¶
func ExternalIPContainsFold(v string) predicate.VirtualMachine
ExternalIPContainsFold applies the ContainsFold predicate on the "external_ip" field.
func ExternalIPEQ ¶
func ExternalIPEQ(v string) predicate.VirtualMachine
ExternalIPEQ applies the EQ predicate on the "external_ip" field.
func ExternalIPEqualFold ¶
func ExternalIPEqualFold(v string) predicate.VirtualMachine
ExternalIPEqualFold applies the EqualFold predicate on the "external_ip" field.
func ExternalIPGT ¶
func ExternalIPGT(v string) predicate.VirtualMachine
ExternalIPGT applies the GT predicate on the "external_ip" field.
func ExternalIPGTE ¶
func ExternalIPGTE(v string) predicate.VirtualMachine
ExternalIPGTE applies the GTE predicate on the "external_ip" field.
func ExternalIPHasPrefix ¶
func ExternalIPHasPrefix(v string) predicate.VirtualMachine
ExternalIPHasPrefix applies the HasPrefix predicate on the "external_ip" field.
func ExternalIPHasSuffix ¶
func ExternalIPHasSuffix(v string) predicate.VirtualMachine
ExternalIPHasSuffix applies the HasSuffix predicate on the "external_ip" field.
func ExternalIPIn ¶
func ExternalIPIn(vs ...string) predicate.VirtualMachine
ExternalIPIn applies the In predicate on the "external_ip" field.
func ExternalIPIsNil ¶
func ExternalIPIsNil() predicate.VirtualMachine
ExternalIPIsNil applies the IsNil predicate on the "external_ip" field.
func ExternalIPLT ¶
func ExternalIPLT(v string) predicate.VirtualMachine
ExternalIPLT applies the LT predicate on the "external_ip" field.
func ExternalIPLTE ¶
func ExternalIPLTE(v string) predicate.VirtualMachine
ExternalIPLTE applies the LTE predicate on the "external_ip" field.
func ExternalIPNEQ ¶
func ExternalIPNEQ(v string) predicate.VirtualMachine
ExternalIPNEQ applies the NEQ predicate on the "external_ip" field.
func ExternalIPNotIn ¶
func ExternalIPNotIn(vs ...string) predicate.VirtualMachine
ExternalIPNotIn applies the NotIn predicate on the "external_ip" field.
func ExternalIPNotNil ¶
func ExternalIPNotNil() predicate.VirtualMachine
ExternalIPNotNil applies the NotNil predicate on the "external_ip" field.
func GitIdentityID ¶
func GitIdentityID(v uuid.UUID) predicate.VirtualMachine
GitIdentityID applies equality check predicate on the "git_identity_id" field. It's identical to GitIdentityIDEQ.
func GitIdentityIDEQ ¶
func GitIdentityIDEQ(v uuid.UUID) predicate.VirtualMachine
GitIdentityIDEQ applies the EQ predicate on the "git_identity_id" field.
func GitIdentityIDIn ¶
func GitIdentityIDIn(vs ...uuid.UUID) predicate.VirtualMachine
GitIdentityIDIn applies the In predicate on the "git_identity_id" field.
func GitIdentityIDIsNil ¶
func GitIdentityIDIsNil() predicate.VirtualMachine
GitIdentityIDIsNil applies the IsNil predicate on the "git_identity_id" field.
func GitIdentityIDNEQ ¶
func GitIdentityIDNEQ(v uuid.UUID) predicate.VirtualMachine
GitIdentityIDNEQ applies the NEQ predicate on the "git_identity_id" field.
func GitIdentityIDNotIn ¶
func GitIdentityIDNotIn(vs ...uuid.UUID) predicate.VirtualMachine
GitIdentityIDNotIn applies the NotIn predicate on the "git_identity_id" field.
func GitIdentityIDNotNil ¶
func GitIdentityIDNotNil() predicate.VirtualMachine
GitIdentityIDNotNil applies the NotNil predicate on the "git_identity_id" field.
func HasGitIdentity ¶
func HasGitIdentity() predicate.VirtualMachine
HasGitIdentity applies the HasEdge predicate on the "git_identity" edge.
func HasGitIdentityWith ¶
func HasGitIdentityWith(preds ...predicate.GitIdentity) predicate.VirtualMachine
HasGitIdentityWith applies the HasEdge predicate on the "git_identity" edge with a given conditions (other predicates).
func HasHost ¶
func HasHost() predicate.VirtualMachine
HasHost applies the HasEdge predicate on the "host" edge.
func HasHostWith ¶
func HasHostWith(preds ...predicate.Host) predicate.VirtualMachine
HasHostWith applies the HasEdge predicate on the "host" edge with a given conditions (other predicates).
func HasModel ¶
func HasModel() predicate.VirtualMachine
HasModel applies the HasEdge predicate on the "model" edge.
func HasModelWith ¶
func HasModelWith(preds ...predicate.Model) predicate.VirtualMachine
HasModelWith applies the HasEdge predicate on the "model" edge with a given conditions (other predicates).
func HasTaskVms ¶
func HasTaskVms() predicate.VirtualMachine
HasTaskVms applies the HasEdge predicate on the "task_vms" edge.
func HasTaskVmsWith ¶
func HasTaskVmsWith(preds ...predicate.TaskVirtualMachine) predicate.VirtualMachine
HasTaskVmsWith applies the HasEdge predicate on the "task_vms" edge with a given conditions (other predicates).
func HasTasks ¶
func HasTasks() predicate.VirtualMachine
HasTasks applies the HasEdge predicate on the "tasks" edge.
func HasTasksWith ¶
func HasTasksWith(preds ...predicate.Task) predicate.VirtualMachine
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.VirtualMachine
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.VirtualMachine
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func HostID ¶
func HostID(v string) predicate.VirtualMachine
HostID applies equality check predicate on the "host_id" field. It's identical to HostIDEQ.
func HostIDContains ¶
func HostIDContains(v string) predicate.VirtualMachine
HostIDContains applies the Contains predicate on the "host_id" field.
func HostIDContainsFold ¶
func HostIDContainsFold(v string) predicate.VirtualMachine
HostIDContainsFold applies the ContainsFold predicate on the "host_id" field.
func HostIDEQ ¶
func HostIDEQ(v string) predicate.VirtualMachine
HostIDEQ applies the EQ predicate on the "host_id" field.
func HostIDEqualFold ¶
func HostIDEqualFold(v string) predicate.VirtualMachine
HostIDEqualFold applies the EqualFold predicate on the "host_id" field.
func HostIDGT ¶
func HostIDGT(v string) predicate.VirtualMachine
HostIDGT applies the GT predicate on the "host_id" field.
func HostIDGTE ¶
func HostIDGTE(v string) predicate.VirtualMachine
HostIDGTE applies the GTE predicate on the "host_id" field.
func HostIDHasPrefix ¶
func HostIDHasPrefix(v string) predicate.VirtualMachine
HostIDHasPrefix applies the HasPrefix predicate on the "host_id" field.
func HostIDHasSuffix ¶
func HostIDHasSuffix(v string) predicate.VirtualMachine
HostIDHasSuffix applies the HasSuffix predicate on the "host_id" field.
func HostIDIn ¶
func HostIDIn(vs ...string) predicate.VirtualMachine
HostIDIn applies the In predicate on the "host_id" field.
func HostIDLT ¶
func HostIDLT(v string) predicate.VirtualMachine
HostIDLT applies the LT predicate on the "host_id" field.
func HostIDLTE ¶
func HostIDLTE(v string) predicate.VirtualMachine
HostIDLTE applies the LTE predicate on the "host_id" field.
func HostIDNEQ ¶
func HostIDNEQ(v string) predicate.VirtualMachine
HostIDNEQ applies the NEQ predicate on the "host_id" field.
func HostIDNotIn ¶
func HostIDNotIn(vs ...string) predicate.VirtualMachine
HostIDNotIn applies the NotIn predicate on the "host_id" field.
func Hostname ¶
func Hostname(v string) predicate.VirtualMachine
Hostname applies equality check predicate on the "hostname" field. It's identical to HostnameEQ.
func HostnameContains ¶
func HostnameContains(v string) predicate.VirtualMachine
HostnameContains applies the Contains predicate on the "hostname" field.
func HostnameContainsFold ¶
func HostnameContainsFold(v string) predicate.VirtualMachine
HostnameContainsFold applies the ContainsFold predicate on the "hostname" field.
func HostnameEQ ¶
func HostnameEQ(v string) predicate.VirtualMachine
HostnameEQ applies the EQ predicate on the "hostname" field.
func HostnameEqualFold ¶
func HostnameEqualFold(v string) predicate.VirtualMachine
HostnameEqualFold applies the EqualFold predicate on the "hostname" field.
func HostnameGT ¶
func HostnameGT(v string) predicate.VirtualMachine
HostnameGT applies the GT predicate on the "hostname" field.
func HostnameGTE ¶
func HostnameGTE(v string) predicate.VirtualMachine
HostnameGTE applies the GTE predicate on the "hostname" field.
func HostnameHasPrefix ¶
func HostnameHasPrefix(v string) predicate.VirtualMachine
HostnameHasPrefix applies the HasPrefix predicate on the "hostname" field.
func HostnameHasSuffix ¶
func HostnameHasSuffix(v string) predicate.VirtualMachine
HostnameHasSuffix applies the HasSuffix predicate on the "hostname" field.
func HostnameIn ¶
func HostnameIn(vs ...string) predicate.VirtualMachine
HostnameIn applies the In predicate on the "hostname" field.
func HostnameIsNil ¶
func HostnameIsNil() predicate.VirtualMachine
HostnameIsNil applies the IsNil predicate on the "hostname" field.
func HostnameLT ¶
func HostnameLT(v string) predicate.VirtualMachine
HostnameLT applies the LT predicate on the "hostname" field.
func HostnameLTE ¶
func HostnameLTE(v string) predicate.VirtualMachine
HostnameLTE applies the LTE predicate on the "hostname" field.
func HostnameNEQ ¶
func HostnameNEQ(v string) predicate.VirtualMachine
HostnameNEQ applies the NEQ predicate on the "hostname" field.
func HostnameNotIn ¶
func HostnameNotIn(vs ...string) predicate.VirtualMachine
HostnameNotIn applies the NotIn predicate on the "hostname" field.
func HostnameNotNil ¶
func HostnameNotNil() predicate.VirtualMachine
HostnameNotNil applies the NotNil predicate on the "hostname" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.VirtualMachine
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.VirtualMachine
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.VirtualMachine
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.VirtualMachine
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.VirtualMachine
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.VirtualMachine
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.VirtualMachine
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.VirtualMachine
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.VirtualMachine
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.VirtualMachine
IDNotIn applies the NotIn predicate on the ID field.
func InternalIP ¶
func InternalIP(v string) predicate.VirtualMachine
InternalIP applies equality check predicate on the "internal_ip" field. It's identical to InternalIPEQ.
func InternalIPContains ¶
func InternalIPContains(v string) predicate.VirtualMachine
InternalIPContains applies the Contains predicate on the "internal_ip" field.
func InternalIPContainsFold ¶
func InternalIPContainsFold(v string) predicate.VirtualMachine
InternalIPContainsFold applies the ContainsFold predicate on the "internal_ip" field.
func InternalIPEQ ¶
func InternalIPEQ(v string) predicate.VirtualMachine
InternalIPEQ applies the EQ predicate on the "internal_ip" field.
func InternalIPEqualFold ¶
func InternalIPEqualFold(v string) predicate.VirtualMachine
InternalIPEqualFold applies the EqualFold predicate on the "internal_ip" field.
func InternalIPGT ¶
func InternalIPGT(v string) predicate.VirtualMachine
InternalIPGT applies the GT predicate on the "internal_ip" field.
func InternalIPGTE ¶
func InternalIPGTE(v string) predicate.VirtualMachine
InternalIPGTE applies the GTE predicate on the "internal_ip" field.
func InternalIPHasPrefix ¶
func InternalIPHasPrefix(v string) predicate.VirtualMachine
InternalIPHasPrefix applies the HasPrefix predicate on the "internal_ip" field.
func InternalIPHasSuffix ¶
func InternalIPHasSuffix(v string) predicate.VirtualMachine
InternalIPHasSuffix applies the HasSuffix predicate on the "internal_ip" field.
func InternalIPIn ¶
func InternalIPIn(vs ...string) predicate.VirtualMachine
InternalIPIn applies the In predicate on the "internal_ip" field.
func InternalIPIsNil ¶
func InternalIPIsNil() predicate.VirtualMachine
InternalIPIsNil applies the IsNil predicate on the "internal_ip" field.
func InternalIPLT ¶
func InternalIPLT(v string) predicate.VirtualMachine
InternalIPLT applies the LT predicate on the "internal_ip" field.
func InternalIPLTE ¶
func InternalIPLTE(v string) predicate.VirtualMachine
InternalIPLTE applies the LTE predicate on the "internal_ip" field.
func InternalIPNEQ ¶
func InternalIPNEQ(v string) predicate.VirtualMachine
InternalIPNEQ applies the NEQ predicate on the "internal_ip" field.
func InternalIPNotIn ¶
func InternalIPNotIn(vs ...string) predicate.VirtualMachine
InternalIPNotIn applies the NotIn predicate on the "internal_ip" field.
func InternalIPNotNil ¶
func InternalIPNotNil() predicate.VirtualMachine
InternalIPNotNil applies the NotNil predicate on the "internal_ip" field.
func IsRecycled ¶
func IsRecycled(v bool) predicate.VirtualMachine
IsRecycled applies equality check predicate on the "is_recycled" field. It's identical to IsRecycledEQ.
func IsRecycledEQ ¶
func IsRecycledEQ(v bool) predicate.VirtualMachine
IsRecycledEQ applies the EQ predicate on the "is_recycled" field.
func IsRecycledIsNil ¶
func IsRecycledIsNil() predicate.VirtualMachine
IsRecycledIsNil applies the IsNil predicate on the "is_recycled" field.
func IsRecycledNEQ ¶
func IsRecycledNEQ(v bool) predicate.VirtualMachine
IsRecycledNEQ applies the NEQ predicate on the "is_recycled" field.
func IsRecycledNotNil ¶
func IsRecycledNotNil() predicate.VirtualMachine
IsRecycledNotNil applies the NotNil predicate on the "is_recycled" field.
func MachineID ¶
func MachineID(v string) predicate.VirtualMachine
MachineID applies equality check predicate on the "machine_id" field. It's identical to MachineIDEQ.
func MachineIDContains ¶
func MachineIDContains(v string) predicate.VirtualMachine
MachineIDContains applies the Contains predicate on the "machine_id" field.
func MachineIDContainsFold ¶
func MachineIDContainsFold(v string) predicate.VirtualMachine
MachineIDContainsFold applies the ContainsFold predicate on the "machine_id" field.
func MachineIDEQ ¶
func MachineIDEQ(v string) predicate.VirtualMachine
MachineIDEQ applies the EQ predicate on the "machine_id" field.
func MachineIDEqualFold ¶
func MachineIDEqualFold(v string) predicate.VirtualMachine
MachineIDEqualFold applies the EqualFold predicate on the "machine_id" field.
func MachineIDGT ¶
func MachineIDGT(v string) predicate.VirtualMachine
MachineIDGT applies the GT predicate on the "machine_id" field.
func MachineIDGTE ¶
func MachineIDGTE(v string) predicate.VirtualMachine
MachineIDGTE applies the GTE predicate on the "machine_id" field.
func MachineIDHasPrefix ¶
func MachineIDHasPrefix(v string) predicate.VirtualMachine
MachineIDHasPrefix applies the HasPrefix predicate on the "machine_id" field.
func MachineIDHasSuffix ¶
func MachineIDHasSuffix(v string) predicate.VirtualMachine
MachineIDHasSuffix applies the HasSuffix predicate on the "machine_id" field.
func MachineIDIn ¶
func MachineIDIn(vs ...string) predicate.VirtualMachine
MachineIDIn applies the In predicate on the "machine_id" field.
func MachineIDIsNil ¶
func MachineIDIsNil() predicate.VirtualMachine
MachineIDIsNil applies the IsNil predicate on the "machine_id" field.
func MachineIDLT ¶
func MachineIDLT(v string) predicate.VirtualMachine
MachineIDLT applies the LT predicate on the "machine_id" field.
func MachineIDLTE ¶
func MachineIDLTE(v string) predicate.VirtualMachine
MachineIDLTE applies the LTE predicate on the "machine_id" field.
func MachineIDNEQ ¶
func MachineIDNEQ(v string) predicate.VirtualMachine
MachineIDNEQ applies the NEQ predicate on the "machine_id" field.
func MachineIDNotIn ¶
func MachineIDNotIn(vs ...string) predicate.VirtualMachine
MachineIDNotIn applies the NotIn predicate on the "machine_id" field.
func MachineIDNotNil ¶
func MachineIDNotNil() predicate.VirtualMachine
MachineIDNotNil applies the NotNil predicate on the "machine_id" field.
func Memory ¶
func Memory(v int64) predicate.VirtualMachine
Memory applies equality check predicate on the "memory" field. It's identical to MemoryEQ.
func MemoryEQ ¶
func MemoryEQ(v int64) predicate.VirtualMachine
MemoryEQ applies the EQ predicate on the "memory" field.
func MemoryGT ¶
func MemoryGT(v int64) predicate.VirtualMachine
MemoryGT applies the GT predicate on the "memory" field.
func MemoryGTE ¶
func MemoryGTE(v int64) predicate.VirtualMachine
MemoryGTE applies the GTE predicate on the "memory" field.
func MemoryIn ¶
func MemoryIn(vs ...int64) predicate.VirtualMachine
MemoryIn applies the In predicate on the "memory" field.
func MemoryIsNil ¶
func MemoryIsNil() predicate.VirtualMachine
MemoryIsNil applies the IsNil predicate on the "memory" field.
func MemoryLT ¶
func MemoryLT(v int64) predicate.VirtualMachine
MemoryLT applies the LT predicate on the "memory" field.
func MemoryLTE ¶
func MemoryLTE(v int64) predicate.VirtualMachine
MemoryLTE applies the LTE predicate on the "memory" field.
func MemoryNEQ ¶
func MemoryNEQ(v int64) predicate.VirtualMachine
MemoryNEQ applies the NEQ predicate on the "memory" field.
func MemoryNotIn ¶
func MemoryNotIn(vs ...int64) predicate.VirtualMachine
MemoryNotIn applies the NotIn predicate on the "memory" field.
func MemoryNotNil ¶
func MemoryNotNil() predicate.VirtualMachine
MemoryNotNil applies the NotNil predicate on the "memory" field.
func ModelID ¶
func ModelID(v uuid.UUID) predicate.VirtualMachine
ModelID applies equality check predicate on the "model_id" field. It's identical to ModelIDEQ.
func ModelIDEQ ¶
func ModelIDEQ(v uuid.UUID) predicate.VirtualMachine
ModelIDEQ applies the EQ predicate on the "model_id" field.
func ModelIDIn ¶
func ModelIDIn(vs ...uuid.UUID) predicate.VirtualMachine
ModelIDIn applies the In predicate on the "model_id" field.
func ModelIDIsNil ¶
func ModelIDIsNil() predicate.VirtualMachine
ModelIDIsNil applies the IsNil predicate on the "model_id" field.
func ModelIDNEQ ¶
func ModelIDNEQ(v uuid.UUID) predicate.VirtualMachine
ModelIDNEQ applies the NEQ predicate on the "model_id" field.
func ModelIDNotIn ¶
func ModelIDNotIn(vs ...uuid.UUID) predicate.VirtualMachine
ModelIDNotIn applies the NotIn predicate on the "model_id" field.
func ModelIDNotNil ¶
func ModelIDNotNil() predicate.VirtualMachine
ModelIDNotNil applies the NotNil predicate on the "model_id" field.
func Name ¶
func Name(v string) predicate.VirtualMachine
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.VirtualMachine
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.VirtualMachine
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.VirtualMachine
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.VirtualMachine
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.VirtualMachine
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.VirtualMachine
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.VirtualMachine
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.VirtualMachine
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.VirtualMachine
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.VirtualMachine
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.VirtualMachine
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.VirtualMachine
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.VirtualMachine
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.VirtualMachine) predicate.VirtualMachine
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.VirtualMachine) predicate.VirtualMachine
Or groups predicates with the OR operator between them.
func Os ¶
func Os(v string) predicate.VirtualMachine
Os applies equality check predicate on the "os" field. It's identical to OsEQ.
func OsContains ¶
func OsContains(v string) predicate.VirtualMachine
OsContains applies the Contains predicate on the "os" field.
func OsContainsFold ¶
func OsContainsFold(v string) predicate.VirtualMachine
OsContainsFold applies the ContainsFold predicate on the "os" field.
func OsEQ ¶
func OsEQ(v string) predicate.VirtualMachine
OsEQ applies the EQ predicate on the "os" field.
func OsEqualFold ¶
func OsEqualFold(v string) predicate.VirtualMachine
OsEqualFold applies the EqualFold predicate on the "os" field.
func OsGT ¶
func OsGT(v string) predicate.VirtualMachine
OsGT applies the GT predicate on the "os" field.
func OsGTE ¶
func OsGTE(v string) predicate.VirtualMachine
OsGTE applies the GTE predicate on the "os" field.
func OsHasPrefix ¶
func OsHasPrefix(v string) predicate.VirtualMachine
OsHasPrefix applies the HasPrefix predicate on the "os" field.
func OsHasSuffix ¶
func OsHasSuffix(v string) predicate.VirtualMachine
OsHasSuffix applies the HasSuffix predicate on the "os" field.
func OsIn ¶
func OsIn(vs ...string) predicate.VirtualMachine
OsIn applies the In predicate on the "os" field.
func OsIsNil ¶
func OsIsNil() predicate.VirtualMachine
OsIsNil applies the IsNil predicate on the "os" field.
func OsLT ¶
func OsLT(v string) predicate.VirtualMachine
OsLT applies the LT predicate on the "os" field.
func OsLTE ¶
func OsLTE(v string) predicate.VirtualMachine
OsLTE applies the LTE predicate on the "os" field.
func OsNEQ ¶
func OsNEQ(v string) predicate.VirtualMachine
OsNEQ applies the NEQ predicate on the "os" field.
func OsNotIn ¶
func OsNotIn(vs ...string) predicate.VirtualMachine
OsNotIn applies the NotIn predicate on the "os" field.
func OsNotNil ¶
func OsNotNil() predicate.VirtualMachine
OsNotNil applies the NotNil predicate on the "os" field.
func RepoFilename ¶
func RepoFilename(v string) predicate.VirtualMachine
RepoFilename applies equality check predicate on the "repo_filename" field. It's identical to RepoFilenameEQ.
func RepoFilenameContains ¶
func RepoFilenameContains(v string) predicate.VirtualMachine
RepoFilenameContains applies the Contains predicate on the "repo_filename" field.
func RepoFilenameContainsFold ¶
func RepoFilenameContainsFold(v string) predicate.VirtualMachine
RepoFilenameContainsFold applies the ContainsFold predicate on the "repo_filename" field.
func RepoFilenameEQ ¶
func RepoFilenameEQ(v string) predicate.VirtualMachine
RepoFilenameEQ applies the EQ predicate on the "repo_filename" field.
func RepoFilenameEqualFold ¶
func RepoFilenameEqualFold(v string) predicate.VirtualMachine
RepoFilenameEqualFold applies the EqualFold predicate on the "repo_filename" field.
func RepoFilenameGT ¶
func RepoFilenameGT(v string) predicate.VirtualMachine
RepoFilenameGT applies the GT predicate on the "repo_filename" field.
func RepoFilenameGTE ¶
func RepoFilenameGTE(v string) predicate.VirtualMachine
RepoFilenameGTE applies the GTE predicate on the "repo_filename" field.
func RepoFilenameHasPrefix ¶
func RepoFilenameHasPrefix(v string) predicate.VirtualMachine
RepoFilenameHasPrefix applies the HasPrefix predicate on the "repo_filename" field.
func RepoFilenameHasSuffix ¶
func RepoFilenameHasSuffix(v string) predicate.VirtualMachine
RepoFilenameHasSuffix applies the HasSuffix predicate on the "repo_filename" field.
func RepoFilenameIn ¶
func RepoFilenameIn(vs ...string) predicate.VirtualMachine
RepoFilenameIn applies the In predicate on the "repo_filename" field.
func RepoFilenameIsNil ¶
func RepoFilenameIsNil() predicate.VirtualMachine
RepoFilenameIsNil applies the IsNil predicate on the "repo_filename" field.
func RepoFilenameLT ¶
func RepoFilenameLT(v string) predicate.VirtualMachine
RepoFilenameLT applies the LT predicate on the "repo_filename" field.
func RepoFilenameLTE ¶
func RepoFilenameLTE(v string) predicate.VirtualMachine
RepoFilenameLTE applies the LTE predicate on the "repo_filename" field.
func RepoFilenameNEQ ¶
func RepoFilenameNEQ(v string) predicate.VirtualMachine
RepoFilenameNEQ applies the NEQ predicate on the "repo_filename" field.
func RepoFilenameNotIn ¶
func RepoFilenameNotIn(vs ...string) predicate.VirtualMachine
RepoFilenameNotIn applies the NotIn predicate on the "repo_filename" field.
func RepoFilenameNotNil ¶
func RepoFilenameNotNil() predicate.VirtualMachine
RepoFilenameNotNil applies the NotNil predicate on the "repo_filename" field.
func RepoURL ¶
func RepoURL(v string) predicate.VirtualMachine
RepoURL applies equality check predicate on the "repo_url" field. It's identical to RepoURLEQ.
func RepoURLContains ¶
func RepoURLContains(v string) predicate.VirtualMachine
RepoURLContains applies the Contains predicate on the "repo_url" field.
func RepoURLContainsFold ¶
func RepoURLContainsFold(v string) predicate.VirtualMachine
RepoURLContainsFold applies the ContainsFold predicate on the "repo_url" field.
func RepoURLEQ ¶
func RepoURLEQ(v string) predicate.VirtualMachine
RepoURLEQ applies the EQ predicate on the "repo_url" field.
func RepoURLEqualFold ¶
func RepoURLEqualFold(v string) predicate.VirtualMachine
RepoURLEqualFold applies the EqualFold predicate on the "repo_url" field.
func RepoURLGT ¶
func RepoURLGT(v string) predicate.VirtualMachine
RepoURLGT applies the GT predicate on the "repo_url" field.
func RepoURLGTE ¶
func RepoURLGTE(v string) predicate.VirtualMachine
RepoURLGTE applies the GTE predicate on the "repo_url" field.
func RepoURLHasPrefix ¶
func RepoURLHasPrefix(v string) predicate.VirtualMachine
RepoURLHasPrefix applies the HasPrefix predicate on the "repo_url" field.
func RepoURLHasSuffix ¶
func RepoURLHasSuffix(v string) predicate.VirtualMachine
RepoURLHasSuffix applies the HasSuffix predicate on the "repo_url" field.
func RepoURLIn ¶
func RepoURLIn(vs ...string) predicate.VirtualMachine
RepoURLIn applies the In predicate on the "repo_url" field.
func RepoURLIsNil ¶
func RepoURLIsNil() predicate.VirtualMachine
RepoURLIsNil applies the IsNil predicate on the "repo_url" field.
func RepoURLLT ¶
func RepoURLLT(v string) predicate.VirtualMachine
RepoURLLT applies the LT predicate on the "repo_url" field.
func RepoURLLTE ¶
func RepoURLLTE(v string) predicate.VirtualMachine
RepoURLLTE applies the LTE predicate on the "repo_url" field.
func RepoURLNEQ ¶
func RepoURLNEQ(v string) predicate.VirtualMachine
RepoURLNEQ applies the NEQ predicate on the "repo_url" field.
func RepoURLNotIn ¶
func RepoURLNotIn(vs ...string) predicate.VirtualMachine
RepoURLNotIn applies the NotIn predicate on the "repo_url" field.
func RepoURLNotNil ¶
func RepoURLNotNil() predicate.VirtualMachine
RepoURLNotNil applies the NotNil predicate on the "repo_url" field.
func TTL ¶
func TTL(v int64) predicate.VirtualMachine
TTL applies equality check predicate on the "ttl" field. It's identical to TTLEQ.
func TTLEQ ¶
func TTLEQ(v int64) predicate.VirtualMachine
TTLEQ applies the EQ predicate on the "ttl" field.
func TTLGT ¶
func TTLGT(v int64) predicate.VirtualMachine
TTLGT applies the GT predicate on the "ttl" field.
func TTLGTE ¶
func TTLGTE(v int64) predicate.VirtualMachine
TTLGTE applies the GTE predicate on the "ttl" field.
func TTLIn ¶
func TTLIn(vs ...int64) predicate.VirtualMachine
TTLIn applies the In predicate on the "ttl" field.
func TTLIsNil ¶
func TTLIsNil() predicate.VirtualMachine
TTLIsNil applies the IsNil predicate on the "ttl" field.
func TTLKind ¶
func TTLKind(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKind applies equality check predicate on the "ttl_kind" field. It's identical to TTLKindEQ.
func TTLKindContains ¶
func TTLKindContains(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindContains applies the Contains predicate on the "ttl_kind" field.
func TTLKindContainsFold ¶
func TTLKindContainsFold(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindContainsFold applies the ContainsFold predicate on the "ttl_kind" field.
func TTLKindEQ ¶
func TTLKindEQ(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindEQ applies the EQ predicate on the "ttl_kind" field.
func TTLKindEqualFold ¶
func TTLKindEqualFold(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindEqualFold applies the EqualFold predicate on the "ttl_kind" field.
func TTLKindGT ¶
func TTLKindGT(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindGT applies the GT predicate on the "ttl_kind" field.
func TTLKindGTE ¶
func TTLKindGTE(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindGTE applies the GTE predicate on the "ttl_kind" field.
func TTLKindHasPrefix ¶
func TTLKindHasPrefix(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindHasPrefix applies the HasPrefix predicate on the "ttl_kind" field.
func TTLKindHasSuffix ¶
func TTLKindHasSuffix(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindHasSuffix applies the HasSuffix predicate on the "ttl_kind" field.
func TTLKindIn ¶
func TTLKindIn(vs ...consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindIn applies the In predicate on the "ttl_kind" field.
func TTLKindIsNil ¶
func TTLKindIsNil() predicate.VirtualMachine
TTLKindIsNil applies the IsNil predicate on the "ttl_kind" field.
func TTLKindLT ¶
func TTLKindLT(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindLT applies the LT predicate on the "ttl_kind" field.
func TTLKindLTE ¶
func TTLKindLTE(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindLTE applies the LTE predicate on the "ttl_kind" field.
func TTLKindNEQ ¶
func TTLKindNEQ(v consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindNEQ applies the NEQ predicate on the "ttl_kind" field.
func TTLKindNotIn ¶
func TTLKindNotIn(vs ...consts.VirtualmachineTTLKind) predicate.VirtualMachine
TTLKindNotIn applies the NotIn predicate on the "ttl_kind" field.
func TTLKindNotNil ¶
func TTLKindNotNil() predicate.VirtualMachine
TTLKindNotNil applies the NotNil predicate on the "ttl_kind" field.
func TTLLT ¶
func TTLLT(v int64) predicate.VirtualMachine
TTLLT applies the LT predicate on the "ttl" field.
func TTLLTE ¶
func TTLLTE(v int64) predicate.VirtualMachine
TTLLTE applies the LTE predicate on the "ttl" field.
func TTLNEQ ¶
func TTLNEQ(v int64) predicate.VirtualMachine
TTLNEQ applies the NEQ predicate on the "ttl" field.
func TTLNotIn ¶
func TTLNotIn(vs ...int64) predicate.VirtualMachine
TTLNotIn applies the NotIn predicate on the "ttl" field.
func TTLNotNil ¶
func TTLNotNil() predicate.VirtualMachine
TTLNotNil applies the NotNil predicate on the "ttl" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.VirtualMachine
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.VirtualMachine
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.VirtualMachine
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.VirtualMachine
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.VirtualMachine
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.VirtualMachine
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.VirtualMachine
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.VirtualMachine
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.VirtualMachine
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.VirtualMachine
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.VirtualMachine
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.VirtualMachine
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶
func UserIDIsNil() predicate.VirtualMachine
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.VirtualMachine
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.VirtualMachine
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
func UserIDNotNil() predicate.VirtualMachine
UserIDNotNil applies the NotNil predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
func Version(v string) predicate.VirtualMachine
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
func VersionContains(v string) predicate.VirtualMachine
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
func VersionContainsFold(v string) predicate.VirtualMachine
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEQ ¶
func VersionEQ(v string) predicate.VirtualMachine
VersionEQ applies the EQ predicate on the "version" field.
func VersionEqualFold ¶
func VersionEqualFold(v string) predicate.VirtualMachine
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGT ¶
func VersionGT(v string) predicate.VirtualMachine
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v string) predicate.VirtualMachine
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
func VersionHasPrefix(v string) predicate.VirtualMachine
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
func VersionHasSuffix(v string) predicate.VirtualMachine
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...string) predicate.VirtualMachine
VersionIn applies the In predicate on the "version" field.
func VersionIsNil ¶
func VersionIsNil() predicate.VirtualMachine
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLT ¶
func VersionLT(v string) predicate.VirtualMachine
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v string) predicate.VirtualMachine
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v string) predicate.VirtualMachine
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...string) predicate.VirtualMachine
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
func VersionNotNil() predicate.VirtualMachine
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the VirtualMachine queries.
func ByArch ¶
func ByArch(opts ...sql.OrderTermOption) OrderOption
ByArch orders the results by the arch field.
func ByBranch ¶
func ByBranch(opts ...sql.OrderTermOption) OrderOption
ByBranch orders the results by the branch field.
func ByCores ¶
func ByCores(opts ...sql.OrderTermOption) OrderOption
ByCores orders the results by the cores field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByEnvironmentID ¶
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id field.
func ByExternalIP ¶
func ByExternalIP(opts ...sql.OrderTermOption) OrderOption
ByExternalIP orders the results by the external_ip field.
func ByGitIdentityField ¶
func ByGitIdentityField(field string, opts ...sql.OrderTermOption) OrderOption
ByGitIdentityField orders the results by git_identity field.
func ByGitIdentityID ¶
func ByGitIdentityID(opts ...sql.OrderTermOption) OrderOption
ByGitIdentityID orders the results by the git_identity_id field.
func ByHostField ¶
func ByHostField(field string, opts ...sql.OrderTermOption) OrderOption
ByHostField orders the results by host field.
func ByHostID ¶
func ByHostID(opts ...sql.OrderTermOption) OrderOption
ByHostID orders the results by the host_id field.
func ByHostname ¶
func ByHostname(opts ...sql.OrderTermOption) OrderOption
ByHostname orders the results by the hostname field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInternalIP ¶
func ByInternalIP(opts ...sql.OrderTermOption) OrderOption
ByInternalIP orders the results by the internal_ip field.
func ByIsRecycled ¶
func ByIsRecycled(opts ...sql.OrderTermOption) OrderOption
ByIsRecycled orders the results by the is_recycled field.
func ByMachineID ¶
func ByMachineID(opts ...sql.OrderTermOption) OrderOption
ByMachineID orders the results by the machine_id field.
func ByMemory ¶
func ByMemory(opts ...sql.OrderTermOption) OrderOption
ByMemory orders the results by the memory field.
func ByModelField ¶
func ByModelField(field string, opts ...sql.OrderTermOption) OrderOption
ByModelField orders the results by model field.
func ByModelID ¶
func ByModelID(opts ...sql.OrderTermOption) OrderOption
ByModelID orders the results by the model_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOs ¶
func ByOs(opts ...sql.OrderTermOption) OrderOption
ByOs orders the results by the os field.
func ByRepoFilename ¶
func ByRepoFilename(opts ...sql.OrderTermOption) OrderOption
ByRepoFilename orders the results by the repo_filename field.
func ByRepoURL ¶
func ByRepoURL(opts ...sql.OrderTermOption) OrderOption
ByRepoURL orders the results by the repo_url field.
func ByTTL ¶
func ByTTL(opts ...sql.OrderTermOption) OrderOption
ByTTL orders the results by the ttl field.
func ByTTLKind ¶
func ByTTLKind(opts ...sql.OrderTermOption) OrderOption
ByTTLKind orders the results by the ttl_kind field.
func ByTaskVms ¶
func ByTaskVms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTaskVms orders the results by task_vms terms.
func ByTaskVmsCount ¶
func ByTaskVmsCount(opts ...sql.OrderTermOption) OrderOption
ByTaskVmsCount orders the results by task_vms count.
func ByTasks ¶
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.