Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EnvBuild) predicate.EnvBuild
- func CreatedAt(v time.Time) predicate.EnvBuild
- func CreatedAtEQ(v time.Time) predicate.EnvBuild
- func CreatedAtGT(v time.Time) predicate.EnvBuild
- func CreatedAtGTE(v time.Time) predicate.EnvBuild
- func CreatedAtIn(vs ...time.Time) predicate.EnvBuild
- func CreatedAtLT(v time.Time) predicate.EnvBuild
- func CreatedAtLTE(v time.Time) predicate.EnvBuild
- func CreatedAtNEQ(v time.Time) predicate.EnvBuild
- func CreatedAtNotIn(vs ...time.Time) predicate.EnvBuild
- func Dockerfile(v string) predicate.EnvBuild
- func DockerfileContains(v string) predicate.EnvBuild
- func DockerfileContainsFold(v string) predicate.EnvBuild
- func DockerfileEQ(v string) predicate.EnvBuild
- func DockerfileEqualFold(v string) predicate.EnvBuild
- func DockerfileGT(v string) predicate.EnvBuild
- func DockerfileGTE(v string) predicate.EnvBuild
- func DockerfileHasPrefix(v string) predicate.EnvBuild
- func DockerfileHasSuffix(v string) predicate.EnvBuild
- func DockerfileIn(vs ...string) predicate.EnvBuild
- func DockerfileIsNil() predicate.EnvBuild
- func DockerfileLT(v string) predicate.EnvBuild
- func DockerfileLTE(v string) predicate.EnvBuild
- func DockerfileNEQ(v string) predicate.EnvBuild
- func DockerfileNotIn(vs ...string) predicate.EnvBuild
- func DockerfileNotNil() predicate.EnvBuild
- func EnvID(v string) predicate.EnvBuild
- func EnvIDContains(v string) predicate.EnvBuild
- func EnvIDContainsFold(v string) predicate.EnvBuild
- func EnvIDEQ(v string) predicate.EnvBuild
- func EnvIDEqualFold(v string) predicate.EnvBuild
- func EnvIDGT(v string) predicate.EnvBuild
- func EnvIDGTE(v string) predicate.EnvBuild
- func EnvIDHasPrefix(v string) predicate.EnvBuild
- func EnvIDHasSuffix(v string) predicate.EnvBuild
- func EnvIDIn(vs ...string) predicate.EnvBuild
- func EnvIDIsNil() predicate.EnvBuild
- func EnvIDLT(v string) predicate.EnvBuild
- func EnvIDLTE(v string) predicate.EnvBuild
- func EnvIDNEQ(v string) predicate.EnvBuild
- func EnvIDNotIn(vs ...string) predicate.EnvBuild
- func EnvIDNotNil() predicate.EnvBuild
- func FinishedAt(v time.Time) predicate.EnvBuild
- func FinishedAtEQ(v time.Time) predicate.EnvBuild
- func FinishedAtGT(v time.Time) predicate.EnvBuild
- func FinishedAtGTE(v time.Time) predicate.EnvBuild
- func FinishedAtIn(vs ...time.Time) predicate.EnvBuild
- func FinishedAtIsNil() predicate.EnvBuild
- func FinishedAtLT(v time.Time) predicate.EnvBuild
- func FinishedAtLTE(v time.Time) predicate.EnvBuild
- func FinishedAtNEQ(v time.Time) predicate.EnvBuild
- func FinishedAtNotIn(vs ...time.Time) predicate.EnvBuild
- func FinishedAtNotNil() predicate.EnvBuild
- func FirecrackerVersion(v string) predicate.EnvBuild
- func FirecrackerVersionContains(v string) predicate.EnvBuild
- func FirecrackerVersionContainsFold(v string) predicate.EnvBuild
- func FirecrackerVersionEQ(v string) predicate.EnvBuild
- func FirecrackerVersionEqualFold(v string) predicate.EnvBuild
- func FirecrackerVersionGT(v string) predicate.EnvBuild
- func FirecrackerVersionGTE(v string) predicate.EnvBuild
- func FirecrackerVersionHasPrefix(v string) predicate.EnvBuild
- func FirecrackerVersionHasSuffix(v string) predicate.EnvBuild
- func FirecrackerVersionIn(vs ...string) predicate.EnvBuild
- func FirecrackerVersionLT(v string) predicate.EnvBuild
- func FirecrackerVersionLTE(v string) predicate.EnvBuild
- func FirecrackerVersionNEQ(v string) predicate.EnvBuild
- func FirecrackerVersionNotIn(vs ...string) predicate.EnvBuild
- func FreeDiskSizeMB(v int64) predicate.EnvBuild
- func FreeDiskSizeMBEQ(v int64) predicate.EnvBuild
- func FreeDiskSizeMBGT(v int64) predicate.EnvBuild
- func FreeDiskSizeMBGTE(v int64) predicate.EnvBuild
- func FreeDiskSizeMBIn(vs ...int64) predicate.EnvBuild
- func FreeDiskSizeMBLT(v int64) predicate.EnvBuild
- func FreeDiskSizeMBLTE(v int64) predicate.EnvBuild
- func FreeDiskSizeMBNEQ(v int64) predicate.EnvBuild
- func FreeDiskSizeMBNotIn(vs ...int64) predicate.EnvBuild
- func HasEnv() predicate.EnvBuild
- func HasEnvWith(preds ...predicate.Env) predicate.EnvBuild
- func ID(id uuid.UUID) predicate.EnvBuild
- func IDEQ(id uuid.UUID) predicate.EnvBuild
- func IDGT(id uuid.UUID) predicate.EnvBuild
- func IDGTE(id uuid.UUID) predicate.EnvBuild
- func IDIn(ids ...uuid.UUID) predicate.EnvBuild
- func IDLT(id uuid.UUID) predicate.EnvBuild
- func IDLTE(id uuid.UUID) predicate.EnvBuild
- func IDNEQ(id uuid.UUID) predicate.EnvBuild
- func IDNotIn(ids ...uuid.UUID) predicate.EnvBuild
- func KernelVersion(v string) predicate.EnvBuild
- func KernelVersionContains(v string) predicate.EnvBuild
- func KernelVersionContainsFold(v string) predicate.EnvBuild
- func KernelVersionEQ(v string) predicate.EnvBuild
- func KernelVersionEqualFold(v string) predicate.EnvBuild
- func KernelVersionGT(v string) predicate.EnvBuild
- func KernelVersionGTE(v string) predicate.EnvBuild
- func KernelVersionHasPrefix(v string) predicate.EnvBuild
- func KernelVersionHasSuffix(v string) predicate.EnvBuild
- func KernelVersionIn(vs ...string) predicate.EnvBuild
- func KernelVersionLT(v string) predicate.EnvBuild
- func KernelVersionLTE(v string) predicate.EnvBuild
- func KernelVersionNEQ(v string) predicate.EnvBuild
- func KernelVersionNotIn(vs ...string) predicate.EnvBuild
- func Not(p predicate.EnvBuild) predicate.EnvBuild
- func Or(predicates ...predicate.EnvBuild) predicate.EnvBuild
- func RAMMB(v int64) predicate.EnvBuild
- func RAMMBEQ(v int64) predicate.EnvBuild
- func RAMMBGT(v int64) predicate.EnvBuild
- func RAMMBGTE(v int64) predicate.EnvBuild
- func RAMMBIn(vs ...int64) predicate.EnvBuild
- func RAMMBLT(v int64) predicate.EnvBuild
- func RAMMBLTE(v int64) predicate.EnvBuild
- func RAMMBNEQ(v int64) predicate.EnvBuild
- func RAMMBNotIn(vs ...int64) predicate.EnvBuild
- func StartCmd(v string) predicate.EnvBuild
- func StartCmdContains(v string) predicate.EnvBuild
- func StartCmdContainsFold(v string) predicate.EnvBuild
- func StartCmdEQ(v string) predicate.EnvBuild
- func StartCmdEqualFold(v string) predicate.EnvBuild
- func StartCmdGT(v string) predicate.EnvBuild
- func StartCmdGTE(v string) predicate.EnvBuild
- func StartCmdHasPrefix(v string) predicate.EnvBuild
- func StartCmdHasSuffix(v string) predicate.EnvBuild
- func StartCmdIn(vs ...string) predicate.EnvBuild
- func StartCmdIsNil() predicate.EnvBuild
- func StartCmdLT(v string) predicate.EnvBuild
- func StartCmdLTE(v string) predicate.EnvBuild
- func StartCmdNEQ(v string) predicate.EnvBuild
- func StartCmdNotIn(vs ...string) predicate.EnvBuild
- func StartCmdNotNil() predicate.EnvBuild
- func StatusEQ(v Status) predicate.EnvBuild
- func StatusIn(vs ...Status) predicate.EnvBuild
- func StatusNEQ(v Status) predicate.EnvBuild
- func StatusNotIn(vs ...Status) predicate.EnvBuild
- func StatusValidator(s Status) error
- func TotalDiskSizeMB(v int64) predicate.EnvBuild
- func TotalDiskSizeMBEQ(v int64) predicate.EnvBuild
- func TotalDiskSizeMBGT(v int64) predicate.EnvBuild
- func TotalDiskSizeMBGTE(v int64) predicate.EnvBuild
- func TotalDiskSizeMBIn(vs ...int64) predicate.EnvBuild
- func TotalDiskSizeMBIsNil() predicate.EnvBuild
- func TotalDiskSizeMBLT(v int64) predicate.EnvBuild
- func TotalDiskSizeMBLTE(v int64) predicate.EnvBuild
- func TotalDiskSizeMBNEQ(v int64) predicate.EnvBuild
- func TotalDiskSizeMBNotIn(vs ...int64) predicate.EnvBuild
- func TotalDiskSizeMBNotNil() predicate.EnvBuild
- func UpdatedAt(v time.Time) predicate.EnvBuild
- func UpdatedAtEQ(v time.Time) predicate.EnvBuild
- func UpdatedAtGT(v time.Time) predicate.EnvBuild
- func UpdatedAtGTE(v time.Time) predicate.EnvBuild
- func UpdatedAtIn(vs ...time.Time) predicate.EnvBuild
- func UpdatedAtLT(v time.Time) predicate.EnvBuild
- func UpdatedAtLTE(v time.Time) predicate.EnvBuild
- func UpdatedAtNEQ(v time.Time) predicate.EnvBuild
- func UpdatedAtNotIn(vs ...time.Time) predicate.EnvBuild
- func ValidColumn(column string) bool
- func Vcpu(v int64) predicate.EnvBuild
- func VcpuEQ(v int64) predicate.EnvBuild
- func VcpuGT(v int64) predicate.EnvBuild
- func VcpuGTE(v int64) predicate.EnvBuild
- func VcpuIn(vs ...int64) predicate.EnvBuild
- func VcpuLT(v int64) predicate.EnvBuild
- func VcpuLTE(v int64) predicate.EnvBuild
- func VcpuNEQ(v int64) predicate.EnvBuild
- func VcpuNotIn(vs ...int64) predicate.EnvBuild
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDockerfile(opts ...sql.OrderTermOption) OrderOption
- func ByEnvField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEnvID(opts ...sql.OrderTermOption) OrderOption
- func ByFinishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFirecrackerVersion(opts ...sql.OrderTermOption) OrderOption
- func ByFreeDiskSizeMB(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKernelVersion(opts ...sql.OrderTermOption) OrderOption
- func ByRAMMB(opts ...sql.OrderTermOption) OrderOption
- func ByStartCmd(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTotalDiskSizeMB(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVcpu(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the envbuild type in the database. Label = "env_build" // 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" // FieldFinishedAt holds the string denoting the finished_at field in the database. FieldFinishedAt = "finished_at" // FieldEnvID holds the string denoting the env_id field in the database. FieldEnvID = "env_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldDockerfile holds the string denoting the dockerfile field in the database. FieldDockerfile = "dockerfile" // FieldStartCmd holds the string denoting the start_cmd field in the database. FieldStartCmd = "start_cmd" // FieldVcpu holds the string denoting the vcpu field in the database. FieldVcpu = "vcpu" // FieldRAMMB holds the string denoting the ram_mb field in the database. FieldRAMMB = "ram_mb" // FieldFreeDiskSizeMB holds the string denoting the free_disk_size_mb field in the database. FieldFreeDiskSizeMB = "free_disk_size_mb" // FieldTotalDiskSizeMB holds the string denoting the total_disk_size_mb field in the database. FieldTotalDiskSizeMB = "total_disk_size_mb" // FieldKernelVersion holds the string denoting the kernel_version field in the database. FieldKernelVersion = "kernel_version" // FieldFirecrackerVersion holds the string denoting the firecracker_version field in the database. FieldFirecrackerVersion = "firecracker_version" // EdgeEnv holds the string denoting the env edge name in mutations. EdgeEnv = "env" // Table holds the table name of the envbuild in the database. Table = "env_builds" // EnvTable is the table that holds the env relation/edge. EnvTable = "env_builds" // EnvInverseTable is the table name for the Env entity. // It exists in this package in order to avoid circular dependency with the "env" package. EnvInverseTable = "envs" // EnvColumn is the table column denoting the env relation/edge. EnvColumn = "env_id" )
const DefaultStatus = StatusWaiting
StatusWaiting is the default value of the Status enum.
Variables ¶
var ( // 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 // DefaultKernelVersion holds the default value on creation for the "kernel_version" field. DefaultKernelVersion string // DefaultFirecrackerVersion holds the default value on creation for the "firecracker_version" field. DefaultFirecrackerVersion string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldFinishedAt, FieldEnvID, FieldStatus, FieldDockerfile, FieldStartCmd, FieldVcpu, FieldRAMMB, FieldFreeDiskSizeMB, FieldTotalDiskSizeMB, FieldKernelVersion, FieldFirecrackerVersion, }
Columns holds all SQL columns for envbuild fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Dockerfile ¶
Dockerfile applies equality check predicate on the "dockerfile" field. It's identical to DockerfileEQ.
func DockerfileContains ¶
DockerfileContains applies the Contains predicate on the "dockerfile" field.
func DockerfileContainsFold ¶
DockerfileContainsFold applies the ContainsFold predicate on the "dockerfile" field.
func DockerfileEQ ¶
DockerfileEQ applies the EQ predicate on the "dockerfile" field.
func DockerfileEqualFold ¶
DockerfileEqualFold applies the EqualFold predicate on the "dockerfile" field.
func DockerfileGT ¶
DockerfileGT applies the GT predicate on the "dockerfile" field.
func DockerfileGTE ¶
DockerfileGTE applies the GTE predicate on the "dockerfile" field.
func DockerfileHasPrefix ¶
DockerfileHasPrefix applies the HasPrefix predicate on the "dockerfile" field.
func DockerfileHasSuffix ¶
DockerfileHasSuffix applies the HasSuffix predicate on the "dockerfile" field.
func DockerfileIn ¶
DockerfileIn applies the In predicate on the "dockerfile" field.
func DockerfileIsNil ¶
DockerfileIsNil applies the IsNil predicate on the "dockerfile" field.
func DockerfileLT ¶
DockerfileLT applies the LT predicate on the "dockerfile" field.
func DockerfileLTE ¶
DockerfileLTE applies the LTE predicate on the "dockerfile" field.
func DockerfileNEQ ¶
DockerfileNEQ applies the NEQ predicate on the "dockerfile" field.
func DockerfileNotIn ¶
DockerfileNotIn applies the NotIn predicate on the "dockerfile" field.
func DockerfileNotNil ¶
DockerfileNotNil applies the NotNil predicate on the "dockerfile" field.
func EnvID ¶
EnvID applies equality check predicate on the "env_id" field. It's identical to EnvIDEQ.
func EnvIDContains ¶
EnvIDContains applies the Contains predicate on the "env_id" field.
func EnvIDContainsFold ¶
EnvIDContainsFold applies the ContainsFold predicate on the "env_id" field.
func EnvIDEqualFold ¶
EnvIDEqualFold applies the EqualFold predicate on the "env_id" field.
func EnvIDHasPrefix ¶
EnvIDHasPrefix applies the HasPrefix predicate on the "env_id" field.
func EnvIDHasSuffix ¶
EnvIDHasSuffix applies the HasSuffix predicate on the "env_id" field.
func EnvIDIsNil ¶
EnvIDIsNil applies the IsNil predicate on the "env_id" field.
func EnvIDNotIn ¶
EnvIDNotIn applies the NotIn predicate on the "env_id" field.
func EnvIDNotNil ¶
EnvIDNotNil applies the NotNil predicate on the "env_id" field.
func FinishedAt ¶
FinishedAt applies equality check predicate on the "finished_at" field. It's identical to FinishedAtEQ.
func FinishedAtEQ ¶
FinishedAtEQ applies the EQ predicate on the "finished_at" field.
func FinishedAtGT ¶
FinishedAtGT applies the GT predicate on the "finished_at" field.
func FinishedAtGTE ¶
FinishedAtGTE applies the GTE predicate on the "finished_at" field.
func FinishedAtIn ¶
FinishedAtIn applies the In predicate on the "finished_at" field.
func FinishedAtIsNil ¶
FinishedAtIsNil applies the IsNil predicate on the "finished_at" field.
func FinishedAtLT ¶
FinishedAtLT applies the LT predicate on the "finished_at" field.
func FinishedAtLTE ¶
FinishedAtLTE applies the LTE predicate on the "finished_at" field.
func FinishedAtNEQ ¶
FinishedAtNEQ applies the NEQ predicate on the "finished_at" field.
func FinishedAtNotIn ¶
FinishedAtNotIn applies the NotIn predicate on the "finished_at" field.
func FinishedAtNotNil ¶
FinishedAtNotNil applies the NotNil predicate on the "finished_at" field.
func FirecrackerVersion ¶
FirecrackerVersion applies equality check predicate on the "firecracker_version" field. It's identical to FirecrackerVersionEQ.
func FirecrackerVersionContains ¶
FirecrackerVersionContains applies the Contains predicate on the "firecracker_version" field.
func FirecrackerVersionContainsFold ¶
FirecrackerVersionContainsFold applies the ContainsFold predicate on the "firecracker_version" field.
func FirecrackerVersionEQ ¶
FirecrackerVersionEQ applies the EQ predicate on the "firecracker_version" field.
func FirecrackerVersionEqualFold ¶
FirecrackerVersionEqualFold applies the EqualFold predicate on the "firecracker_version" field.
func FirecrackerVersionGT ¶
FirecrackerVersionGT applies the GT predicate on the "firecracker_version" field.
func FirecrackerVersionGTE ¶
FirecrackerVersionGTE applies the GTE predicate on the "firecracker_version" field.
func FirecrackerVersionHasPrefix ¶
FirecrackerVersionHasPrefix applies the HasPrefix predicate on the "firecracker_version" field.
func FirecrackerVersionHasSuffix ¶
FirecrackerVersionHasSuffix applies the HasSuffix predicate on the "firecracker_version" field.
func FirecrackerVersionIn ¶
FirecrackerVersionIn applies the In predicate on the "firecracker_version" field.
func FirecrackerVersionLT ¶
FirecrackerVersionLT applies the LT predicate on the "firecracker_version" field.
func FirecrackerVersionLTE ¶
FirecrackerVersionLTE applies the LTE predicate on the "firecracker_version" field.
func FirecrackerVersionNEQ ¶
FirecrackerVersionNEQ applies the NEQ predicate on the "firecracker_version" field.
func FirecrackerVersionNotIn ¶
FirecrackerVersionNotIn applies the NotIn predicate on the "firecracker_version" field.
func FreeDiskSizeMB ¶
FreeDiskSizeMB applies equality check predicate on the "free_disk_size_mb" field. It's identical to FreeDiskSizeMBEQ.
func FreeDiskSizeMBEQ ¶
FreeDiskSizeMBEQ applies the EQ predicate on the "free_disk_size_mb" field.
func FreeDiskSizeMBGT ¶
FreeDiskSizeMBGT applies the GT predicate on the "free_disk_size_mb" field.
func FreeDiskSizeMBGTE ¶
FreeDiskSizeMBGTE applies the GTE predicate on the "free_disk_size_mb" field.
func FreeDiskSizeMBIn ¶
FreeDiskSizeMBIn applies the In predicate on the "free_disk_size_mb" field.
func FreeDiskSizeMBLT ¶
FreeDiskSizeMBLT applies the LT predicate on the "free_disk_size_mb" field.
func FreeDiskSizeMBLTE ¶
FreeDiskSizeMBLTE applies the LTE predicate on the "free_disk_size_mb" field.
func FreeDiskSizeMBNEQ ¶
FreeDiskSizeMBNEQ applies the NEQ predicate on the "free_disk_size_mb" field.
func FreeDiskSizeMBNotIn ¶
FreeDiskSizeMBNotIn applies the NotIn predicate on the "free_disk_size_mb" field.
func HasEnvWith ¶
HasEnvWith applies the HasEdge predicate on the "env" edge with a given conditions (other predicates).
func KernelVersion ¶
KernelVersion applies equality check predicate on the "kernel_version" field. It's identical to KernelVersionEQ.
func KernelVersionContains ¶
KernelVersionContains applies the Contains predicate on the "kernel_version" field.
func KernelVersionContainsFold ¶
KernelVersionContainsFold applies the ContainsFold predicate on the "kernel_version" field.
func KernelVersionEQ ¶
KernelVersionEQ applies the EQ predicate on the "kernel_version" field.
func KernelVersionEqualFold ¶
KernelVersionEqualFold applies the EqualFold predicate on the "kernel_version" field.
func KernelVersionGT ¶
KernelVersionGT applies the GT predicate on the "kernel_version" field.
func KernelVersionGTE ¶
KernelVersionGTE applies the GTE predicate on the "kernel_version" field.
func KernelVersionHasPrefix ¶
KernelVersionHasPrefix applies the HasPrefix predicate on the "kernel_version" field.
func KernelVersionHasSuffix ¶
KernelVersionHasSuffix applies the HasSuffix predicate on the "kernel_version" field.
func KernelVersionIn ¶
KernelVersionIn applies the In predicate on the "kernel_version" field.
func KernelVersionLT ¶
KernelVersionLT applies the LT predicate on the "kernel_version" field.
func KernelVersionLTE ¶
KernelVersionLTE applies the LTE predicate on the "kernel_version" field.
func KernelVersionNEQ ¶
KernelVersionNEQ applies the NEQ predicate on the "kernel_version" field.
func KernelVersionNotIn ¶
KernelVersionNotIn applies the NotIn predicate on the "kernel_version" field.
func RAMMB ¶
RAMMB applies equality check predicate on the "ram_mb" field. It's identical to RAMMBEQ.
func RAMMBNotIn ¶
RAMMBNotIn applies the NotIn predicate on the "ram_mb" field.
func StartCmd ¶
StartCmd applies equality check predicate on the "start_cmd" field. It's identical to StartCmdEQ.
func StartCmdContains ¶
StartCmdContains applies the Contains predicate on the "start_cmd" field.
func StartCmdContainsFold ¶
StartCmdContainsFold applies the ContainsFold predicate on the "start_cmd" field.
func StartCmdEQ ¶
StartCmdEQ applies the EQ predicate on the "start_cmd" field.
func StartCmdEqualFold ¶
StartCmdEqualFold applies the EqualFold predicate on the "start_cmd" field.
func StartCmdGT ¶
StartCmdGT applies the GT predicate on the "start_cmd" field.
func StartCmdGTE ¶
StartCmdGTE applies the GTE predicate on the "start_cmd" field.
func StartCmdHasPrefix ¶
StartCmdHasPrefix applies the HasPrefix predicate on the "start_cmd" field.
func StartCmdHasSuffix ¶
StartCmdHasSuffix applies the HasSuffix predicate on the "start_cmd" field.
func StartCmdIn ¶
StartCmdIn applies the In predicate on the "start_cmd" field.
func StartCmdIsNil ¶
StartCmdIsNil applies the IsNil predicate on the "start_cmd" field.
func StartCmdLT ¶
StartCmdLT applies the LT predicate on the "start_cmd" field.
func StartCmdLTE ¶
StartCmdLTE applies the LTE predicate on the "start_cmd" field.
func StartCmdNEQ ¶
StartCmdNEQ applies the NEQ predicate on the "start_cmd" field.
func StartCmdNotIn ¶
StartCmdNotIn applies the NotIn predicate on the "start_cmd" field.
func StartCmdNotNil ¶
StartCmdNotNil applies the NotNil predicate on the "start_cmd" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TotalDiskSizeMB ¶
TotalDiskSizeMB applies equality check predicate on the "total_disk_size_mb" field. It's identical to TotalDiskSizeMBEQ.
func TotalDiskSizeMBEQ ¶
TotalDiskSizeMBEQ applies the EQ predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBGT ¶
TotalDiskSizeMBGT applies the GT predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBGTE ¶
TotalDiskSizeMBGTE applies the GTE predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBIn ¶
TotalDiskSizeMBIn applies the In predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBIsNil ¶
TotalDiskSizeMBIsNil applies the IsNil predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBLT ¶
TotalDiskSizeMBLT applies the LT predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBLTE ¶
TotalDiskSizeMBLTE applies the LTE predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBNEQ ¶
TotalDiskSizeMBNEQ applies the NEQ predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBNotIn ¶
TotalDiskSizeMBNotIn applies the NotIn predicate on the "total_disk_size_mb" field.
func TotalDiskSizeMBNotNil ¶
TotalDiskSizeMBNotNil applies the NotNil predicate on the "total_disk_size_mb" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the EnvBuild queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDockerfile ¶
func ByDockerfile(opts ...sql.OrderTermOption) OrderOption
ByDockerfile orders the results by the dockerfile field.
func ByEnvField ¶
func ByEnvField(field string, opts ...sql.OrderTermOption) OrderOption
ByEnvField orders the results by env field.
func ByEnvID ¶
func ByEnvID(opts ...sql.OrderTermOption) OrderOption
ByEnvID orders the results by the env_id field.
func ByFinishedAt ¶
func ByFinishedAt(opts ...sql.OrderTermOption) OrderOption
ByFinishedAt orders the results by the finished_at field.
func ByFirecrackerVersion ¶
func ByFirecrackerVersion(opts ...sql.OrderTermOption) OrderOption
ByFirecrackerVersion orders the results by the firecracker_version field.
func ByFreeDiskSizeMB ¶
func ByFreeDiskSizeMB(opts ...sql.OrderTermOption) OrderOption
ByFreeDiskSizeMB orders the results by the free_disk_size_mb field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKernelVersion ¶
func ByKernelVersion(opts ...sql.OrderTermOption) OrderOption
ByKernelVersion orders the results by the kernel_version field.
func ByRAMMB ¶
func ByRAMMB(opts ...sql.OrderTermOption) OrderOption
ByRAMMB orders the results by the ram_mb field.
func ByStartCmd ¶
func ByStartCmd(opts ...sql.OrderTermOption) OrderOption
ByStartCmd orders the results by the start_cmd field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTotalDiskSizeMB ¶
func ByTotalDiskSizeMB(opts ...sql.OrderTermOption) OrderOption
ByTotalDiskSizeMB orders the results by the total_disk_size_mb field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVcpu ¶
func ByVcpu(opts ...sql.OrderTermOption) OrderOption
ByVcpu orders the results by the vcpu field.