Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ResourceRevision) predicate.ResourceRevision
- func Attributes(v property.Values) predicate.ResourceRevision
- func AttributesEQ(v property.Values) predicate.ResourceRevision
- func AttributesGT(v property.Values) predicate.ResourceRevision
- func AttributesGTE(v property.Values) predicate.ResourceRevision
- func AttributesIn(vs ...property.Values) predicate.ResourceRevision
- func AttributesIsNil() predicate.ResourceRevision
- func AttributesLT(v property.Values) predicate.ResourceRevision
- func AttributesLTE(v property.Values) predicate.ResourceRevision
- func AttributesNEQ(v property.Values) predicate.ResourceRevision
- func AttributesNotIn(vs ...property.Values) predicate.ResourceRevision
- func AttributesNotNil() predicate.ResourceRevision
- func ChangeComment(v string) predicate.ResourceRevision
- func ChangeCommentContains(v string) predicate.ResourceRevision
- func ChangeCommentContainsFold(v string) predicate.ResourceRevision
- func ChangeCommentEQ(v string) predicate.ResourceRevision
- func ChangeCommentEqualFold(v string) predicate.ResourceRevision
- func ChangeCommentGT(v string) predicate.ResourceRevision
- func ChangeCommentGTE(v string) predicate.ResourceRevision
- func ChangeCommentHasPrefix(v string) predicate.ResourceRevision
- func ChangeCommentHasSuffix(v string) predicate.ResourceRevision
- func ChangeCommentIn(vs ...string) predicate.ResourceRevision
- func ChangeCommentIsNil() predicate.ResourceRevision
- func ChangeCommentLT(v string) predicate.ResourceRevision
- func ChangeCommentLTE(v string) predicate.ResourceRevision
- func ChangeCommentNEQ(v string) predicate.ResourceRevision
- func ChangeCommentNotIn(vs ...string) predicate.ResourceRevision
- func ChangeCommentNotNil() predicate.ResourceRevision
- func ComputedAttributes(v property.Values) predicate.ResourceRevision
- func ComputedAttributesEQ(v property.Values) predicate.ResourceRevision
- func ComputedAttributesGT(v property.Values) predicate.ResourceRevision
- func ComputedAttributesGTE(v property.Values) predicate.ResourceRevision
- func ComputedAttributesIn(vs ...property.Values) predicate.ResourceRevision
- func ComputedAttributesIsNil() predicate.ResourceRevision
- func ComputedAttributesLT(v property.Values) predicate.ResourceRevision
- func ComputedAttributesLTE(v property.Values) predicate.ResourceRevision
- func ComputedAttributesNEQ(v property.Values) predicate.ResourceRevision
- func ComputedAttributesNotIn(vs ...property.Values) predicate.ResourceRevision
- func ComputedAttributesNotNil() predicate.ResourceRevision
- func CreateTime(v time.Time) predicate.ResourceRevision
- func CreateTimeEQ(v time.Time) predicate.ResourceRevision
- func CreateTimeGT(v time.Time) predicate.ResourceRevision
- func CreateTimeGTE(v time.Time) predicate.ResourceRevision
- func CreateTimeIn(vs ...time.Time) predicate.ResourceRevision
- func CreateTimeLT(v time.Time) predicate.ResourceRevision
- func CreateTimeLTE(v time.Time) predicate.ResourceRevision
- func CreateTimeNEQ(v time.Time) predicate.ResourceRevision
- func CreateTimeNotIn(vs ...time.Time) predicate.ResourceRevision
- func CreatedBy(v string) predicate.ResourceRevision
- func CreatedByContains(v string) predicate.ResourceRevision
- func CreatedByContainsFold(v string) predicate.ResourceRevision
- func CreatedByEQ(v string) predicate.ResourceRevision
- func CreatedByEqualFold(v string) predicate.ResourceRevision
- func CreatedByGT(v string) predicate.ResourceRevision
- func CreatedByGTE(v string) predicate.ResourceRevision
- func CreatedByHasPrefix(v string) predicate.ResourceRevision
- func CreatedByHasSuffix(v string) predicate.ResourceRevision
- func CreatedByIn(vs ...string) predicate.ResourceRevision
- func CreatedByLT(v string) predicate.ResourceRevision
- func CreatedByLTE(v string) predicate.ResourceRevision
- func CreatedByNEQ(v string) predicate.ResourceRevision
- func CreatedByNotIn(vs ...string) predicate.ResourceRevision
- func DeployerType(v string) predicate.ResourceRevision
- func DeployerTypeContains(v string) predicate.ResourceRevision
- func DeployerTypeContainsFold(v string) predicate.ResourceRevision
- func DeployerTypeEQ(v string) predicate.ResourceRevision
- func DeployerTypeEqualFold(v string) predicate.ResourceRevision
- func DeployerTypeGT(v string) predicate.ResourceRevision
- func DeployerTypeGTE(v string) predicate.ResourceRevision
- func DeployerTypeHasPrefix(v string) predicate.ResourceRevision
- func DeployerTypeHasSuffix(v string) predicate.ResourceRevision
- func DeployerTypeIn(vs ...string) predicate.ResourceRevision
- func DeployerTypeLT(v string) predicate.ResourceRevision
- func DeployerTypeLTE(v string) predicate.ResourceRevision
- func DeployerTypeNEQ(v string) predicate.ResourceRevision
- func DeployerTypeNotIn(vs ...string) predicate.ResourceRevision
- func Duration(v int) predicate.ResourceRevision
- func DurationEQ(v int) predicate.ResourceRevision
- func DurationGT(v int) predicate.ResourceRevision
- func DurationGTE(v int) predicate.ResourceRevision
- func DurationIn(vs ...int) predicate.ResourceRevision
- func DurationLT(v int) predicate.ResourceRevision
- func DurationLTE(v int) predicate.ResourceRevision
- func DurationNEQ(v int) predicate.ResourceRevision
- func DurationNotIn(vs ...int) predicate.ResourceRevision
- func EnvironmentID(v object.ID) predicate.ResourceRevision
- func EnvironmentIDContains(v object.ID) predicate.ResourceRevision
- func EnvironmentIDContainsFold(v object.ID) predicate.ResourceRevision
- func EnvironmentIDEQ(v object.ID) predicate.ResourceRevision
- func EnvironmentIDEqualFold(v object.ID) predicate.ResourceRevision
- func EnvironmentIDGT(v object.ID) predicate.ResourceRevision
- func EnvironmentIDGTE(v object.ID) predicate.ResourceRevision
- func EnvironmentIDHasPrefix(v object.ID) predicate.ResourceRevision
- func EnvironmentIDHasSuffix(v object.ID) predicate.ResourceRevision
- func EnvironmentIDIn(vs ...object.ID) predicate.ResourceRevision
- func EnvironmentIDLT(v object.ID) predicate.ResourceRevision
- func EnvironmentIDLTE(v object.ID) predicate.ResourceRevision
- func EnvironmentIDNEQ(v object.ID) predicate.ResourceRevision
- func EnvironmentIDNotIn(vs ...object.ID) predicate.ResourceRevision
- func HasEnvironment() predicate.ResourceRevision
- func HasEnvironmentWith(preds ...predicate.Environment) predicate.ResourceRevision
- func HasProject() predicate.ResourceRevision
- func HasProjectWith(preds ...predicate.Project) predicate.ResourceRevision
- func HasResource() predicate.ResourceRevision
- func HasResourceWith(preds ...predicate.Resource) predicate.ResourceRevision
- func ID(id object.ID) predicate.ResourceRevision
- func IDEQ(id object.ID) predicate.ResourceRevision
- func IDGT(id object.ID) predicate.ResourceRevision
- func IDGTE(id object.ID) predicate.ResourceRevision
- func IDIn(ids ...object.ID) predicate.ResourceRevision
- func IDLT(id object.ID) predicate.ResourceRevision
- func IDLTE(id object.ID) predicate.ResourceRevision
- func IDNEQ(id object.ID) predicate.ResourceRevision
- func IDNotIn(ids ...object.ID) predicate.ResourceRevision
- func InputPlan(v string) predicate.ResourceRevision
- func InputPlanContains(v string) predicate.ResourceRevision
- func InputPlanContainsFold(v string) predicate.ResourceRevision
- func InputPlanEQ(v string) predicate.ResourceRevision
- func InputPlanEqualFold(v string) predicate.ResourceRevision
- func InputPlanGT(v string) predicate.ResourceRevision
- func InputPlanGTE(v string) predicate.ResourceRevision
- func InputPlanHasPrefix(v string) predicate.ResourceRevision
- func InputPlanHasSuffix(v string) predicate.ResourceRevision
- func InputPlanIn(vs ...string) predicate.ResourceRevision
- func InputPlanLT(v string) predicate.ResourceRevision
- func InputPlanLTE(v string) predicate.ResourceRevision
- func InputPlanNEQ(v string) predicate.ResourceRevision
- func InputPlanNotIn(vs ...string) predicate.ResourceRevision
- func Not(p predicate.ResourceRevision) predicate.ResourceRevision
- func Or(predicates ...predicate.ResourceRevision) predicate.ResourceRevision
- func Output(v string) predicate.ResourceRevision
- func OutputContains(v string) predicate.ResourceRevision
- func OutputContainsFold(v string) predicate.ResourceRevision
- func OutputEQ(v string) predicate.ResourceRevision
- func OutputEqualFold(v string) predicate.ResourceRevision
- func OutputGT(v string) predicate.ResourceRevision
- func OutputGTE(v string) predicate.ResourceRevision
- func OutputHasPrefix(v string) predicate.ResourceRevision
- func OutputHasSuffix(v string) predicate.ResourceRevision
- func OutputIn(vs ...string) predicate.ResourceRevision
- func OutputLT(v string) predicate.ResourceRevision
- func OutputLTE(v string) predicate.ResourceRevision
- func OutputNEQ(v string) predicate.ResourceRevision
- func OutputNotIn(vs ...string) predicate.ResourceRevision
- func ProjectID(v object.ID) predicate.ResourceRevision
- func ProjectIDContains(v object.ID) predicate.ResourceRevision
- func ProjectIDContainsFold(v object.ID) predicate.ResourceRevision
- func ProjectIDEQ(v object.ID) predicate.ResourceRevision
- func ProjectIDEqualFold(v object.ID) predicate.ResourceRevision
- func ProjectIDGT(v object.ID) predicate.ResourceRevision
- func ProjectIDGTE(v object.ID) predicate.ResourceRevision
- func ProjectIDHasPrefix(v object.ID) predicate.ResourceRevision
- func ProjectIDHasSuffix(v object.ID) predicate.ResourceRevision
- func ProjectIDIn(vs ...object.ID) predicate.ResourceRevision
- func ProjectIDLT(v object.ID) predicate.ResourceRevision
- func ProjectIDLTE(v object.ID) predicate.ResourceRevision
- func ProjectIDNEQ(v object.ID) predicate.ResourceRevision
- func ProjectIDNotIn(vs ...object.ID) predicate.ResourceRevision
- func Record(v string) predicate.ResourceRevision
- func RecordContains(v string) predicate.ResourceRevision
- func RecordContainsFold(v string) predicate.ResourceRevision
- func RecordEQ(v string) predicate.ResourceRevision
- func RecordEqualFold(v string) predicate.ResourceRevision
- func RecordGT(v string) predicate.ResourceRevision
- func RecordGTE(v string) predicate.ResourceRevision
- func RecordHasPrefix(v string) predicate.ResourceRevision
- func RecordHasSuffix(v string) predicate.ResourceRevision
- func RecordIn(vs ...string) predicate.ResourceRevision
- func RecordIsNil() predicate.ResourceRevision
- func RecordLT(v string) predicate.ResourceRevision
- func RecordLTE(v string) predicate.ResourceRevision
- func RecordNEQ(v string) predicate.ResourceRevision
- func RecordNotIn(vs ...string) predicate.ResourceRevision
- func RecordNotNil() predicate.ResourceRevision
- func ResourceID(v object.ID) predicate.ResourceRevision
- func ResourceIDContains(v object.ID) predicate.ResourceRevision
- func ResourceIDContainsFold(v object.ID) predicate.ResourceRevision
- func ResourceIDEQ(v object.ID) predicate.ResourceRevision
- func ResourceIDEqualFold(v object.ID) predicate.ResourceRevision
- func ResourceIDGT(v object.ID) predicate.ResourceRevision
- func ResourceIDGTE(v object.ID) predicate.ResourceRevision
- func ResourceIDHasPrefix(v object.ID) predicate.ResourceRevision
- func ResourceIDHasSuffix(v object.ID) predicate.ResourceRevision
- func ResourceIDIn(vs ...object.ID) predicate.ResourceRevision
- func ResourceIDLT(v object.ID) predicate.ResourceRevision
- func ResourceIDLTE(v object.ID) predicate.ResourceRevision
- func ResourceIDNEQ(v object.ID) predicate.ResourceRevision
- func ResourceIDNotIn(vs ...object.ID) predicate.ResourceRevision
- func StatusIsNil() predicate.ResourceRevision
- func StatusNotNil() predicate.ResourceRevision
- func TemplateID(v object.ID) predicate.ResourceRevision
- func TemplateIDContains(v object.ID) predicate.ResourceRevision
- func TemplateIDContainsFold(v object.ID) predicate.ResourceRevision
- func TemplateIDEQ(v object.ID) predicate.ResourceRevision
- func TemplateIDEqualFold(v object.ID) predicate.ResourceRevision
- func TemplateIDGT(v object.ID) predicate.ResourceRevision
- func TemplateIDGTE(v object.ID) predicate.ResourceRevision
- func TemplateIDHasPrefix(v object.ID) predicate.ResourceRevision
- func TemplateIDHasSuffix(v object.ID) predicate.ResourceRevision
- func TemplateIDIn(vs ...object.ID) predicate.ResourceRevision
- func TemplateIDLT(v object.ID) predicate.ResourceRevision
- func TemplateIDLTE(v object.ID) predicate.ResourceRevision
- func TemplateIDNEQ(v object.ID) predicate.ResourceRevision
- func TemplateIDNotIn(vs ...object.ID) predicate.ResourceRevision
- func TemplateName(v string) predicate.ResourceRevision
- func TemplateNameContains(v string) predicate.ResourceRevision
- func TemplateNameContainsFold(v string) predicate.ResourceRevision
- func TemplateNameEQ(v string) predicate.ResourceRevision
- func TemplateNameEqualFold(v string) predicate.ResourceRevision
- func TemplateNameGT(v string) predicate.ResourceRevision
- func TemplateNameGTE(v string) predicate.ResourceRevision
- func TemplateNameHasPrefix(v string) predicate.ResourceRevision
- func TemplateNameHasSuffix(v string) predicate.ResourceRevision
- func TemplateNameIn(vs ...string) predicate.ResourceRevision
- func TemplateNameLT(v string) predicate.ResourceRevision
- func TemplateNameLTE(v string) predicate.ResourceRevision
- func TemplateNameNEQ(v string) predicate.ResourceRevision
- func TemplateNameNotIn(vs ...string) predicate.ResourceRevision
- func TemplateVersion(v string) predicate.ResourceRevision
- func TemplateVersionContains(v string) predicate.ResourceRevision
- func TemplateVersionContainsFold(v string) predicate.ResourceRevision
- func TemplateVersionEQ(v string) predicate.ResourceRevision
- func TemplateVersionEqualFold(v string) predicate.ResourceRevision
- func TemplateVersionGT(v string) predicate.ResourceRevision
- func TemplateVersionGTE(v string) predicate.ResourceRevision
- func TemplateVersionHasPrefix(v string) predicate.ResourceRevision
- func TemplateVersionHasSuffix(v string) predicate.ResourceRevision
- func TemplateVersionIn(vs ...string) predicate.ResourceRevision
- func TemplateVersionLT(v string) predicate.ResourceRevision
- func TemplateVersionLTE(v string) predicate.ResourceRevision
- func TemplateVersionNEQ(v string) predicate.ResourceRevision
- func TemplateVersionNotIn(vs ...string) predicate.ResourceRevision
- func ValidColumn(column string) bool
- func Variables(v crypto.Map[string, string]) predicate.ResourceRevision
- func VariablesEQ(v crypto.Map[string, string]) predicate.ResourceRevision
- func VariablesGT(v crypto.Map[string, string]) predicate.ResourceRevision
- func VariablesGTE(v crypto.Map[string, string]) predicate.ResourceRevision
- func VariablesIn(vs ...crypto.Map[string, string]) predicate.ResourceRevision
- func VariablesLT(v crypto.Map[string, string]) predicate.ResourceRevision
- func VariablesLTE(v crypto.Map[string, string]) predicate.ResourceRevision
- func VariablesNEQ(v crypto.Map[string, string]) predicate.ResourceRevision
- func VariablesNotIn(vs ...crypto.Map[string, string]) predicate.ResourceRevision
- func WithoutFields(ignores ...string) []string
- type OrderOption
- func ByAttributes(opts ...sql.OrderTermOption) OrderOption
- func ByChangeComment(opts ...sql.OrderTermOption) OrderOption
- func ByComputedAttributes(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeployerType(opts ...sql.OrderTermOption) OrderOption
- func ByDuration(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInputPlan(opts ...sql.OrderTermOption) OrderOption
- func ByOutput(opts ...sql.OrderTermOption) OrderOption
- func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByRecord(opts ...sql.OrderTermOption) OrderOption
- func ByResourceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateName(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateVersion(opts ...sql.OrderTermOption) OrderOption
- func ByVariables(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" // 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" // 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" // 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" // 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 ¶
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"
var Columns = []string{ FieldID, FieldCreateTime, FieldStatus, FieldProjectID, FieldEnvironmentID, FieldResourceID, FieldTemplateName, FieldTemplateVersion, FieldTemplateID, FieldAttributes, FieldComputedAttributes, FieldVariables, FieldInputPlan, FieldOutput, FieldDeployerType, FieldDuration, FieldPreviousRequiredProviders, FieldRecord, FieldChangeComment, FieldCreatedBy, }
Columns holds all SQL columns for resourcerevision fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ResourceRevision) predicate.ResourceRevision
And groups predicates with the AND operator between them.
func Attributes ¶
func Attributes(v property.Values) predicate.ResourceRevision
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 ChangeComment ¶ added in v0.5.0
func ChangeComment(v string) predicate.ResourceRevision
ChangeComment applies equality check predicate on the "change_comment" field. It's identical to ChangeCommentEQ.
func ChangeCommentContains ¶ added in v0.5.0
func ChangeCommentContains(v string) predicate.ResourceRevision
ChangeCommentContains applies the Contains predicate on the "change_comment" field.
func ChangeCommentContainsFold ¶ added in v0.5.0
func ChangeCommentContainsFold(v string) predicate.ResourceRevision
ChangeCommentContainsFold applies the ContainsFold predicate on the "change_comment" field.
func ChangeCommentEQ ¶ added in v0.5.0
func ChangeCommentEQ(v string) predicate.ResourceRevision
ChangeCommentEQ applies the EQ predicate on the "change_comment" field.
func ChangeCommentEqualFold ¶ added in v0.5.0
func ChangeCommentEqualFold(v string) predicate.ResourceRevision
ChangeCommentEqualFold applies the EqualFold predicate on the "change_comment" field.
func ChangeCommentGT ¶ added in v0.5.0
func ChangeCommentGT(v string) predicate.ResourceRevision
ChangeCommentGT applies the GT predicate on the "change_comment" field.
func ChangeCommentGTE ¶ added in v0.5.0
func ChangeCommentGTE(v string) predicate.ResourceRevision
ChangeCommentGTE applies the GTE predicate on the "change_comment" field.
func ChangeCommentHasPrefix ¶ added in v0.5.0
func ChangeCommentHasPrefix(v string) predicate.ResourceRevision
ChangeCommentHasPrefix applies the HasPrefix predicate on the "change_comment" field.
func ChangeCommentHasSuffix ¶ added in v0.5.0
func ChangeCommentHasSuffix(v string) predicate.ResourceRevision
ChangeCommentHasSuffix applies the HasSuffix predicate on the "change_comment" field.
func ChangeCommentIn ¶ added in v0.5.0
func ChangeCommentIn(vs ...string) predicate.ResourceRevision
ChangeCommentIn applies the In predicate on the "change_comment" field.
func ChangeCommentIsNil ¶ added in v0.5.0
func ChangeCommentIsNil() predicate.ResourceRevision
ChangeCommentIsNil applies the IsNil predicate on the "change_comment" field.
func ChangeCommentLT ¶ added in v0.5.0
func ChangeCommentLT(v string) predicate.ResourceRevision
ChangeCommentLT applies the LT predicate on the "change_comment" field.
func ChangeCommentLTE ¶ added in v0.5.0
func ChangeCommentLTE(v string) predicate.ResourceRevision
ChangeCommentLTE applies the LTE predicate on the "change_comment" field.
func ChangeCommentNEQ ¶ added in v0.5.0
func ChangeCommentNEQ(v string) predicate.ResourceRevision
ChangeCommentNEQ applies the NEQ predicate on the "change_comment" field.
func ChangeCommentNotIn ¶ added in v0.5.0
func ChangeCommentNotIn(vs ...string) predicate.ResourceRevision
ChangeCommentNotIn applies the NotIn predicate on the "change_comment" field.
func ChangeCommentNotNil ¶ added in v0.5.0
func ChangeCommentNotNil() predicate.ResourceRevision
ChangeCommentNotNil applies the NotNil predicate on the "change_comment" field.
func ComputedAttributes ¶ added in v0.5.0
func ComputedAttributes(v property.Values) predicate.ResourceRevision
ComputedAttributes applies equality check predicate on the "computed_attributes" field. It's identical to ComputedAttributesEQ.
func ComputedAttributesEQ ¶ added in v0.5.0
func ComputedAttributesEQ(v property.Values) predicate.ResourceRevision
ComputedAttributesEQ applies the EQ predicate on the "computed_attributes" field.
func ComputedAttributesGT ¶ added in v0.5.0
func ComputedAttributesGT(v property.Values) predicate.ResourceRevision
ComputedAttributesGT applies the GT predicate on the "computed_attributes" field.
func ComputedAttributesGTE ¶ added in v0.5.0
func ComputedAttributesGTE(v property.Values) predicate.ResourceRevision
ComputedAttributesGTE applies the GTE predicate on the "computed_attributes" field.
func ComputedAttributesIn ¶ added in v0.5.0
func ComputedAttributesIn(vs ...property.Values) predicate.ResourceRevision
ComputedAttributesIn applies the In predicate on the "computed_attributes" field.
func ComputedAttributesIsNil ¶ added in v0.5.0
func ComputedAttributesIsNil() predicate.ResourceRevision
ComputedAttributesIsNil applies the IsNil predicate on the "computed_attributes" field.
func ComputedAttributesLT ¶ added in v0.5.0
func ComputedAttributesLT(v property.Values) predicate.ResourceRevision
ComputedAttributesLT applies the LT predicate on the "computed_attributes" field.
func ComputedAttributesLTE ¶ added in v0.5.0
func ComputedAttributesLTE(v property.Values) predicate.ResourceRevision
ComputedAttributesLTE applies the LTE predicate on the "computed_attributes" field.
func ComputedAttributesNEQ ¶ added in v0.5.0
func ComputedAttributesNEQ(v property.Values) predicate.ResourceRevision
ComputedAttributesNEQ applies the NEQ predicate on the "computed_attributes" field.
func ComputedAttributesNotIn ¶ added in v0.5.0
func ComputedAttributesNotIn(vs ...property.Values) predicate.ResourceRevision
ComputedAttributesNotIn applies the NotIn predicate on the "computed_attributes" field.
func ComputedAttributesNotNil ¶ added in v0.5.0
func ComputedAttributesNotNil() predicate.ResourceRevision
ComputedAttributesNotNil applies the NotNil predicate on the "computed_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 CreatedBy ¶ added in v0.5.0
func CreatedBy(v string) predicate.ResourceRevision
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶ added in v0.5.0
func CreatedByContains(v string) predicate.ResourceRevision
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶ added in v0.5.0
func CreatedByContainsFold(v string) predicate.ResourceRevision
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶ added in v0.5.0
func CreatedByEQ(v string) predicate.ResourceRevision
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶ added in v0.5.0
func CreatedByEqualFold(v string) predicate.ResourceRevision
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶ added in v0.5.0
func CreatedByGT(v string) predicate.ResourceRevision
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶ added in v0.5.0
func CreatedByGTE(v string) predicate.ResourceRevision
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶ added in v0.5.0
func CreatedByHasPrefix(v string) predicate.ResourceRevision
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶ added in v0.5.0
func CreatedByHasSuffix(v string) predicate.ResourceRevision
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶ added in v0.5.0
func CreatedByIn(vs ...string) predicate.ResourceRevision
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶ added in v0.5.0
func CreatedByLT(v string) predicate.ResourceRevision
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶ added in v0.5.0
func CreatedByLTE(v string) predicate.ResourceRevision
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶ added in v0.5.0
func CreatedByNEQ(v string) predicate.ResourceRevision
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶ added in v0.5.0
func CreatedByNotIn(vs ...string) predicate.ResourceRevision
CreatedByNotIn applies the NotIn predicate on the "created_by" 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 ¶
func ID(id object.ID) predicate.ResourceRevision
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id object.ID) predicate.ResourceRevision
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id object.ID) predicate.ResourceRevision
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id object.ID) predicate.ResourceRevision
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 ¶
func IDLT(id object.ID) predicate.ResourceRevision
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id object.ID) predicate.ResourceRevision
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id object.ID) predicate.ResourceRevision
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 ¶
func Not(p predicate.ResourceRevision) predicate.ResourceRevision
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ResourceRevision) predicate.ResourceRevision
Or groups predicates with the OR operator between them.
func Output ¶
func Output(v string) predicate.ResourceRevision
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 ¶
func Record(v string) predicate.ResourceRevision
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 ¶
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 ¶
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 ¶
VariablesNotIn applies the NotIn predicate on the "variables" field.
func WithoutFields ¶
WithoutFields returns the fields ignored the given list.
Types ¶
type OrderOption ¶
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 ByChangeComment ¶ added in v0.5.0
func ByChangeComment(opts ...sql.OrderTermOption) OrderOption
ByChangeComment orders the results by the change_comment field.
func ByComputedAttributes ¶ added in v0.5.0
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 ¶ added in v0.5.0
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 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.