servicerevision

package
v0.3.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the servicerevision type in the database.
	Label = "service_revision"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldStatusMessage holds the string denoting the status_message field in the database.
	FieldStatusMessage = "status_message"
	// FieldProjectID holds the string denoting the project_id field in the database.
	FieldProjectID = "project_id"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldServiceID holds the string denoting the service_id field in the database.
	FieldServiceID = "service_id"
	// FieldTemplateName holds the string denoting the template_name field in the database.
	FieldTemplateName = "template_name"
	// FieldTemplateVersion holds the string denoting the template_version field in the database.
	FieldTemplateVersion = "template_version"
	// FieldAttributes holds the string denoting the attributes field in the database.
	FieldAttributes = "attributes"
	// FieldVariables holds the string denoting the variables field in the database.
	FieldVariables = "variables"
	// FieldInputPlan holds the string denoting the input_plan field in the database.
	FieldInputPlan = "input_plan"
	// FieldOutput holds the string denoting the output field in the database.
	FieldOutput = "output"
	// FieldDeployerType holds the string denoting the deployer_type field in the database.
	FieldDeployerType = "deployer_type"
	// FieldDuration holds the string denoting the duration field in the database.
	FieldDuration = "duration"
	// FieldPreviousRequiredProviders holds the string denoting the previous_required_providers field in the database.
	FieldPreviousRequiredProviders = "previous_required_providers"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeEnvironment holds the string denoting the environment edge name in mutations.
	EdgeEnvironment = "environment"
	// EdgeService holds the string denoting the service edge name in mutations.
	EdgeService = "service"
	// Table holds the table name of the servicerevision in the database.
	Table = "service_revisions"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "service_revisions"
	// ProjectInverseTable is the table name for the Project entity.
	// It exists in this package in order to avoid circular dependency with the "project" package.
	ProjectInverseTable = "projects"
	// ProjectColumn is the table column denoting the project relation/edge.
	ProjectColumn = "project_id"
	// EnvironmentTable is the table that holds the environment relation/edge.
	EnvironmentTable = "service_revisions"
	// EnvironmentInverseTable is the table name for the Environment entity.
	// It exists in this package in order to avoid circular dependency with the "environment" package.
	EnvironmentInverseTable = "environments"
	// EnvironmentColumn is the table column denoting the environment relation/edge.
	EnvironmentColumn = "environment_id"
	// ServiceTable is the table that holds the service relation/edge.
	ServiceTable = "service_revisions"
	// ServiceInverseTable is the table name for the Service entity.
	// It exists in this package in order to avoid circular dependency with the "service" package.
	ServiceInverseTable = "services"
	// ServiceColumn is the table column denoting the service relation/edge.
	ServiceColumn = "service_id"
)

Variables

View Source
var (
	Hooks        [2]ent.Hook
	Interceptors [1]ent.Interceptor
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// ProjectIDValidator is a validator for the "project_id" field. It is called by the builders before save.
	ProjectIDValidator func(string) error
	// EnvironmentIDValidator is a validator for the "environment_id" field. It is called by the builders before save.
	EnvironmentIDValidator func(string) error
	// ServiceIDValidator is a validator for the "service_id" field. It is called by the builders before save.
	ServiceIDValidator func(string) error
	// TemplateNameValidator is a validator for the "template_name" field. It is called by the builders before save.
	TemplateNameValidator func(string) error
	// TemplateVersionValidator is a validator for the "template_version" field. It is called by the builders before save.
	TemplateVersionValidator func(string) error
	// DefaultVariables holds the default value on creation for the "variables" field.
	DefaultVariables crypto.Map[string, string]
	// DefaultDeployerType holds the default value on creation for the "deployer_type" field.
	DefaultDeployerType string
	// DefaultDuration holds the default value on creation for the "duration" field.
	DefaultDuration int
	// DefaultPreviousRequiredProviders holds the default value on creation for the "previous_required_providers" field.
	DefaultPreviousRequiredProviders []types.ProviderRequirement
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
)

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/seal-io/walrus/pkg/dao/model/runtime"

Columns holds all SQL columns for servicerevision fields.

Functions

func And

And groups predicates with the AND operator between them.

func Attributes

Attributes applies equality check predicate on the "attributes" field. It's identical to AttributesEQ.

func AttributesEQ

func AttributesEQ(v property.Values) predicate.ServiceRevision

AttributesEQ applies the EQ predicate on the "attributes" field.

func AttributesGT

func AttributesGT(v property.Values) predicate.ServiceRevision

AttributesGT applies the GT predicate on the "attributes" field.

func AttributesGTE

func AttributesGTE(v property.Values) predicate.ServiceRevision

AttributesGTE applies the GTE predicate on the "attributes" field.

func AttributesIn

func AttributesIn(vs ...property.Values) predicate.ServiceRevision

AttributesIn applies the In predicate on the "attributes" field.

func AttributesIsNil

func AttributesIsNil() predicate.ServiceRevision

AttributesIsNil applies the IsNil predicate on the "attributes" field.

func AttributesLT

func AttributesLT(v property.Values) predicate.ServiceRevision

AttributesLT applies the LT predicate on the "attributes" field.

func AttributesLTE

func AttributesLTE(v property.Values) predicate.ServiceRevision

AttributesLTE applies the LTE predicate on the "attributes" field.

func AttributesNEQ

func AttributesNEQ(v property.Values) predicate.ServiceRevision

AttributesNEQ applies the NEQ predicate on the "attributes" field.

func AttributesNotIn

func AttributesNotIn(vs ...property.Values) predicate.ServiceRevision

AttributesNotIn applies the NotIn predicate on the "attributes" field.

func AttributesNotNil

func AttributesNotNil() predicate.ServiceRevision

AttributesNotNil applies the NotNil predicate on the "attributes" field.

func CreateTime

func CreateTime(v time.Time) predicate.ServiceRevision

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.ServiceRevision

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.ServiceRevision

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.ServiceRevision

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.ServiceRevision

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.ServiceRevision

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.ServiceRevision

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

func CreateTimeNotIn

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

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

func DeployerType

func DeployerType(v string) predicate.ServiceRevision

DeployerType applies equality check predicate on the "deployer_type" field. It's identical to DeployerTypeEQ.

func DeployerTypeContains

func DeployerTypeContains(v string) predicate.ServiceRevision

DeployerTypeContains applies the Contains predicate on the "deployer_type" field.

func DeployerTypeContainsFold

func DeployerTypeContainsFold(v string) predicate.ServiceRevision

DeployerTypeContainsFold applies the ContainsFold predicate on the "deployer_type" field.

func DeployerTypeEQ

func DeployerTypeEQ(v string) predicate.ServiceRevision

DeployerTypeEQ applies the EQ predicate on the "deployer_type" field.

func DeployerTypeEqualFold

func DeployerTypeEqualFold(v string) predicate.ServiceRevision

DeployerTypeEqualFold applies the EqualFold predicate on the "deployer_type" field.

func DeployerTypeGT

func DeployerTypeGT(v string) predicate.ServiceRevision

DeployerTypeGT applies the GT predicate on the "deployer_type" field.

func DeployerTypeGTE

func DeployerTypeGTE(v string) predicate.ServiceRevision

DeployerTypeGTE applies the GTE predicate on the "deployer_type" field.

func DeployerTypeHasPrefix

func DeployerTypeHasPrefix(v string) predicate.ServiceRevision

DeployerTypeHasPrefix applies the HasPrefix predicate on the "deployer_type" field.

func DeployerTypeHasSuffix

func DeployerTypeHasSuffix(v string) predicate.ServiceRevision

DeployerTypeHasSuffix applies the HasSuffix predicate on the "deployer_type" field.

func DeployerTypeIn

func DeployerTypeIn(vs ...string) predicate.ServiceRevision

DeployerTypeIn applies the In predicate on the "deployer_type" field.

func DeployerTypeLT

func DeployerTypeLT(v string) predicate.ServiceRevision

DeployerTypeLT applies the LT predicate on the "deployer_type" field.

func DeployerTypeLTE

func DeployerTypeLTE(v string) predicate.ServiceRevision

DeployerTypeLTE applies the LTE predicate on the "deployer_type" field.

func DeployerTypeNEQ

func DeployerTypeNEQ(v string) predicate.ServiceRevision

DeployerTypeNEQ applies the NEQ predicate on the "deployer_type" field.

func DeployerTypeNotIn

func DeployerTypeNotIn(vs ...string) predicate.ServiceRevision

DeployerTypeNotIn applies the NotIn predicate on the "deployer_type" field.

func Duration

func Duration(v int) predicate.ServiceRevision

Duration applies equality check predicate on the "duration" field. It's identical to DurationEQ.

func DurationEQ

func DurationEQ(v int) predicate.ServiceRevision

DurationEQ applies the EQ predicate on the "duration" field.

func DurationGT

func DurationGT(v int) predicate.ServiceRevision

DurationGT applies the GT predicate on the "duration" field.

func DurationGTE

func DurationGTE(v int) predicate.ServiceRevision

DurationGTE applies the GTE predicate on the "duration" field.

func DurationIn

func DurationIn(vs ...int) predicate.ServiceRevision

DurationIn applies the In predicate on the "duration" field.

func DurationLT

func DurationLT(v int) predicate.ServiceRevision

DurationLT applies the LT predicate on the "duration" field.

func DurationLTE

func DurationLTE(v int) predicate.ServiceRevision

DurationLTE applies the LTE predicate on the "duration" field.

func DurationNEQ

func DurationNEQ(v int) predicate.ServiceRevision

DurationNEQ applies the NEQ predicate on the "duration" field.

func DurationNotIn

func DurationNotIn(vs ...int) predicate.ServiceRevision

DurationNotIn applies the NotIn predicate on the "duration" field.

func EnvironmentID

func EnvironmentID(v object.ID) predicate.ServiceRevision

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDContains

func EnvironmentIDContains(v object.ID) predicate.ServiceRevision

EnvironmentIDContains applies the Contains predicate on the "environment_id" field.

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v object.ID) predicate.ServiceRevision

EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.

func EnvironmentIDEQ

func EnvironmentIDEQ(v object.ID) predicate.ServiceRevision

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v object.ID) predicate.ServiceRevision

EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.

func EnvironmentIDGT

func EnvironmentIDGT(v object.ID) predicate.ServiceRevision

EnvironmentIDGT applies the GT predicate on the "environment_id" field.

func EnvironmentIDGTE

func EnvironmentIDGTE(v object.ID) predicate.ServiceRevision

EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v object.ID) predicate.ServiceRevision

EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v object.ID) predicate.ServiceRevision

EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...object.ID) predicate.ServiceRevision

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDLT

func EnvironmentIDLT(v object.ID) predicate.ServiceRevision

EnvironmentIDLT applies the LT predicate on the "environment_id" field.

func EnvironmentIDLTE

func EnvironmentIDLTE(v object.ID) predicate.ServiceRevision

EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v object.ID) predicate.ServiceRevision

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...object.ID) predicate.ServiceRevision

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func HasEnvironment

func HasEnvironment() predicate.ServiceRevision

HasEnvironment applies the HasEdge predicate on the "environment" edge.

func HasEnvironmentWith

func HasEnvironmentWith(preds ...predicate.Environment) predicate.ServiceRevision

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

func HasProject

func HasProject() predicate.ServiceRevision

HasProject applies the HasEdge predicate on the "project" edge.

func HasProjectWith

func HasProjectWith(preds ...predicate.Project) predicate.ServiceRevision

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

func HasService

func HasService() predicate.ServiceRevision

HasService applies the HasEdge predicate on the "service" edge.

func HasServiceWith

func HasServiceWith(preds ...predicate.Service) predicate.ServiceRevision

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...object.ID) predicate.ServiceRevision

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...object.ID) predicate.ServiceRevision

IDNotIn applies the NotIn predicate on the ID field.

func InputPlan

func InputPlan(v string) predicate.ServiceRevision

InputPlan applies equality check predicate on the "input_plan" field. It's identical to InputPlanEQ.

func InputPlanContains

func InputPlanContains(v string) predicate.ServiceRevision

InputPlanContains applies the Contains predicate on the "input_plan" field.

func InputPlanContainsFold

func InputPlanContainsFold(v string) predicate.ServiceRevision

InputPlanContainsFold applies the ContainsFold predicate on the "input_plan" field.

func InputPlanEQ

func InputPlanEQ(v string) predicate.ServiceRevision

InputPlanEQ applies the EQ predicate on the "input_plan" field.

func InputPlanEqualFold

func InputPlanEqualFold(v string) predicate.ServiceRevision

InputPlanEqualFold applies the EqualFold predicate on the "input_plan" field.

func InputPlanGT

func InputPlanGT(v string) predicate.ServiceRevision

InputPlanGT applies the GT predicate on the "input_plan" field.

func InputPlanGTE

func InputPlanGTE(v string) predicate.ServiceRevision

InputPlanGTE applies the GTE predicate on the "input_plan" field.

func InputPlanHasPrefix

func InputPlanHasPrefix(v string) predicate.ServiceRevision

InputPlanHasPrefix applies the HasPrefix predicate on the "input_plan" field.

func InputPlanHasSuffix

func InputPlanHasSuffix(v string) predicate.ServiceRevision

InputPlanHasSuffix applies the HasSuffix predicate on the "input_plan" field.

func InputPlanIn

func InputPlanIn(vs ...string) predicate.ServiceRevision

InputPlanIn applies the In predicate on the "input_plan" field.

func InputPlanLT

func InputPlanLT(v string) predicate.ServiceRevision

InputPlanLT applies the LT predicate on the "input_plan" field.

func InputPlanLTE

func InputPlanLTE(v string) predicate.ServiceRevision

InputPlanLTE applies the LTE predicate on the "input_plan" field.

func InputPlanNEQ

func InputPlanNEQ(v string) predicate.ServiceRevision

InputPlanNEQ applies the NEQ predicate on the "input_plan" field.

func InputPlanNotIn

func InputPlanNotIn(vs ...string) predicate.ServiceRevision

InputPlanNotIn applies the NotIn predicate on the "input_plan" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Output

Output applies equality check predicate on the "output" field. It's identical to OutputEQ.

func OutputContains

func OutputContains(v string) predicate.ServiceRevision

OutputContains applies the Contains predicate on the "output" field.

func OutputContainsFold

func OutputContainsFold(v string) predicate.ServiceRevision

OutputContainsFold applies the ContainsFold predicate on the "output" field.

func OutputEQ

func OutputEQ(v string) predicate.ServiceRevision

OutputEQ applies the EQ predicate on the "output" field.

func OutputEqualFold

func OutputEqualFold(v string) predicate.ServiceRevision

OutputEqualFold applies the EqualFold predicate on the "output" field.

func OutputGT

func OutputGT(v string) predicate.ServiceRevision

OutputGT applies the GT predicate on the "output" field.

func OutputGTE

func OutputGTE(v string) predicate.ServiceRevision

OutputGTE applies the GTE predicate on the "output" field.

func OutputHasPrefix

func OutputHasPrefix(v string) predicate.ServiceRevision

OutputHasPrefix applies the HasPrefix predicate on the "output" field.

func OutputHasSuffix

func OutputHasSuffix(v string) predicate.ServiceRevision

OutputHasSuffix applies the HasSuffix predicate on the "output" field.

func OutputIn

func OutputIn(vs ...string) predicate.ServiceRevision

OutputIn applies the In predicate on the "output" field.

func OutputLT

func OutputLT(v string) predicate.ServiceRevision

OutputLT applies the LT predicate on the "output" field.

func OutputLTE

func OutputLTE(v string) predicate.ServiceRevision

OutputLTE applies the LTE predicate on the "output" field.

func OutputNEQ

func OutputNEQ(v string) predicate.ServiceRevision

OutputNEQ applies the NEQ predicate on the "output" field.

func OutputNotIn

func OutputNotIn(vs ...string) predicate.ServiceRevision

OutputNotIn applies the NotIn predicate on the "output" field.

func ProjectID

func ProjectID(v object.ID) predicate.ServiceRevision

ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.

func ProjectIDContains

func ProjectIDContains(v object.ID) predicate.ServiceRevision

ProjectIDContains applies the Contains predicate on the "project_id" field.

func ProjectIDContainsFold

func ProjectIDContainsFold(v object.ID) predicate.ServiceRevision

ProjectIDContainsFold applies the ContainsFold predicate on the "project_id" field.

func ProjectIDEQ

func ProjectIDEQ(v object.ID) predicate.ServiceRevision

ProjectIDEQ applies the EQ predicate on the "project_id" field.

func ProjectIDEqualFold

func ProjectIDEqualFold(v object.ID) predicate.ServiceRevision

ProjectIDEqualFold applies the EqualFold predicate on the "project_id" field.

func ProjectIDGT

func ProjectIDGT(v object.ID) predicate.ServiceRevision

ProjectIDGT applies the GT predicate on the "project_id" field.

func ProjectIDGTE

func ProjectIDGTE(v object.ID) predicate.ServiceRevision

ProjectIDGTE applies the GTE predicate on the "project_id" field.

func ProjectIDHasPrefix

func ProjectIDHasPrefix(v object.ID) predicate.ServiceRevision

ProjectIDHasPrefix applies the HasPrefix predicate on the "project_id" field.

func ProjectIDHasSuffix

func ProjectIDHasSuffix(v object.ID) predicate.ServiceRevision

ProjectIDHasSuffix applies the HasSuffix predicate on the "project_id" field.

func ProjectIDIn

func ProjectIDIn(vs ...object.ID) predicate.ServiceRevision

ProjectIDIn applies the In predicate on the "project_id" field.

func ProjectIDLT

func ProjectIDLT(v object.ID) predicate.ServiceRevision

ProjectIDLT applies the LT predicate on the "project_id" field.

func ProjectIDLTE

func ProjectIDLTE(v object.ID) predicate.ServiceRevision

ProjectIDLTE applies the LTE predicate on the "project_id" field.

func ProjectIDNEQ

func ProjectIDNEQ(v object.ID) predicate.ServiceRevision

ProjectIDNEQ applies the NEQ predicate on the "project_id" field.

func ProjectIDNotIn

func ProjectIDNotIn(vs ...object.ID) predicate.ServiceRevision

ProjectIDNotIn applies the NotIn predicate on the "project_id" field.

func ServiceID

func ServiceID(v object.ID) predicate.ServiceRevision

ServiceID applies equality check predicate on the "service_id" field. It's identical to ServiceIDEQ.

func ServiceIDContains

func ServiceIDContains(v object.ID) predicate.ServiceRevision

ServiceIDContains applies the Contains predicate on the "service_id" field.

func ServiceIDContainsFold

func ServiceIDContainsFold(v object.ID) predicate.ServiceRevision

ServiceIDContainsFold applies the ContainsFold predicate on the "service_id" field.

func ServiceIDEQ

func ServiceIDEQ(v object.ID) predicate.ServiceRevision

ServiceIDEQ applies the EQ predicate on the "service_id" field.

func ServiceIDEqualFold

func ServiceIDEqualFold(v object.ID) predicate.ServiceRevision

ServiceIDEqualFold applies the EqualFold predicate on the "service_id" field.

func ServiceIDGT

func ServiceIDGT(v object.ID) predicate.ServiceRevision

ServiceIDGT applies the GT predicate on the "service_id" field.

func ServiceIDGTE

func ServiceIDGTE(v object.ID) predicate.ServiceRevision

ServiceIDGTE applies the GTE predicate on the "service_id" field.

func ServiceIDHasPrefix

func ServiceIDHasPrefix(v object.ID) predicate.ServiceRevision

ServiceIDHasPrefix applies the HasPrefix predicate on the "service_id" field.

func ServiceIDHasSuffix

func ServiceIDHasSuffix(v object.ID) predicate.ServiceRevision

ServiceIDHasSuffix applies the HasSuffix predicate on the "service_id" field.

func ServiceIDIn

func ServiceIDIn(vs ...object.ID) predicate.ServiceRevision

ServiceIDIn applies the In predicate on the "service_id" field.

func ServiceIDLT

func ServiceIDLT(v object.ID) predicate.ServiceRevision

ServiceIDLT applies the LT predicate on the "service_id" field.

func ServiceIDLTE

func ServiceIDLTE(v object.ID) predicate.ServiceRevision

ServiceIDLTE applies the LTE predicate on the "service_id" field.

func ServiceIDNEQ

func ServiceIDNEQ(v object.ID) predicate.ServiceRevision

ServiceIDNEQ applies the NEQ predicate on the "service_id" field.

func ServiceIDNotIn

func ServiceIDNotIn(vs ...object.ID) predicate.ServiceRevision

ServiceIDNotIn applies the NotIn predicate on the "service_id" field.

func Status

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

func StatusContains

func StatusContains(v string) predicate.ServiceRevision

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.ServiceRevision

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

func StatusEQ

func StatusEQ(v string) predicate.ServiceRevision

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.ServiceRevision

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

func StatusGT

func StatusGT(v string) predicate.ServiceRevision

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

func StatusGTE

func StatusGTE(v string) predicate.ServiceRevision

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.ServiceRevision

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.ServiceRevision

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.ServiceRevision

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

func StatusLT

func StatusLT(v string) predicate.ServiceRevision

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

func StatusLTE

func StatusLTE(v string) predicate.ServiceRevision

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

func StatusMessage

func StatusMessage(v string) predicate.ServiceRevision

StatusMessage applies equality check predicate on the "status_message" field. It's identical to StatusMessageEQ.

func StatusMessageContains

func StatusMessageContains(v string) predicate.ServiceRevision

StatusMessageContains applies the Contains predicate on the "status_message" field.

func StatusMessageContainsFold

func StatusMessageContainsFold(v string) predicate.ServiceRevision

StatusMessageContainsFold applies the ContainsFold predicate on the "status_message" field.

func StatusMessageEQ

func StatusMessageEQ(v string) predicate.ServiceRevision

StatusMessageEQ applies the EQ predicate on the "status_message" field.

func StatusMessageEqualFold

func StatusMessageEqualFold(v string) predicate.ServiceRevision

StatusMessageEqualFold applies the EqualFold predicate on the "status_message" field.

func StatusMessageGT

func StatusMessageGT(v string) predicate.ServiceRevision

StatusMessageGT applies the GT predicate on the "status_message" field.

func StatusMessageGTE

func StatusMessageGTE(v string) predicate.ServiceRevision

StatusMessageGTE applies the GTE predicate on the "status_message" field.

func StatusMessageHasPrefix

func StatusMessageHasPrefix(v string) predicate.ServiceRevision

StatusMessageHasPrefix applies the HasPrefix predicate on the "status_message" field.

func StatusMessageHasSuffix

func StatusMessageHasSuffix(v string) predicate.ServiceRevision

StatusMessageHasSuffix applies the HasSuffix predicate on the "status_message" field.

func StatusMessageIn

func StatusMessageIn(vs ...string) predicate.ServiceRevision

StatusMessageIn applies the In predicate on the "status_message" field.

func StatusMessageIsNil

func StatusMessageIsNil() predicate.ServiceRevision

StatusMessageIsNil applies the IsNil predicate on the "status_message" field.

func StatusMessageLT

func StatusMessageLT(v string) predicate.ServiceRevision

StatusMessageLT applies the LT predicate on the "status_message" field.

func StatusMessageLTE

func StatusMessageLTE(v string) predicate.ServiceRevision

StatusMessageLTE applies the LTE predicate on the "status_message" field.

func StatusMessageNEQ

func StatusMessageNEQ(v string) predicate.ServiceRevision

StatusMessageNEQ applies the NEQ predicate on the "status_message" field.

func StatusMessageNotIn

func StatusMessageNotIn(vs ...string) predicate.ServiceRevision

StatusMessageNotIn applies the NotIn predicate on the "status_message" field.

func StatusMessageNotNil

func StatusMessageNotNil() predicate.ServiceRevision

StatusMessageNotNil applies the NotNil predicate on the "status_message" field.

func StatusNEQ

func StatusNEQ(v string) predicate.ServiceRevision

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.ServiceRevision

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

func TemplateName

func TemplateName(v string) predicate.ServiceRevision

TemplateName applies equality check predicate on the "template_name" field. It's identical to TemplateNameEQ.

func TemplateNameContains

func TemplateNameContains(v string) predicate.ServiceRevision

TemplateNameContains applies the Contains predicate on the "template_name" field.

func TemplateNameContainsFold

func TemplateNameContainsFold(v string) predicate.ServiceRevision

TemplateNameContainsFold applies the ContainsFold predicate on the "template_name" field.

func TemplateNameEQ

func TemplateNameEQ(v string) predicate.ServiceRevision

TemplateNameEQ applies the EQ predicate on the "template_name" field.

func TemplateNameEqualFold

func TemplateNameEqualFold(v string) predicate.ServiceRevision

TemplateNameEqualFold applies the EqualFold predicate on the "template_name" field.

func TemplateNameGT

func TemplateNameGT(v string) predicate.ServiceRevision

TemplateNameGT applies the GT predicate on the "template_name" field.

func TemplateNameGTE

func TemplateNameGTE(v string) predicate.ServiceRevision

TemplateNameGTE applies the GTE predicate on the "template_name" field.

func TemplateNameHasPrefix

func TemplateNameHasPrefix(v string) predicate.ServiceRevision

TemplateNameHasPrefix applies the HasPrefix predicate on the "template_name" field.

func TemplateNameHasSuffix

func TemplateNameHasSuffix(v string) predicate.ServiceRevision

TemplateNameHasSuffix applies the HasSuffix predicate on the "template_name" field.

func TemplateNameIn

func TemplateNameIn(vs ...string) predicate.ServiceRevision

TemplateNameIn applies the In predicate on the "template_name" field.

func TemplateNameLT

func TemplateNameLT(v string) predicate.ServiceRevision

TemplateNameLT applies the LT predicate on the "template_name" field.

func TemplateNameLTE

func TemplateNameLTE(v string) predicate.ServiceRevision

TemplateNameLTE applies the LTE predicate on the "template_name" field.

func TemplateNameNEQ

func TemplateNameNEQ(v string) predicate.ServiceRevision

TemplateNameNEQ applies the NEQ predicate on the "template_name" field.

func TemplateNameNotIn

func TemplateNameNotIn(vs ...string) predicate.ServiceRevision

TemplateNameNotIn applies the NotIn predicate on the "template_name" field.

func TemplateVersion

func TemplateVersion(v string) predicate.ServiceRevision

TemplateVersion applies equality check predicate on the "template_version" field. It's identical to TemplateVersionEQ.

func TemplateVersionContains

func TemplateVersionContains(v string) predicate.ServiceRevision

TemplateVersionContains applies the Contains predicate on the "template_version" field.

func TemplateVersionContainsFold

func TemplateVersionContainsFold(v string) predicate.ServiceRevision

TemplateVersionContainsFold applies the ContainsFold predicate on the "template_version" field.

func TemplateVersionEQ

func TemplateVersionEQ(v string) predicate.ServiceRevision

TemplateVersionEQ applies the EQ predicate on the "template_version" field.

func TemplateVersionEqualFold

func TemplateVersionEqualFold(v string) predicate.ServiceRevision

TemplateVersionEqualFold applies the EqualFold predicate on the "template_version" field.

func TemplateVersionGT

func TemplateVersionGT(v string) predicate.ServiceRevision

TemplateVersionGT applies the GT predicate on the "template_version" field.

func TemplateVersionGTE

func TemplateVersionGTE(v string) predicate.ServiceRevision

TemplateVersionGTE applies the GTE predicate on the "template_version" field.

func TemplateVersionHasPrefix

func TemplateVersionHasPrefix(v string) predicate.ServiceRevision

TemplateVersionHasPrefix applies the HasPrefix predicate on the "template_version" field.

func TemplateVersionHasSuffix

func TemplateVersionHasSuffix(v string) predicate.ServiceRevision

TemplateVersionHasSuffix applies the HasSuffix predicate on the "template_version" field.

func TemplateVersionIn

func TemplateVersionIn(vs ...string) predicate.ServiceRevision

TemplateVersionIn applies the In predicate on the "template_version" field.

func TemplateVersionLT

func TemplateVersionLT(v string) predicate.ServiceRevision

TemplateVersionLT applies the LT predicate on the "template_version" field.

func TemplateVersionLTE

func TemplateVersionLTE(v string) predicate.ServiceRevision

TemplateVersionLTE applies the LTE predicate on the "template_version" field.

func TemplateVersionNEQ

func TemplateVersionNEQ(v string) predicate.ServiceRevision

TemplateVersionNEQ applies the NEQ predicate on the "template_version" field.

func TemplateVersionNotIn

func TemplateVersionNotIn(vs ...string) predicate.ServiceRevision

TemplateVersionNotIn applies the NotIn predicate on the "template_version" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Variables

Variables applies equality check predicate on the "variables" field. It's identical to VariablesEQ.

func VariablesEQ

VariablesEQ applies the EQ predicate on the "variables" field.

func VariablesGT

VariablesGT applies the GT predicate on the "variables" field.

func VariablesGTE

func VariablesGTE(v crypto.Map[string, string]) predicate.ServiceRevision

VariablesGTE applies the GTE predicate on the "variables" field.

func VariablesIn

func VariablesIn(vs ...crypto.Map[string, string]) predicate.ServiceRevision

VariablesIn applies the In predicate on the "variables" field.

func VariablesLT

VariablesLT applies the LT predicate on the "variables" field.

func VariablesLTE

func VariablesLTE(v crypto.Map[string, string]) predicate.ServiceRevision

VariablesLTE applies the LTE predicate on the "variables" field.

func VariablesNEQ

func VariablesNEQ(v crypto.Map[string, string]) predicate.ServiceRevision

VariablesNEQ applies the NEQ predicate on the "variables" field.

func VariablesNotIn

func VariablesNotIn(vs ...crypto.Map[string, string]) predicate.ServiceRevision

VariablesNotIn applies the NotIn predicate on the "variables" field.

func WithoutFields

func WithoutFields(ignores ...string) []string

WithoutFields returns the fields ignored the given list.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ServiceRevision queries.

func ByAttributes

func ByAttributes(opts ...sql.OrderTermOption) OrderOption

ByAttributes orders the results by the attributes field.

func ByCreateTime

func ByCreateTime(opts ...sql.OrderTermOption) OrderOption

ByCreateTime orders the results by the create_time field.

func ByDeployerType

func ByDeployerType(opts ...sql.OrderTermOption) OrderOption

ByDeployerType orders the results by the deployer_type field.

func ByDuration

func ByDuration(opts ...sql.OrderTermOption) OrderOption

ByDuration orders the results by the duration field.

func ByEnvironmentField

func ByEnvironmentField(field string, opts ...sql.OrderTermOption) OrderOption

ByEnvironmentField orders the results by environment field.

func ByEnvironmentID

func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption

ByEnvironmentID orders the results by the environment_id field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByInputPlan

func ByInputPlan(opts ...sql.OrderTermOption) OrderOption

ByInputPlan orders the results by the input_plan field.

func ByOutput

func ByOutput(opts ...sql.OrderTermOption) OrderOption

ByOutput orders the results by the output field.

func ByProjectField

func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption

ByProjectField orders the results by project field.

func ByProjectID

func ByProjectID(opts ...sql.OrderTermOption) OrderOption

ByProjectID orders the results by the project_id field.

func ByServiceField

func ByServiceField(field string, opts ...sql.OrderTermOption) OrderOption

ByServiceField orders the results by service field.

func ByServiceID

func ByServiceID(opts ...sql.OrderTermOption) OrderOption

ByServiceID orders the results by the service_id field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByStatusMessage

func ByStatusMessage(opts ...sql.OrderTermOption) OrderOption

ByStatusMessage orders the results by the status_message field.

func ByTemplateName

func ByTemplateName(opts ...sql.OrderTermOption) OrderOption

ByTemplateName orders the results by the template_name field.

func ByTemplateVersion

func ByTemplateVersion(opts ...sql.OrderTermOption) OrderOption

ByTemplateVersion orders the results by the template_version field.

func ByVariables

func ByVariables(opts ...sql.OrderTermOption) OrderOption

ByVariables orders the results by the variables field.

Jump to

Keyboard shortcuts

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