Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Connector) predicate.Connector
- func AnnotationsIsNil() predicate.Connector
- func AnnotationsNotNil() predicate.Connector
- func ApplicableEnvironmentType(v string) predicate.Connector
- func ApplicableEnvironmentTypeContains(v string) predicate.Connector
- func ApplicableEnvironmentTypeContainsFold(v string) predicate.Connector
- func ApplicableEnvironmentTypeEQ(v string) predicate.Connector
- func ApplicableEnvironmentTypeEqualFold(v string) predicate.Connector
- func ApplicableEnvironmentTypeGT(v string) predicate.Connector
- func ApplicableEnvironmentTypeGTE(v string) predicate.Connector
- func ApplicableEnvironmentTypeHasPrefix(v string) predicate.Connector
- func ApplicableEnvironmentTypeHasSuffix(v string) predicate.Connector
- func ApplicableEnvironmentTypeIn(vs ...string) predicate.Connector
- func ApplicableEnvironmentTypeLT(v string) predicate.Connector
- func ApplicableEnvironmentTypeLTE(v string) predicate.Connector
- func ApplicableEnvironmentTypeNEQ(v string) predicate.Connector
- func ApplicableEnvironmentTypeNotIn(vs ...string) predicate.Connector
- func Category(v string) predicate.Connector
- func CategoryContains(v string) predicate.Connector
- func CategoryContainsFold(v string) predicate.Connector
- func CategoryEQ(v string) predicate.Connector
- func CategoryEqualFold(v string) predicate.Connector
- func CategoryGT(v string) predicate.Connector
- func CategoryGTE(v string) predicate.Connector
- func CategoryHasPrefix(v string) predicate.Connector
- func CategoryHasSuffix(v string) predicate.Connector
- func CategoryIn(vs ...string) predicate.Connector
- func CategoryLT(v string) predicate.Connector
- func CategoryLTE(v string) predicate.Connector
- func CategoryNEQ(v string) predicate.Connector
- func CategoryNotIn(vs ...string) predicate.Connector
- func ConfigData(v crypto.Properties) predicate.Connector
- func ConfigDataEQ(v crypto.Properties) predicate.Connector
- func ConfigDataGT(v crypto.Properties) predicate.Connector
- func ConfigDataGTE(v crypto.Properties) predicate.Connector
- func ConfigDataIn(vs ...crypto.Properties) predicate.Connector
- func ConfigDataIsNil() predicate.Connector
- func ConfigDataLT(v crypto.Properties) predicate.Connector
- func ConfigDataLTE(v crypto.Properties) predicate.Connector
- func ConfigDataNEQ(v crypto.Properties) predicate.Connector
- func ConfigDataNotIn(vs ...crypto.Properties) predicate.Connector
- func ConfigDataNotNil() predicate.Connector
- func ConfigVersion(v string) predicate.Connector
- func ConfigVersionContains(v string) predicate.Connector
- func ConfigVersionContainsFold(v string) predicate.Connector
- func ConfigVersionEQ(v string) predicate.Connector
- func ConfigVersionEqualFold(v string) predicate.Connector
- func ConfigVersionGT(v string) predicate.Connector
- func ConfigVersionGTE(v string) predicate.Connector
- func ConfigVersionHasPrefix(v string) predicate.Connector
- func ConfigVersionHasSuffix(v string) predicate.Connector
- func ConfigVersionIn(vs ...string) predicate.Connector
- func ConfigVersionLT(v string) predicate.Connector
- func ConfigVersionLTE(v string) predicate.Connector
- func ConfigVersionNEQ(v string) predicate.Connector
- func ConfigVersionNotIn(vs ...string) predicate.Connector
- func CreateTime(v time.Time) predicate.Connector
- func CreateTimeEQ(v time.Time) predicate.Connector
- func CreateTimeGT(v time.Time) predicate.Connector
- func CreateTimeGTE(v time.Time) predicate.Connector
- func CreateTimeIn(vs ...time.Time) predicate.Connector
- func CreateTimeLT(v time.Time) predicate.Connector
- func CreateTimeLTE(v time.Time) predicate.Connector
- func CreateTimeNEQ(v time.Time) predicate.Connector
- func CreateTimeNotIn(vs ...time.Time) predicate.Connector
- func Description(v string) predicate.Connector
- func DescriptionContains(v string) predicate.Connector
- func DescriptionContainsFold(v string) predicate.Connector
- func DescriptionEQ(v string) predicate.Connector
- func DescriptionEqualFold(v string) predicate.Connector
- func DescriptionGT(v string) predicate.Connector
- func DescriptionGTE(v string) predicate.Connector
- func DescriptionHasPrefix(v string) predicate.Connector
- func DescriptionHasSuffix(v string) predicate.Connector
- func DescriptionIn(vs ...string) predicate.Connector
- func DescriptionIsNil() predicate.Connector
- func DescriptionLT(v string) predicate.Connector
- func DescriptionLTE(v string) predicate.Connector
- func DescriptionNEQ(v string) predicate.Connector
- func DescriptionNotIn(vs ...string) predicate.Connector
- func DescriptionNotNil() predicate.Connector
- func EnableFinOps(v bool) predicate.Connector
- func EnableFinOpsEQ(v bool) predicate.Connector
- func EnableFinOpsNEQ(v bool) predicate.Connector
- func FinOpsCustomPricingIsNil() predicate.Connector
- func FinOpsCustomPricingNotNil() predicate.Connector
- func HasCostReports() predicate.Connector
- func HasCostReportsWith(preds ...predicate.CostReport) predicate.Connector
- func HasEnvironments() predicate.Connector
- func HasEnvironmentsWith(preds ...predicate.EnvironmentConnectorRelationship) predicate.Connector
- func HasProject() predicate.Connector
- func HasProjectWith(preds ...predicate.Project) predicate.Connector
- func HasResourceComponents() predicate.Connector
- func HasResourceComponentsWith(preds ...predicate.ResourceComponent) predicate.Connector
- func ID(id object.ID) predicate.Connector
- func IDEQ(id object.ID) predicate.Connector
- func IDGT(id object.ID) predicate.Connector
- func IDGTE(id object.ID) predicate.Connector
- func IDIn(ids ...object.ID) predicate.Connector
- func IDLT(id object.ID) predicate.Connector
- func IDLTE(id object.ID) predicate.Connector
- func IDNEQ(id object.ID) predicate.Connector
- func IDNotIn(ids ...object.ID) predicate.Connector
- func LabelsIsNil() predicate.Connector
- func LabelsNotNil() predicate.Connector
- func Name(v string) predicate.Connector
- func NameContains(v string) predicate.Connector
- func NameContainsFold(v string) predicate.Connector
- func NameEQ(v string) predicate.Connector
- func NameEqualFold(v string) predicate.Connector
- func NameGT(v string) predicate.Connector
- func NameGTE(v string) predicate.Connector
- func NameHasPrefix(v string) predicate.Connector
- func NameHasSuffix(v string) predicate.Connector
- func NameIn(vs ...string) predicate.Connector
- func NameLT(v string) predicate.Connector
- func NameLTE(v string) predicate.Connector
- func NameNEQ(v string) predicate.Connector
- func NameNotIn(vs ...string) predicate.Connector
- func Not(p predicate.Connector) predicate.Connector
- func Or(predicates ...predicate.Connector) predicate.Connector
- func ProjectID(v object.ID) predicate.Connector
- func ProjectIDContains(v object.ID) predicate.Connector
- func ProjectIDContainsFold(v object.ID) predicate.Connector
- func ProjectIDEQ(v object.ID) predicate.Connector
- func ProjectIDEqualFold(v object.ID) predicate.Connector
- func ProjectIDGT(v object.ID) predicate.Connector
- func ProjectIDGTE(v object.ID) predicate.Connector
- func ProjectIDHasPrefix(v object.ID) predicate.Connector
- func ProjectIDHasSuffix(v object.ID) predicate.Connector
- func ProjectIDIn(vs ...object.ID) predicate.Connector
- func ProjectIDIsNil() predicate.Connector
- func ProjectIDLT(v object.ID) predicate.Connector
- func ProjectIDLTE(v object.ID) predicate.Connector
- func ProjectIDNEQ(v object.ID) predicate.Connector
- func ProjectIDNotIn(vs ...object.ID) predicate.Connector
- func ProjectIDNotNil() predicate.Connector
- func StatusIsNil() predicate.Connector
- func StatusNotNil() predicate.Connector
- func Type(v string) predicate.Connector
- func TypeContains(v string) predicate.Connector
- func TypeContainsFold(v string) predicate.Connector
- func TypeEQ(v string) predicate.Connector
- func TypeEqualFold(v string) predicate.Connector
- func TypeGT(v string) predicate.Connector
- func TypeGTE(v string) predicate.Connector
- func TypeHasPrefix(v string) predicate.Connector
- func TypeHasSuffix(v string) predicate.Connector
- func TypeIn(vs ...string) predicate.Connector
- func TypeLT(v string) predicate.Connector
- func TypeLTE(v string) predicate.Connector
- func TypeNEQ(v string) predicate.Connector
- func TypeNotIn(vs ...string) predicate.Connector
- func UpdateTime(v time.Time) predicate.Connector
- func UpdateTimeEQ(v time.Time) predicate.Connector
- func UpdateTimeGT(v time.Time) predicate.Connector
- func UpdateTimeGTE(v time.Time) predicate.Connector
- func UpdateTimeIn(vs ...time.Time) predicate.Connector
- func UpdateTimeLT(v time.Time) predicate.Connector
- func UpdateTimeLTE(v time.Time) predicate.Connector
- func UpdateTimeNEQ(v time.Time) predicate.Connector
- func UpdateTimeNotIn(vs ...time.Time) predicate.Connector
- func ValidColumn(column string) bool
- func WithoutFields(ignores ...string) []string
- type OrderOption
- func ByApplicableEnvironmentType(opts ...sql.OrderTermOption) OrderOption
- func ByCategory(opts ...sql.OrderTermOption) OrderOption
- func ByConfigData(opts ...sql.OrderTermOption) OrderOption
- func ByConfigVersion(opts ...sql.OrderTermOption) OrderOption
- func ByCostReports(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCostReportsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEnableFinOps(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEnvironmentsCount(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 ByResourceComponents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByResourceComponentsCount(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 connector type in the database. Label = "connector" // 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" // FieldCategory holds the string denoting the category field in the database. FieldCategory = "category" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldApplicableEnvironmentType holds the string denoting the applicable_environment_type field in the database. FieldApplicableEnvironmentType = "applicable_environment_type" // FieldConfigVersion holds the string denoting the config_version field in the database. FieldConfigVersion = "config_version" // FieldConfigData holds the string denoting the config_data field in the database. FieldConfigData = "config_data" // FieldEnableFinOps holds the string denoting the enable_fin_ops field in the database. FieldEnableFinOps = "enable_fin_ops" // FieldFinOpsCustomPricing holds the string denoting the fin_ops_custom_pricing field in the database. FieldFinOpsCustomPricing = "fin_ops_custom_pricing" // EdgeProject holds the string denoting the project edge name in mutations. EdgeProject = "project" // EdgeEnvironments holds the string denoting the environments edge name in mutations. EdgeEnvironments = "environments" // EdgeResourceComponents holds the string denoting the resource_components edge name in mutations. EdgeResourceComponents = "resource_components" // EdgeCostReports holds the string denoting the cost_reports edge name in mutations. EdgeCostReports = "cost_reports" // Table holds the table name of the connector in the database. Table = "connectors" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "connectors" // 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" // EnvironmentsTable is the table that holds the environments relation/edge. EnvironmentsTable = "environment_connector_relationships" // EnvironmentsInverseTable is the table name for the EnvironmentConnectorRelationship entity. // It exists in this package in order to avoid circular dependency with the "environmentconnectorrelationship" package. EnvironmentsInverseTable = "environment_connector_relationships" // EnvironmentsColumn is the table column denoting the environments relation/edge. EnvironmentsColumn = "connector_id" // ResourceComponentsTable is the table that holds the resource_components relation/edge. ResourceComponentsTable = "resource_components" // ResourceComponentsInverseTable is the table name for the ResourceComponent entity. // It exists in this package in order to avoid circular dependency with the "resourcecomponent" package. ResourceComponentsInverseTable = "resource_components" // ResourceComponentsColumn is the table column denoting the resource_components relation/edge. ResourceComponentsColumn = "connector_id" // CostReportsTable is the table that holds the cost_reports relation/edge. CostReportsTable = "cost_reports" // CostReportsInverseTable is the table name for the CostReport entity. // It exists in this package in order to avoid circular dependency with the "costreport" package. CostReportsInverseTable = "cost_reports" // CostReportsColumn is the table column denoting the cost_reports relation/edge. CostReportsColumn = "connector_id" )
Variables ¶
var ( Hooks [2]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 // CategoryValidator is a validator for the "category" field. It is called by the builders before save. CategoryValidator func(string) error // TypeValidator is a validator for the "type" field. It is called by the builders before save. TypeValidator func(string) error // ApplicableEnvironmentTypeValidator is a validator for the "applicable_environment_type" field. It is called by the builders before save. ApplicableEnvironmentTypeValidator func(string) error // ConfigVersionValidator is a validator for the "config_version" field. It is called by the builders before save. ConfigVersionValidator func(string) error // DefaultConfigData holds the default value on creation for the "config_data" field. DefaultConfigData crypto.Properties )
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, FieldCategory, FieldType, FieldApplicableEnvironmentType, FieldConfigVersion, FieldConfigData, FieldEnableFinOps, FieldFinOpsCustomPricing, }
Columns holds all SQL columns for connector 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 ApplicableEnvironmentType ¶ added in v0.4.0
ApplicableEnvironmentType applies equality check predicate on the "applicable_environment_type" field. It's identical to ApplicableEnvironmentTypeEQ.
func ApplicableEnvironmentTypeContains ¶ added in v0.4.0
ApplicableEnvironmentTypeContains applies the Contains predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeContainsFold ¶ added in v0.4.0
ApplicableEnvironmentTypeContainsFold applies the ContainsFold predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeEQ ¶ added in v0.4.0
ApplicableEnvironmentTypeEQ applies the EQ predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeEqualFold ¶ added in v0.4.0
ApplicableEnvironmentTypeEqualFold applies the EqualFold predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeGT ¶ added in v0.4.0
ApplicableEnvironmentTypeGT applies the GT predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeGTE ¶ added in v0.4.0
ApplicableEnvironmentTypeGTE applies the GTE predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeHasPrefix ¶ added in v0.4.0
ApplicableEnvironmentTypeHasPrefix applies the HasPrefix predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeHasSuffix ¶ added in v0.4.0
ApplicableEnvironmentTypeHasSuffix applies the HasSuffix predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeIn ¶ added in v0.4.0
ApplicableEnvironmentTypeIn applies the In predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeLT ¶ added in v0.4.0
ApplicableEnvironmentTypeLT applies the LT predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeLTE ¶ added in v0.4.0
ApplicableEnvironmentTypeLTE applies the LTE predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeNEQ ¶ added in v0.4.0
ApplicableEnvironmentTypeNEQ applies the NEQ predicate on the "applicable_environment_type" field.
func ApplicableEnvironmentTypeNotIn ¶ added in v0.4.0
ApplicableEnvironmentTypeNotIn applies the NotIn predicate on the "applicable_environment_type" field.
func Category ¶
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
CategoryIn applies the In predicate on the "category" field.
func CategoryLT ¶
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
CategoryNotIn applies the NotIn predicate on the "category" field.
func ConfigData ¶
func ConfigData(v crypto.Properties) predicate.Connector
ConfigData applies equality check predicate on the "config_data" field. It's identical to ConfigDataEQ.
func ConfigDataEQ ¶
func ConfigDataEQ(v crypto.Properties) predicate.Connector
ConfigDataEQ applies the EQ predicate on the "config_data" field.
func ConfigDataGT ¶
func ConfigDataGT(v crypto.Properties) predicate.Connector
ConfigDataGT applies the GT predicate on the "config_data" field.
func ConfigDataGTE ¶
func ConfigDataGTE(v crypto.Properties) predicate.Connector
ConfigDataGTE applies the GTE predicate on the "config_data" field.
func ConfigDataIn ¶
func ConfigDataIn(vs ...crypto.Properties) predicate.Connector
ConfigDataIn applies the In predicate on the "config_data" field.
func ConfigDataIsNil ¶
ConfigDataIsNil applies the IsNil predicate on the "config_data" field.
func ConfigDataLT ¶
func ConfigDataLT(v crypto.Properties) predicate.Connector
ConfigDataLT applies the LT predicate on the "config_data" field.
func ConfigDataLTE ¶
func ConfigDataLTE(v crypto.Properties) predicate.Connector
ConfigDataLTE applies the LTE predicate on the "config_data" field.
func ConfigDataNEQ ¶
func ConfigDataNEQ(v crypto.Properties) predicate.Connector
ConfigDataNEQ applies the NEQ predicate on the "config_data" field.
func ConfigDataNotIn ¶
func ConfigDataNotIn(vs ...crypto.Properties) predicate.Connector
ConfigDataNotIn applies the NotIn predicate on the "config_data" field.
func ConfigDataNotNil ¶
ConfigDataNotNil applies the NotNil predicate on the "config_data" field.
func ConfigVersion ¶
ConfigVersion applies equality check predicate on the "config_version" field. It's identical to ConfigVersionEQ.
func ConfigVersionContains ¶
ConfigVersionContains applies the Contains predicate on the "config_version" field.
func ConfigVersionContainsFold ¶
ConfigVersionContainsFold applies the ContainsFold predicate on the "config_version" field.
func ConfigVersionEQ ¶
ConfigVersionEQ applies the EQ predicate on the "config_version" field.
func ConfigVersionEqualFold ¶
ConfigVersionEqualFold applies the EqualFold predicate on the "config_version" field.
func ConfigVersionGT ¶
ConfigVersionGT applies the GT predicate on the "config_version" field.
func ConfigVersionGTE ¶
ConfigVersionGTE applies the GTE predicate on the "config_version" field.
func ConfigVersionHasPrefix ¶
ConfigVersionHasPrefix applies the HasPrefix predicate on the "config_version" field.
func ConfigVersionHasSuffix ¶
ConfigVersionHasSuffix applies the HasSuffix predicate on the "config_version" field.
func ConfigVersionIn ¶
ConfigVersionIn applies the In predicate on the "config_version" field.
func ConfigVersionLT ¶
ConfigVersionLT applies the LT predicate on the "config_version" field.
func ConfigVersionLTE ¶
ConfigVersionLTE applies the LTE predicate on the "config_version" field.
func ConfigVersionNEQ ¶
ConfigVersionNEQ applies the NEQ predicate on the "config_version" field.
func ConfigVersionNotIn ¶
ConfigVersionNotIn applies the NotIn predicate on the "config_version" 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 EnableFinOps ¶
EnableFinOps applies equality check predicate on the "enable_fin_ops" field. It's identical to EnableFinOpsEQ.
func EnableFinOpsEQ ¶
EnableFinOpsEQ applies the EQ predicate on the "enable_fin_ops" field.
func EnableFinOpsNEQ ¶
EnableFinOpsNEQ applies the NEQ predicate on the "enable_fin_ops" field.
func FinOpsCustomPricingIsNil ¶
FinOpsCustomPricingIsNil applies the IsNil predicate on the "fin_ops_custom_pricing" field.
func FinOpsCustomPricingNotNil ¶
FinOpsCustomPricingNotNil applies the NotNil predicate on the "fin_ops_custom_pricing" field.
func HasCostReports ¶
HasCostReports applies the HasEdge predicate on the "cost_reports" edge.
func HasCostReportsWith ¶
func HasCostReportsWith(preds ...predicate.CostReport) predicate.Connector
HasCostReportsWith applies the HasEdge predicate on the "cost_reports" edge with a given conditions (other predicates).
func HasEnvironments ¶
HasEnvironments applies the HasEdge predicate on the "environments" edge.
func HasEnvironmentsWith ¶
func HasEnvironmentsWith(preds ...predicate.EnvironmentConnectorRelationship) predicate.Connector
HasEnvironmentsWith applies the HasEdge predicate on the "environments" 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 HasResourceComponents ¶ added in v0.4.0
HasResourceComponents applies the HasEdge predicate on the "resource_components" edge.
func HasResourceComponentsWith ¶ added in v0.4.0
func HasResourceComponentsWith(preds ...predicate.ResourceComponent) predicate.Connector
HasResourceComponentsWith applies the HasEdge predicate on the "resource_components" 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 ProjectIDIsNil ¶
ProjectIDIsNil applies the IsNil 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 ProjectIDNotNil ¶
ProjectIDNotNil applies the NotNil predicate on the "project_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 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 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 Connector queries.
func ByApplicableEnvironmentType ¶ added in v0.4.0
func ByApplicableEnvironmentType(opts ...sql.OrderTermOption) OrderOption
ByApplicableEnvironmentType orders the results by the applicable_environment_type field.
func ByCategory ¶
func ByCategory(opts ...sql.OrderTermOption) OrderOption
ByCategory orders the results by the category field.
func ByConfigData ¶
func ByConfigData(opts ...sql.OrderTermOption) OrderOption
ByConfigData orders the results by the config_data field.
func ByConfigVersion ¶
func ByConfigVersion(opts ...sql.OrderTermOption) OrderOption
ByConfigVersion orders the results by the config_version field.
func ByCostReports ¶
func ByCostReports(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCostReports orders the results by cost_reports terms.
func ByCostReportsCount ¶
func ByCostReportsCount(opts ...sql.OrderTermOption) OrderOption
ByCostReportsCount orders the results by cost_reports count.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEnableFinOps ¶
func ByEnableFinOps(opts ...sql.OrderTermOption) OrderOption
ByEnableFinOps orders the results by the enable_fin_ops field.
func ByEnvironments ¶
func ByEnvironments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEnvironments orders the results by environments terms.
func ByEnvironmentsCount ¶
func ByEnvironmentsCount(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentsCount orders the results by environments count.
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 ByResourceComponents ¶ added in v0.4.0
func ByResourceComponents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByResourceComponents orders the results by resource_components terms.
func ByResourceComponentsCount ¶ added in v0.4.0
func ByResourceComponentsCount(opts ...sql.OrderTermOption) OrderOption
ByResourceComponentsCount orders the results by resource_components count.
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.