resourcerevision

package
v0.4.0-rc3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the resourcerevision type in the database.
	Label = "resource_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"
	// 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"
	// FieldResourceID holds the string denoting the resource_id field in the database.
	FieldResourceID = "resource_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"
	// FieldTemplateID holds the string denoting the template_id field in the database.
	FieldTemplateID = "template_id"
	// 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"
	// FieldRecord holds the string denoting the record field in the database.
	FieldRecord = "record"
	// 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"
	// EdgeResource holds the string denoting the resource edge name in mutations.
	EdgeResource = "resource"
	// Table holds the table name of the resourcerevision in the database.
	Table = "resource_revisions"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "resource_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 = "resource_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"
	// ResourceTable is the table that holds the resource relation/edge.
	ResourceTable = "resource_revisions"
	// ResourceInverseTable is the table name for the Resource entity.
	// It exists in this package in order to avoid circular dependency with the "resource" package.
	ResourceInverseTable = "resources"
	// ResourceColumn is the table column denoting the resource relation/edge.
	ResourceColumn = "resource_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
	// ResourceIDValidator is a validator for the "resource_id" field. It is called by the builders before save.
	ResourceIDValidator 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
	// TemplateIDValidator is a validator for the "template_id" field. It is called by the builders before save.
	TemplateIDValidator 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
)

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 resourcerevision 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.ResourceRevision

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

func AttributesGT

func AttributesGT(v property.Values) predicate.ResourceRevision

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

func AttributesGTE

func AttributesGTE(v property.Values) predicate.ResourceRevision

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

func AttributesIn

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

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

func AttributesIsNil

func AttributesIsNil() predicate.ResourceRevision

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

func AttributesLT

func AttributesLT(v property.Values) predicate.ResourceRevision

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

func AttributesLTE

func AttributesLTE(v property.Values) predicate.ResourceRevision

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

func AttributesNEQ

func AttributesNEQ(v property.Values) predicate.ResourceRevision

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

func AttributesNotIn

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

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

func AttributesNotNil

func AttributesNotNil() predicate.ResourceRevision

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

func CreateTime

func CreateTime(v time.Time) predicate.ResourceRevision

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.ResourceRevision

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.ResourceRevision

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.ResourceRevision

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.ResourceRevision

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.ResourceRevision

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.ResourceRevision

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

func CreateTimeNotIn

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

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

func DeployerType

func DeployerType(v string) predicate.ResourceRevision

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

func DeployerTypeContains

func DeployerTypeContains(v string) predicate.ResourceRevision

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

func DeployerTypeContainsFold

func DeployerTypeContainsFold(v string) predicate.ResourceRevision

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

func DeployerTypeEQ

func DeployerTypeEQ(v string) predicate.ResourceRevision

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

func DeployerTypeEqualFold

func DeployerTypeEqualFold(v string) predicate.ResourceRevision

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

func DeployerTypeGT

func DeployerTypeGT(v string) predicate.ResourceRevision

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

func DeployerTypeGTE

func DeployerTypeGTE(v string) predicate.ResourceRevision

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

func DeployerTypeHasPrefix

func DeployerTypeHasPrefix(v string) predicate.ResourceRevision

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

func DeployerTypeHasSuffix

func DeployerTypeHasSuffix(v string) predicate.ResourceRevision

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

func DeployerTypeIn

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

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

func DeployerTypeLT

func DeployerTypeLT(v string) predicate.ResourceRevision

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

func DeployerTypeLTE

func DeployerTypeLTE(v string) predicate.ResourceRevision

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

func DeployerTypeNEQ

func DeployerTypeNEQ(v string) predicate.ResourceRevision

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

func DeployerTypeNotIn

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

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

func Duration

func Duration(v int) predicate.ResourceRevision

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

func DurationEQ

func DurationEQ(v int) predicate.ResourceRevision

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

func DurationGT

func DurationGT(v int) predicate.ResourceRevision

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

func DurationGTE

func DurationGTE(v int) predicate.ResourceRevision

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

func DurationIn

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

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

func DurationLT

func DurationLT(v int) predicate.ResourceRevision

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

func DurationLTE

func DurationLTE(v int) predicate.ResourceRevision

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

func DurationNEQ

func DurationNEQ(v int) predicate.ResourceRevision

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

func DurationNotIn

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

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

func EnvironmentID

func EnvironmentID(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDContains

func EnvironmentIDContains(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDEQ

func EnvironmentIDEQ(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDGT

func EnvironmentIDGT(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDGTE

func EnvironmentIDGTE(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDIn

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

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

func EnvironmentIDLT

func EnvironmentIDLT(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDLTE

func EnvironmentIDLTE(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v object.ID) predicate.ResourceRevision

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

func EnvironmentIDNotIn

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

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

func HasEnvironment

func HasEnvironment() predicate.ResourceRevision

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

func HasEnvironmentWith

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

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

func HasProject

func HasProject() predicate.ResourceRevision

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

func HasProjectWith

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

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

func HasResource

func HasResource() predicate.ResourceRevision

HasResource applies the HasEdge predicate on the "resource" edge.

func HasResourceWith

func HasResourceWith(preds ...predicate.Resource) predicate.ResourceRevision

HasResourceWith applies the HasEdge predicate on the "resource" 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.ResourceRevision

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.ResourceRevision

IDNotIn applies the NotIn predicate on the ID field.

func InputPlan

func InputPlan(v string) predicate.ResourceRevision

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

func InputPlanContains

func InputPlanContains(v string) predicate.ResourceRevision

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

func InputPlanContainsFold

func InputPlanContainsFold(v string) predicate.ResourceRevision

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

func InputPlanEQ

func InputPlanEQ(v string) predicate.ResourceRevision

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

func InputPlanEqualFold

func InputPlanEqualFold(v string) predicate.ResourceRevision

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

func InputPlanGT

func InputPlanGT(v string) predicate.ResourceRevision

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

func InputPlanGTE

func InputPlanGTE(v string) predicate.ResourceRevision

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

func InputPlanHasPrefix

func InputPlanHasPrefix(v string) predicate.ResourceRevision

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

func InputPlanHasSuffix

func InputPlanHasSuffix(v string) predicate.ResourceRevision

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

func InputPlanIn

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

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

func InputPlanLT

func InputPlanLT(v string) predicate.ResourceRevision

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

func InputPlanLTE

func InputPlanLTE(v string) predicate.ResourceRevision

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

func InputPlanNEQ

func InputPlanNEQ(v string) predicate.ResourceRevision

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

func InputPlanNotIn

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

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.ResourceRevision

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

func OutputContainsFold

func OutputContainsFold(v string) predicate.ResourceRevision

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

func OutputEQ

func OutputEQ(v string) predicate.ResourceRevision

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

func OutputEqualFold

func OutputEqualFold(v string) predicate.ResourceRevision

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

func OutputGT

func OutputGT(v string) predicate.ResourceRevision

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

func OutputGTE

func OutputGTE(v string) predicate.ResourceRevision

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

func OutputHasPrefix

func OutputHasPrefix(v string) predicate.ResourceRevision

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

func OutputHasSuffix

func OutputHasSuffix(v string) predicate.ResourceRevision

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

func OutputIn

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

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

func OutputLT

func OutputLT(v string) predicate.ResourceRevision

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

func OutputLTE

func OutputLTE(v string) predicate.ResourceRevision

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

func OutputNEQ

func OutputNEQ(v string) predicate.ResourceRevision

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

func OutputNotIn

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

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

func ProjectID

func ProjectID(v object.ID) predicate.ResourceRevision

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

func ProjectIDContains

func ProjectIDContains(v object.ID) predicate.ResourceRevision

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

func ProjectIDContainsFold

func ProjectIDContainsFold(v object.ID) predicate.ResourceRevision

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

func ProjectIDEQ

func ProjectIDEQ(v object.ID) predicate.ResourceRevision

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

func ProjectIDEqualFold

func ProjectIDEqualFold(v object.ID) predicate.ResourceRevision

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

func ProjectIDGT

func ProjectIDGT(v object.ID) predicate.ResourceRevision

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

func ProjectIDGTE

func ProjectIDGTE(v object.ID) predicate.ResourceRevision

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

func ProjectIDHasPrefix

func ProjectIDHasPrefix(v object.ID) predicate.ResourceRevision

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

func ProjectIDHasSuffix

func ProjectIDHasSuffix(v object.ID) predicate.ResourceRevision

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

func ProjectIDIn

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

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

func ProjectIDLT

func ProjectIDLT(v object.ID) predicate.ResourceRevision

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

func ProjectIDLTE

func ProjectIDLTE(v object.ID) predicate.ResourceRevision

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

func ProjectIDNEQ

func ProjectIDNEQ(v object.ID) predicate.ResourceRevision

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

func ProjectIDNotIn

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

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

func Record

Record applies equality check predicate on the "record" field. It's identical to RecordEQ.

func RecordContains

func RecordContains(v string) predicate.ResourceRevision

RecordContains applies the Contains predicate on the "record" field.

func RecordContainsFold

func RecordContainsFold(v string) predicate.ResourceRevision

RecordContainsFold applies the ContainsFold predicate on the "record" field.

func RecordEQ

func RecordEQ(v string) predicate.ResourceRevision

RecordEQ applies the EQ predicate on the "record" field.

func RecordEqualFold

func RecordEqualFold(v string) predicate.ResourceRevision

RecordEqualFold applies the EqualFold predicate on the "record" field.

func RecordGT

func RecordGT(v string) predicate.ResourceRevision

RecordGT applies the GT predicate on the "record" field.

func RecordGTE

func RecordGTE(v string) predicate.ResourceRevision

RecordGTE applies the GTE predicate on the "record" field.

func RecordHasPrefix

func RecordHasPrefix(v string) predicate.ResourceRevision

RecordHasPrefix applies the HasPrefix predicate on the "record" field.

func RecordHasSuffix

func RecordHasSuffix(v string) predicate.ResourceRevision

RecordHasSuffix applies the HasSuffix predicate on the "record" field.

func RecordIn

func RecordIn(vs ...string) predicate.ResourceRevision

RecordIn applies the In predicate on the "record" field.

func RecordIsNil

func RecordIsNil() predicate.ResourceRevision

RecordIsNil applies the IsNil predicate on the "record" field.

func RecordLT

func RecordLT(v string) predicate.ResourceRevision

RecordLT applies the LT predicate on the "record" field.

func RecordLTE

func RecordLTE(v string) predicate.ResourceRevision

RecordLTE applies the LTE predicate on the "record" field.

func RecordNEQ

func RecordNEQ(v string) predicate.ResourceRevision

RecordNEQ applies the NEQ predicate on the "record" field.

func RecordNotIn

func RecordNotIn(vs ...string) predicate.ResourceRevision

RecordNotIn applies the NotIn predicate on the "record" field.

func RecordNotNil

func RecordNotNil() predicate.ResourceRevision

RecordNotNil applies the NotNil predicate on the "record" field.

func ResourceID

func ResourceID(v object.ID) predicate.ResourceRevision

ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.

func ResourceIDContains

func ResourceIDContains(v object.ID) predicate.ResourceRevision

ResourceIDContains applies the Contains predicate on the "resource_id" field.

func ResourceIDContainsFold

func ResourceIDContainsFold(v object.ID) predicate.ResourceRevision

ResourceIDContainsFold applies the ContainsFold predicate on the "resource_id" field.

func ResourceIDEQ

func ResourceIDEQ(v object.ID) predicate.ResourceRevision

ResourceIDEQ applies the EQ predicate on the "resource_id" field.

func ResourceIDEqualFold

func ResourceIDEqualFold(v object.ID) predicate.ResourceRevision

ResourceIDEqualFold applies the EqualFold predicate on the "resource_id" field.

func ResourceIDGT

func ResourceIDGT(v object.ID) predicate.ResourceRevision

ResourceIDGT applies the GT predicate on the "resource_id" field.

func ResourceIDGTE

func ResourceIDGTE(v object.ID) predicate.ResourceRevision

ResourceIDGTE applies the GTE predicate on the "resource_id" field.

func ResourceIDHasPrefix

func ResourceIDHasPrefix(v object.ID) predicate.ResourceRevision

ResourceIDHasPrefix applies the HasPrefix predicate on the "resource_id" field.

func ResourceIDHasSuffix

func ResourceIDHasSuffix(v object.ID) predicate.ResourceRevision

ResourceIDHasSuffix applies the HasSuffix predicate on the "resource_id" field.

func ResourceIDIn

func ResourceIDIn(vs ...object.ID) predicate.ResourceRevision

ResourceIDIn applies the In predicate on the "resource_id" field.

func ResourceIDLT

func ResourceIDLT(v object.ID) predicate.ResourceRevision

ResourceIDLT applies the LT predicate on the "resource_id" field.

func ResourceIDLTE

func ResourceIDLTE(v object.ID) predicate.ResourceRevision

ResourceIDLTE applies the LTE predicate on the "resource_id" field.

func ResourceIDNEQ

func ResourceIDNEQ(v object.ID) predicate.ResourceRevision

ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.

func ResourceIDNotIn

func ResourceIDNotIn(vs ...object.ID) predicate.ResourceRevision

ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.

func StatusIsNil

func StatusIsNil() predicate.ResourceRevision

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

func StatusNotNil

func StatusNotNil() predicate.ResourceRevision

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

func TemplateID

func TemplateID(v object.ID) predicate.ResourceRevision

TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.

func TemplateIDContains

func TemplateIDContains(v object.ID) predicate.ResourceRevision

TemplateIDContains applies the Contains predicate on the "template_id" field.

func TemplateIDContainsFold

func TemplateIDContainsFold(v object.ID) predicate.ResourceRevision

TemplateIDContainsFold applies the ContainsFold predicate on the "template_id" field.

func TemplateIDEQ

func TemplateIDEQ(v object.ID) predicate.ResourceRevision

TemplateIDEQ applies the EQ predicate on the "template_id" field.

func TemplateIDEqualFold

func TemplateIDEqualFold(v object.ID) predicate.ResourceRevision

TemplateIDEqualFold applies the EqualFold predicate on the "template_id" field.

func TemplateIDGT

func TemplateIDGT(v object.ID) predicate.ResourceRevision

TemplateIDGT applies the GT predicate on the "template_id" field.

func TemplateIDGTE

func TemplateIDGTE(v object.ID) predicate.ResourceRevision

TemplateIDGTE applies the GTE predicate on the "template_id" field.

func TemplateIDHasPrefix

func TemplateIDHasPrefix(v object.ID) predicate.ResourceRevision

TemplateIDHasPrefix applies the HasPrefix predicate on the "template_id" field.

func TemplateIDHasSuffix

func TemplateIDHasSuffix(v object.ID) predicate.ResourceRevision

TemplateIDHasSuffix applies the HasSuffix predicate on the "template_id" field.

func TemplateIDIn

func TemplateIDIn(vs ...object.ID) predicate.ResourceRevision

TemplateIDIn applies the In predicate on the "template_id" field.

func TemplateIDLT

func TemplateIDLT(v object.ID) predicate.ResourceRevision

TemplateIDLT applies the LT predicate on the "template_id" field.

func TemplateIDLTE

func TemplateIDLTE(v object.ID) predicate.ResourceRevision

TemplateIDLTE applies the LTE predicate on the "template_id" field.

func TemplateIDNEQ

func TemplateIDNEQ(v object.ID) predicate.ResourceRevision

TemplateIDNEQ applies the NEQ predicate on the "template_id" field.

func TemplateIDNotIn

func TemplateIDNotIn(vs ...object.ID) predicate.ResourceRevision

TemplateIDNotIn applies the NotIn predicate on the "template_id" field.

func TemplateName

func TemplateName(v string) predicate.ResourceRevision

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

func TemplateNameContains

func TemplateNameContains(v string) predicate.ResourceRevision

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

func TemplateNameContainsFold

func TemplateNameContainsFold(v string) predicate.ResourceRevision

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

func TemplateNameEQ

func TemplateNameEQ(v string) predicate.ResourceRevision

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

func TemplateNameEqualFold

func TemplateNameEqualFold(v string) predicate.ResourceRevision

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

func TemplateNameGT

func TemplateNameGT(v string) predicate.ResourceRevision

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

func TemplateNameGTE

func TemplateNameGTE(v string) predicate.ResourceRevision

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

func TemplateNameHasPrefix

func TemplateNameHasPrefix(v string) predicate.ResourceRevision

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

func TemplateNameHasSuffix

func TemplateNameHasSuffix(v string) predicate.ResourceRevision

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

func TemplateNameIn

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

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

func TemplateNameLT

func TemplateNameLT(v string) predicate.ResourceRevision

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

func TemplateNameLTE

func TemplateNameLTE(v string) predicate.ResourceRevision

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

func TemplateNameNEQ

func TemplateNameNEQ(v string) predicate.ResourceRevision

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

func TemplateNameNotIn

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

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

func TemplateVersion

func TemplateVersion(v string) predicate.ResourceRevision

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

func TemplateVersionContains

func TemplateVersionContains(v string) predicate.ResourceRevision

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

func TemplateVersionContainsFold

func TemplateVersionContainsFold(v string) predicate.ResourceRevision

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

func TemplateVersionEQ

func TemplateVersionEQ(v string) predicate.ResourceRevision

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

func TemplateVersionEqualFold

func TemplateVersionEqualFold(v string) predicate.ResourceRevision

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

func TemplateVersionGT

func TemplateVersionGT(v string) predicate.ResourceRevision

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

func TemplateVersionGTE

func TemplateVersionGTE(v string) predicate.ResourceRevision

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

func TemplateVersionHasPrefix

func TemplateVersionHasPrefix(v string) predicate.ResourceRevision

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

func TemplateVersionHasSuffix

func TemplateVersionHasSuffix(v string) predicate.ResourceRevision

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

func TemplateVersionIn

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

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

func TemplateVersionLT

func TemplateVersionLT(v string) predicate.ResourceRevision

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

func TemplateVersionLTE

func TemplateVersionLTE(v string) predicate.ResourceRevision

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

func TemplateVersionNEQ

func TemplateVersionNEQ(v string) predicate.ResourceRevision

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

func TemplateVersionNotIn

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

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

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

func VariablesIn

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

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

func VariablesLT

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

func VariablesLTE

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

func VariablesNEQ

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

func VariablesNotIn

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

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 ResourceRevision 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 ByRecord

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

ByRecord orders the results by the record field.

func ByResourceField

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

ByResourceField orders the results by resource field.

func ByResourceID

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

ByResourceID orders the results by the resource_id field.

func ByTemplateID

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

ByTemplateID orders the results by the template_id 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