Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Resource) predicate.Resource
- func AnnotationsIsNil() predicate.Resource
- func AnnotationsNotNil() predicate.Resource
- func Attributes(v property.Values) predicate.Resource
- func AttributesEQ(v property.Values) predicate.Resource
- func AttributesGT(v property.Values) predicate.Resource
- func AttributesGTE(v property.Values) predicate.Resource
- func AttributesIn(vs ...property.Values) predicate.Resource
- func AttributesIsNil() predicate.Resource
- func AttributesLT(v property.Values) predicate.Resource
- func AttributesLTE(v property.Values) predicate.Resource
- func AttributesNEQ(v property.Values) predicate.Resource
- func AttributesNotIn(vs ...property.Values) predicate.Resource
- func AttributesNotNil() predicate.Resource
- func ChangeComment(v string) predicate.Resource
- func ChangeCommentContains(v string) predicate.Resource
- func ChangeCommentContainsFold(v string) predicate.Resource
- func ChangeCommentEQ(v string) predicate.Resource
- func ChangeCommentEqualFold(v string) predicate.Resource
- func ChangeCommentGT(v string) predicate.Resource
- func ChangeCommentGTE(v string) predicate.Resource
- func ChangeCommentHasPrefix(v string) predicate.Resource
- func ChangeCommentHasSuffix(v string) predicate.Resource
- func ChangeCommentIn(vs ...string) predicate.Resource
- func ChangeCommentIsNil() predicate.Resource
- func ChangeCommentLT(v string) predicate.Resource
- func ChangeCommentLTE(v string) predicate.Resource
- func ChangeCommentNEQ(v string) predicate.Resource
- func ChangeCommentNotIn(vs ...string) predicate.Resource
- func ChangeCommentNotNil() predicate.Resource
- func ComputedAttributes(v property.Values) predicate.Resource
- func ComputedAttributesEQ(v property.Values) predicate.Resource
- func ComputedAttributesGT(v property.Values) predicate.Resource
- func ComputedAttributesGTE(v property.Values) predicate.Resource
- func ComputedAttributesIn(vs ...property.Values) predicate.Resource
- func ComputedAttributesIsNil() predicate.Resource
- func ComputedAttributesLT(v property.Values) predicate.Resource
- func ComputedAttributesLTE(v property.Values) predicate.Resource
- func ComputedAttributesNEQ(v property.Values) predicate.Resource
- func ComputedAttributesNotIn(vs ...property.Values) predicate.Resource
- func ComputedAttributesNotNil() predicate.Resource
- func CreateTime(v time.Time) predicate.Resource
- func CreateTimeEQ(v time.Time) predicate.Resource
- func CreateTimeGT(v time.Time) predicate.Resource
- func CreateTimeGTE(v time.Time) predicate.Resource
- func CreateTimeIn(vs ...time.Time) predicate.Resource
- func CreateTimeLT(v time.Time) predicate.Resource
- func CreateTimeLTE(v time.Time) predicate.Resource
- func CreateTimeNEQ(v time.Time) predicate.Resource
- func CreateTimeNotIn(vs ...time.Time) predicate.Resource
- func Description(v string) predicate.Resource
- func DescriptionContains(v string) predicate.Resource
- func DescriptionContainsFold(v string) predicate.Resource
- func DescriptionEQ(v string) predicate.Resource
- func DescriptionEqualFold(v string) predicate.Resource
- func DescriptionGT(v string) predicate.Resource
- func DescriptionGTE(v string) predicate.Resource
- func DescriptionHasPrefix(v string) predicate.Resource
- func DescriptionHasSuffix(v string) predicate.Resource
- func DescriptionIn(vs ...string) predicate.Resource
- func DescriptionIsNil() predicate.Resource
- func DescriptionLT(v string) predicate.Resource
- func DescriptionLTE(v string) predicate.Resource
- func DescriptionNEQ(v string) predicate.Resource
- func DescriptionNotIn(vs ...string) predicate.Resource
- func DescriptionNotNil() predicate.Resource
- func EndpointsIsNil() predicate.Resource
- func EndpointsNotNil() predicate.Resource
- func EnvironmentID(v object.ID) predicate.Resource
- func EnvironmentIDContains(v object.ID) predicate.Resource
- func EnvironmentIDContainsFold(v object.ID) predicate.Resource
- func EnvironmentIDEQ(v object.ID) predicate.Resource
- func EnvironmentIDEqualFold(v object.ID) predicate.Resource
- func EnvironmentIDGT(v object.ID) predicate.Resource
- func EnvironmentIDGTE(v object.ID) predicate.Resource
- func EnvironmentIDHasPrefix(v object.ID) predicate.Resource
- func EnvironmentIDHasSuffix(v object.ID) predicate.Resource
- func EnvironmentIDIn(vs ...object.ID) predicate.Resource
- func EnvironmentIDLT(v object.ID) predicate.Resource
- func EnvironmentIDLTE(v object.ID) predicate.Resource
- func EnvironmentIDNEQ(v object.ID) predicate.Resource
- func EnvironmentIDNotIn(vs ...object.ID) predicate.Resource
- func HasComponents() predicate.Resource
- func HasComponentsWith(preds ...predicate.ResourceComponent) predicate.Resource
- func HasDependencies() predicate.Resource
- func HasDependenciesWith(preds ...predicate.ResourceRelationship) predicate.Resource
- func HasEnvironment() predicate.Resource
- func HasEnvironmentWith(preds ...predicate.Environment) predicate.Resource
- func HasProject() predicate.Resource
- func HasProjectWith(preds ...predicate.Project) predicate.Resource
- func HasResourceDefinition() predicate.Resource
- func HasResourceDefinitionMatchingRule() predicate.Resource
- func HasResourceDefinitionMatchingRuleWith(preds ...predicate.ResourceDefinitionMatchingRule) predicate.Resource
- func HasResourceDefinitionWith(preds ...predicate.ResourceDefinition) predicate.Resource
- func HasRevisions() predicate.Resource
- func HasRevisionsWith(preds ...predicate.ResourceRevision) predicate.Resource
- func HasTemplate() predicate.Resource
- func HasTemplateWith(preds ...predicate.TemplateVersion) predicate.Resource
- func ID(id object.ID) predicate.Resource
- func IDEQ(id object.ID) predicate.Resource
- func IDGT(id object.ID) predicate.Resource
- func IDGTE(id object.ID) predicate.Resource
- func IDIn(ids ...object.ID) predicate.Resource
- func IDLT(id object.ID) predicate.Resource
- func IDLTE(id object.ID) predicate.Resource
- func IDNEQ(id object.ID) predicate.Resource
- func IDNotIn(ids ...object.ID) predicate.Resource
- func LabelsIsNil() predicate.Resource
- func LabelsNotNil() predicate.Resource
- func Name(v string) predicate.Resource
- func NameContains(v string) predicate.Resource
- func NameContainsFold(v string) predicate.Resource
- func NameEQ(v string) predicate.Resource
- func NameEqualFold(v string) predicate.Resource
- func NameGT(v string) predicate.Resource
- func NameGTE(v string) predicate.Resource
- func NameHasPrefix(v string) predicate.Resource
- func NameHasSuffix(v string) predicate.Resource
- func NameIn(vs ...string) predicate.Resource
- func NameLT(v string) predicate.Resource
- func NameLTE(v string) predicate.Resource
- func NameNEQ(v string) predicate.Resource
- func NameNotIn(vs ...string) predicate.Resource
- func Not(p predicate.Resource) predicate.Resource
- func Or(predicates ...predicate.Resource) predicate.Resource
- func ProjectID(v object.ID) predicate.Resource
- func ProjectIDContains(v object.ID) predicate.Resource
- func ProjectIDContainsFold(v object.ID) predicate.Resource
- func ProjectIDEQ(v object.ID) predicate.Resource
- func ProjectIDEqualFold(v object.ID) predicate.Resource
- func ProjectIDGT(v object.ID) predicate.Resource
- func ProjectIDGTE(v object.ID) predicate.Resource
- func ProjectIDHasPrefix(v object.ID) predicate.Resource
- func ProjectIDHasSuffix(v object.ID) predicate.Resource
- func ProjectIDIn(vs ...object.ID) predicate.Resource
- func ProjectIDLT(v object.ID) predicate.Resource
- func ProjectIDLTE(v object.ID) predicate.Resource
- func ProjectIDNEQ(v object.ID) predicate.Resource
- func ProjectIDNotIn(vs ...object.ID) predicate.Resource
- func ResourceDefinitionID(v object.ID) predicate.Resource
- func ResourceDefinitionIDContains(v object.ID) predicate.Resource
- func ResourceDefinitionIDContainsFold(v object.ID) predicate.Resource
- func ResourceDefinitionIDEQ(v object.ID) predicate.Resource
- func ResourceDefinitionIDEqualFold(v object.ID) predicate.Resource
- func ResourceDefinitionIDGT(v object.ID) predicate.Resource
- func ResourceDefinitionIDGTE(v object.ID) predicate.Resource
- func ResourceDefinitionIDHasPrefix(v object.ID) predicate.Resource
- func ResourceDefinitionIDHasSuffix(v object.ID) predicate.Resource
- func ResourceDefinitionIDIn(vs ...object.ID) predicate.Resource
- func ResourceDefinitionIDIsNil() predicate.Resource
- func ResourceDefinitionIDLT(v object.ID) predicate.Resource
- func ResourceDefinitionIDLTE(v object.ID) predicate.Resource
- func ResourceDefinitionIDNEQ(v object.ID) predicate.Resource
- func ResourceDefinitionIDNotIn(vs ...object.ID) predicate.Resource
- func ResourceDefinitionIDNotNil() predicate.Resource
- func ResourceDefinitionMatchingRuleID(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDContains(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDContainsFold(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDEQ(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDEqualFold(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDGT(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDGTE(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDHasPrefix(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDHasSuffix(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDIn(vs ...object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDIsNil() predicate.Resource
- func ResourceDefinitionMatchingRuleIDLT(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDLTE(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDNEQ(v object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDNotIn(vs ...object.ID) predicate.Resource
- func ResourceDefinitionMatchingRuleIDNotNil() predicate.Resource
- func StatusIsNil() predicate.Resource
- func StatusNotNil() predicate.Resource
- func TemplateID(v object.ID) predicate.Resource
- func TemplateIDContains(v object.ID) predicate.Resource
- func TemplateIDContainsFold(v object.ID) predicate.Resource
- func TemplateIDEQ(v object.ID) predicate.Resource
- func TemplateIDEqualFold(v object.ID) predicate.Resource
- func TemplateIDGT(v object.ID) predicate.Resource
- func TemplateIDGTE(v object.ID) predicate.Resource
- func TemplateIDHasPrefix(v object.ID) predicate.Resource
- func TemplateIDHasSuffix(v object.ID) predicate.Resource
- func TemplateIDIn(vs ...object.ID) predicate.Resource
- func TemplateIDIsNil() predicate.Resource
- func TemplateIDLT(v object.ID) predicate.Resource
- func TemplateIDLTE(v object.ID) predicate.Resource
- func TemplateIDNEQ(v object.ID) predicate.Resource
- func TemplateIDNotIn(vs ...object.ID) predicate.Resource
- func TemplateIDNotNil() predicate.Resource
- func Type(v string) predicate.Resource
- func TypeContains(v string) predicate.Resource
- func TypeContainsFold(v string) predicate.Resource
- func TypeEQ(v string) predicate.Resource
- func TypeEqualFold(v string) predicate.Resource
- func TypeGT(v string) predicate.Resource
- func TypeGTE(v string) predicate.Resource
- func TypeHasPrefix(v string) predicate.Resource
- func TypeHasSuffix(v string) predicate.Resource
- func TypeIn(vs ...string) predicate.Resource
- func TypeIsNil() predicate.Resource
- func TypeLT(v string) predicate.Resource
- func TypeLTE(v string) predicate.Resource
- func TypeNEQ(v string) predicate.Resource
- func TypeNotIn(vs ...string) predicate.Resource
- func TypeNotNil() predicate.Resource
- func UpdateTime(v time.Time) predicate.Resource
- func UpdateTimeEQ(v time.Time) predicate.Resource
- func UpdateTimeGT(v time.Time) predicate.Resource
- func UpdateTimeGTE(v time.Time) predicate.Resource
- func UpdateTimeIn(vs ...time.Time) predicate.Resource
- func UpdateTimeLT(v time.Time) predicate.Resource
- func UpdateTimeLTE(v time.Time) predicate.Resource
- func UpdateTimeNEQ(v time.Time) predicate.Resource
- func UpdateTimeNotIn(vs ...time.Time) predicate.Resource
- func ValidColumn(column string) bool
- func WithoutFields(ignores ...string) []string
- type OrderOption
- func ByAttributes(opts ...sql.OrderTermOption) OrderOption
- func ByChangeComment(opts ...sql.OrderTermOption) OrderOption
- func ByComponents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByComponentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByComputedAttributes(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByDependencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDependenciesCount(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(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 ByName(opts ...sql.OrderTermOption) OrderOption
- func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByResourceDefinitionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByResourceDefinitionID(opts ...sql.OrderTermOption) OrderOption
- func ByResourceDefinitionMatchingRuleField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByResourceDefinitionMatchingRuleID(opts ...sql.OrderTermOption) OrderOption
- func ByRevisions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRevisionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the resource type in the database. Label = "resource" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldLabels holds the string denoting the labels field in the database. FieldLabels = "labels" // FieldAnnotations holds the string denoting the annotations field in the database. FieldAnnotations = "annotations" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_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" // FieldTemplateID holds the string denoting the template_id field in the database. FieldTemplateID = "template_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldResourceDefinitionID holds the string denoting the resource_definition_id field in the database. FieldResourceDefinitionID = "resource_definition_id" // FieldResourceDefinitionMatchingRuleID holds the string denoting the resource_definition_matching_rule_id field in the database. FieldResourceDefinitionMatchingRuleID = "resource_definition_matching_rule_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" // FieldEndpoints holds the string denoting the endpoints field in the database. FieldEndpoints = "endpoints" // FieldChangeComment holds the string denoting the change_comment field in the database. FieldChangeComment = "change_comment" // 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" // EdgeTemplate holds the string denoting the template edge name in mutations. EdgeTemplate = "template" // EdgeResourceDefinition holds the string denoting the resource_definition edge name in mutations. EdgeResourceDefinition = "resource_definition" // EdgeResourceDefinitionMatchingRule holds the string denoting the resource_definition_matching_rule edge name in mutations. EdgeResourceDefinitionMatchingRule = "resource_definition_matching_rule" // EdgeRevisions holds the string denoting the revisions edge name in mutations. EdgeRevisions = "revisions" // EdgeComponents holds the string denoting the components edge name in mutations. EdgeComponents = "components" // EdgeDependencies holds the string denoting the dependencies edge name in mutations. EdgeDependencies = "dependencies" // Table holds the table name of the resource in the database. Table = "resources" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "resources" // 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 = "resources" // 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" // TemplateTable is the table that holds the template relation/edge. TemplateTable = "resources" // TemplateInverseTable is the table name for the TemplateVersion entity. // It exists in this package in order to avoid circular dependency with the "templateversion" package. TemplateInverseTable = "template_versions" // TemplateColumn is the table column denoting the template relation/edge. TemplateColumn = "template_id" // ResourceDefinitionTable is the table that holds the resource_definition relation/edge. ResourceDefinitionTable = "resources" // ResourceDefinitionInverseTable is the table name for the ResourceDefinition entity. // It exists in this package in order to avoid circular dependency with the "resourcedefinition" package. ResourceDefinitionInverseTable = "resource_definitions" // ResourceDefinitionColumn is the table column denoting the resource_definition relation/edge. ResourceDefinitionColumn = "resource_definition_id" // ResourceDefinitionMatchingRuleTable is the table that holds the resource_definition_matching_rule relation/edge. ResourceDefinitionMatchingRuleTable = "resources" // ResourceDefinitionMatchingRuleInverseTable is the table name for the ResourceDefinitionMatchingRule entity. // It exists in this package in order to avoid circular dependency with the "resourcedefinitionmatchingrule" package. ResourceDefinitionMatchingRuleInverseTable = "resource_definition_matching_rules" // ResourceDefinitionMatchingRuleColumn is the table column denoting the resource_definition_matching_rule relation/edge. ResourceDefinitionMatchingRuleColumn = "resource_definition_matching_rule_id" // RevisionsTable is the table that holds the revisions relation/edge. RevisionsTable = "resource_revisions" // RevisionsInverseTable is the table name for the ResourceRevision entity. // It exists in this package in order to avoid circular dependency with the "resourcerevision" package. RevisionsInverseTable = "resource_revisions" // RevisionsColumn is the table column denoting the revisions relation/edge. RevisionsColumn = "resource_id" // ComponentsTable is the table that holds the components relation/edge. ComponentsTable = "resource_components" // ComponentsInverseTable is the table name for the ResourceComponent entity. // It exists in this package in order to avoid circular dependency with the "resourcecomponent" package. ComponentsInverseTable = "resource_components" // ComponentsColumn is the table column denoting the components relation/edge. ComponentsColumn = "resource_id" // DependenciesTable is the table that holds the dependencies relation/edge. DependenciesTable = "resource_relationships" // DependenciesInverseTable is the table name for the ResourceRelationship entity. // It exists in this package in order to avoid circular dependency with the "resourcerelationship" package. DependenciesInverseTable = "resource_relationships" // DependenciesColumn is the table column denoting the dependencies relation/edge. DependenciesColumn = "resource_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultLabels holds the default value on creation for the "labels" field. DefaultLabels map[string]string // DefaultAnnotations holds the default value on creation for the "annotations" field. DefaultAnnotations map[string]string // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime 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 )
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, FieldName, FieldDescription, FieldLabels, FieldAnnotations, FieldCreateTime, FieldUpdateTime, FieldStatus, FieldProjectID, FieldEnvironmentID, FieldTemplateID, FieldType, FieldResourceDefinitionID, FieldResourceDefinitionMatchingRuleID, FieldAttributes, FieldComputedAttributes, FieldEndpoints, FieldChangeComment, }
Columns holds all SQL columns for resource fields.
Functions ¶
func AnnotationsIsNil ¶
AnnotationsIsNil applies the IsNil predicate on the "annotations" field.
func AnnotationsNotNil ¶
AnnotationsNotNil applies the NotNil predicate on the "annotations" field.
func Attributes ¶
Attributes applies equality check predicate on the "attributes" field. It's identical to AttributesEQ.
func AttributesEQ ¶
AttributesEQ applies the EQ predicate on the "attributes" field.
func AttributesGT ¶
AttributesGT applies the GT predicate on the "attributes" field.
func AttributesGTE ¶
AttributesGTE applies the GTE predicate on the "attributes" field.
func AttributesIn ¶
AttributesIn applies the In predicate on the "attributes" field.
func AttributesIsNil ¶
AttributesIsNil applies the IsNil predicate on the "attributes" field.
func AttributesLT ¶
AttributesLT applies the LT predicate on the "attributes" field.
func AttributesLTE ¶
AttributesLTE applies the LTE predicate on the "attributes" field.
func AttributesNEQ ¶
AttributesNEQ applies the NEQ predicate on the "attributes" field.
func AttributesNotIn ¶
AttributesNotIn applies the NotIn predicate on the "attributes" field.
func AttributesNotNil ¶
AttributesNotNil applies the NotNil predicate on the "attributes" field.
func ChangeComment ¶ added in v0.5.0
ChangeComment applies equality check predicate on the "change_comment" field. It's identical to ChangeCommentEQ.
func ChangeCommentContains ¶ added in v0.5.0
ChangeCommentContains applies the Contains predicate on the "change_comment" field.
func ChangeCommentContainsFold ¶ added in v0.5.0
ChangeCommentContainsFold applies the ContainsFold predicate on the "change_comment" field.
func ChangeCommentEQ ¶ added in v0.5.0
ChangeCommentEQ applies the EQ predicate on the "change_comment" field.
func ChangeCommentEqualFold ¶ added in v0.5.0
ChangeCommentEqualFold applies the EqualFold predicate on the "change_comment" field.
func ChangeCommentGT ¶ added in v0.5.0
ChangeCommentGT applies the GT predicate on the "change_comment" field.
func ChangeCommentGTE ¶ added in v0.5.0
ChangeCommentGTE applies the GTE predicate on the "change_comment" field.
func ChangeCommentHasPrefix ¶ added in v0.5.0
ChangeCommentHasPrefix applies the HasPrefix predicate on the "change_comment" field.
func ChangeCommentHasSuffix ¶ added in v0.5.0
ChangeCommentHasSuffix applies the HasSuffix predicate on the "change_comment" field.
func ChangeCommentIn ¶ added in v0.5.0
ChangeCommentIn applies the In predicate on the "change_comment" field.
func ChangeCommentIsNil ¶ added in v0.5.0
ChangeCommentIsNil applies the IsNil predicate on the "change_comment" field.
func ChangeCommentLT ¶ added in v0.5.0
ChangeCommentLT applies the LT predicate on the "change_comment" field.
func ChangeCommentLTE ¶ added in v0.5.0
ChangeCommentLTE applies the LTE predicate on the "change_comment" field.
func ChangeCommentNEQ ¶ added in v0.5.0
ChangeCommentNEQ applies the NEQ predicate on the "change_comment" field.
func ChangeCommentNotIn ¶ added in v0.5.0
ChangeCommentNotIn applies the NotIn predicate on the "change_comment" field.
func ChangeCommentNotNil ¶ added in v0.5.0
ChangeCommentNotNil applies the NotNil predicate on the "change_comment" field.
func ComputedAttributes ¶ added in v0.5.0
ComputedAttributes applies equality check predicate on the "computed_attributes" field. It's identical to ComputedAttributesEQ.
func ComputedAttributesEQ ¶ added in v0.5.0
ComputedAttributesEQ applies the EQ predicate on the "computed_attributes" field.
func ComputedAttributesGT ¶ added in v0.5.0
ComputedAttributesGT applies the GT predicate on the "computed_attributes" field.
func ComputedAttributesGTE ¶ added in v0.5.0
ComputedAttributesGTE applies the GTE predicate on the "computed_attributes" field.
func ComputedAttributesIn ¶ added in v0.5.0
ComputedAttributesIn applies the In predicate on the "computed_attributes" field.
func ComputedAttributesIsNil ¶ added in v0.5.0
ComputedAttributesIsNil applies the IsNil predicate on the "computed_attributes" field.
func ComputedAttributesLT ¶ added in v0.5.0
ComputedAttributesLT applies the LT predicate on the "computed_attributes" field.
func ComputedAttributesLTE ¶ added in v0.5.0
ComputedAttributesLTE applies the LTE predicate on the "computed_attributes" field.
func ComputedAttributesNEQ ¶ added in v0.5.0
ComputedAttributesNEQ applies the NEQ predicate on the "computed_attributes" field.
func ComputedAttributesNotIn ¶ added in v0.5.0
ComputedAttributesNotIn applies the NotIn predicate on the "computed_attributes" field.
func ComputedAttributesNotNil ¶ added in v0.5.0
ComputedAttributesNotNil applies the NotNil predicate on the "computed_attributes" field.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func EndpointsIsNil ¶ added in v0.5.0
EndpointsIsNil applies the IsNil predicate on the "endpoints" field.
func EndpointsNotNil ¶ added in v0.5.0
EndpointsNotNil applies the NotNil predicate on the "endpoints" field.
func EnvironmentID ¶
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDLT ¶
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func HasComponents ¶
HasComponents applies the HasEdge predicate on the "components" edge.
func HasComponentsWith ¶
func HasComponentsWith(preds ...predicate.ResourceComponent) predicate.Resource
HasComponentsWith applies the HasEdge predicate on the "components" edge with a given conditions (other predicates).
func HasDependencies ¶
HasDependencies applies the HasEdge predicate on the "dependencies" edge.
func HasDependenciesWith ¶
func HasDependenciesWith(preds ...predicate.ResourceRelationship) predicate.Resource
HasDependenciesWith applies the HasEdge predicate on the "dependencies" edge with a given conditions (other predicates).
func HasEnvironment ¶
HasEnvironment applies the HasEdge predicate on the "environment" edge.
func HasEnvironmentWith ¶
func HasEnvironmentWith(preds ...predicate.Environment) predicate.Resource
HasEnvironmentWith applies the HasEdge predicate on the "environment" edge with a given conditions (other predicates).
func HasProject ¶
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectWith ¶
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasResourceDefinition ¶
HasResourceDefinition applies the HasEdge predicate on the "resource_definition" edge.
func HasResourceDefinitionMatchingRule ¶ added in v0.5.0
HasResourceDefinitionMatchingRule applies the HasEdge predicate on the "resource_definition_matching_rule" edge.
func HasResourceDefinitionMatchingRuleWith ¶ added in v0.5.0
func HasResourceDefinitionMatchingRuleWith(preds ...predicate.ResourceDefinitionMatchingRule) predicate.Resource
HasResourceDefinitionMatchingRuleWith applies the HasEdge predicate on the "resource_definition_matching_rule" edge with a given conditions (other predicates).
func HasResourceDefinitionWith ¶
func HasResourceDefinitionWith(preds ...predicate.ResourceDefinition) predicate.Resource
HasResourceDefinitionWith applies the HasEdge predicate on the "resource_definition" edge with a given conditions (other predicates).
func HasRevisions ¶
HasRevisions applies the HasEdge predicate on the "revisions" edge.
func HasRevisionsWith ¶
func HasRevisionsWith(preds ...predicate.ResourceRevision) predicate.Resource
HasRevisionsWith applies the HasEdge predicate on the "revisions" edge with a given conditions (other predicates).
func HasTemplate ¶
HasTemplate applies the HasEdge predicate on the "template" edge.
func HasTemplateWith ¶
func HasTemplateWith(preds ...predicate.TemplateVersion) predicate.Resource
HasTemplateWith applies the HasEdge predicate on the "template" edge with a given conditions (other predicates).
func LabelsIsNil ¶
LabelsIsNil applies the IsNil predicate on the "labels" field.
func LabelsNotNil ¶
LabelsNotNil applies the NotNil predicate on the "labels" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func ProjectID ¶
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDContains ¶
ProjectIDContains applies the Contains predicate on the "project_id" field.
func ProjectIDContainsFold ¶
ProjectIDContainsFold applies the ContainsFold predicate on the "project_id" field.
func ProjectIDEQ ¶
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDEqualFold ¶
ProjectIDEqualFold applies the EqualFold predicate on the "project_id" field.
func ProjectIDGT ¶
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDHasPrefix ¶
ProjectIDHasPrefix applies the HasPrefix predicate on the "project_id" field.
func ProjectIDHasSuffix ¶
ProjectIDHasSuffix applies the HasSuffix predicate on the "project_id" field.
func ProjectIDIn ¶
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDLT ¶
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ResourceDefinitionID ¶
ResourceDefinitionID applies equality check predicate on the "resource_definition_id" field. It's identical to ResourceDefinitionIDEQ.
func ResourceDefinitionIDContains ¶
ResourceDefinitionIDContains applies the Contains predicate on the "resource_definition_id" field.
func ResourceDefinitionIDContainsFold ¶
ResourceDefinitionIDContainsFold applies the ContainsFold predicate on the "resource_definition_id" field.
func ResourceDefinitionIDEQ ¶
ResourceDefinitionIDEQ applies the EQ predicate on the "resource_definition_id" field.
func ResourceDefinitionIDEqualFold ¶
ResourceDefinitionIDEqualFold applies the EqualFold predicate on the "resource_definition_id" field.
func ResourceDefinitionIDGT ¶
ResourceDefinitionIDGT applies the GT predicate on the "resource_definition_id" field.
func ResourceDefinitionIDGTE ¶
ResourceDefinitionIDGTE applies the GTE predicate on the "resource_definition_id" field.
func ResourceDefinitionIDHasPrefix ¶
ResourceDefinitionIDHasPrefix applies the HasPrefix predicate on the "resource_definition_id" field.
func ResourceDefinitionIDHasSuffix ¶
ResourceDefinitionIDHasSuffix applies the HasSuffix predicate on the "resource_definition_id" field.
func ResourceDefinitionIDIn ¶
ResourceDefinitionIDIn applies the In predicate on the "resource_definition_id" field.
func ResourceDefinitionIDIsNil ¶
ResourceDefinitionIDIsNil applies the IsNil predicate on the "resource_definition_id" field.
func ResourceDefinitionIDLT ¶
ResourceDefinitionIDLT applies the LT predicate on the "resource_definition_id" field.
func ResourceDefinitionIDLTE ¶
ResourceDefinitionIDLTE applies the LTE predicate on the "resource_definition_id" field.
func ResourceDefinitionIDNEQ ¶
ResourceDefinitionIDNEQ applies the NEQ predicate on the "resource_definition_id" field.
func ResourceDefinitionIDNotIn ¶
ResourceDefinitionIDNotIn applies the NotIn predicate on the "resource_definition_id" field.
func ResourceDefinitionIDNotNil ¶
ResourceDefinitionIDNotNil applies the NotNil predicate on the "resource_definition_id" field.
func ResourceDefinitionMatchingRuleID ¶ added in v0.5.0
ResourceDefinitionMatchingRuleID applies equality check predicate on the "resource_definition_matching_rule_id" field. It's identical to ResourceDefinitionMatchingRuleIDEQ.
func ResourceDefinitionMatchingRuleIDContains ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDContains applies the Contains predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDContainsFold ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDContainsFold applies the ContainsFold predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDEQ ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDEQ applies the EQ predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDEqualFold ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDEqualFold applies the EqualFold predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDGT ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDGT applies the GT predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDGTE ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDGTE applies the GTE predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDHasPrefix ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDHasPrefix applies the HasPrefix predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDHasSuffix ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDHasSuffix applies the HasSuffix predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDIn ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDIn applies the In predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDIsNil ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDIsNil applies the IsNil predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDLT ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDLT applies the LT predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDLTE ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDLTE applies the LTE predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDNEQ ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDNEQ applies the NEQ predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDNotIn ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDNotIn applies the NotIn predicate on the "resource_definition_matching_rule_id" field.
func ResourceDefinitionMatchingRuleIDNotNil ¶ added in v0.5.0
ResourceDefinitionMatchingRuleIDNotNil applies the NotNil predicate on the "resource_definition_matching_rule_id" field.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func TemplateID ¶
TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.
func TemplateIDContains ¶
TemplateIDContains applies the Contains predicate on the "template_id" field.
func TemplateIDContainsFold ¶
TemplateIDContainsFold applies the ContainsFold predicate on the "template_id" field.
func TemplateIDEQ ¶
TemplateIDEQ applies the EQ predicate on the "template_id" field.
func TemplateIDEqualFold ¶
TemplateIDEqualFold applies the EqualFold predicate on the "template_id" field.
func TemplateIDGT ¶
TemplateIDGT applies the GT predicate on the "template_id" field.
func TemplateIDGTE ¶
TemplateIDGTE applies the GTE predicate on the "template_id" field.
func TemplateIDHasPrefix ¶
TemplateIDHasPrefix applies the HasPrefix predicate on the "template_id" field.
func TemplateIDHasSuffix ¶
TemplateIDHasSuffix applies the HasSuffix predicate on the "template_id" field.
func TemplateIDIn ¶
TemplateIDIn applies the In predicate on the "template_id" field.
func TemplateIDIsNil ¶
TemplateIDIsNil applies the IsNil predicate on the "template_id" field.
func TemplateIDLT ¶
TemplateIDLT applies the LT predicate on the "template_id" field.
func TemplateIDLTE ¶
TemplateIDLTE applies the LTE predicate on the "template_id" field.
func TemplateIDNEQ ¶
TemplateIDNEQ applies the NEQ predicate on the "template_id" field.
func TemplateIDNotIn ¶
TemplateIDNotIn applies the NotIn predicate on the "template_id" field.
func TemplateIDNotNil ¶
TemplateIDNotNil applies the NotNil predicate on the "template_id" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WithoutFields ¶
WithoutFields returns the fields ignored the given list.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Resource 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 ByComponents ¶
func ByComponents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByComponents orders the results by components terms.
func ByComponentsCount ¶
func ByComponentsCount(opts ...sql.OrderTermOption) OrderOption
ByComponentsCount orders the results by components count.
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 ByDependencies ¶
func ByDependencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDependencies orders the results by dependencies terms.
func ByDependenciesCount ¶
func ByDependenciesCount(opts ...sql.OrderTermOption) OrderOption
ByDependenciesCount orders the results by dependencies count.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description 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 ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name 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 ByResourceDefinitionField ¶
func ByResourceDefinitionField(field string, opts ...sql.OrderTermOption) OrderOption
ByResourceDefinitionField orders the results by resource_definition field.
func ByResourceDefinitionID ¶
func ByResourceDefinitionID(opts ...sql.OrderTermOption) OrderOption
ByResourceDefinitionID orders the results by the resource_definition_id field.
func ByResourceDefinitionMatchingRuleField ¶ added in v0.5.0
func ByResourceDefinitionMatchingRuleField(field string, opts ...sql.OrderTermOption) OrderOption
ByResourceDefinitionMatchingRuleField orders the results by resource_definition_matching_rule field.
func ByResourceDefinitionMatchingRuleID ¶ added in v0.5.0
func ByResourceDefinitionMatchingRuleID(opts ...sql.OrderTermOption) OrderOption
ByResourceDefinitionMatchingRuleID orders the results by the resource_definition_matching_rule_id field.
func ByRevisions ¶
func ByRevisions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRevisions orders the results by revisions terms.
func ByRevisionsCount ¶
func ByRevisionsCount(opts ...sql.OrderTermOption) OrderOption
ByRevisionsCount orders the results by revisions count.
func ByTemplateField ¶
func ByTemplateField(field string, opts ...sql.OrderTermOption) OrderOption
ByTemplateField orders the results by template field.
func ByTemplateID ¶
func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
ByTemplateID orders the results by the template_id field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.