Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GenerationModel) predicate.GenerationModel
- func CreatedAt(v time.Time) predicate.GenerationModel
- func CreatedAtEQ(v time.Time) predicate.GenerationModel
- func CreatedAtGT(v time.Time) predicate.GenerationModel
- func CreatedAtGTE(v time.Time) predicate.GenerationModel
- func CreatedAtIn(vs ...time.Time) predicate.GenerationModel
- func CreatedAtLT(v time.Time) predicate.GenerationModel
- func CreatedAtLTE(v time.Time) predicate.GenerationModel
- func CreatedAtNEQ(v time.Time) predicate.GenerationModel
- func CreatedAtNotIn(vs ...time.Time) predicate.GenerationModel
- func DefaultHeight(v int32) predicate.GenerationModel
- func DefaultHeightEQ(v int32) predicate.GenerationModel
- func DefaultHeightGT(v int32) predicate.GenerationModel
- func DefaultHeightGTE(v int32) predicate.GenerationModel
- func DefaultHeightIn(vs ...int32) predicate.GenerationModel
- func DefaultHeightLT(v int32) predicate.GenerationModel
- func DefaultHeightLTE(v int32) predicate.GenerationModel
- func DefaultHeightNEQ(v int32) predicate.GenerationModel
- func DefaultHeightNotIn(vs ...int32) predicate.GenerationModel
- func DefaultInferenceSteps(v int32) predicate.GenerationModel
- func DefaultInferenceStepsEQ(v int32) predicate.GenerationModel
- func DefaultInferenceStepsGT(v int32) predicate.GenerationModel
- func DefaultInferenceStepsGTE(v int32) predicate.GenerationModel
- func DefaultInferenceStepsIn(vs ...int32) predicate.GenerationModel
- func DefaultInferenceStepsLT(v int32) predicate.GenerationModel
- func DefaultInferenceStepsLTE(v int32) predicate.GenerationModel
- func DefaultInferenceStepsNEQ(v int32) predicate.GenerationModel
- func DefaultInferenceStepsNotIn(vs ...int32) predicate.GenerationModel
- func DefaultSchedulerID(v uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDEQ(v uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDGT(v uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDGTE(v uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDIn(vs ...uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDIsNil() predicate.GenerationModel
- func DefaultSchedulerIDLT(v uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDLTE(v uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDNEQ(v uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDNotIn(vs ...uuid.UUID) predicate.GenerationModel
- func DefaultSchedulerIDNotNil() predicate.GenerationModel
- func DefaultWidth(v int32) predicate.GenerationModel
- func DefaultWidthEQ(v int32) predicate.GenerationModel
- func DefaultWidthGT(v int32) predicate.GenerationModel
- func DefaultWidthGTE(v int32) predicate.GenerationModel
- func DefaultWidthIn(vs ...int32) predicate.GenerationModel
- func DefaultWidthLT(v int32) predicate.GenerationModel
- func DefaultWidthLTE(v int32) predicate.GenerationModel
- func DefaultWidthNEQ(v int32) predicate.GenerationModel
- func DefaultWidthNotIn(vs ...int32) predicate.GenerationModel
- func DisplayWeight(v int32) predicate.GenerationModel
- func DisplayWeightEQ(v int32) predicate.GenerationModel
- func DisplayWeightGT(v int32) predicate.GenerationModel
- func DisplayWeightGTE(v int32) predicate.GenerationModel
- func DisplayWeightIn(vs ...int32) predicate.GenerationModel
- func DisplayWeightLT(v int32) predicate.GenerationModel
- func DisplayWeightLTE(v int32) predicate.GenerationModel
- func DisplayWeightNEQ(v int32) predicate.GenerationModel
- func DisplayWeightNotIn(vs ...int32) predicate.GenerationModel
- func HasGenerations() predicate.GenerationModel
- func HasGenerationsWith(preds ...predicate.Generation) predicate.GenerationModel
- func HasSchedulers() predicate.GenerationModel
- func HasSchedulersWith(preds ...predicate.Scheduler) predicate.GenerationModel
- func ID(id uuid.UUID) predicate.GenerationModel
- func IDEQ(id uuid.UUID) predicate.GenerationModel
- func IDGT(id uuid.UUID) predicate.GenerationModel
- func IDGTE(id uuid.UUID) predicate.GenerationModel
- func IDIn(ids ...uuid.UUID) predicate.GenerationModel
- func IDLT(id uuid.UUID) predicate.GenerationModel
- func IDLTE(id uuid.UUID) predicate.GenerationModel
- func IDNEQ(id uuid.UUID) predicate.GenerationModel
- func IDNotIn(ids ...uuid.UUID) predicate.GenerationModel
- func IsActive(v bool) predicate.GenerationModel
- func IsActiveEQ(v bool) predicate.GenerationModel
- func IsActiveNEQ(v bool) predicate.GenerationModel
- func IsDefault(v bool) predicate.GenerationModel
- func IsDefaultEQ(v bool) predicate.GenerationModel
- func IsDefaultNEQ(v bool) predicate.GenerationModel
- func IsHidden(v bool) predicate.GenerationModel
- func IsHiddenEQ(v bool) predicate.GenerationModel
- func IsHiddenNEQ(v bool) predicate.GenerationModel
- func NameInWorker(v string) predicate.GenerationModel
- func NameInWorkerContains(v string) predicate.GenerationModel
- func NameInWorkerContainsFold(v string) predicate.GenerationModel
- func NameInWorkerEQ(v string) predicate.GenerationModel
- func NameInWorkerEqualFold(v string) predicate.GenerationModel
- func NameInWorkerGT(v string) predicate.GenerationModel
- func NameInWorkerGTE(v string) predicate.GenerationModel
- func NameInWorkerHasPrefix(v string) predicate.GenerationModel
- func NameInWorkerHasSuffix(v string) predicate.GenerationModel
- func NameInWorkerIn(vs ...string) predicate.GenerationModel
- func NameInWorkerLT(v string) predicate.GenerationModel
- func NameInWorkerLTE(v string) predicate.GenerationModel
- func NameInWorkerNEQ(v string) predicate.GenerationModel
- func NameInWorkerNotIn(vs ...string) predicate.GenerationModel
- func Not(p predicate.GenerationModel) predicate.GenerationModel
- func Or(predicates ...predicate.GenerationModel) predicate.GenerationModel
- func RunpodActive(v bool) predicate.GenerationModel
- func RunpodActiveEQ(v bool) predicate.GenerationModel
- func RunpodActiveNEQ(v bool) predicate.GenerationModel
- func RunpodEndpoint(v string) predicate.GenerationModel
- func RunpodEndpointContains(v string) predicate.GenerationModel
- func RunpodEndpointContainsFold(v string) predicate.GenerationModel
- func RunpodEndpointEQ(v string) predicate.GenerationModel
- func RunpodEndpointEqualFold(v string) predicate.GenerationModel
- func RunpodEndpointGT(v string) predicate.GenerationModel
- func RunpodEndpointGTE(v string) predicate.GenerationModel
- func RunpodEndpointHasPrefix(v string) predicate.GenerationModel
- func RunpodEndpointHasSuffix(v string) predicate.GenerationModel
- func RunpodEndpointIn(vs ...string) predicate.GenerationModel
- func RunpodEndpointIsNil() predicate.GenerationModel
- func RunpodEndpointLT(v string) predicate.GenerationModel
- func RunpodEndpointLTE(v string) predicate.GenerationModel
- func RunpodEndpointNEQ(v string) predicate.GenerationModel
- func RunpodEndpointNotIn(vs ...string) predicate.GenerationModel
- func RunpodEndpointNotNil() predicate.GenerationModel
- func ShortName(v string) predicate.GenerationModel
- func ShortNameContains(v string) predicate.GenerationModel
- func ShortNameContainsFold(v string) predicate.GenerationModel
- func ShortNameEQ(v string) predicate.GenerationModel
- func ShortNameEqualFold(v string) predicate.GenerationModel
- func ShortNameGT(v string) predicate.GenerationModel
- func ShortNameGTE(v string) predicate.GenerationModel
- func ShortNameHasPrefix(v string) predicate.GenerationModel
- func ShortNameHasSuffix(v string) predicate.GenerationModel
- func ShortNameIn(vs ...string) predicate.GenerationModel
- func ShortNameLT(v string) predicate.GenerationModel
- func ShortNameLTE(v string) predicate.GenerationModel
- func ShortNameNEQ(v string) predicate.GenerationModel
- func ShortNameNotIn(vs ...string) predicate.GenerationModel
- func UpdatedAt(v time.Time) predicate.GenerationModel
- func UpdatedAtEQ(v time.Time) predicate.GenerationModel
- func UpdatedAtGT(v time.Time) predicate.GenerationModel
- func UpdatedAtGTE(v time.Time) predicate.GenerationModel
- func UpdatedAtIn(vs ...time.Time) predicate.GenerationModel
- func UpdatedAtLT(v time.Time) predicate.GenerationModel
- func UpdatedAtLTE(v time.Time) predicate.GenerationModel
- func UpdatedAtNEQ(v time.Time) predicate.GenerationModel
- func UpdatedAtNotIn(vs ...time.Time) predicate.GenerationModel
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDefaultHeight(opts ...sql.OrderTermOption) OrderOption
- func ByDefaultInferenceSteps(opts ...sql.OrderTermOption) OrderOption
- func ByDefaultSchedulerID(opts ...sql.OrderTermOption) OrderOption
- func ByDefaultWidth(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayWeight(opts ...sql.OrderTermOption) OrderOption
- func ByGenerations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGenerationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsActive(opts ...sql.OrderTermOption) OrderOption
- func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
- func ByIsHidden(opts ...sql.OrderTermOption) OrderOption
- func ByNameInWorker(opts ...sql.OrderTermOption) OrderOption
- func ByRunpodActive(opts ...sql.OrderTermOption) OrderOption
- func ByRunpodEndpoint(opts ...sql.OrderTermOption) OrderOption
- func BySchedulers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySchedulersCount(opts ...sql.OrderTermOption) OrderOption
- func ByShortName(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the generationmodel type in the database. Label = "generation_model" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNameInWorker holds the string denoting the name_in_worker field in the database. FieldNameInWorker = "name_in_worker" // FieldShortName holds the string denoting the short_name field in the database. FieldShortName = "short_name" // FieldIsActive holds the string denoting the is_active field in the database. FieldIsActive = "is_active" // FieldIsDefault holds the string denoting the is_default field in the database. FieldIsDefault = "is_default" // FieldIsHidden holds the string denoting the is_hidden field in the database. FieldIsHidden = "is_hidden" // FieldRunpodEndpoint holds the string denoting the runpod_endpoint field in the database. FieldRunpodEndpoint = "runpod_endpoint" // FieldRunpodActive holds the string denoting the runpod_active field in the database. FieldRunpodActive = "runpod_active" // FieldDisplayWeight holds the string denoting the display_weight field in the database. FieldDisplayWeight = "display_weight" // FieldDefaultSchedulerID holds the string denoting the default_scheduler_id field in the database. FieldDefaultSchedulerID = "default_scheduler_id" // FieldDefaultWidth holds the string denoting the default_width field in the database. FieldDefaultWidth = "default_width" // FieldDefaultHeight holds the string denoting the default_height field in the database. FieldDefaultHeight = "default_height" // FieldDefaultInferenceSteps holds the string denoting the default_inference_steps field in the database. FieldDefaultInferenceSteps = "default_inference_steps" // 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" // EdgeGenerations holds the string denoting the generations edge name in mutations. EdgeGenerations = "generations" // EdgeSchedulers holds the string denoting the schedulers edge name in mutations. EdgeSchedulers = "schedulers" // Table holds the table name of the generationmodel in the database. Table = "generation_models" // GenerationsTable is the table that holds the generations relation/edge. GenerationsTable = "generations" // GenerationsInverseTable is the table name for the Generation entity. // It exists in this package in order to avoid circular dependency with the "generation" package. GenerationsInverseTable = "generations" // GenerationsColumn is the table column denoting the generations relation/edge. GenerationsColumn = "model_id" // SchedulersTable is the table that holds the schedulers relation/edge. The primary key declared below. SchedulersTable = "generation_model_compatible_schedulers" // SchedulersInverseTable is the table name for the Scheduler entity. // It exists in this package in order to avoid circular dependency with the "scheduler" package. SchedulersInverseTable = "schedulers" )
Variables ¶
var ( // DefaultIsActive holds the default value on creation for the "is_active" field. DefaultIsActive bool // DefaultIsDefault holds the default value on creation for the "is_default" field. DefaultIsDefault bool // DefaultIsHidden holds the default value on creation for the "is_hidden" field. DefaultIsHidden bool // DefaultRunpodActive holds the default value on creation for the "runpod_active" field. DefaultRunpodActive bool // DefaultDisplayWeight holds the default value on creation for the "display_weight" field. DefaultDisplayWeight int32 // DefaultDefaultWidth holds the default value on creation for the "default_width" field. DefaultDefaultWidth int32 // DefaultDefaultHeight holds the default value on creation for the "default_height" field. DefaultDefaultHeight int32 // DefaultDefaultInferenceSteps holds the default value on creation for the "default_inference_steps" field. DefaultDefaultInferenceSteps int32 // 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 // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldNameInWorker, FieldShortName, FieldIsActive, FieldIsDefault, FieldIsHidden, FieldRunpodEndpoint, FieldRunpodActive, FieldDisplayWeight, FieldDefaultSchedulerID, FieldDefaultWidth, FieldDefaultHeight, FieldDefaultInferenceSteps, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for generationmodel fields.
var ( // SchedulersPrimaryKey and SchedulersColumn2 are the table columns denoting the // primary key for the schedulers relation (M2M). SchedulersPrimaryKey = []string{"generation_model_id", "scheduler_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.GenerationModel) predicate.GenerationModel
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.GenerationModel
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.GenerationModel
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.GenerationModel
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.GenerationModel
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.GenerationModel
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.GenerationModel
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.GenerationModel
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.GenerationModel
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.GenerationModel
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DefaultHeight ¶
func DefaultHeight(v int32) predicate.GenerationModel
DefaultHeight applies equality check predicate on the "default_height" field. It's identical to DefaultHeightEQ.
func DefaultHeightEQ ¶
func DefaultHeightEQ(v int32) predicate.GenerationModel
DefaultHeightEQ applies the EQ predicate on the "default_height" field.
func DefaultHeightGT ¶
func DefaultHeightGT(v int32) predicate.GenerationModel
DefaultHeightGT applies the GT predicate on the "default_height" field.
func DefaultHeightGTE ¶
func DefaultHeightGTE(v int32) predicate.GenerationModel
DefaultHeightGTE applies the GTE predicate on the "default_height" field.
func DefaultHeightIn ¶
func DefaultHeightIn(vs ...int32) predicate.GenerationModel
DefaultHeightIn applies the In predicate on the "default_height" field.
func DefaultHeightLT ¶
func DefaultHeightLT(v int32) predicate.GenerationModel
DefaultHeightLT applies the LT predicate on the "default_height" field.
func DefaultHeightLTE ¶
func DefaultHeightLTE(v int32) predicate.GenerationModel
DefaultHeightLTE applies the LTE predicate on the "default_height" field.
func DefaultHeightNEQ ¶
func DefaultHeightNEQ(v int32) predicate.GenerationModel
DefaultHeightNEQ applies the NEQ predicate on the "default_height" field.
func DefaultHeightNotIn ¶
func DefaultHeightNotIn(vs ...int32) predicate.GenerationModel
DefaultHeightNotIn applies the NotIn predicate on the "default_height" field.
func DefaultInferenceSteps ¶
func DefaultInferenceSteps(v int32) predicate.GenerationModel
DefaultInferenceSteps applies equality check predicate on the "default_inference_steps" field. It's identical to DefaultInferenceStepsEQ.
func DefaultInferenceStepsEQ ¶
func DefaultInferenceStepsEQ(v int32) predicate.GenerationModel
DefaultInferenceStepsEQ applies the EQ predicate on the "default_inference_steps" field.
func DefaultInferenceStepsGT ¶
func DefaultInferenceStepsGT(v int32) predicate.GenerationModel
DefaultInferenceStepsGT applies the GT predicate on the "default_inference_steps" field.
func DefaultInferenceStepsGTE ¶
func DefaultInferenceStepsGTE(v int32) predicate.GenerationModel
DefaultInferenceStepsGTE applies the GTE predicate on the "default_inference_steps" field.
func DefaultInferenceStepsIn ¶
func DefaultInferenceStepsIn(vs ...int32) predicate.GenerationModel
DefaultInferenceStepsIn applies the In predicate on the "default_inference_steps" field.
func DefaultInferenceStepsLT ¶
func DefaultInferenceStepsLT(v int32) predicate.GenerationModel
DefaultInferenceStepsLT applies the LT predicate on the "default_inference_steps" field.
func DefaultInferenceStepsLTE ¶
func DefaultInferenceStepsLTE(v int32) predicate.GenerationModel
DefaultInferenceStepsLTE applies the LTE predicate on the "default_inference_steps" field.
func DefaultInferenceStepsNEQ ¶
func DefaultInferenceStepsNEQ(v int32) predicate.GenerationModel
DefaultInferenceStepsNEQ applies the NEQ predicate on the "default_inference_steps" field.
func DefaultInferenceStepsNotIn ¶
func DefaultInferenceStepsNotIn(vs ...int32) predicate.GenerationModel
DefaultInferenceStepsNotIn applies the NotIn predicate on the "default_inference_steps" field.
func DefaultSchedulerID ¶
func DefaultSchedulerID(v uuid.UUID) predicate.GenerationModel
DefaultSchedulerID applies equality check predicate on the "default_scheduler_id" field. It's identical to DefaultSchedulerIDEQ.
func DefaultSchedulerIDEQ ¶
func DefaultSchedulerIDEQ(v uuid.UUID) predicate.GenerationModel
DefaultSchedulerIDEQ applies the EQ predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDGT ¶
func DefaultSchedulerIDGT(v uuid.UUID) predicate.GenerationModel
DefaultSchedulerIDGT applies the GT predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDGTE ¶
func DefaultSchedulerIDGTE(v uuid.UUID) predicate.GenerationModel
DefaultSchedulerIDGTE applies the GTE predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDIn ¶
func DefaultSchedulerIDIn(vs ...uuid.UUID) predicate.GenerationModel
DefaultSchedulerIDIn applies the In predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDIsNil ¶
func DefaultSchedulerIDIsNil() predicate.GenerationModel
DefaultSchedulerIDIsNil applies the IsNil predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDLT ¶
func DefaultSchedulerIDLT(v uuid.UUID) predicate.GenerationModel
DefaultSchedulerIDLT applies the LT predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDLTE ¶
func DefaultSchedulerIDLTE(v uuid.UUID) predicate.GenerationModel
DefaultSchedulerIDLTE applies the LTE predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDNEQ ¶
func DefaultSchedulerIDNEQ(v uuid.UUID) predicate.GenerationModel
DefaultSchedulerIDNEQ applies the NEQ predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDNotIn ¶
func DefaultSchedulerIDNotIn(vs ...uuid.UUID) predicate.GenerationModel
DefaultSchedulerIDNotIn applies the NotIn predicate on the "default_scheduler_id" field.
func DefaultSchedulerIDNotNil ¶
func DefaultSchedulerIDNotNil() predicate.GenerationModel
DefaultSchedulerIDNotNil applies the NotNil predicate on the "default_scheduler_id" field.
func DefaultWidth ¶
func DefaultWidth(v int32) predicate.GenerationModel
DefaultWidth applies equality check predicate on the "default_width" field. It's identical to DefaultWidthEQ.
func DefaultWidthEQ ¶
func DefaultWidthEQ(v int32) predicate.GenerationModel
DefaultWidthEQ applies the EQ predicate on the "default_width" field.
func DefaultWidthGT ¶
func DefaultWidthGT(v int32) predicate.GenerationModel
DefaultWidthGT applies the GT predicate on the "default_width" field.
func DefaultWidthGTE ¶
func DefaultWidthGTE(v int32) predicate.GenerationModel
DefaultWidthGTE applies the GTE predicate on the "default_width" field.
func DefaultWidthIn ¶
func DefaultWidthIn(vs ...int32) predicate.GenerationModel
DefaultWidthIn applies the In predicate on the "default_width" field.
func DefaultWidthLT ¶
func DefaultWidthLT(v int32) predicate.GenerationModel
DefaultWidthLT applies the LT predicate on the "default_width" field.
func DefaultWidthLTE ¶
func DefaultWidthLTE(v int32) predicate.GenerationModel
DefaultWidthLTE applies the LTE predicate on the "default_width" field.
func DefaultWidthNEQ ¶
func DefaultWidthNEQ(v int32) predicate.GenerationModel
DefaultWidthNEQ applies the NEQ predicate on the "default_width" field.
func DefaultWidthNotIn ¶
func DefaultWidthNotIn(vs ...int32) predicate.GenerationModel
DefaultWidthNotIn applies the NotIn predicate on the "default_width" field.
func DisplayWeight ¶
func DisplayWeight(v int32) predicate.GenerationModel
DisplayWeight applies equality check predicate on the "display_weight" field. It's identical to DisplayWeightEQ.
func DisplayWeightEQ ¶
func DisplayWeightEQ(v int32) predicate.GenerationModel
DisplayWeightEQ applies the EQ predicate on the "display_weight" field.
func DisplayWeightGT ¶
func DisplayWeightGT(v int32) predicate.GenerationModel
DisplayWeightGT applies the GT predicate on the "display_weight" field.
func DisplayWeightGTE ¶
func DisplayWeightGTE(v int32) predicate.GenerationModel
DisplayWeightGTE applies the GTE predicate on the "display_weight" field.
func DisplayWeightIn ¶
func DisplayWeightIn(vs ...int32) predicate.GenerationModel
DisplayWeightIn applies the In predicate on the "display_weight" field.
func DisplayWeightLT ¶
func DisplayWeightLT(v int32) predicate.GenerationModel
DisplayWeightLT applies the LT predicate on the "display_weight" field.
func DisplayWeightLTE ¶
func DisplayWeightLTE(v int32) predicate.GenerationModel
DisplayWeightLTE applies the LTE predicate on the "display_weight" field.
func DisplayWeightNEQ ¶
func DisplayWeightNEQ(v int32) predicate.GenerationModel
DisplayWeightNEQ applies the NEQ predicate on the "display_weight" field.
func DisplayWeightNotIn ¶
func DisplayWeightNotIn(vs ...int32) predicate.GenerationModel
DisplayWeightNotIn applies the NotIn predicate on the "display_weight" field.
func HasGenerations ¶
func HasGenerations() predicate.GenerationModel
HasGenerations applies the HasEdge predicate on the "generations" edge.
func HasGenerationsWith ¶
func HasGenerationsWith(preds ...predicate.Generation) predicate.GenerationModel
HasGenerationsWith applies the HasEdge predicate on the "generations" edge with a given conditions (other predicates).
func HasSchedulers ¶
func HasSchedulers() predicate.GenerationModel
HasSchedulers applies the HasEdge predicate on the "schedulers" edge.
func HasSchedulersWith ¶
func HasSchedulersWith(preds ...predicate.Scheduler) predicate.GenerationModel
HasSchedulersWith applies the HasEdge predicate on the "schedulers" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.GenerationModel
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.GenerationModel
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.GenerationModel
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.GenerationModel
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.GenerationModel
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.GenerationModel
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.GenerationModel
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.GenerationModel
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.GenerationModel
IDNotIn applies the NotIn predicate on the ID field.
func IsActive ¶
func IsActive(v bool) predicate.GenerationModel
IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.
func IsActiveEQ ¶
func IsActiveEQ(v bool) predicate.GenerationModel
IsActiveEQ applies the EQ predicate on the "is_active" field.
func IsActiveNEQ ¶
func IsActiveNEQ(v bool) predicate.GenerationModel
IsActiveNEQ applies the NEQ predicate on the "is_active" field.
func IsDefault ¶
func IsDefault(v bool) predicate.GenerationModel
IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.
func IsDefaultEQ ¶
func IsDefaultEQ(v bool) predicate.GenerationModel
IsDefaultEQ applies the EQ predicate on the "is_default" field.
func IsDefaultNEQ ¶
func IsDefaultNEQ(v bool) predicate.GenerationModel
IsDefaultNEQ applies the NEQ predicate on the "is_default" field.
func IsHidden ¶
func IsHidden(v bool) predicate.GenerationModel
IsHidden applies equality check predicate on the "is_hidden" field. It's identical to IsHiddenEQ.
func IsHiddenEQ ¶
func IsHiddenEQ(v bool) predicate.GenerationModel
IsHiddenEQ applies the EQ predicate on the "is_hidden" field.
func IsHiddenNEQ ¶
func IsHiddenNEQ(v bool) predicate.GenerationModel
IsHiddenNEQ applies the NEQ predicate on the "is_hidden" field.
func NameInWorker ¶
func NameInWorker(v string) predicate.GenerationModel
NameInWorker applies equality check predicate on the "name_in_worker" field. It's identical to NameInWorkerEQ.
func NameInWorkerContains ¶
func NameInWorkerContains(v string) predicate.GenerationModel
NameInWorkerContains applies the Contains predicate on the "name_in_worker" field.
func NameInWorkerContainsFold ¶
func NameInWorkerContainsFold(v string) predicate.GenerationModel
NameInWorkerContainsFold applies the ContainsFold predicate on the "name_in_worker" field.
func NameInWorkerEQ ¶
func NameInWorkerEQ(v string) predicate.GenerationModel
NameInWorkerEQ applies the EQ predicate on the "name_in_worker" field.
func NameInWorkerEqualFold ¶
func NameInWorkerEqualFold(v string) predicate.GenerationModel
NameInWorkerEqualFold applies the EqualFold predicate on the "name_in_worker" field.
func NameInWorkerGT ¶
func NameInWorkerGT(v string) predicate.GenerationModel
NameInWorkerGT applies the GT predicate on the "name_in_worker" field.
func NameInWorkerGTE ¶
func NameInWorkerGTE(v string) predicate.GenerationModel
NameInWorkerGTE applies the GTE predicate on the "name_in_worker" field.
func NameInWorkerHasPrefix ¶
func NameInWorkerHasPrefix(v string) predicate.GenerationModel
NameInWorkerHasPrefix applies the HasPrefix predicate on the "name_in_worker" field.
func NameInWorkerHasSuffix ¶
func NameInWorkerHasSuffix(v string) predicate.GenerationModel
NameInWorkerHasSuffix applies the HasSuffix predicate on the "name_in_worker" field.
func NameInWorkerIn ¶
func NameInWorkerIn(vs ...string) predicate.GenerationModel
NameInWorkerIn applies the In predicate on the "name_in_worker" field.
func NameInWorkerLT ¶
func NameInWorkerLT(v string) predicate.GenerationModel
NameInWorkerLT applies the LT predicate on the "name_in_worker" field.
func NameInWorkerLTE ¶
func NameInWorkerLTE(v string) predicate.GenerationModel
NameInWorkerLTE applies the LTE predicate on the "name_in_worker" field.
func NameInWorkerNEQ ¶
func NameInWorkerNEQ(v string) predicate.GenerationModel
NameInWorkerNEQ applies the NEQ predicate on the "name_in_worker" field.
func NameInWorkerNotIn ¶
func NameInWorkerNotIn(vs ...string) predicate.GenerationModel
NameInWorkerNotIn applies the NotIn predicate on the "name_in_worker" field.
func Not ¶
func Not(p predicate.GenerationModel) predicate.GenerationModel
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.GenerationModel) predicate.GenerationModel
Or groups predicates with the OR operator between them.
func RunpodActive ¶
func RunpodActive(v bool) predicate.GenerationModel
RunpodActive applies equality check predicate on the "runpod_active" field. It's identical to RunpodActiveEQ.
func RunpodActiveEQ ¶
func RunpodActiveEQ(v bool) predicate.GenerationModel
RunpodActiveEQ applies the EQ predicate on the "runpod_active" field.
func RunpodActiveNEQ ¶
func RunpodActiveNEQ(v bool) predicate.GenerationModel
RunpodActiveNEQ applies the NEQ predicate on the "runpod_active" field.
func RunpodEndpoint ¶
func RunpodEndpoint(v string) predicate.GenerationModel
RunpodEndpoint applies equality check predicate on the "runpod_endpoint" field. It's identical to RunpodEndpointEQ.
func RunpodEndpointContains ¶
func RunpodEndpointContains(v string) predicate.GenerationModel
RunpodEndpointContains applies the Contains predicate on the "runpod_endpoint" field.
func RunpodEndpointContainsFold ¶
func RunpodEndpointContainsFold(v string) predicate.GenerationModel
RunpodEndpointContainsFold applies the ContainsFold predicate on the "runpod_endpoint" field.
func RunpodEndpointEQ ¶
func RunpodEndpointEQ(v string) predicate.GenerationModel
RunpodEndpointEQ applies the EQ predicate on the "runpod_endpoint" field.
func RunpodEndpointEqualFold ¶
func RunpodEndpointEqualFold(v string) predicate.GenerationModel
RunpodEndpointEqualFold applies the EqualFold predicate on the "runpod_endpoint" field.
func RunpodEndpointGT ¶
func RunpodEndpointGT(v string) predicate.GenerationModel
RunpodEndpointGT applies the GT predicate on the "runpod_endpoint" field.
func RunpodEndpointGTE ¶
func RunpodEndpointGTE(v string) predicate.GenerationModel
RunpodEndpointGTE applies the GTE predicate on the "runpod_endpoint" field.
func RunpodEndpointHasPrefix ¶
func RunpodEndpointHasPrefix(v string) predicate.GenerationModel
RunpodEndpointHasPrefix applies the HasPrefix predicate on the "runpod_endpoint" field.
func RunpodEndpointHasSuffix ¶
func RunpodEndpointHasSuffix(v string) predicate.GenerationModel
RunpodEndpointHasSuffix applies the HasSuffix predicate on the "runpod_endpoint" field.
func RunpodEndpointIn ¶
func RunpodEndpointIn(vs ...string) predicate.GenerationModel
RunpodEndpointIn applies the In predicate on the "runpod_endpoint" field.
func RunpodEndpointIsNil ¶
func RunpodEndpointIsNil() predicate.GenerationModel
RunpodEndpointIsNil applies the IsNil predicate on the "runpod_endpoint" field.
func RunpodEndpointLT ¶
func RunpodEndpointLT(v string) predicate.GenerationModel
RunpodEndpointLT applies the LT predicate on the "runpod_endpoint" field.
func RunpodEndpointLTE ¶
func RunpodEndpointLTE(v string) predicate.GenerationModel
RunpodEndpointLTE applies the LTE predicate on the "runpod_endpoint" field.
func RunpodEndpointNEQ ¶
func RunpodEndpointNEQ(v string) predicate.GenerationModel
RunpodEndpointNEQ applies the NEQ predicate on the "runpod_endpoint" field.
func RunpodEndpointNotIn ¶
func RunpodEndpointNotIn(vs ...string) predicate.GenerationModel
RunpodEndpointNotIn applies the NotIn predicate on the "runpod_endpoint" field.
func RunpodEndpointNotNil ¶
func RunpodEndpointNotNil() predicate.GenerationModel
RunpodEndpointNotNil applies the NotNil predicate on the "runpod_endpoint" field.
func ShortName ¶
func ShortName(v string) predicate.GenerationModel
ShortName applies equality check predicate on the "short_name" field. It's identical to ShortNameEQ.
func ShortNameContains ¶
func ShortNameContains(v string) predicate.GenerationModel
ShortNameContains applies the Contains predicate on the "short_name" field.
func ShortNameContainsFold ¶
func ShortNameContainsFold(v string) predicate.GenerationModel
ShortNameContainsFold applies the ContainsFold predicate on the "short_name" field.
func ShortNameEQ ¶
func ShortNameEQ(v string) predicate.GenerationModel
ShortNameEQ applies the EQ predicate on the "short_name" field.
func ShortNameEqualFold ¶
func ShortNameEqualFold(v string) predicate.GenerationModel
ShortNameEqualFold applies the EqualFold predicate on the "short_name" field.
func ShortNameGT ¶
func ShortNameGT(v string) predicate.GenerationModel
ShortNameGT applies the GT predicate on the "short_name" field.
func ShortNameGTE ¶
func ShortNameGTE(v string) predicate.GenerationModel
ShortNameGTE applies the GTE predicate on the "short_name" field.
func ShortNameHasPrefix ¶
func ShortNameHasPrefix(v string) predicate.GenerationModel
ShortNameHasPrefix applies the HasPrefix predicate on the "short_name" field.
func ShortNameHasSuffix ¶
func ShortNameHasSuffix(v string) predicate.GenerationModel
ShortNameHasSuffix applies the HasSuffix predicate on the "short_name" field.
func ShortNameIn ¶
func ShortNameIn(vs ...string) predicate.GenerationModel
ShortNameIn applies the In predicate on the "short_name" field.
func ShortNameLT ¶
func ShortNameLT(v string) predicate.GenerationModel
ShortNameLT applies the LT predicate on the "short_name" field.
func ShortNameLTE ¶
func ShortNameLTE(v string) predicate.GenerationModel
ShortNameLTE applies the LTE predicate on the "short_name" field.
func ShortNameNEQ ¶
func ShortNameNEQ(v string) predicate.GenerationModel
ShortNameNEQ applies the NEQ predicate on the "short_name" field.
func ShortNameNotIn ¶
func ShortNameNotIn(vs ...string) predicate.GenerationModel
ShortNameNotIn applies the NotIn predicate on the "short_name" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.GenerationModel
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.GenerationModel
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.GenerationModel
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.GenerationModel
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.GenerationModel
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.GenerationModel
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.GenerationModel
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.GenerationModel
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.GenerationModel
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 GenerationModel queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDefaultHeight ¶
func ByDefaultHeight(opts ...sql.OrderTermOption) OrderOption
ByDefaultHeight orders the results by the default_height field.
func ByDefaultInferenceSteps ¶
func ByDefaultInferenceSteps(opts ...sql.OrderTermOption) OrderOption
ByDefaultInferenceSteps orders the results by the default_inference_steps field.
func ByDefaultSchedulerID ¶
func ByDefaultSchedulerID(opts ...sql.OrderTermOption) OrderOption
ByDefaultSchedulerID orders the results by the default_scheduler_id field.
func ByDefaultWidth ¶
func ByDefaultWidth(opts ...sql.OrderTermOption) OrderOption
ByDefaultWidth orders the results by the default_width field.
func ByDisplayWeight ¶
func ByDisplayWeight(opts ...sql.OrderTermOption) OrderOption
ByDisplayWeight orders the results by the display_weight field.
func ByGenerations ¶
func ByGenerations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGenerations orders the results by generations terms.
func ByGenerationsCount ¶
func ByGenerationsCount(opts ...sql.OrderTermOption) OrderOption
ByGenerationsCount orders the results by generations count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsActive ¶
func ByIsActive(opts ...sql.OrderTermOption) OrderOption
ByIsActive orders the results by the is_active field.
func ByIsDefault ¶
func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
ByIsDefault orders the results by the is_default field.
func ByIsHidden ¶
func ByIsHidden(opts ...sql.OrderTermOption) OrderOption
ByIsHidden orders the results by the is_hidden field.
func ByNameInWorker ¶
func ByNameInWorker(opts ...sql.OrderTermOption) OrderOption
ByNameInWorker orders the results by the name_in_worker field.
func ByRunpodActive ¶
func ByRunpodActive(opts ...sql.OrderTermOption) OrderOption
ByRunpodActive orders the results by the runpod_active field.
func ByRunpodEndpoint ¶
func ByRunpodEndpoint(opts ...sql.OrderTermOption) OrderOption
ByRunpodEndpoint orders the results by the runpod_endpoint field.
func BySchedulers ¶
func BySchedulers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySchedulers orders the results by schedulers terms.
func BySchedulersCount ¶
func BySchedulersCount(opts ...sql.OrderTermOption) OrderOption
BySchedulersCount orders the results by schedulers count.
func ByShortName ¶
func ByShortName(opts ...sql.OrderTermOption) OrderOption
ByShortName orders the results by the short_name field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.