Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Project) predicate.Project
- func AnnotationsIsNil() predicate.Project
- func AnnotationsNotNil() predicate.Project
- func CreateTime(v time.Time) predicate.Project
- func CreateTimeEQ(v time.Time) predicate.Project
- func CreateTimeGT(v time.Time) predicate.Project
- func CreateTimeGTE(v time.Time) predicate.Project
- func CreateTimeIn(vs ...time.Time) predicate.Project
- func CreateTimeLT(v time.Time) predicate.Project
- func CreateTimeLTE(v time.Time) predicate.Project
- func CreateTimeNEQ(v time.Time) predicate.Project
- func CreateTimeNotIn(vs ...time.Time) predicate.Project
- func Description(v string) predicate.Project
- func DescriptionContains(v string) predicate.Project
- func DescriptionContainsFold(v string) predicate.Project
- func DescriptionEQ(v string) predicate.Project
- func DescriptionEqualFold(v string) predicate.Project
- func DescriptionGT(v string) predicate.Project
- func DescriptionGTE(v string) predicate.Project
- func DescriptionHasPrefix(v string) predicate.Project
- func DescriptionHasSuffix(v string) predicate.Project
- func DescriptionIn(vs ...string) predicate.Project
- func DescriptionIsNil() predicate.Project
- func DescriptionLT(v string) predicate.Project
- func DescriptionLTE(v string) predicate.Project
- func DescriptionNEQ(v string) predicate.Project
- func DescriptionNotIn(vs ...string) predicate.Project
- func DescriptionNotNil() predicate.Project
- func HasCatalogs() predicate.Project
- func HasCatalogsWith(preds ...predicate.Catalog) predicate.Project
- func HasConnectors() predicate.Project
- func HasConnectorsWith(preds ...predicate.Connector) predicate.Project
- func HasEnvironments() predicate.Project
- func HasEnvironmentsWith(preds ...predicate.Environment) predicate.Project
- func HasResourceComponents() predicate.Project
- func HasResourceComponentsWith(preds ...predicate.ResourceComponent) predicate.Project
- func HasResourceRevisions() predicate.Project
- func HasResourceRevisionsWith(preds ...predicate.ResourceRevision) predicate.Project
- func HasResources() predicate.Project
- func HasResourcesWith(preds ...predicate.Resource) predicate.Project
- func HasSubjectRoles() predicate.Project
- func HasSubjectRolesWith(preds ...predicate.SubjectRoleRelationship) predicate.Project
- func HasTemplateVersions() predicate.Project
- func HasTemplateVersionsWith(preds ...predicate.TemplateVersion) predicate.Project
- func HasTemplates() predicate.Project
- func HasTemplatesWith(preds ...predicate.Template) predicate.Project
- func HasVariables() predicate.Project
- func HasVariablesWith(preds ...predicate.Variable) predicate.Project
- func HasWorkflowExecutions() predicate.Project
- func HasWorkflowExecutionsWith(preds ...predicate.WorkflowExecution) predicate.Project
- func HasWorkflowStageExecutions() predicate.Project
- func HasWorkflowStageExecutionsWith(preds ...predicate.WorkflowStageExecution) predicate.Project
- func HasWorkflowStages() predicate.Project
- func HasWorkflowStagesWith(preds ...predicate.WorkflowStage) predicate.Project
- func HasWorkflowStepExecutions() predicate.Project
- func HasWorkflowStepExecutionsWith(preds ...predicate.WorkflowStepExecution) predicate.Project
- func HasWorkflowSteps() predicate.Project
- func HasWorkflowStepsWith(preds ...predicate.WorkflowStep) predicate.Project
- func HasWorkflows() predicate.Project
- func HasWorkflowsWith(preds ...predicate.Workflow) predicate.Project
- func ID(id object.ID) predicate.Project
- func IDEQ(id object.ID) predicate.Project
- func IDGT(id object.ID) predicate.Project
- func IDGTE(id object.ID) predicate.Project
- func IDIn(ids ...object.ID) predicate.Project
- func IDLT(id object.ID) predicate.Project
- func IDLTE(id object.ID) predicate.Project
- func IDNEQ(id object.ID) predicate.Project
- func IDNotIn(ids ...object.ID) predicate.Project
- func LabelsIsNil() predicate.Project
- func LabelsNotNil() predicate.Project
- func Name(v string) predicate.Project
- func NameContains(v string) predicate.Project
- func NameContainsFold(v string) predicate.Project
- func NameEQ(v string) predicate.Project
- func NameEqualFold(v string) predicate.Project
- func NameGT(v string) predicate.Project
- func NameGTE(v string) predicate.Project
- func NameHasPrefix(v string) predicate.Project
- func NameHasSuffix(v string) predicate.Project
- func NameIn(vs ...string) predicate.Project
- func NameLT(v string) predicate.Project
- func NameLTE(v string) predicate.Project
- func NameNEQ(v string) predicate.Project
- func NameNotIn(vs ...string) predicate.Project
- func Not(p predicate.Project) predicate.Project
- func Or(predicates ...predicate.Project) predicate.Project
- func UpdateTime(v time.Time) predicate.Project
- func UpdateTimeEQ(v time.Time) predicate.Project
- func UpdateTimeGT(v time.Time) predicate.Project
- func UpdateTimeGTE(v time.Time) predicate.Project
- func UpdateTimeIn(vs ...time.Time) predicate.Project
- func UpdateTimeLT(v time.Time) predicate.Project
- func UpdateTimeLTE(v time.Time) predicate.Project
- func UpdateTimeNEQ(v time.Time) predicate.Project
- func UpdateTimeNotIn(vs ...time.Time) predicate.Project
- func ValidColumn(column string) bool
- func WithoutFields(ignores ...string) []string
- type OrderOption
- func ByCatalogs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCatalogsCount(opts ...sql.OrderTermOption) OrderOption
- func ByConnectors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByConnectorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(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 ByResourceComponents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByResourceComponentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByResourceRevisions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByResourceRevisionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByResources(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByResourcesCount(opts ...sql.OrderTermOption) OrderOption
- func BySubjectRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubjectRolesCount(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateVersions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTemplateVersionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTemplates(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTemplatesCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
- func ByVariables(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByVariablesCount(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowExecutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowExecutionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowStageExecutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowStageExecutionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowStages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowStagesCount(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowStepExecutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowStepExecutionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowSteps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowStepsCount(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the project type in the database. Label = "project" // 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" // EdgeEnvironments holds the string denoting the environments edge name in mutations. EdgeEnvironments = "environments" // EdgeConnectors holds the string denoting the connectors edge name in mutations. EdgeConnectors = "connectors" // EdgeSubjectRoles holds the string denoting the subject_roles edge name in mutations. EdgeSubjectRoles = "subject_roles" // EdgeResources holds the string denoting the resources edge name in mutations. EdgeResources = "resources" // EdgeResourceComponents holds the string denoting the resource_components edge name in mutations. EdgeResourceComponents = "resource_components" // EdgeResourceRevisions holds the string denoting the resource_revisions edge name in mutations. EdgeResourceRevisions = "resource_revisions" // EdgeVariables holds the string denoting the variables edge name in mutations. EdgeVariables = "variables" // EdgeTemplates holds the string denoting the templates edge name in mutations. EdgeTemplates = "templates" // EdgeTemplateVersions holds the string denoting the template_versions edge name in mutations. EdgeTemplateVersions = "template_versions" // EdgeCatalogs holds the string denoting the catalogs edge name in mutations. EdgeCatalogs = "catalogs" // EdgeWorkflows holds the string denoting the workflows edge name in mutations. EdgeWorkflows = "workflows" // EdgeWorkflowStages holds the string denoting the workflow_stages edge name in mutations. EdgeWorkflowStages = "workflow_stages" // EdgeWorkflowSteps holds the string denoting the workflow_steps edge name in mutations. EdgeWorkflowSteps = "workflow_steps" // EdgeWorkflowExecutions holds the string denoting the workflow_executions edge name in mutations. EdgeWorkflowExecutions = "workflow_executions" // EdgeWorkflowStageExecutions holds the string denoting the workflow_stage_executions edge name in mutations. EdgeWorkflowStageExecutions = "workflow_stage_executions" // EdgeWorkflowStepExecutions holds the string denoting the workflow_step_executions edge name in mutations. EdgeWorkflowStepExecutions = "workflow_step_executions" // Table holds the table name of the project in the database. Table = "projects" // EnvironmentsTable is the table that holds the environments relation/edge. EnvironmentsTable = "environments" // EnvironmentsInverseTable is the table name for the Environment entity. // It exists in this package in order to avoid circular dependency with the "environment" package. EnvironmentsInverseTable = "environments" // EnvironmentsColumn is the table column denoting the environments relation/edge. EnvironmentsColumn = "project_id" // ConnectorsTable is the table that holds the connectors relation/edge. ConnectorsTable = "connectors" // ConnectorsInverseTable is the table name for the Connector entity. // It exists in this package in order to avoid circular dependency with the "connector" package. ConnectorsInverseTable = "connectors" // ConnectorsColumn is the table column denoting the connectors relation/edge. ConnectorsColumn = "project_id" // SubjectRolesTable is the table that holds the subject_roles relation/edge. SubjectRolesTable = "subject_role_relationships" // SubjectRolesInverseTable is the table name for the SubjectRoleRelationship entity. // It exists in this package in order to avoid circular dependency with the "subjectrolerelationship" package. SubjectRolesInverseTable = "subject_role_relationships" // SubjectRolesColumn is the table column denoting the subject_roles relation/edge. SubjectRolesColumn = "project_id" // ResourcesTable is the table that holds the resources relation/edge. ResourcesTable = "resources" // ResourcesInverseTable is the table name for the Resource entity. // It exists in this package in order to avoid circular dependency with the "resource" package. ResourcesInverseTable = "resources" // ResourcesColumn is the table column denoting the resources relation/edge. ResourcesColumn = "project_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 = "project_id" // ResourceRevisionsTable is the table that holds the resource_revisions relation/edge. ResourceRevisionsTable = "resource_revisions" // ResourceRevisionsInverseTable is the table name for the ResourceRevision entity. // It exists in this package in order to avoid circular dependency with the "resourcerevision" package. ResourceRevisionsInverseTable = "resource_revisions" // ResourceRevisionsColumn is the table column denoting the resource_revisions relation/edge. ResourceRevisionsColumn = "project_id" // VariablesTable is the table that holds the variables relation/edge. VariablesTable = "variables" // VariablesInverseTable is the table name for the Variable entity. // It exists in this package in order to avoid circular dependency with the "variable" package. VariablesInverseTable = "variables" // VariablesColumn is the table column denoting the variables relation/edge. VariablesColumn = "project_id" // TemplatesTable is the table that holds the templates relation/edge. TemplatesTable = "templates" // TemplatesInverseTable is the table name for the Template entity. // It exists in this package in order to avoid circular dependency with the "template" package. TemplatesInverseTable = "templates" // TemplatesColumn is the table column denoting the templates relation/edge. TemplatesColumn = "project_id" // TemplateVersionsTable is the table that holds the template_versions relation/edge. TemplateVersionsTable = "template_versions" // TemplateVersionsInverseTable is the table name for the TemplateVersion entity. // It exists in this package in order to avoid circular dependency with the "templateversion" package. TemplateVersionsInverseTable = "template_versions" // TemplateVersionsColumn is the table column denoting the template_versions relation/edge. TemplateVersionsColumn = "project_id" // CatalogsTable is the table that holds the catalogs relation/edge. CatalogsTable = "catalogs" // CatalogsInverseTable is the table name for the Catalog entity. // It exists in this package in order to avoid circular dependency with the "catalog" package. CatalogsInverseTable = "catalogs" // CatalogsColumn is the table column denoting the catalogs relation/edge. CatalogsColumn = "project_id" // WorkflowsTable is the table that holds the workflows relation/edge. WorkflowsTable = "workflows" // WorkflowsInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowsInverseTable = "workflows" // WorkflowsColumn is the table column denoting the workflows relation/edge. WorkflowsColumn = "project_id" // WorkflowStagesTable is the table that holds the workflow_stages relation/edge. WorkflowStagesTable = "workflow_stages" // WorkflowStagesInverseTable is the table name for the WorkflowStage entity. // It exists in this package in order to avoid circular dependency with the "workflowstage" package. WorkflowStagesInverseTable = "workflow_stages" // WorkflowStagesColumn is the table column denoting the workflow_stages relation/edge. WorkflowStagesColumn = "project_id" // WorkflowStepsTable is the table that holds the workflow_steps relation/edge. WorkflowStepsTable = "workflow_steps" // WorkflowStepsInverseTable is the table name for the WorkflowStep entity. // It exists in this package in order to avoid circular dependency with the "workflowstep" package. WorkflowStepsInverseTable = "workflow_steps" // WorkflowStepsColumn is the table column denoting the workflow_steps relation/edge. WorkflowStepsColumn = "project_id" // WorkflowExecutionsTable is the table that holds the workflow_executions relation/edge. WorkflowExecutionsTable = "workflow_executions" // WorkflowExecutionsInverseTable is the table name for the WorkflowExecution entity. // It exists in this package in order to avoid circular dependency with the "workflowexecution" package. WorkflowExecutionsInverseTable = "workflow_executions" // WorkflowExecutionsColumn is the table column denoting the workflow_executions relation/edge. WorkflowExecutionsColumn = "project_id" // WorkflowStageExecutionsTable is the table that holds the workflow_stage_executions relation/edge. WorkflowStageExecutionsTable = "workflow_stage_executions" // WorkflowStageExecutionsInverseTable is the table name for the WorkflowStageExecution entity. // It exists in this package in order to avoid circular dependency with the "workflowstageexecution" package. WorkflowStageExecutionsInverseTable = "workflow_stage_executions" // WorkflowStageExecutionsColumn is the table column denoting the workflow_stage_executions relation/edge. WorkflowStageExecutionsColumn = "project_id" // WorkflowStepExecutionsTable is the table that holds the workflow_step_executions relation/edge. WorkflowStepExecutionsTable = "workflow_step_executions" // WorkflowStepExecutionsInverseTable is the table name for the WorkflowStepExecution entity. // It exists in this package in order to avoid circular dependency with the "workflowstepexecution" package. WorkflowStepExecutionsInverseTable = "workflow_step_executions" // WorkflowStepExecutionsColumn is the table column denoting the workflow_step_executions relation/edge. WorkflowStepExecutionsColumn = "project_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultLabels holds the default value on creation for the "labels" field. DefaultLabels map[string]string // DefaultAnnotations holds the default value on creation for the "annotations" field. DefaultAnnotations map[string]string // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
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, }
Columns holds all SQL columns for project 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 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 HasCatalogs ¶ added in v0.4.0
HasCatalogs applies the HasEdge predicate on the "catalogs" edge.
func HasCatalogsWith ¶ added in v0.4.0
HasCatalogsWith applies the HasEdge predicate on the "catalogs" edge with a given conditions (other predicates).
func HasConnectors ¶
HasConnectors applies the HasEdge predicate on the "connectors" edge.
func HasConnectorsWith ¶
HasConnectorsWith applies the HasEdge predicate on the "connectors" edge with a given conditions (other predicates).
func HasEnvironments ¶
HasEnvironments applies the HasEdge predicate on the "environments" edge.
func HasEnvironmentsWith ¶
func HasEnvironmentsWith(preds ...predicate.Environment) predicate.Project
HasEnvironmentsWith applies the HasEdge predicate on the "environments" 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.Project
HasResourceComponentsWith applies the HasEdge predicate on the "resource_components" edge with a given conditions (other predicates).
func HasResourceRevisions ¶ added in v0.4.0
HasResourceRevisions applies the HasEdge predicate on the "resource_revisions" edge.
func HasResourceRevisionsWith ¶ added in v0.4.0
func HasResourceRevisionsWith(preds ...predicate.ResourceRevision) predicate.Project
HasResourceRevisionsWith applies the HasEdge predicate on the "resource_revisions" edge with a given conditions (other predicates).
func HasResources ¶ added in v0.4.0
HasResources applies the HasEdge predicate on the "resources" edge.
func HasResourcesWith ¶ added in v0.4.0
HasResourcesWith applies the HasEdge predicate on the "resources" edge with a given conditions (other predicates).
func HasSubjectRoles ¶
HasSubjectRoles applies the HasEdge predicate on the "subject_roles" edge.
func HasSubjectRolesWith ¶
func HasSubjectRolesWith(preds ...predicate.SubjectRoleRelationship) predicate.Project
HasSubjectRolesWith applies the HasEdge predicate on the "subject_roles" edge with a given conditions (other predicates).
func HasTemplateVersions ¶ added in v0.4.0
HasTemplateVersions applies the HasEdge predicate on the "template_versions" edge.
func HasTemplateVersionsWith ¶ added in v0.4.0
func HasTemplateVersionsWith(preds ...predicate.TemplateVersion) predicate.Project
HasTemplateVersionsWith applies the HasEdge predicate on the "template_versions" edge with a given conditions (other predicates).
func HasTemplates ¶ added in v0.4.0
HasTemplates applies the HasEdge predicate on the "templates" edge.
func HasTemplatesWith ¶ added in v0.4.0
HasTemplatesWith applies the HasEdge predicate on the "templates" edge with a given conditions (other predicates).
func HasVariables ¶
HasVariables applies the HasEdge predicate on the "variables" edge.
func HasVariablesWith ¶
HasVariablesWith applies the HasEdge predicate on the "variables" edge with a given conditions (other predicates).
func HasWorkflowExecutions ¶ added in v0.4.0
HasWorkflowExecutions applies the HasEdge predicate on the "workflow_executions" edge.
func HasWorkflowExecutionsWith ¶ added in v0.4.0
func HasWorkflowExecutionsWith(preds ...predicate.WorkflowExecution) predicate.Project
HasWorkflowExecutionsWith applies the HasEdge predicate on the "workflow_executions" edge with a given conditions (other predicates).
func HasWorkflowStageExecutions ¶ added in v0.4.0
HasWorkflowStageExecutions applies the HasEdge predicate on the "workflow_stage_executions" edge.
func HasWorkflowStageExecutionsWith ¶ added in v0.4.0
func HasWorkflowStageExecutionsWith(preds ...predicate.WorkflowStageExecution) predicate.Project
HasWorkflowStageExecutionsWith applies the HasEdge predicate on the "workflow_stage_executions" edge with a given conditions (other predicates).
func HasWorkflowStages ¶ added in v0.4.0
HasWorkflowStages applies the HasEdge predicate on the "workflow_stages" edge.
func HasWorkflowStagesWith ¶ added in v0.4.0
func HasWorkflowStagesWith(preds ...predicate.WorkflowStage) predicate.Project
HasWorkflowStagesWith applies the HasEdge predicate on the "workflow_stages" edge with a given conditions (other predicates).
func HasWorkflowStepExecutions ¶ added in v0.4.0
HasWorkflowStepExecutions applies the HasEdge predicate on the "workflow_step_executions" edge.
func HasWorkflowStepExecutionsWith ¶ added in v0.4.0
func HasWorkflowStepExecutionsWith(preds ...predicate.WorkflowStepExecution) predicate.Project
HasWorkflowStepExecutionsWith applies the HasEdge predicate on the "workflow_step_executions" edge with a given conditions (other predicates).
func HasWorkflowSteps ¶ added in v0.4.0
HasWorkflowSteps applies the HasEdge predicate on the "workflow_steps" edge.
func HasWorkflowStepsWith ¶ added in v0.4.0
func HasWorkflowStepsWith(preds ...predicate.WorkflowStep) predicate.Project
HasWorkflowStepsWith applies the HasEdge predicate on the "workflow_steps" edge with a given conditions (other predicates).
func HasWorkflows ¶ added in v0.4.0
HasWorkflows applies the HasEdge predicate on the "workflows" edge.
func HasWorkflowsWith ¶ added in v0.4.0
HasWorkflowsWith applies the HasEdge predicate on the "workflows" 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 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 Project queries.
func ByCatalogs ¶ added in v0.4.0
func ByCatalogs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCatalogs orders the results by catalogs terms.
func ByCatalogsCount ¶ added in v0.4.0
func ByCatalogsCount(opts ...sql.OrderTermOption) OrderOption
ByCatalogsCount orders the results by catalogs count.
func ByConnectors ¶
func ByConnectors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByConnectors orders the results by connectors terms.
func ByConnectorsCount ¶
func ByConnectorsCount(opts ...sql.OrderTermOption) OrderOption
ByConnectorsCount orders the results by connectors 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 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 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 ByResourceRevisions ¶ added in v0.4.0
func ByResourceRevisions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByResourceRevisions orders the results by resource_revisions terms.
func ByResourceRevisionsCount ¶ added in v0.4.0
func ByResourceRevisionsCount(opts ...sql.OrderTermOption) OrderOption
ByResourceRevisionsCount orders the results by resource_revisions count.
func ByResources ¶ added in v0.4.0
func ByResources(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByResources orders the results by resources terms.
func ByResourcesCount ¶ added in v0.4.0
func ByResourcesCount(opts ...sql.OrderTermOption) OrderOption
ByResourcesCount orders the results by resources count.
func BySubjectRoles ¶
func BySubjectRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubjectRoles orders the results by subject_roles terms.
func BySubjectRolesCount ¶
func BySubjectRolesCount(opts ...sql.OrderTermOption) OrderOption
BySubjectRolesCount orders the results by subject_roles count.
func ByTemplateVersions ¶ added in v0.4.0
func ByTemplateVersions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTemplateVersions orders the results by template_versions terms.
func ByTemplateVersionsCount ¶ added in v0.4.0
func ByTemplateVersionsCount(opts ...sql.OrderTermOption) OrderOption
ByTemplateVersionsCount orders the results by template_versions count.
func ByTemplates ¶ added in v0.4.0
func ByTemplates(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTemplates orders the results by templates terms.
func ByTemplatesCount ¶ added in v0.4.0
func ByTemplatesCount(opts ...sql.OrderTermOption) OrderOption
ByTemplatesCount orders the results by templates count.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.
func ByVariables ¶
func ByVariables(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByVariables orders the results by variables terms.
func ByVariablesCount ¶
func ByVariablesCount(opts ...sql.OrderTermOption) OrderOption
ByVariablesCount orders the results by variables count.
func ByWorkflowExecutions ¶ added in v0.4.0
func ByWorkflowExecutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowExecutions orders the results by workflow_executions terms.
func ByWorkflowExecutionsCount ¶ added in v0.4.0
func ByWorkflowExecutionsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowExecutionsCount orders the results by workflow_executions count.
func ByWorkflowStageExecutions ¶ added in v0.4.0
func ByWorkflowStageExecutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowStageExecutions orders the results by workflow_stage_executions terms.
func ByWorkflowStageExecutionsCount ¶ added in v0.4.0
func ByWorkflowStageExecutionsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowStageExecutionsCount orders the results by workflow_stage_executions count.
func ByWorkflowStages ¶ added in v0.4.0
func ByWorkflowStages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowStages orders the results by workflow_stages terms.
func ByWorkflowStagesCount ¶ added in v0.4.0
func ByWorkflowStagesCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowStagesCount orders the results by workflow_stages count.
func ByWorkflowStepExecutions ¶ added in v0.4.0
func ByWorkflowStepExecutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowStepExecutions orders the results by workflow_step_executions terms.
func ByWorkflowStepExecutionsCount ¶ added in v0.4.0
func ByWorkflowStepExecutionsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowStepExecutionsCount orders the results by workflow_step_executions count.
func ByWorkflowSteps ¶ added in v0.4.0
func ByWorkflowSteps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowSteps orders the results by workflow_steps terms.
func ByWorkflowStepsCount ¶ added in v0.4.0
func ByWorkflowStepsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowStepsCount orders the results by workflow_steps count.
func ByWorkflows ¶ added in v0.4.0
func ByWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflows orders the results by workflows terms.
func ByWorkflowsCount ¶ added in v0.4.0
func ByWorkflowsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowsCount orders the results by workflows count.