resourcerun

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the resourcerun type in the database.
	Label = "resource_run"
	// 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"
	// FieldComputedAttributes holds the string denoting the computed_attributes field in the database.
	FieldComputedAttributes = "computed_attributes"
	// FieldVariables holds the string denoting the variables field in the database.
	FieldVariables = "variables"
	// FieldInputConfigs holds the string denoting the input_configs field in the database.
	FieldInputConfigs = "input_configs"
	// 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"
	// FieldPlanRecord holds the string denoting the plan_record field in the database.
	FieldPlanRecord = "plan_record"
	// FieldRecord holds the string denoting the record field in the database.
	FieldRecord = "record"
	// FieldChangeComment holds the string denoting the change_comment field in the database.
	FieldChangeComment = "change_comment"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldPreview holds the string denoting the preview field in the database.
	FieldPreview = "preview"
	// FieldAnnotations holds the string denoting the annotations field in the database.
	FieldAnnotations = "annotations"
	// FieldLabels holds the string denoting the labels field in the database.
	FieldLabels = "labels"
	// FieldComponentChanges holds the string denoting the component_changes field in the database.
	FieldComponentChanges = "component_changes"
	// FieldComponentChangeSummary holds the string denoting the component_change_summary field in the database.
	FieldComponentChangeSummary = "component_change_summary"
	// 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 resourcerun in the database.
	Table = "resource_runs"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "resource_runs"
	// 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_runs"
	// 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_runs"
	// 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
	// DefaultPreview holds the default value on creation for the "preview" field.
	DefaultPreview bool
	// DefaultAnnotations holds the default value on creation for the "annotations" field.
	DefaultAnnotations map[string]string
	// DefaultLabels holds the default value on creation for the "labels" field.
	DefaultLabels map[string]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 resourcerun fields.

Functions

func And

func And(predicates ...predicate.ResourceRun) predicate.ResourceRun

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.ResourceRun

AnnotationsIsNil applies the IsNil predicate on the "annotations" field.

func AnnotationsNotNil

func AnnotationsNotNil() predicate.ResourceRun

AnnotationsNotNil applies the NotNil predicate on the "annotations" field.

func Attributes

func Attributes(v property.Values) predicate.ResourceRun

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

func AttributesEQ

func AttributesEQ(v property.Values) predicate.ResourceRun

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

func AttributesGT

func AttributesGT(v property.Values) predicate.ResourceRun

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

func AttributesGTE

func AttributesGTE(v property.Values) predicate.ResourceRun

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

func AttributesIn

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

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

func AttributesIsNil

func AttributesIsNil() predicate.ResourceRun

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

func AttributesLT

func AttributesLT(v property.Values) predicate.ResourceRun

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

func AttributesLTE

func AttributesLTE(v property.Values) predicate.ResourceRun

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

func AttributesNEQ

func AttributesNEQ(v property.Values) predicate.ResourceRun

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

func AttributesNotIn

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

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

func AttributesNotNil

func AttributesNotNil() predicate.ResourceRun

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

func ChangeComment

func ChangeComment(v string) predicate.ResourceRun

ChangeComment applies equality check predicate on the "change_comment" field. It's identical to ChangeCommentEQ.

func ChangeCommentContains

func ChangeCommentContains(v string) predicate.ResourceRun

ChangeCommentContains applies the Contains predicate on the "change_comment" field.

func ChangeCommentContainsFold

func ChangeCommentContainsFold(v string) predicate.ResourceRun

ChangeCommentContainsFold applies the ContainsFold predicate on the "change_comment" field.

func ChangeCommentEQ

func ChangeCommentEQ(v string) predicate.ResourceRun

ChangeCommentEQ applies the EQ predicate on the "change_comment" field.

func ChangeCommentEqualFold

func ChangeCommentEqualFold(v string) predicate.ResourceRun

ChangeCommentEqualFold applies the EqualFold predicate on the "change_comment" field.

func ChangeCommentGT

func ChangeCommentGT(v string) predicate.ResourceRun

ChangeCommentGT applies the GT predicate on the "change_comment" field.

func ChangeCommentGTE

func ChangeCommentGTE(v string) predicate.ResourceRun

ChangeCommentGTE applies the GTE predicate on the "change_comment" field.

func ChangeCommentHasPrefix

func ChangeCommentHasPrefix(v string) predicate.ResourceRun

ChangeCommentHasPrefix applies the HasPrefix predicate on the "change_comment" field.

func ChangeCommentHasSuffix

func ChangeCommentHasSuffix(v string) predicate.ResourceRun

ChangeCommentHasSuffix applies the HasSuffix predicate on the "change_comment" field.

func ChangeCommentIn

func ChangeCommentIn(vs ...string) predicate.ResourceRun

ChangeCommentIn applies the In predicate on the "change_comment" field.

func ChangeCommentIsNil

func ChangeCommentIsNil() predicate.ResourceRun

ChangeCommentIsNil applies the IsNil predicate on the "change_comment" field.

func ChangeCommentLT

func ChangeCommentLT(v string) predicate.ResourceRun

ChangeCommentLT applies the LT predicate on the "change_comment" field.

func ChangeCommentLTE

func ChangeCommentLTE(v string) predicate.ResourceRun

ChangeCommentLTE applies the LTE predicate on the "change_comment" field.

func ChangeCommentNEQ

func ChangeCommentNEQ(v string) predicate.ResourceRun

ChangeCommentNEQ applies the NEQ predicate on the "change_comment" field.

func ChangeCommentNotIn

func ChangeCommentNotIn(vs ...string) predicate.ResourceRun

ChangeCommentNotIn applies the NotIn predicate on the "change_comment" field.

func ChangeCommentNotNil

func ChangeCommentNotNil() predicate.ResourceRun

ChangeCommentNotNil applies the NotNil predicate on the "change_comment" field.

func ComponentChangeSummaryIsNil

func ComponentChangeSummaryIsNil() predicate.ResourceRun

ComponentChangeSummaryIsNil applies the IsNil predicate on the "component_change_summary" field.

func ComponentChangeSummaryNotNil

func ComponentChangeSummaryNotNil() predicate.ResourceRun

ComponentChangeSummaryNotNil applies the NotNil predicate on the "component_change_summary" field.

func ComponentChangesIsNil

func ComponentChangesIsNil() predicate.ResourceRun

ComponentChangesIsNil applies the IsNil predicate on the "component_changes" field.

func ComponentChangesNotNil

func ComponentChangesNotNil() predicate.ResourceRun

ComponentChangesNotNil applies the NotNil predicate on the "component_changes" field.

func ComputedAttributes

func ComputedAttributes(v property.Values) predicate.ResourceRun

ComputedAttributes applies equality check predicate on the "computed_attributes" field. It's identical to ComputedAttributesEQ.

func ComputedAttributesEQ

func ComputedAttributesEQ(v property.Values) predicate.ResourceRun

ComputedAttributesEQ applies the EQ predicate on the "computed_attributes" field.

func ComputedAttributesGT

func ComputedAttributesGT(v property.Values) predicate.ResourceRun

ComputedAttributesGT applies the GT predicate on the "computed_attributes" field.

func ComputedAttributesGTE

func ComputedAttributesGTE(v property.Values) predicate.ResourceRun

ComputedAttributesGTE applies the GTE predicate on the "computed_attributes" field.

func ComputedAttributesIn

func ComputedAttributesIn(vs ...property.Values) predicate.ResourceRun

ComputedAttributesIn applies the In predicate on the "computed_attributes" field.

func ComputedAttributesIsNil

func ComputedAttributesIsNil() predicate.ResourceRun

ComputedAttributesIsNil applies the IsNil predicate on the "computed_attributes" field.

func ComputedAttributesLT

func ComputedAttributesLT(v property.Values) predicate.ResourceRun

ComputedAttributesLT applies the LT predicate on the "computed_attributes" field.

func ComputedAttributesLTE

func ComputedAttributesLTE(v property.Values) predicate.ResourceRun

ComputedAttributesLTE applies the LTE predicate on the "computed_attributes" field.

func ComputedAttributesNEQ

func ComputedAttributesNEQ(v property.Values) predicate.ResourceRun

ComputedAttributesNEQ applies the NEQ predicate on the "computed_attributes" field.

func ComputedAttributesNotIn

func ComputedAttributesNotIn(vs ...property.Values) predicate.ResourceRun

ComputedAttributesNotIn applies the NotIn predicate on the "computed_attributes" field.

func ComputedAttributesNotNil

func ComputedAttributesNotNil() predicate.ResourceRun

ComputedAttributesNotNil applies the NotNil predicate on the "computed_attributes" field.

func CreateTime

func CreateTime(v time.Time) predicate.ResourceRun

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.ResourceRun

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.ResourceRun

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.ResourceRun

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.ResourceRun

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.ResourceRun

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.ResourceRun

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

func CreateTimeNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.ResourceRun

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.ResourceRun

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.ResourceRun

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.ResourceRun

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.ResourceRun

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.ResourceRun

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.ResourceRun

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.ResourceRun

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.ResourceRun

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.ResourceRun

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.ResourceRun

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.ResourceRun

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.ResourceRun

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.ResourceRun

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func DeployerType

func DeployerType(v string) predicate.ResourceRun

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

func DeployerTypeContains

func DeployerTypeContains(v string) predicate.ResourceRun

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

func DeployerTypeContainsFold

func DeployerTypeContainsFold(v string) predicate.ResourceRun

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

func DeployerTypeEQ

func DeployerTypeEQ(v string) predicate.ResourceRun

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

func DeployerTypeEqualFold

func DeployerTypeEqualFold(v string) predicate.ResourceRun

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

func DeployerTypeGT

func DeployerTypeGT(v string) predicate.ResourceRun

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

func DeployerTypeGTE

func DeployerTypeGTE(v string) predicate.ResourceRun

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

func DeployerTypeHasPrefix

func DeployerTypeHasPrefix(v string) predicate.ResourceRun

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

func DeployerTypeHasSuffix

func DeployerTypeHasSuffix(v string) predicate.ResourceRun

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

func DeployerTypeIn

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

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

func DeployerTypeLT

func DeployerTypeLT(v string) predicate.ResourceRun

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

func DeployerTypeLTE

func DeployerTypeLTE(v string) predicate.ResourceRun

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

func DeployerTypeNEQ

func DeployerTypeNEQ(v string) predicate.ResourceRun

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

func DeployerTypeNotIn

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

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

func Duration

func Duration(v int) predicate.ResourceRun

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

func DurationEQ

func DurationEQ(v int) predicate.ResourceRun

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

func DurationGT

func DurationGT(v int) predicate.ResourceRun

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

func DurationGTE

func DurationGTE(v int) predicate.ResourceRun

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

func DurationIn

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

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

func DurationLT

func DurationLT(v int) predicate.ResourceRun

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

func DurationLTE

func DurationLTE(v int) predicate.ResourceRun

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

func DurationNEQ

func DurationNEQ(v int) predicate.ResourceRun

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

func DurationNotIn

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

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

func EnvironmentID

func EnvironmentID(v object.ID) predicate.ResourceRun

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

func EnvironmentIDContains

func EnvironmentIDContains(v object.ID) predicate.ResourceRun

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

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v object.ID) predicate.ResourceRun

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

func EnvironmentIDEQ

func EnvironmentIDEQ(v object.ID) predicate.ResourceRun

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

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v object.ID) predicate.ResourceRun

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

func EnvironmentIDGT

func EnvironmentIDGT(v object.ID) predicate.ResourceRun

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

func EnvironmentIDGTE

func EnvironmentIDGTE(v object.ID) predicate.ResourceRun

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

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v object.ID) predicate.ResourceRun

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

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v object.ID) predicate.ResourceRun

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

func EnvironmentIDIn

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

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

func EnvironmentIDLT

func EnvironmentIDLT(v object.ID) predicate.ResourceRun

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

func EnvironmentIDLTE

func EnvironmentIDLTE(v object.ID) predicate.ResourceRun

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

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v object.ID) predicate.ResourceRun

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

func EnvironmentIDNotIn

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

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

func HasEnvironment

func HasEnvironment() predicate.ResourceRun

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

func HasEnvironmentWith

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

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

func HasProject

func HasProject() predicate.ResourceRun

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

func HasProjectWith

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

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

func HasResource

func HasResource() predicate.ResourceRun

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

func HasResourceWith

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

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

func IDEQ(id object.ID) predicate.ResourceRun

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id object.ID) predicate.ResourceRun

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id object.ID) predicate.ResourceRun

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id object.ID) predicate.ResourceRun

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id object.ID) predicate.ResourceRun

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id object.ID) predicate.ResourceRun

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LabelsIsNil

func LabelsIsNil() predicate.ResourceRun

LabelsIsNil applies the IsNil predicate on the "labels" field.

func LabelsNotNil

func LabelsNotNil() predicate.ResourceRun

LabelsNotNil applies the NotNil predicate on the "labels" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ResourceRun) predicate.ResourceRun

Or groups predicates with the OR operator between them.

func PlanRecord

func PlanRecord(v string) predicate.ResourceRun

PlanRecord applies equality check predicate on the "plan_record" field. It's identical to PlanRecordEQ.

func PlanRecordContains

func PlanRecordContains(v string) predicate.ResourceRun

PlanRecordContains applies the Contains predicate on the "plan_record" field.

func PlanRecordContainsFold

func PlanRecordContainsFold(v string) predicate.ResourceRun

PlanRecordContainsFold applies the ContainsFold predicate on the "plan_record" field.

func PlanRecordEQ

func PlanRecordEQ(v string) predicate.ResourceRun

PlanRecordEQ applies the EQ predicate on the "plan_record" field.

func PlanRecordEqualFold

func PlanRecordEqualFold(v string) predicate.ResourceRun

PlanRecordEqualFold applies the EqualFold predicate on the "plan_record" field.

func PlanRecordGT

func PlanRecordGT(v string) predicate.ResourceRun

PlanRecordGT applies the GT predicate on the "plan_record" field.

func PlanRecordGTE

func PlanRecordGTE(v string) predicate.ResourceRun

PlanRecordGTE applies the GTE predicate on the "plan_record" field.

func PlanRecordHasPrefix

func PlanRecordHasPrefix(v string) predicate.ResourceRun

PlanRecordHasPrefix applies the HasPrefix predicate on the "plan_record" field.

func PlanRecordHasSuffix

func PlanRecordHasSuffix(v string) predicate.ResourceRun

PlanRecordHasSuffix applies the HasSuffix predicate on the "plan_record" field.

func PlanRecordIn

func PlanRecordIn(vs ...string) predicate.ResourceRun

PlanRecordIn applies the In predicate on the "plan_record" field.

func PlanRecordIsNil

func PlanRecordIsNil() predicate.ResourceRun

PlanRecordIsNil applies the IsNil predicate on the "plan_record" field.

func PlanRecordLT

func PlanRecordLT(v string) predicate.ResourceRun

PlanRecordLT applies the LT predicate on the "plan_record" field.

func PlanRecordLTE

func PlanRecordLTE(v string) predicate.ResourceRun

PlanRecordLTE applies the LTE predicate on the "plan_record" field.

func PlanRecordNEQ

func PlanRecordNEQ(v string) predicate.ResourceRun

PlanRecordNEQ applies the NEQ predicate on the "plan_record" field.

func PlanRecordNotIn

func PlanRecordNotIn(vs ...string) predicate.ResourceRun

PlanRecordNotIn applies the NotIn predicate on the "plan_record" field.

func PlanRecordNotNil

func PlanRecordNotNil() predicate.ResourceRun

PlanRecordNotNil applies the NotNil predicate on the "plan_record" field.

func Preview

func Preview(v bool) predicate.ResourceRun

Preview applies equality check predicate on the "preview" field. It's identical to PreviewEQ.

func PreviewEQ

func PreviewEQ(v bool) predicate.ResourceRun

PreviewEQ applies the EQ predicate on the "preview" field.

func PreviewNEQ

func PreviewNEQ(v bool) predicate.ResourceRun

PreviewNEQ applies the NEQ predicate on the "preview" field.

func ProjectID

func ProjectID(v object.ID) predicate.ResourceRun

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

func ProjectIDContains

func ProjectIDContains(v object.ID) predicate.ResourceRun

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

func ProjectIDContainsFold

func ProjectIDContainsFold(v object.ID) predicate.ResourceRun

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

func ProjectIDEQ

func ProjectIDEQ(v object.ID) predicate.ResourceRun

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

func ProjectIDEqualFold

func ProjectIDEqualFold(v object.ID) predicate.ResourceRun

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

func ProjectIDGT

func ProjectIDGT(v object.ID) predicate.ResourceRun

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

func ProjectIDGTE

func ProjectIDGTE(v object.ID) predicate.ResourceRun

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

func ProjectIDHasPrefix

func ProjectIDHasPrefix(v object.ID) predicate.ResourceRun

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

func ProjectIDHasSuffix

func ProjectIDHasSuffix(v object.ID) predicate.ResourceRun

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

func ProjectIDIn

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

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

func ProjectIDLT

func ProjectIDLT(v object.ID) predicate.ResourceRun

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

func ProjectIDLTE

func ProjectIDLTE(v object.ID) predicate.ResourceRun

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

func ProjectIDNEQ

func ProjectIDNEQ(v object.ID) predicate.ResourceRun

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

func ProjectIDNotIn

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

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

func Record

func Record(v string) predicate.ResourceRun

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

func RecordContains

func RecordContains(v string) predicate.ResourceRun

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

func RecordContainsFold

func RecordContainsFold(v string) predicate.ResourceRun

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

func RecordEQ

func RecordEQ(v string) predicate.ResourceRun

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

func RecordEqualFold

func RecordEqualFold(v string) predicate.ResourceRun

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

func RecordGT

func RecordGT(v string) predicate.ResourceRun

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

func RecordGTE

func RecordGTE(v string) predicate.ResourceRun

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

func RecordHasPrefix

func RecordHasPrefix(v string) predicate.ResourceRun

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

func RecordHasSuffix

func RecordHasSuffix(v string) predicate.ResourceRun

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

func RecordIn

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

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

func RecordIsNil

func RecordIsNil() predicate.ResourceRun

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

func RecordLT

func RecordLT(v string) predicate.ResourceRun

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

func RecordLTE

func RecordLTE(v string) predicate.ResourceRun

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

func RecordNEQ

func RecordNEQ(v string) predicate.ResourceRun

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

func RecordNotIn

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

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

func RecordNotNil

func RecordNotNil() predicate.ResourceRun

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

func ResourceID

func ResourceID(v object.ID) predicate.ResourceRun

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

func ResourceIDContains

func ResourceIDContains(v object.ID) predicate.ResourceRun

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

func ResourceIDContainsFold

func ResourceIDContainsFold(v object.ID) predicate.ResourceRun

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

func ResourceIDEQ

func ResourceIDEQ(v object.ID) predicate.ResourceRun

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

func ResourceIDEqualFold

func ResourceIDEqualFold(v object.ID) predicate.ResourceRun

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

func ResourceIDGT

func ResourceIDGT(v object.ID) predicate.ResourceRun

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

func ResourceIDGTE

func ResourceIDGTE(v object.ID) predicate.ResourceRun

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

func ResourceIDHasPrefix

func ResourceIDHasPrefix(v object.ID) predicate.ResourceRun

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

func ResourceIDHasSuffix

func ResourceIDHasSuffix(v object.ID) predicate.ResourceRun

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

func ResourceIDIn

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

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

func ResourceIDLT

func ResourceIDLT(v object.ID) predicate.ResourceRun

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

func ResourceIDLTE

func ResourceIDLTE(v object.ID) predicate.ResourceRun

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

func ResourceIDNEQ

func ResourceIDNEQ(v object.ID) predicate.ResourceRun

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

func ResourceIDNotIn

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

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

func StatusIsNil

func StatusIsNil() predicate.ResourceRun

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

func StatusNotNil

func StatusNotNil() predicate.ResourceRun

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

func TemplateID

func TemplateID(v object.ID) predicate.ResourceRun

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

func TemplateIDContains

func TemplateIDContains(v object.ID) predicate.ResourceRun

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

func TemplateIDContainsFold

func TemplateIDContainsFold(v object.ID) predicate.ResourceRun

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

func TemplateIDEQ

func TemplateIDEQ(v object.ID) predicate.ResourceRun

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

func TemplateIDEqualFold

func TemplateIDEqualFold(v object.ID) predicate.ResourceRun

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

func TemplateIDGT

func TemplateIDGT(v object.ID) predicate.ResourceRun

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

func TemplateIDGTE

func TemplateIDGTE(v object.ID) predicate.ResourceRun

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

func TemplateIDHasPrefix

func TemplateIDHasPrefix(v object.ID) predicate.ResourceRun

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

func TemplateIDHasSuffix

func TemplateIDHasSuffix(v object.ID) predicate.ResourceRun

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

func TemplateIDIn

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

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

func TemplateIDLT

func TemplateIDLT(v object.ID) predicate.ResourceRun

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

func TemplateIDLTE

func TemplateIDLTE(v object.ID) predicate.ResourceRun

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

func TemplateIDNEQ

func TemplateIDNEQ(v object.ID) predicate.ResourceRun

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

func TemplateIDNotIn

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

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

func TemplateName

func TemplateName(v string) predicate.ResourceRun

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

func TemplateNameContains

func TemplateNameContains(v string) predicate.ResourceRun

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

func TemplateNameContainsFold

func TemplateNameContainsFold(v string) predicate.ResourceRun

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

func TemplateNameEQ

func TemplateNameEQ(v string) predicate.ResourceRun

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

func TemplateNameEqualFold

func TemplateNameEqualFold(v string) predicate.ResourceRun

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

func TemplateNameGT

func TemplateNameGT(v string) predicate.ResourceRun

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

func TemplateNameGTE

func TemplateNameGTE(v string) predicate.ResourceRun

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

func TemplateNameHasPrefix

func TemplateNameHasPrefix(v string) predicate.ResourceRun

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

func TemplateNameHasSuffix

func TemplateNameHasSuffix(v string) predicate.ResourceRun

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

func TemplateNameIn

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

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

func TemplateNameLT

func TemplateNameLT(v string) predicate.ResourceRun

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

func TemplateNameLTE

func TemplateNameLTE(v string) predicate.ResourceRun

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

func TemplateNameNEQ

func TemplateNameNEQ(v string) predicate.ResourceRun

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

func TemplateNameNotIn

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

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

func TemplateVersion

func TemplateVersion(v string) predicate.ResourceRun

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

func TemplateVersionContains

func TemplateVersionContains(v string) predicate.ResourceRun

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

func TemplateVersionContainsFold

func TemplateVersionContainsFold(v string) predicate.ResourceRun

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

func TemplateVersionEQ

func TemplateVersionEQ(v string) predicate.ResourceRun

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

func TemplateVersionEqualFold

func TemplateVersionEqualFold(v string) predicate.ResourceRun

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

func TemplateVersionGT

func TemplateVersionGT(v string) predicate.ResourceRun

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

func TemplateVersionGTE

func TemplateVersionGTE(v string) predicate.ResourceRun

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

func TemplateVersionHasPrefix

func TemplateVersionHasPrefix(v string) predicate.ResourceRun

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

func TemplateVersionHasSuffix

func TemplateVersionHasSuffix(v string) predicate.ResourceRun

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

func TemplateVersionIn

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

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

func TemplateVersionLT

func TemplateVersionLT(v string) predicate.ResourceRun

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

func TemplateVersionLTE

func TemplateVersionLTE(v string) predicate.ResourceRun

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

func TemplateVersionNEQ

func TemplateVersionNEQ(v string) predicate.ResourceRun

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

func TemplateVersionNotIn

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

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

func Type

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.ResourceRun

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.ResourceRun

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.ResourceRun

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.ResourceRun

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.ResourceRun

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.ResourceRun

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.ResourceRun

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.ResourceRun

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.ResourceRun

TypeIn applies the In predicate on the "type" field.

func TypeLT

func TypeLT(v string) predicate.ResourceRun

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.ResourceRun

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.ResourceRun

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.ResourceRun

TypeNotIn applies the NotIn predicate on the "type" 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

func VariablesEQ(v crypto.Map[string, string]) predicate.ResourceRun

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

func VariablesGT

func VariablesGT(v crypto.Map[string, string]) predicate.ResourceRun

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

func VariablesGTE

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

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

func VariablesIn

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

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

func VariablesLT

func VariablesLT(v crypto.Map[string, string]) predicate.ResourceRun

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

func VariablesLTE

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

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

func VariablesNEQ

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

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

func VariablesNotIn

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

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 ResourceRun queries.

func ByAttributes

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

ByAttributes orders the results by the attributes field.

func ByChangeComment

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

ByChangeComment orders the results by the change_comment field.

func ByComputedAttributes

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

ByComputedAttributes orders the results by the computed_attributes field.

func ByCreateTime

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

ByCreateTime orders the results by the create_time field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by 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 ByPlanRecord

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

ByPlanRecord orders the results by the plan_record field.

func ByPreview

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

ByPreview orders the results by the preview 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 ByType

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

ByType orders the results by the type 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