Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ResourceComponent) predicate.ResourceComponent
- func ClassID(v object.ID) predicate.ResourceComponent
- func ClassIDContains(v object.ID) predicate.ResourceComponent
- func ClassIDContainsFold(v object.ID) predicate.ResourceComponent
- func ClassIDEQ(v object.ID) predicate.ResourceComponent
- func ClassIDEqualFold(v object.ID) predicate.ResourceComponent
- func ClassIDGT(v object.ID) predicate.ResourceComponent
- func ClassIDGTE(v object.ID) predicate.ResourceComponent
- func ClassIDHasPrefix(v object.ID) predicate.ResourceComponent
- func ClassIDHasSuffix(v object.ID) predicate.ResourceComponent
- func ClassIDIn(vs ...object.ID) predicate.ResourceComponent
- func ClassIDIsNil() predicate.ResourceComponent
- func ClassIDLT(v object.ID) predicate.ResourceComponent
- func ClassIDLTE(v object.ID) predicate.ResourceComponent
- func ClassIDNEQ(v object.ID) predicate.ResourceComponent
- func ClassIDNotIn(vs ...object.ID) predicate.ResourceComponent
- func ClassIDNotNil() predicate.ResourceComponent
- func CompositionID(v object.ID) predicate.ResourceComponent
- func CompositionIDContains(v object.ID) predicate.ResourceComponent
- func CompositionIDContainsFold(v object.ID) predicate.ResourceComponent
- func CompositionIDEQ(v object.ID) predicate.ResourceComponent
- func CompositionIDEqualFold(v object.ID) predicate.ResourceComponent
- func CompositionIDGT(v object.ID) predicate.ResourceComponent
- func CompositionIDGTE(v object.ID) predicate.ResourceComponent
- func CompositionIDHasPrefix(v object.ID) predicate.ResourceComponent
- func CompositionIDHasSuffix(v object.ID) predicate.ResourceComponent
- func CompositionIDIn(vs ...object.ID) predicate.ResourceComponent
- func CompositionIDIsNil() predicate.ResourceComponent
- func CompositionIDLT(v object.ID) predicate.ResourceComponent
- func CompositionIDLTE(v object.ID) predicate.ResourceComponent
- func CompositionIDNEQ(v object.ID) predicate.ResourceComponent
- func CompositionIDNotIn(vs ...object.ID) predicate.ResourceComponent
- func CompositionIDNotNil() predicate.ResourceComponent
- func ConnectorID(v object.ID) predicate.ResourceComponent
- func ConnectorIDContains(v object.ID) predicate.ResourceComponent
- func ConnectorIDContainsFold(v object.ID) predicate.ResourceComponent
- func ConnectorIDEQ(v object.ID) predicate.ResourceComponent
- func ConnectorIDEqualFold(v object.ID) predicate.ResourceComponent
- func ConnectorIDGT(v object.ID) predicate.ResourceComponent
- func ConnectorIDGTE(v object.ID) predicate.ResourceComponent
- func ConnectorIDHasPrefix(v object.ID) predicate.ResourceComponent
- func ConnectorIDHasSuffix(v object.ID) predicate.ResourceComponent
- func ConnectorIDIn(vs ...object.ID) predicate.ResourceComponent
- func ConnectorIDLT(v object.ID) predicate.ResourceComponent
- func ConnectorIDLTE(v object.ID) predicate.ResourceComponent
- func ConnectorIDNEQ(v object.ID) predicate.ResourceComponent
- func ConnectorIDNotIn(vs ...object.ID) predicate.ResourceComponent
- func CreateTime(v time.Time) predicate.ResourceComponent
- func CreateTimeEQ(v time.Time) predicate.ResourceComponent
- func CreateTimeGT(v time.Time) predicate.ResourceComponent
- func CreateTimeGTE(v time.Time) predicate.ResourceComponent
- func CreateTimeIn(vs ...time.Time) predicate.ResourceComponent
- func CreateTimeLT(v time.Time) predicate.ResourceComponent
- func CreateTimeLTE(v time.Time) predicate.ResourceComponent
- func CreateTimeNEQ(v time.Time) predicate.ResourceComponent
- func CreateTimeNotIn(vs ...time.Time) predicate.ResourceComponent
- func DeployerType(v string) predicate.ResourceComponent
- func DeployerTypeContains(v string) predicate.ResourceComponent
- func DeployerTypeContainsFold(v string) predicate.ResourceComponent
- func DeployerTypeEQ(v string) predicate.ResourceComponent
- func DeployerTypeEqualFold(v string) predicate.ResourceComponent
- func DeployerTypeGT(v string) predicate.ResourceComponent
- func DeployerTypeGTE(v string) predicate.ResourceComponent
- func DeployerTypeHasPrefix(v string) predicate.ResourceComponent
- func DeployerTypeHasSuffix(v string) predicate.ResourceComponent
- func DeployerTypeIn(vs ...string) predicate.ResourceComponent
- func DeployerTypeLT(v string) predicate.ResourceComponent
- func DeployerTypeLTE(v string) predicate.ResourceComponent
- func DeployerTypeNEQ(v string) predicate.ResourceComponent
- func DeployerTypeNotIn(vs ...string) predicate.ResourceComponent
- func EnvironmentID(v object.ID) predicate.ResourceComponent
- func EnvironmentIDContains(v object.ID) predicate.ResourceComponent
- func EnvironmentIDContainsFold(v object.ID) predicate.ResourceComponent
- func EnvironmentIDEQ(v object.ID) predicate.ResourceComponent
- func EnvironmentIDEqualFold(v object.ID) predicate.ResourceComponent
- func EnvironmentIDGT(v object.ID) predicate.ResourceComponent
- func EnvironmentIDGTE(v object.ID) predicate.ResourceComponent
- func EnvironmentIDHasPrefix(v object.ID) predicate.ResourceComponent
- func EnvironmentIDHasSuffix(v object.ID) predicate.ResourceComponent
- func EnvironmentIDIn(vs ...object.ID) predicate.ResourceComponent
- func EnvironmentIDLT(v object.ID) predicate.ResourceComponent
- func EnvironmentIDLTE(v object.ID) predicate.ResourceComponent
- func EnvironmentIDNEQ(v object.ID) predicate.ResourceComponent
- func EnvironmentIDNotIn(vs ...object.ID) predicate.ResourceComponent
- func HasClass() predicate.ResourceComponent
- func HasClassWith(preds ...predicate.ResourceComponent) predicate.ResourceComponent
- func HasComponents() predicate.ResourceComponent
- func HasComponentsWith(preds ...predicate.ResourceComponent) predicate.ResourceComponent
- func HasComposition() predicate.ResourceComponent
- func HasCompositionWith(preds ...predicate.ResourceComponent) predicate.ResourceComponent
- func HasConnector() predicate.ResourceComponent
- func HasConnectorWith(preds ...predicate.Connector) predicate.ResourceComponent
- func HasDependencies() predicate.ResourceComponent
- func HasDependenciesWith(preds ...predicate.ResourceComponentRelationship) predicate.ResourceComponent
- func HasEnvironment() predicate.ResourceComponent
- func HasEnvironmentWith(preds ...predicate.Environment) predicate.ResourceComponent
- func HasInstances() predicate.ResourceComponent
- func HasInstancesWith(preds ...predicate.ResourceComponent) predicate.ResourceComponent
- func HasProject() predicate.ResourceComponent
- func HasProjectWith(preds ...predicate.Project) predicate.ResourceComponent
- func HasResource() predicate.ResourceComponent
- func HasResourceWith(preds ...predicate.Resource) predicate.ResourceComponent
- func ID(id object.ID) predicate.ResourceComponent
- func IDEQ(id object.ID) predicate.ResourceComponent
- func IDGT(id object.ID) predicate.ResourceComponent
- func IDGTE(id object.ID) predicate.ResourceComponent
- func IDIn(ids ...object.ID) predicate.ResourceComponent
- func IDLT(id object.ID) predicate.ResourceComponent
- func IDLTE(id object.ID) predicate.ResourceComponent
- func IDNEQ(id object.ID) predicate.ResourceComponent
- func IDNotIn(ids ...object.ID) predicate.ResourceComponent
- func Mode(v string) predicate.ResourceComponent
- func ModeContains(v string) predicate.ResourceComponent
- func ModeContainsFold(v string) predicate.ResourceComponent
- func ModeEQ(v string) predicate.ResourceComponent
- func ModeEqualFold(v string) predicate.ResourceComponent
- func ModeGT(v string) predicate.ResourceComponent
- func ModeGTE(v string) predicate.ResourceComponent
- func ModeHasPrefix(v string) predicate.ResourceComponent
- func ModeHasSuffix(v string) predicate.ResourceComponent
- func ModeIn(vs ...string) predicate.ResourceComponent
- func ModeLT(v string) predicate.ResourceComponent
- func ModeLTE(v string) predicate.ResourceComponent
- func ModeNEQ(v string) predicate.ResourceComponent
- func ModeNotIn(vs ...string) predicate.ResourceComponent
- func Name(v string) predicate.ResourceComponent
- func NameContains(v string) predicate.ResourceComponent
- func NameContainsFold(v string) predicate.ResourceComponent
- func NameEQ(v string) predicate.ResourceComponent
- func NameEqualFold(v string) predicate.ResourceComponent
- func NameGT(v string) predicate.ResourceComponent
- func NameGTE(v string) predicate.ResourceComponent
- func NameHasPrefix(v string) predicate.ResourceComponent
- func NameHasSuffix(v string) predicate.ResourceComponent
- func NameIn(vs ...string) predicate.ResourceComponent
- func NameLT(v string) predicate.ResourceComponent
- func NameLTE(v string) predicate.ResourceComponent
- func NameNEQ(v string) predicate.ResourceComponent
- func NameNotIn(vs ...string) predicate.ResourceComponent
- func Not(p predicate.ResourceComponent) predicate.ResourceComponent
- func Or(predicates ...predicate.ResourceComponent) predicate.ResourceComponent
- func ProjectID(v object.ID) predicate.ResourceComponent
- func ProjectIDContains(v object.ID) predicate.ResourceComponent
- func ProjectIDContainsFold(v object.ID) predicate.ResourceComponent
- func ProjectIDEQ(v object.ID) predicate.ResourceComponent
- func ProjectIDEqualFold(v object.ID) predicate.ResourceComponent
- func ProjectIDGT(v object.ID) predicate.ResourceComponent
- func ProjectIDGTE(v object.ID) predicate.ResourceComponent
- func ProjectIDHasPrefix(v object.ID) predicate.ResourceComponent
- func ProjectIDHasSuffix(v object.ID) predicate.ResourceComponent
- func ProjectIDIn(vs ...object.ID) predicate.ResourceComponent
- func ProjectIDLT(v object.ID) predicate.ResourceComponent
- func ProjectIDLTE(v object.ID) predicate.ResourceComponent
- func ProjectIDNEQ(v object.ID) predicate.ResourceComponent
- func ProjectIDNotIn(vs ...object.ID) predicate.ResourceComponent
- func ResourceID(v object.ID) predicate.ResourceComponent
- func ResourceIDContains(v object.ID) predicate.ResourceComponent
- func ResourceIDContainsFold(v object.ID) predicate.ResourceComponent
- func ResourceIDEQ(v object.ID) predicate.ResourceComponent
- func ResourceIDEqualFold(v object.ID) predicate.ResourceComponent
- func ResourceIDGT(v object.ID) predicate.ResourceComponent
- func ResourceIDGTE(v object.ID) predicate.ResourceComponent
- func ResourceIDHasPrefix(v object.ID) predicate.ResourceComponent
- func ResourceIDHasSuffix(v object.ID) predicate.ResourceComponent
- func ResourceIDIn(vs ...object.ID) predicate.ResourceComponent
- func ResourceIDLT(v object.ID) predicate.ResourceComponent
- func ResourceIDLTE(v object.ID) predicate.ResourceComponent
- func ResourceIDNEQ(v object.ID) predicate.ResourceComponent
- func ResourceIDNotIn(vs ...object.ID) predicate.ResourceComponent
- func Shape(v string) predicate.ResourceComponent
- func ShapeContains(v string) predicate.ResourceComponent
- func ShapeContainsFold(v string) predicate.ResourceComponent
- func ShapeEQ(v string) predicate.ResourceComponent
- func ShapeEqualFold(v string) predicate.ResourceComponent
- func ShapeGT(v string) predicate.ResourceComponent
- func ShapeGTE(v string) predicate.ResourceComponent
- func ShapeHasPrefix(v string) predicate.ResourceComponent
- func ShapeHasSuffix(v string) predicate.ResourceComponent
- func ShapeIn(vs ...string) predicate.ResourceComponent
- func ShapeLT(v string) predicate.ResourceComponent
- func ShapeLTE(v string) predicate.ResourceComponent
- func ShapeNEQ(v string) predicate.ResourceComponent
- func ShapeNotIn(vs ...string) predicate.ResourceComponent
- func StatusIsNil() predicate.ResourceComponent
- func StatusNotNil() predicate.ResourceComponent
- func Type(v string) predicate.ResourceComponent
- func TypeContains(v string) predicate.ResourceComponent
- func TypeContainsFold(v string) predicate.ResourceComponent
- func TypeEQ(v string) predicate.ResourceComponent
- func TypeEqualFold(v string) predicate.ResourceComponent
- func TypeGT(v string) predicate.ResourceComponent
- func TypeGTE(v string) predicate.ResourceComponent
- func TypeHasPrefix(v string) predicate.ResourceComponent
- func TypeHasSuffix(v string) predicate.ResourceComponent
- func TypeIn(vs ...string) predicate.ResourceComponent
- func TypeLT(v string) predicate.ResourceComponent
- func TypeLTE(v string) predicate.ResourceComponent
- func TypeNEQ(v string) predicate.ResourceComponent
- func TypeNotIn(vs ...string) predicate.ResourceComponent
- func UpdateTime(v time.Time) predicate.ResourceComponent
- func UpdateTimeEQ(v time.Time) predicate.ResourceComponent
- func UpdateTimeGT(v time.Time) predicate.ResourceComponent
- func UpdateTimeGTE(v time.Time) predicate.ResourceComponent
- func UpdateTimeIn(vs ...time.Time) predicate.ResourceComponent
- func UpdateTimeLT(v time.Time) predicate.ResourceComponent
- func UpdateTimeLTE(v time.Time) predicate.ResourceComponent
- func UpdateTimeNEQ(v time.Time) predicate.ResourceComponent
- func UpdateTimeNotIn(vs ...time.Time) predicate.ResourceComponent
- func ValidColumn(column string) bool
- func WithoutFields(ignores ...string) []string
- type OrderOption
- func ByClassField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByClassID(opts ...sql.OrderTermOption) OrderOption
- func ByComponents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByComponentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCompositionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCompositionID(opts ...sql.OrderTermOption) OrderOption
- func ByConnectorField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByConnectorID(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 ByDeployerType(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 ByInstances(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInstancesCount(opts ...sql.OrderTermOption) OrderOption
- func ByMode(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 ByResourceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByShape(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 resourcecomponent type in the database. Label = "resource_component" // 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" // 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" // FieldResourceID holds the string denoting the resource_id field in the database. FieldResourceID = "resource_id" // FieldConnectorID holds the string denoting the connector_id field in the database. FieldConnectorID = "connector_id" // FieldCompositionID holds the string denoting the composition_id field in the database. FieldCompositionID = "composition_id" // FieldClassID holds the string denoting the class_id field in the database. FieldClassID = "class_id" // FieldMode holds the string denoting the mode field in the database. FieldMode = "mode" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDeployerType holds the string denoting the deployer_type field in the database. FieldDeployerType = "deployer_type" // FieldShape holds the string denoting the shape field in the database. FieldShape = "shape" // 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" // EdgeConnector holds the string denoting the connector edge name in mutations. EdgeConnector = "connector" // EdgeComposition holds the string denoting the composition edge name in mutations. EdgeComposition = "composition" // EdgeComponents holds the string denoting the components edge name in mutations. EdgeComponents = "components" // EdgeClass holds the string denoting the class edge name in mutations. EdgeClass = "class" // EdgeInstances holds the string denoting the instances edge name in mutations. EdgeInstances = "instances" // EdgeDependencies holds the string denoting the dependencies edge name in mutations. EdgeDependencies = "dependencies" // Table holds the table name of the resourcecomponent in the database. Table = "resource_components" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "resource_components" // 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_components" // 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_components" // 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" // ConnectorTable is the table that holds the connector relation/edge. ConnectorTable = "resource_components" // ConnectorInverseTable is the table name for the Connector entity. // It exists in this package in order to avoid circular dependency with the "connector" package. ConnectorInverseTable = "connectors" // ConnectorColumn is the table column denoting the connector relation/edge. ConnectorColumn = "connector_id" // CompositionTable is the table that holds the composition relation/edge. CompositionTable = "resource_components" // CompositionColumn is the table column denoting the composition relation/edge. CompositionColumn = "composition_id" // ComponentsTable is the table that holds the components relation/edge. ComponentsTable = "resource_components" // ComponentsColumn is the table column denoting the components relation/edge. ComponentsColumn = "composition_id" // ClassTable is the table that holds the class relation/edge. ClassTable = "resource_components" // ClassColumn is the table column denoting the class relation/edge. ClassColumn = "class_id" // InstancesTable is the table that holds the instances relation/edge. InstancesTable = "resource_components" // InstancesColumn is the table column denoting the instances relation/edge. InstancesColumn = "class_id" // DependenciesTable is the table that holds the dependencies relation/edge. DependenciesTable = "resource_component_relationships" // DependenciesInverseTable is the table name for the ResourceComponentRelationship entity. // It exists in this package in order to avoid circular dependency with the "resourcecomponentrelationship" package. DependenciesInverseTable = "resource_component_relationships" // DependenciesColumn is the table column denoting the dependencies relation/edge. DependenciesColumn = "resource_component_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // 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 // ResourceIDValidator is a validator for the "resource_id" field. It is called by the builders before save. ResourceIDValidator func(string) error // ConnectorIDValidator is a validator for the "connector_id" field. It is called by the builders before save. ConnectorIDValidator func(string) error // ModeValidator is a validator for the "mode" field. It is called by the builders before save. ModeValidator func(string) error // TypeValidator is a validator for the "type" field. It is called by the builders before save. TypeValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DeployerTypeValidator is a validator for the "deployer_type" field. It is called by the builders before save. DeployerTypeValidator func(string) error // ShapeValidator is a validator for the "shape" field. It is called by the builders before save. ShapeValidator 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, FieldCreateTime, FieldUpdateTime, FieldStatus, FieldProjectID, FieldEnvironmentID, FieldResourceID, FieldConnectorID, FieldCompositionID, FieldClassID, FieldMode, FieldType, FieldName, FieldDeployerType, FieldShape, }
Columns holds all SQL columns for resourcecomponent fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ResourceComponent) predicate.ResourceComponent
And groups predicates with the AND operator between them.
func ClassID ¶
func ClassID(v object.ID) predicate.ResourceComponent
ClassID applies equality check predicate on the "class_id" field. It's identical to ClassIDEQ.
func ClassIDContains ¶
func ClassIDContains(v object.ID) predicate.ResourceComponent
ClassIDContains applies the Contains predicate on the "class_id" field.
func ClassIDContainsFold ¶
func ClassIDContainsFold(v object.ID) predicate.ResourceComponent
ClassIDContainsFold applies the ContainsFold predicate on the "class_id" field.
func ClassIDEQ ¶
func ClassIDEQ(v object.ID) predicate.ResourceComponent
ClassIDEQ applies the EQ predicate on the "class_id" field.
func ClassIDEqualFold ¶
func ClassIDEqualFold(v object.ID) predicate.ResourceComponent
ClassIDEqualFold applies the EqualFold predicate on the "class_id" field.
func ClassIDGT ¶
func ClassIDGT(v object.ID) predicate.ResourceComponent
ClassIDGT applies the GT predicate on the "class_id" field.
func ClassIDGTE ¶
func ClassIDGTE(v object.ID) predicate.ResourceComponent
ClassIDGTE applies the GTE predicate on the "class_id" field.
func ClassIDHasPrefix ¶
func ClassIDHasPrefix(v object.ID) predicate.ResourceComponent
ClassIDHasPrefix applies the HasPrefix predicate on the "class_id" field.
func ClassIDHasSuffix ¶
func ClassIDHasSuffix(v object.ID) predicate.ResourceComponent
ClassIDHasSuffix applies the HasSuffix predicate on the "class_id" field.
func ClassIDIn ¶
func ClassIDIn(vs ...object.ID) predicate.ResourceComponent
ClassIDIn applies the In predicate on the "class_id" field.
func ClassIDIsNil ¶
func ClassIDIsNil() predicate.ResourceComponent
ClassIDIsNil applies the IsNil predicate on the "class_id" field.
func ClassIDLT ¶
func ClassIDLT(v object.ID) predicate.ResourceComponent
ClassIDLT applies the LT predicate on the "class_id" field.
func ClassIDLTE ¶
func ClassIDLTE(v object.ID) predicate.ResourceComponent
ClassIDLTE applies the LTE predicate on the "class_id" field.
func ClassIDNEQ ¶
func ClassIDNEQ(v object.ID) predicate.ResourceComponent
ClassIDNEQ applies the NEQ predicate on the "class_id" field.
func ClassIDNotIn ¶
func ClassIDNotIn(vs ...object.ID) predicate.ResourceComponent
ClassIDNotIn applies the NotIn predicate on the "class_id" field.
func ClassIDNotNil ¶
func ClassIDNotNil() predicate.ResourceComponent
ClassIDNotNil applies the NotNil predicate on the "class_id" field.
func CompositionID ¶
func CompositionID(v object.ID) predicate.ResourceComponent
CompositionID applies equality check predicate on the "composition_id" field. It's identical to CompositionIDEQ.
func CompositionIDContains ¶
func CompositionIDContains(v object.ID) predicate.ResourceComponent
CompositionIDContains applies the Contains predicate on the "composition_id" field.
func CompositionIDContainsFold ¶
func CompositionIDContainsFold(v object.ID) predicate.ResourceComponent
CompositionIDContainsFold applies the ContainsFold predicate on the "composition_id" field.
func CompositionIDEQ ¶
func CompositionIDEQ(v object.ID) predicate.ResourceComponent
CompositionIDEQ applies the EQ predicate on the "composition_id" field.
func CompositionIDEqualFold ¶
func CompositionIDEqualFold(v object.ID) predicate.ResourceComponent
CompositionIDEqualFold applies the EqualFold predicate on the "composition_id" field.
func CompositionIDGT ¶
func CompositionIDGT(v object.ID) predicate.ResourceComponent
CompositionIDGT applies the GT predicate on the "composition_id" field.
func CompositionIDGTE ¶
func CompositionIDGTE(v object.ID) predicate.ResourceComponent
CompositionIDGTE applies the GTE predicate on the "composition_id" field.
func CompositionIDHasPrefix ¶
func CompositionIDHasPrefix(v object.ID) predicate.ResourceComponent
CompositionIDHasPrefix applies the HasPrefix predicate on the "composition_id" field.
func CompositionIDHasSuffix ¶
func CompositionIDHasSuffix(v object.ID) predicate.ResourceComponent
CompositionIDHasSuffix applies the HasSuffix predicate on the "composition_id" field.
func CompositionIDIn ¶
func CompositionIDIn(vs ...object.ID) predicate.ResourceComponent
CompositionIDIn applies the In predicate on the "composition_id" field.
func CompositionIDIsNil ¶
func CompositionIDIsNil() predicate.ResourceComponent
CompositionIDIsNil applies the IsNil predicate on the "composition_id" field.
func CompositionIDLT ¶
func CompositionIDLT(v object.ID) predicate.ResourceComponent
CompositionIDLT applies the LT predicate on the "composition_id" field.
func CompositionIDLTE ¶
func CompositionIDLTE(v object.ID) predicate.ResourceComponent
CompositionIDLTE applies the LTE predicate on the "composition_id" field.
func CompositionIDNEQ ¶
func CompositionIDNEQ(v object.ID) predicate.ResourceComponent
CompositionIDNEQ applies the NEQ predicate on the "composition_id" field.
func CompositionIDNotIn ¶
func CompositionIDNotIn(vs ...object.ID) predicate.ResourceComponent
CompositionIDNotIn applies the NotIn predicate on the "composition_id" field.
func CompositionIDNotNil ¶
func CompositionIDNotNil() predicate.ResourceComponent
CompositionIDNotNil applies the NotNil predicate on the "composition_id" field.
func ConnectorID ¶
func ConnectorID(v object.ID) predicate.ResourceComponent
ConnectorID applies equality check predicate on the "connector_id" field. It's identical to ConnectorIDEQ.
func ConnectorIDContains ¶
func ConnectorIDContains(v object.ID) predicate.ResourceComponent
ConnectorIDContains applies the Contains predicate on the "connector_id" field.
func ConnectorIDContainsFold ¶
func ConnectorIDContainsFold(v object.ID) predicate.ResourceComponent
ConnectorIDContainsFold applies the ContainsFold predicate on the "connector_id" field.
func ConnectorIDEQ ¶
func ConnectorIDEQ(v object.ID) predicate.ResourceComponent
ConnectorIDEQ applies the EQ predicate on the "connector_id" field.
func ConnectorIDEqualFold ¶
func ConnectorIDEqualFold(v object.ID) predicate.ResourceComponent
ConnectorIDEqualFold applies the EqualFold predicate on the "connector_id" field.
func ConnectorIDGT ¶
func ConnectorIDGT(v object.ID) predicate.ResourceComponent
ConnectorIDGT applies the GT predicate on the "connector_id" field.
func ConnectorIDGTE ¶
func ConnectorIDGTE(v object.ID) predicate.ResourceComponent
ConnectorIDGTE applies the GTE predicate on the "connector_id" field.
func ConnectorIDHasPrefix ¶
func ConnectorIDHasPrefix(v object.ID) predicate.ResourceComponent
ConnectorIDHasPrefix applies the HasPrefix predicate on the "connector_id" field.
func ConnectorIDHasSuffix ¶
func ConnectorIDHasSuffix(v object.ID) predicate.ResourceComponent
ConnectorIDHasSuffix applies the HasSuffix predicate on the "connector_id" field.
func ConnectorIDIn ¶
func ConnectorIDIn(vs ...object.ID) predicate.ResourceComponent
ConnectorIDIn applies the In predicate on the "connector_id" field.
func ConnectorIDLT ¶
func ConnectorIDLT(v object.ID) predicate.ResourceComponent
ConnectorIDLT applies the LT predicate on the "connector_id" field.
func ConnectorIDLTE ¶
func ConnectorIDLTE(v object.ID) predicate.ResourceComponent
ConnectorIDLTE applies the LTE predicate on the "connector_id" field.
func ConnectorIDNEQ ¶
func ConnectorIDNEQ(v object.ID) predicate.ResourceComponent
ConnectorIDNEQ applies the NEQ predicate on the "connector_id" field.
func ConnectorIDNotIn ¶
func ConnectorIDNotIn(vs ...object.ID) predicate.ResourceComponent
ConnectorIDNotIn applies the NotIn predicate on the "connector_id" field.
func CreateTime ¶
func CreateTime(v time.Time) predicate.ResourceComponent
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.ResourceComponent
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.ResourceComponent
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.ResourceComponent
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.ResourceComponent
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.ResourceComponent
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.ResourceComponent
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.ResourceComponent
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.ResourceComponent
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DeployerType ¶
func DeployerType(v string) predicate.ResourceComponent
DeployerType applies equality check predicate on the "deployer_type" field. It's identical to DeployerTypeEQ.
func DeployerTypeContains ¶
func DeployerTypeContains(v string) predicate.ResourceComponent
DeployerTypeContains applies the Contains predicate on the "deployer_type" field.
func DeployerTypeContainsFold ¶
func DeployerTypeContainsFold(v string) predicate.ResourceComponent
DeployerTypeContainsFold applies the ContainsFold predicate on the "deployer_type" field.
func DeployerTypeEQ ¶
func DeployerTypeEQ(v string) predicate.ResourceComponent
DeployerTypeEQ applies the EQ predicate on the "deployer_type" field.
func DeployerTypeEqualFold ¶
func DeployerTypeEqualFold(v string) predicate.ResourceComponent
DeployerTypeEqualFold applies the EqualFold predicate on the "deployer_type" field.
func DeployerTypeGT ¶
func DeployerTypeGT(v string) predicate.ResourceComponent
DeployerTypeGT applies the GT predicate on the "deployer_type" field.
func DeployerTypeGTE ¶
func DeployerTypeGTE(v string) predicate.ResourceComponent
DeployerTypeGTE applies the GTE predicate on the "deployer_type" field.
func DeployerTypeHasPrefix ¶
func DeployerTypeHasPrefix(v string) predicate.ResourceComponent
DeployerTypeHasPrefix applies the HasPrefix predicate on the "deployer_type" field.
func DeployerTypeHasSuffix ¶
func DeployerTypeHasSuffix(v string) predicate.ResourceComponent
DeployerTypeHasSuffix applies the HasSuffix predicate on the "deployer_type" field.
func DeployerTypeIn ¶
func DeployerTypeIn(vs ...string) predicate.ResourceComponent
DeployerTypeIn applies the In predicate on the "deployer_type" field.
func DeployerTypeLT ¶
func DeployerTypeLT(v string) predicate.ResourceComponent
DeployerTypeLT applies the LT predicate on the "deployer_type" field.
func DeployerTypeLTE ¶
func DeployerTypeLTE(v string) predicate.ResourceComponent
DeployerTypeLTE applies the LTE predicate on the "deployer_type" field.
func DeployerTypeNEQ ¶
func DeployerTypeNEQ(v string) predicate.ResourceComponent
DeployerTypeNEQ applies the NEQ predicate on the "deployer_type" field.
func DeployerTypeNotIn ¶
func DeployerTypeNotIn(vs ...string) predicate.ResourceComponent
DeployerTypeNotIn applies the NotIn predicate on the "deployer_type" field.
func EnvironmentID ¶
func EnvironmentID(v object.ID) predicate.ResourceComponent
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
func EnvironmentIDContains(v object.ID) predicate.ResourceComponent
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
func EnvironmentIDContainsFold(v object.ID) predicate.ResourceComponent
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
func EnvironmentIDEQ(v object.ID) predicate.ResourceComponent
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
func EnvironmentIDEqualFold(v object.ID) predicate.ResourceComponent
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
func EnvironmentIDGT(v object.ID) predicate.ResourceComponent
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
func EnvironmentIDGTE(v object.ID) predicate.ResourceComponent
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
func EnvironmentIDHasPrefix(v object.ID) predicate.ResourceComponent
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
func EnvironmentIDHasSuffix(v object.ID) predicate.ResourceComponent
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
func EnvironmentIDIn(vs ...object.ID) predicate.ResourceComponent
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDLT ¶
func EnvironmentIDLT(v object.ID) predicate.ResourceComponent
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
func EnvironmentIDLTE(v object.ID) predicate.ResourceComponent
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
func EnvironmentIDNEQ(v object.ID) predicate.ResourceComponent
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
func EnvironmentIDNotIn(vs ...object.ID) predicate.ResourceComponent
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func HasClass ¶
func HasClass() predicate.ResourceComponent
HasClass applies the HasEdge predicate on the "class" edge.
func HasClassWith ¶
func HasClassWith(preds ...predicate.ResourceComponent) predicate.ResourceComponent
HasClassWith applies the HasEdge predicate on the "class" edge with a given conditions (other predicates).
func HasComponents ¶
func HasComponents() predicate.ResourceComponent
HasComponents applies the HasEdge predicate on the "components" edge.
func HasComponentsWith ¶
func HasComponentsWith(preds ...predicate.ResourceComponent) predicate.ResourceComponent
HasComponentsWith applies the HasEdge predicate on the "components" edge with a given conditions (other predicates).
func HasComposition ¶
func HasComposition() predicate.ResourceComponent
HasComposition applies the HasEdge predicate on the "composition" edge.
func HasCompositionWith ¶
func HasCompositionWith(preds ...predicate.ResourceComponent) predicate.ResourceComponent
HasCompositionWith applies the HasEdge predicate on the "composition" edge with a given conditions (other predicates).
func HasConnector ¶
func HasConnector() predicate.ResourceComponent
HasConnector applies the HasEdge predicate on the "connector" edge.
func HasConnectorWith ¶
func HasConnectorWith(preds ...predicate.Connector) predicate.ResourceComponent
HasConnectorWith applies the HasEdge predicate on the "connector" edge with a given conditions (other predicates).
func HasDependencies ¶
func HasDependencies() predicate.ResourceComponent
HasDependencies applies the HasEdge predicate on the "dependencies" edge.
func HasDependenciesWith ¶
func HasDependenciesWith(preds ...predicate.ResourceComponentRelationship) predicate.ResourceComponent
HasDependenciesWith applies the HasEdge predicate on the "dependencies" edge with a given conditions (other predicates).
func HasEnvironment ¶
func HasEnvironment() predicate.ResourceComponent
HasEnvironment applies the HasEdge predicate on the "environment" edge.
func HasEnvironmentWith ¶
func HasEnvironmentWith(preds ...predicate.Environment) predicate.ResourceComponent
HasEnvironmentWith applies the HasEdge predicate on the "environment" edge with a given conditions (other predicates).
func HasInstances ¶
func HasInstances() predicate.ResourceComponent
HasInstances applies the HasEdge predicate on the "instances" edge.
func HasInstancesWith ¶
func HasInstancesWith(preds ...predicate.ResourceComponent) predicate.ResourceComponent
HasInstancesWith applies the HasEdge predicate on the "instances" edge with a given conditions (other predicates).
func HasProject ¶
func HasProject() predicate.ResourceComponent
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectWith ¶
func HasProjectWith(preds ...predicate.Project) predicate.ResourceComponent
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasResource ¶
func HasResource() predicate.ResourceComponent
HasResource applies the HasEdge predicate on the "resource" edge.
func HasResourceWith ¶
func HasResourceWith(preds ...predicate.Resource) predicate.ResourceComponent
HasResourceWith applies the HasEdge predicate on the "resource" edge with a given conditions (other predicates).
func ID ¶
func ID(id object.ID) predicate.ResourceComponent
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id object.ID) predicate.ResourceComponent
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id object.ID) predicate.ResourceComponent
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id object.ID) predicate.ResourceComponent
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...object.ID) predicate.ResourceComponent
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id object.ID) predicate.ResourceComponent
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id object.ID) predicate.ResourceComponent
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id object.ID) predicate.ResourceComponent
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...object.ID) predicate.ResourceComponent
IDNotIn applies the NotIn predicate on the ID field.
func Mode ¶
func Mode(v string) predicate.ResourceComponent
Mode applies equality check predicate on the "mode" field. It's identical to ModeEQ.
func ModeContains ¶
func ModeContains(v string) predicate.ResourceComponent
ModeContains applies the Contains predicate on the "mode" field.
func ModeContainsFold ¶
func ModeContainsFold(v string) predicate.ResourceComponent
ModeContainsFold applies the ContainsFold predicate on the "mode" field.
func ModeEQ ¶
func ModeEQ(v string) predicate.ResourceComponent
ModeEQ applies the EQ predicate on the "mode" field.
func ModeEqualFold ¶
func ModeEqualFold(v string) predicate.ResourceComponent
ModeEqualFold applies the EqualFold predicate on the "mode" field.
func ModeGT ¶
func ModeGT(v string) predicate.ResourceComponent
ModeGT applies the GT predicate on the "mode" field.
func ModeGTE ¶
func ModeGTE(v string) predicate.ResourceComponent
ModeGTE applies the GTE predicate on the "mode" field.
func ModeHasPrefix ¶
func ModeHasPrefix(v string) predicate.ResourceComponent
ModeHasPrefix applies the HasPrefix predicate on the "mode" field.
func ModeHasSuffix ¶
func ModeHasSuffix(v string) predicate.ResourceComponent
ModeHasSuffix applies the HasSuffix predicate on the "mode" field.
func ModeIn ¶
func ModeIn(vs ...string) predicate.ResourceComponent
ModeIn applies the In predicate on the "mode" field.
func ModeLT ¶
func ModeLT(v string) predicate.ResourceComponent
ModeLT applies the LT predicate on the "mode" field.
func ModeLTE ¶
func ModeLTE(v string) predicate.ResourceComponent
ModeLTE applies the LTE predicate on the "mode" field.
func ModeNEQ ¶
func ModeNEQ(v string) predicate.ResourceComponent
ModeNEQ applies the NEQ predicate on the "mode" field.
func ModeNotIn ¶
func ModeNotIn(vs ...string) predicate.ResourceComponent
ModeNotIn applies the NotIn predicate on the "mode" field.
func Name ¶
func Name(v string) predicate.ResourceComponent
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ResourceComponent
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ResourceComponent
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ResourceComponent
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ResourceComponent
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ResourceComponent
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ResourceComponent
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ResourceComponent
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ResourceComponent
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ResourceComponent
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ResourceComponent
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ResourceComponent
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ResourceComponent
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ResourceComponent
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ResourceComponent) predicate.ResourceComponent
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ResourceComponent) predicate.ResourceComponent
Or groups predicates with the OR operator between them.
func ProjectID ¶
func ProjectID(v object.ID) predicate.ResourceComponent
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDContains ¶
func ProjectIDContains(v object.ID) predicate.ResourceComponent
ProjectIDContains applies the Contains predicate on the "project_id" field.
func ProjectIDContainsFold ¶
func ProjectIDContainsFold(v object.ID) predicate.ResourceComponent
ProjectIDContainsFold applies the ContainsFold predicate on the "project_id" field.
func ProjectIDEQ ¶
func ProjectIDEQ(v object.ID) predicate.ResourceComponent
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDEqualFold ¶
func ProjectIDEqualFold(v object.ID) predicate.ResourceComponent
ProjectIDEqualFold applies the EqualFold predicate on the "project_id" field.
func ProjectIDGT ¶
func ProjectIDGT(v object.ID) predicate.ResourceComponent
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶
func ProjectIDGTE(v object.ID) predicate.ResourceComponent
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDHasPrefix ¶
func ProjectIDHasPrefix(v object.ID) predicate.ResourceComponent
ProjectIDHasPrefix applies the HasPrefix predicate on the "project_id" field.
func ProjectIDHasSuffix ¶
func ProjectIDHasSuffix(v object.ID) predicate.ResourceComponent
ProjectIDHasSuffix applies the HasSuffix predicate on the "project_id" field.
func ProjectIDIn ¶
func ProjectIDIn(vs ...object.ID) predicate.ResourceComponent
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDLT ¶
func ProjectIDLT(v object.ID) predicate.ResourceComponent
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶
func ProjectIDLTE(v object.ID) predicate.ResourceComponent
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶
func ProjectIDNEQ(v object.ID) predicate.ResourceComponent
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
func ProjectIDNotIn(vs ...object.ID) predicate.ResourceComponent
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ResourceID ¶
func ResourceID(v object.ID) predicate.ResourceComponent
ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.
func ResourceIDContains ¶
func ResourceIDContains(v object.ID) predicate.ResourceComponent
ResourceIDContains applies the Contains predicate on the "resource_id" field.
func ResourceIDContainsFold ¶
func ResourceIDContainsFold(v object.ID) predicate.ResourceComponent
ResourceIDContainsFold applies the ContainsFold predicate on the "resource_id" field.
func ResourceIDEQ ¶
func ResourceIDEQ(v object.ID) predicate.ResourceComponent
ResourceIDEQ applies the EQ predicate on the "resource_id" field.
func ResourceIDEqualFold ¶
func ResourceIDEqualFold(v object.ID) predicate.ResourceComponent
ResourceIDEqualFold applies the EqualFold predicate on the "resource_id" field.
func ResourceIDGT ¶
func ResourceIDGT(v object.ID) predicate.ResourceComponent
ResourceIDGT applies the GT predicate on the "resource_id" field.
func ResourceIDGTE ¶
func ResourceIDGTE(v object.ID) predicate.ResourceComponent
ResourceIDGTE applies the GTE predicate on the "resource_id" field.
func ResourceIDHasPrefix ¶
func ResourceIDHasPrefix(v object.ID) predicate.ResourceComponent
ResourceIDHasPrefix applies the HasPrefix predicate on the "resource_id" field.
func ResourceIDHasSuffix ¶
func ResourceIDHasSuffix(v object.ID) predicate.ResourceComponent
ResourceIDHasSuffix applies the HasSuffix predicate on the "resource_id" field.
func ResourceIDIn ¶
func ResourceIDIn(vs ...object.ID) predicate.ResourceComponent
ResourceIDIn applies the In predicate on the "resource_id" field.
func ResourceIDLT ¶
func ResourceIDLT(v object.ID) predicate.ResourceComponent
ResourceIDLT applies the LT predicate on the "resource_id" field.
func ResourceIDLTE ¶
func ResourceIDLTE(v object.ID) predicate.ResourceComponent
ResourceIDLTE applies the LTE predicate on the "resource_id" field.
func ResourceIDNEQ ¶
func ResourceIDNEQ(v object.ID) predicate.ResourceComponent
ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.
func ResourceIDNotIn ¶
func ResourceIDNotIn(vs ...object.ID) predicate.ResourceComponent
ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
func Shape ¶
func Shape(v string) predicate.ResourceComponent
Shape applies equality check predicate on the "shape" field. It's identical to ShapeEQ.
func ShapeContains ¶
func ShapeContains(v string) predicate.ResourceComponent
ShapeContains applies the Contains predicate on the "shape" field.
func ShapeContainsFold ¶
func ShapeContainsFold(v string) predicate.ResourceComponent
ShapeContainsFold applies the ContainsFold predicate on the "shape" field.
func ShapeEQ ¶
func ShapeEQ(v string) predicate.ResourceComponent
ShapeEQ applies the EQ predicate on the "shape" field.
func ShapeEqualFold ¶
func ShapeEqualFold(v string) predicate.ResourceComponent
ShapeEqualFold applies the EqualFold predicate on the "shape" field.
func ShapeGT ¶
func ShapeGT(v string) predicate.ResourceComponent
ShapeGT applies the GT predicate on the "shape" field.
func ShapeGTE ¶
func ShapeGTE(v string) predicate.ResourceComponent
ShapeGTE applies the GTE predicate on the "shape" field.
func ShapeHasPrefix ¶
func ShapeHasPrefix(v string) predicate.ResourceComponent
ShapeHasPrefix applies the HasPrefix predicate on the "shape" field.
func ShapeHasSuffix ¶
func ShapeHasSuffix(v string) predicate.ResourceComponent
ShapeHasSuffix applies the HasSuffix predicate on the "shape" field.
func ShapeIn ¶
func ShapeIn(vs ...string) predicate.ResourceComponent
ShapeIn applies the In predicate on the "shape" field.
func ShapeLT ¶
func ShapeLT(v string) predicate.ResourceComponent
ShapeLT applies the LT predicate on the "shape" field.
func ShapeLTE ¶
func ShapeLTE(v string) predicate.ResourceComponent
ShapeLTE applies the LTE predicate on the "shape" field.
func ShapeNEQ ¶
func ShapeNEQ(v string) predicate.ResourceComponent
ShapeNEQ applies the NEQ predicate on the "shape" field.
func ShapeNotIn ¶
func ShapeNotIn(vs ...string) predicate.ResourceComponent
ShapeNotIn applies the NotIn predicate on the "shape" field.
func StatusIsNil ¶
func StatusIsNil() predicate.ResourceComponent
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.ResourceComponent
StatusNotNil applies the NotNil predicate on the "status" field.
func Type ¶
func Type(v string) predicate.ResourceComponent
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeContains ¶
func TypeContains(v string) predicate.ResourceComponent
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
func TypeContainsFold(v string) predicate.ResourceComponent
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEQ ¶
func TypeEQ(v string) predicate.ResourceComponent
TypeEQ applies the EQ predicate on the "type" field.
func TypeEqualFold ¶
func TypeEqualFold(v string) predicate.ResourceComponent
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeGT ¶
func TypeGT(v string) predicate.ResourceComponent
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v string) predicate.ResourceComponent
TypeGTE applies the GTE predicate on the "type" field.
func TypeHasPrefix ¶
func TypeHasPrefix(v string) predicate.ResourceComponent
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
func TypeHasSuffix(v string) predicate.ResourceComponent
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...string) predicate.ResourceComponent
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v string) predicate.ResourceComponent
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v string) predicate.ResourceComponent
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v string) predicate.ResourceComponent
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...string) predicate.ResourceComponent
TypeNotIn applies the NotIn predicate on the "type" field.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.ResourceComponent
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.ResourceComponent
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.ResourceComponent
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.ResourceComponent
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.ResourceComponent
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.ResourceComponent
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.ResourceComponent
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.ResourceComponent
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.ResourceComponent
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 ResourceComponent queries.
func ByClassField ¶
func ByClassField(field string, opts ...sql.OrderTermOption) OrderOption
ByClassField orders the results by class field.
func ByClassID ¶
func ByClassID(opts ...sql.OrderTermOption) OrderOption
ByClassID orders the results by the class_id 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 ByCompositionField ¶
func ByCompositionField(field string, opts ...sql.OrderTermOption) OrderOption
ByCompositionField orders the results by composition field.
func ByCompositionID ¶
func ByCompositionID(opts ...sql.OrderTermOption) OrderOption
ByCompositionID orders the results by the composition_id field.
func ByConnectorField ¶
func ByConnectorField(field string, opts ...sql.OrderTermOption) OrderOption
ByConnectorField orders the results by connector field.
func ByConnectorID ¶
func ByConnectorID(opts ...sql.OrderTermOption) OrderOption
ByConnectorID orders the results by the connector_id 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 ByDeployerType ¶
func ByDeployerType(opts ...sql.OrderTermOption) OrderOption
ByDeployerType orders the results by the deployer_type 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 ByInstances ¶
func ByInstances(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInstances orders the results by instances terms.
func ByInstancesCount ¶
func ByInstancesCount(opts ...sql.OrderTermOption) OrderOption
ByInstancesCount orders the results by instances count.
func ByMode ¶
func ByMode(opts ...sql.OrderTermOption) OrderOption
ByMode orders the results by the mode 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 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 ByShape ¶
func ByShape(opts ...sql.OrderTermOption) OrderOption
ByShape orders the results by the shape 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.