project

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldOrganizationID holds the string denoting the organization_id field in the database.
	FieldOrganizationID = "organization_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldSlug holds the string denoting the slug field in the database.
	FieldSlug = "slug"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldGithubOutboundCredential holds the string denoting the github_outbound_credential field in the database.
	FieldGithubOutboundCredential = "github_outbound_credential"
	// FieldGithubTokenProbe holds the string denoting the github_token_probe field in the database.
	FieldGithubTokenProbe = "github_token_probe"
	// FieldDefaultAgentProviderID holds the string denoting the default_agent_provider_id field in the database.
	FieldDefaultAgentProviderID = "default_agent_provider_id"
	// FieldAccessibleMachineIds holds the string denoting the accessible_machine_ids field in the database.
	FieldAccessibleMachineIds = "accessible_machine_ids"
	// FieldMaxConcurrentAgents holds the string denoting the max_concurrent_agents field in the database.
	FieldMaxConcurrentAgents = "max_concurrent_agents"
	// FieldAgentRunSummaryPrompt holds the string denoting the agent_run_summary_prompt field in the database.
	FieldAgentRunSummaryPrompt = "agent_run_summary_prompt"
	// EdgeOrganization holds the string denoting the organization edge name in mutations.
	EdgeOrganization = "organization"
	// EdgeRepos holds the string denoting the repos edge name in mutations.
	EdgeRepos = "repos"
	// EdgeSkills holds the string denoting the skills edge name in mutations.
	EdgeSkills = "skills"
	// EdgeStatuses holds the string denoting the statuses edge name in mutations.
	EdgeStatuses = "statuses"
	// EdgeWorkflows holds the string denoting the workflows edge name in mutations.
	EdgeWorkflows = "workflows"
	// EdgeTickets holds the string denoting the tickets edge name in mutations.
	EdgeTickets = "tickets"
	// EdgeAgents holds the string denoting the agents edge name in mutations.
	EdgeAgents = "agents"
	// EdgeAgentTokens holds the string denoting the agent_tokens edge name in mutations.
	EdgeAgentTokens = "agent_tokens"
	// EdgeAgentTraceEvents holds the string denoting the agent_trace_events edge name in mutations.
	EdgeAgentTraceEvents = "agent_trace_events"
	// EdgeAgentStepEvents holds the string denoting the agent_step_events edge name in mutations.
	EdgeAgentStepEvents = "agent_step_events"
	// EdgeScheduledJobs holds the string denoting the scheduled_jobs edge name in mutations.
	EdgeScheduledJobs = "scheduled_jobs"
	// EdgeActivityEvents holds the string denoting the activity_events edge name in mutations.
	EdgeActivityEvents = "activity_events"
	// EdgeUpdateThreads holds the string denoting the update_threads edge name in mutations.
	EdgeUpdateThreads = "update_threads"
	// EdgeChatConversations holds the string denoting the chat_conversations edge name in mutations.
	EdgeChatConversations = "chat_conversations"
	// EdgeNotificationRules holds the string denoting the notification_rules edge name in mutations.
	EdgeNotificationRules = "notification_rules"
	// EdgeDefaultAgentProvider holds the string denoting the default_agent_provider edge name in mutations.
	EdgeDefaultAgentProvider = "default_agent_provider"
	// Table holds the table name of the project in the database.
	Table = "projects"
	// OrganizationTable is the table that holds the organization relation/edge.
	OrganizationTable = "projects"
	// OrganizationInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OrganizationInverseTable = "organizations"
	// OrganizationColumn is the table column denoting the organization relation/edge.
	OrganizationColumn = "organization_id"
	// ReposTable is the table that holds the repos relation/edge.
	ReposTable = "project_repos"
	// ReposInverseTable is the table name for the ProjectRepo entity.
	// It exists in this package in order to avoid circular dependency with the "projectrepo" package.
	ReposInverseTable = "project_repos"
	// ReposColumn is the table column denoting the repos relation/edge.
	ReposColumn = "project_id"
	// SkillsTable is the table that holds the skills relation/edge.
	SkillsTable = "skills"
	// SkillsInverseTable is the table name for the Skill entity.
	// It exists in this package in order to avoid circular dependency with the "skill" package.
	SkillsInverseTable = "skills"
	// SkillsColumn is the table column denoting the skills relation/edge.
	SkillsColumn = "project_id"
	// StatusesTable is the table that holds the statuses relation/edge.
	StatusesTable = "ticket_status"
	// StatusesInverseTable is the table name for the TicketStatus entity.
	// It exists in this package in order to avoid circular dependency with the "ticketstatus" package.
	StatusesInverseTable = "ticket_status"
	// StatusesColumn is the table column denoting the statuses relation/edge.
	StatusesColumn = "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"
	// TicketsTable is the table that holds the tickets relation/edge.
	TicketsTable = "tickets"
	// TicketsInverseTable is the table name for the Ticket entity.
	// It exists in this package in order to avoid circular dependency with the "ticket" package.
	TicketsInverseTable = "tickets"
	// TicketsColumn is the table column denoting the tickets relation/edge.
	TicketsColumn = "project_id"
	// AgentsTable is the table that holds the agents relation/edge.
	AgentsTable = "agents"
	// AgentsInverseTable is the table name for the Agent entity.
	// It exists in this package in order to avoid circular dependency with the "agent" package.
	AgentsInverseTable = "agents"
	// AgentsColumn is the table column denoting the agents relation/edge.
	AgentsColumn = "project_id"
	// AgentTokensTable is the table that holds the agent_tokens relation/edge.
	AgentTokensTable = "agent_tokens"
	// AgentTokensInverseTable is the table name for the AgentToken entity.
	// It exists in this package in order to avoid circular dependency with the "agenttoken" package.
	AgentTokensInverseTable = "agent_tokens"
	// AgentTokensColumn is the table column denoting the agent_tokens relation/edge.
	AgentTokensColumn = "project_id"
	// AgentTraceEventsTable is the table that holds the agent_trace_events relation/edge.
	AgentTraceEventsTable = "agent_trace_events"
	// AgentTraceEventsInverseTable is the table name for the AgentTraceEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agenttraceevent" package.
	AgentTraceEventsInverseTable = "agent_trace_events"
	// AgentTraceEventsColumn is the table column denoting the agent_trace_events relation/edge.
	AgentTraceEventsColumn = "project_id"
	// AgentStepEventsTable is the table that holds the agent_step_events relation/edge.
	AgentStepEventsTable = "agent_step_events"
	// AgentStepEventsInverseTable is the table name for the AgentStepEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agentstepevent" package.
	AgentStepEventsInverseTable = "agent_step_events"
	// AgentStepEventsColumn is the table column denoting the agent_step_events relation/edge.
	AgentStepEventsColumn = "project_id"
	// ScheduledJobsTable is the table that holds the scheduled_jobs relation/edge.
	ScheduledJobsTable = "scheduled_jobs"
	// ScheduledJobsInverseTable is the table name for the ScheduledJob entity.
	// It exists in this package in order to avoid circular dependency with the "scheduledjob" package.
	ScheduledJobsInverseTable = "scheduled_jobs"
	// ScheduledJobsColumn is the table column denoting the scheduled_jobs relation/edge.
	ScheduledJobsColumn = "project_id"
	// ActivityEventsTable is the table that holds the activity_events relation/edge.
	ActivityEventsTable = "activity_events"
	// ActivityEventsInverseTable is the table name for the ActivityEvent entity.
	// It exists in this package in order to avoid circular dependency with the "activityevent" package.
	ActivityEventsInverseTable = "activity_events"
	// ActivityEventsColumn is the table column denoting the activity_events relation/edge.
	ActivityEventsColumn = "project_id"
	// UpdateThreadsTable is the table that holds the update_threads relation/edge.
	UpdateThreadsTable = "project_update_threads"
	// UpdateThreadsInverseTable is the table name for the ProjectUpdateThread entity.
	// It exists in this package in order to avoid circular dependency with the "projectupdatethread" package.
	UpdateThreadsInverseTable = "project_update_threads"
	// UpdateThreadsColumn is the table column denoting the update_threads relation/edge.
	UpdateThreadsColumn = "project_id"
	// ChatConversationsTable is the table that holds the chat_conversations relation/edge.
	ChatConversationsTable = "chat_conversations"
	// ChatConversationsInverseTable is the table name for the ChatConversation entity.
	// It exists in this package in order to avoid circular dependency with the "chatconversation" package.
	ChatConversationsInverseTable = "chat_conversations"
	// ChatConversationsColumn is the table column denoting the chat_conversations relation/edge.
	ChatConversationsColumn = "project_id"
	// NotificationRulesTable is the table that holds the notification_rules relation/edge.
	NotificationRulesTable = "notification_rules"
	// NotificationRulesInverseTable is the table name for the NotificationRule entity.
	// It exists in this package in order to avoid circular dependency with the "notificationrule" package.
	NotificationRulesInverseTable = "notification_rules"
	// NotificationRulesColumn is the table column denoting the notification_rules relation/edge.
	NotificationRulesColumn = "project_id"
	// DefaultAgentProviderTable is the table that holds the default_agent_provider relation/edge.
	DefaultAgentProviderTable = "projects"
	// DefaultAgentProviderInverseTable is the table name for the AgentProvider entity.
	// It exists in this package in order to avoid circular dependency with the "agentprovider" package.
	DefaultAgentProviderInverseTable = "agent_providers"
	// DefaultAgentProviderColumn is the table column denoting the default_agent_provider relation/edge.
	DefaultAgentProviderColumn = "default_agent_provider_id"
)

Variables

View Source
var (
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// SlugValidator is a validator for the "slug" field. It is called by the builders before save.
	SlugValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// DefaultAccessibleMachineIds holds the default value on creation for the "accessible_machine_ids" field.
	DefaultAccessibleMachineIds func() []uuid.UUID
	// DefaultMaxConcurrentAgents holds the default value on creation for the "max_concurrent_agents" field.
	DefaultMaxConcurrentAgents int
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for project fields.

Functions

func AgentRunSummaryPrompt

func AgentRunSummaryPrompt(v string) predicate.Project

AgentRunSummaryPrompt applies equality check predicate on the "agent_run_summary_prompt" field. It's identical to AgentRunSummaryPromptEQ.

func AgentRunSummaryPromptContains

func AgentRunSummaryPromptContains(v string) predicate.Project

AgentRunSummaryPromptContains applies the Contains predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptContainsFold

func AgentRunSummaryPromptContainsFold(v string) predicate.Project

AgentRunSummaryPromptContainsFold applies the ContainsFold predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptEQ

func AgentRunSummaryPromptEQ(v string) predicate.Project

AgentRunSummaryPromptEQ applies the EQ predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptEqualFold

func AgentRunSummaryPromptEqualFold(v string) predicate.Project

AgentRunSummaryPromptEqualFold applies the EqualFold predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptGT

func AgentRunSummaryPromptGT(v string) predicate.Project

AgentRunSummaryPromptGT applies the GT predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptGTE

func AgentRunSummaryPromptGTE(v string) predicate.Project

AgentRunSummaryPromptGTE applies the GTE predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptHasPrefix

func AgentRunSummaryPromptHasPrefix(v string) predicate.Project

AgentRunSummaryPromptHasPrefix applies the HasPrefix predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptHasSuffix

func AgentRunSummaryPromptHasSuffix(v string) predicate.Project

AgentRunSummaryPromptHasSuffix applies the HasSuffix predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptIn

func AgentRunSummaryPromptIn(vs ...string) predicate.Project

AgentRunSummaryPromptIn applies the In predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptIsNil

func AgentRunSummaryPromptIsNil() predicate.Project

AgentRunSummaryPromptIsNil applies the IsNil predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptLT

func AgentRunSummaryPromptLT(v string) predicate.Project

AgentRunSummaryPromptLT applies the LT predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptLTE

func AgentRunSummaryPromptLTE(v string) predicate.Project

AgentRunSummaryPromptLTE applies the LTE predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptNEQ

func AgentRunSummaryPromptNEQ(v string) predicate.Project

AgentRunSummaryPromptNEQ applies the NEQ predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptNotIn

func AgentRunSummaryPromptNotIn(vs ...string) predicate.Project

AgentRunSummaryPromptNotIn applies the NotIn predicate on the "agent_run_summary_prompt" field.

func AgentRunSummaryPromptNotNil

func AgentRunSummaryPromptNotNil() predicate.Project

AgentRunSummaryPromptNotNil applies the NotNil predicate on the "agent_run_summary_prompt" field.

func And

func And(predicates ...predicate.Project) predicate.Project

And groups predicates with the AND operator between them.

func DefaultAgentProviderID

func DefaultAgentProviderID(v uuid.UUID) predicate.Project

DefaultAgentProviderID applies equality check predicate on the "default_agent_provider_id" field. It's identical to DefaultAgentProviderIDEQ.

func DefaultAgentProviderIDEQ

func DefaultAgentProviderIDEQ(v uuid.UUID) predicate.Project

DefaultAgentProviderIDEQ applies the EQ predicate on the "default_agent_provider_id" field.

func DefaultAgentProviderIDIn

func DefaultAgentProviderIDIn(vs ...uuid.UUID) predicate.Project

DefaultAgentProviderIDIn applies the In predicate on the "default_agent_provider_id" field.

func DefaultAgentProviderIDIsNil

func DefaultAgentProviderIDIsNil() predicate.Project

DefaultAgentProviderIDIsNil applies the IsNil predicate on the "default_agent_provider_id" field.

func DefaultAgentProviderIDNEQ

func DefaultAgentProviderIDNEQ(v uuid.UUID) predicate.Project

DefaultAgentProviderIDNEQ applies the NEQ predicate on the "default_agent_provider_id" field.

func DefaultAgentProviderIDNotIn

func DefaultAgentProviderIDNotIn(vs ...uuid.UUID) predicate.Project

DefaultAgentProviderIDNotIn applies the NotIn predicate on the "default_agent_provider_id" field.

func DefaultAgentProviderIDNotNil

func DefaultAgentProviderIDNotNil() predicate.Project

DefaultAgentProviderIDNotNil applies the NotNil predicate on the "default_agent_provider_id" field.

func Description

func Description(v string) predicate.Project

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Project

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Project

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Project

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Project

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Project

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Project

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Project

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Project

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Project

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Project

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Project

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Project

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Project

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Project

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Project

DescriptionNotNil applies the NotNil predicate on the "description" field.

func GithubOutboundCredentialIsNil

func GithubOutboundCredentialIsNil() predicate.Project

GithubOutboundCredentialIsNil applies the IsNil predicate on the "github_outbound_credential" field.

func GithubOutboundCredentialNotNil

func GithubOutboundCredentialNotNil() predicate.Project

GithubOutboundCredentialNotNil applies the NotNil predicate on the "github_outbound_credential" field.

func GithubTokenProbeIsNil

func GithubTokenProbeIsNil() predicate.Project

GithubTokenProbeIsNil applies the IsNil predicate on the "github_token_probe" field.

func GithubTokenProbeNotNil

func GithubTokenProbeNotNil() predicate.Project

GithubTokenProbeNotNil applies the NotNil predicate on the "github_token_probe" field.

func HasActivityEvents

func HasActivityEvents() predicate.Project

HasActivityEvents applies the HasEdge predicate on the "activity_events" edge.

func HasActivityEventsWith

func HasActivityEventsWith(preds ...predicate.ActivityEvent) predicate.Project

HasActivityEventsWith applies the HasEdge predicate on the "activity_events" edge with a given conditions (other predicates).

func HasAgentStepEvents

func HasAgentStepEvents() predicate.Project

HasAgentStepEvents applies the HasEdge predicate on the "agent_step_events" edge.

func HasAgentStepEventsWith

func HasAgentStepEventsWith(preds ...predicate.AgentStepEvent) predicate.Project

HasAgentStepEventsWith applies the HasEdge predicate on the "agent_step_events" edge with a given conditions (other predicates).

func HasAgentTokens

func HasAgentTokens() predicate.Project

HasAgentTokens applies the HasEdge predicate on the "agent_tokens" edge.

func HasAgentTokensWith

func HasAgentTokensWith(preds ...predicate.AgentToken) predicate.Project

HasAgentTokensWith applies the HasEdge predicate on the "agent_tokens" edge with a given conditions (other predicates).

func HasAgentTraceEvents

func HasAgentTraceEvents() predicate.Project

HasAgentTraceEvents applies the HasEdge predicate on the "agent_trace_events" edge.

func HasAgentTraceEventsWith

func HasAgentTraceEventsWith(preds ...predicate.AgentTraceEvent) predicate.Project

HasAgentTraceEventsWith applies the HasEdge predicate on the "agent_trace_events" edge with a given conditions (other predicates).

func HasAgents

func HasAgents() predicate.Project

HasAgents applies the HasEdge predicate on the "agents" edge.

func HasAgentsWith

func HasAgentsWith(preds ...predicate.Agent) predicate.Project

HasAgentsWith applies the HasEdge predicate on the "agents" edge with a given conditions (other predicates).

func HasChatConversations

func HasChatConversations() predicate.Project

HasChatConversations applies the HasEdge predicate on the "chat_conversations" edge.

func HasChatConversationsWith

func HasChatConversationsWith(preds ...predicate.ChatConversation) predicate.Project

HasChatConversationsWith applies the HasEdge predicate on the "chat_conversations" edge with a given conditions (other predicates).

func HasDefaultAgentProvider

func HasDefaultAgentProvider() predicate.Project

HasDefaultAgentProvider applies the HasEdge predicate on the "default_agent_provider" edge.

func HasDefaultAgentProviderWith

func HasDefaultAgentProviderWith(preds ...predicate.AgentProvider) predicate.Project

HasDefaultAgentProviderWith applies the HasEdge predicate on the "default_agent_provider" edge with a given conditions (other predicates).

func HasNotificationRules

func HasNotificationRules() predicate.Project

HasNotificationRules applies the HasEdge predicate on the "notification_rules" edge.

func HasNotificationRulesWith

func HasNotificationRulesWith(preds ...predicate.NotificationRule) predicate.Project

HasNotificationRulesWith applies the HasEdge predicate on the "notification_rules" edge with a given conditions (other predicates).

func HasOrganization

func HasOrganization() predicate.Project

HasOrganization applies the HasEdge predicate on the "organization" edge.

func HasOrganizationWith

func HasOrganizationWith(preds ...predicate.Organization) predicate.Project

HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).

func HasRepos

func HasRepos() predicate.Project

HasRepos applies the HasEdge predicate on the "repos" edge.

func HasReposWith

func HasReposWith(preds ...predicate.ProjectRepo) predicate.Project

HasReposWith applies the HasEdge predicate on the "repos" edge with a given conditions (other predicates).

func HasScheduledJobs

func HasScheduledJobs() predicate.Project

HasScheduledJobs applies the HasEdge predicate on the "scheduled_jobs" edge.

func HasScheduledJobsWith

func HasScheduledJobsWith(preds ...predicate.ScheduledJob) predicate.Project

HasScheduledJobsWith applies the HasEdge predicate on the "scheduled_jobs" edge with a given conditions (other predicates).

func HasSkills

func HasSkills() predicate.Project

HasSkills applies the HasEdge predicate on the "skills" edge.

func HasSkillsWith

func HasSkillsWith(preds ...predicate.Skill) predicate.Project

HasSkillsWith applies the HasEdge predicate on the "skills" edge with a given conditions (other predicates).

func HasStatuses

func HasStatuses() predicate.Project

HasStatuses applies the HasEdge predicate on the "statuses" edge.

func HasStatusesWith

func HasStatusesWith(preds ...predicate.TicketStatus) predicate.Project

HasStatusesWith applies the HasEdge predicate on the "statuses" edge with a given conditions (other predicates).

func HasTickets

func HasTickets() predicate.Project

HasTickets applies the HasEdge predicate on the "tickets" edge.

func HasTicketsWith

func HasTicketsWith(preds ...predicate.Ticket) predicate.Project

HasTicketsWith applies the HasEdge predicate on the "tickets" edge with a given conditions (other predicates).

func HasUpdateThreads

func HasUpdateThreads() predicate.Project

HasUpdateThreads applies the HasEdge predicate on the "update_threads" edge.

func HasUpdateThreadsWith

func HasUpdateThreadsWith(preds ...predicate.ProjectUpdateThread) predicate.Project

HasUpdateThreadsWith applies the HasEdge predicate on the "update_threads" edge with a given conditions (other predicates).

func HasWorkflows

func HasWorkflows() predicate.Project

HasWorkflows applies the HasEdge predicate on the "workflows" edge.

func HasWorkflowsWith

func HasWorkflowsWith(preds ...predicate.Workflow) predicate.Project

HasWorkflowsWith applies the HasEdge predicate on the "workflows" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Project

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Project

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Project

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Project

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Project

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Project

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Project

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Project

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Project

IDNotIn applies the NotIn predicate on the ID field.

func MaxConcurrentAgents

func MaxConcurrentAgents(v int) predicate.Project

MaxConcurrentAgents applies equality check predicate on the "max_concurrent_agents" field. It's identical to MaxConcurrentAgentsEQ.

func MaxConcurrentAgentsEQ

func MaxConcurrentAgentsEQ(v int) predicate.Project

MaxConcurrentAgentsEQ applies the EQ predicate on the "max_concurrent_agents" field.

func MaxConcurrentAgentsGT

func MaxConcurrentAgentsGT(v int) predicate.Project

MaxConcurrentAgentsGT applies the GT predicate on the "max_concurrent_agents" field.

func MaxConcurrentAgentsGTE

func MaxConcurrentAgentsGTE(v int) predicate.Project

MaxConcurrentAgentsGTE applies the GTE predicate on the "max_concurrent_agents" field.

func MaxConcurrentAgentsIn

func MaxConcurrentAgentsIn(vs ...int) predicate.Project

MaxConcurrentAgentsIn applies the In predicate on the "max_concurrent_agents" field.

func MaxConcurrentAgentsLT

func MaxConcurrentAgentsLT(v int) predicate.Project

MaxConcurrentAgentsLT applies the LT predicate on the "max_concurrent_agents" field.

func MaxConcurrentAgentsLTE

func MaxConcurrentAgentsLTE(v int) predicate.Project

MaxConcurrentAgentsLTE applies the LTE predicate on the "max_concurrent_agents" field.

func MaxConcurrentAgentsNEQ

func MaxConcurrentAgentsNEQ(v int) predicate.Project

MaxConcurrentAgentsNEQ applies the NEQ predicate on the "max_concurrent_agents" field.

func MaxConcurrentAgentsNotIn

func MaxConcurrentAgentsNotIn(vs ...int) predicate.Project

MaxConcurrentAgentsNotIn applies the NotIn predicate on the "max_concurrent_agents" field.

func Name

func Name(v string) predicate.Project

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Project

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Project

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Project

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Project

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Project

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Project

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Project

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Project

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Project

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Project

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Project

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Project

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Project

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Project) predicate.Project

Or groups predicates with the OR operator between them.

func OrganizationID

func OrganizationID(v uuid.UUID) predicate.Project

OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.

func OrganizationIDEQ

func OrganizationIDEQ(v uuid.UUID) predicate.Project

OrganizationIDEQ applies the EQ predicate on the "organization_id" field.

func OrganizationIDIn

func OrganizationIDIn(vs ...uuid.UUID) predicate.Project

OrganizationIDIn applies the In predicate on the "organization_id" field.

func OrganizationIDNEQ

func OrganizationIDNEQ(v uuid.UUID) predicate.Project

OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.

func OrganizationIDNotIn

func OrganizationIDNotIn(vs ...uuid.UUID) predicate.Project

OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.

func Slug

func Slug(v string) predicate.Project

Slug applies equality check predicate on the "slug" field. It's identical to SlugEQ.

func SlugContains

func SlugContains(v string) predicate.Project

SlugContains applies the Contains predicate on the "slug" field.

func SlugContainsFold

func SlugContainsFold(v string) predicate.Project

SlugContainsFold applies the ContainsFold predicate on the "slug" field.

func SlugEQ

func SlugEQ(v string) predicate.Project

SlugEQ applies the EQ predicate on the "slug" field.

func SlugEqualFold

func SlugEqualFold(v string) predicate.Project

SlugEqualFold applies the EqualFold predicate on the "slug" field.

func SlugGT

func SlugGT(v string) predicate.Project

SlugGT applies the GT predicate on the "slug" field.

func SlugGTE

func SlugGTE(v string) predicate.Project

SlugGTE applies the GTE predicate on the "slug" field.

func SlugHasPrefix

func SlugHasPrefix(v string) predicate.Project

SlugHasPrefix applies the HasPrefix predicate on the "slug" field.

func SlugHasSuffix

func SlugHasSuffix(v string) predicate.Project

SlugHasSuffix applies the HasSuffix predicate on the "slug" field.

func SlugIn

func SlugIn(vs ...string) predicate.Project

SlugIn applies the In predicate on the "slug" field.

func SlugLT

func SlugLT(v string) predicate.Project

SlugLT applies the LT predicate on the "slug" field.

func SlugLTE

func SlugLTE(v string) predicate.Project

SlugLTE applies the LTE predicate on the "slug" field.

func SlugNEQ

func SlugNEQ(v string) predicate.Project

SlugNEQ applies the NEQ predicate on the "slug" field.

func SlugNotIn

func SlugNotIn(vs ...string) predicate.Project

SlugNotIn applies the NotIn predicate on the "slug" field.

func Status

func Status(v string) predicate.Project

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Project

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Project

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Project

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Project

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Project

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Project

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Project

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Project

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Project

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Project

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Project

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Project

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Project

StatusNotIn applies the NotIn predicate on the "status" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Project queries.

func ByActivityEvents

func ByActivityEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByActivityEvents orders the results by activity_events terms.

func ByActivityEventsCount

func ByActivityEventsCount(opts ...sql.OrderTermOption) OrderOption

ByActivityEventsCount orders the results by activity_events count.

func ByAgentRunSummaryPrompt

func ByAgentRunSummaryPrompt(opts ...sql.OrderTermOption) OrderOption

ByAgentRunSummaryPrompt orders the results by the agent_run_summary_prompt field.

func ByAgentStepEvents

func ByAgentStepEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAgentStepEvents orders the results by agent_step_events terms.

func ByAgentStepEventsCount

func ByAgentStepEventsCount(opts ...sql.OrderTermOption) OrderOption

ByAgentStepEventsCount orders the results by agent_step_events count.

func ByAgentTokens

func ByAgentTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAgentTokens orders the results by agent_tokens terms.

func ByAgentTokensCount

func ByAgentTokensCount(opts ...sql.OrderTermOption) OrderOption

ByAgentTokensCount orders the results by agent_tokens count.

func ByAgentTraceEvents

func ByAgentTraceEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAgentTraceEvents orders the results by agent_trace_events terms.

func ByAgentTraceEventsCount

func ByAgentTraceEventsCount(opts ...sql.OrderTermOption) OrderOption

ByAgentTraceEventsCount orders the results by agent_trace_events count.

func ByAgents

func ByAgents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAgents orders the results by agents terms.

func ByAgentsCount

func ByAgentsCount(opts ...sql.OrderTermOption) OrderOption

ByAgentsCount orders the results by agents count.

func ByChatConversations

func ByChatConversations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByChatConversations orders the results by chat_conversations terms.

func ByChatConversationsCount

func ByChatConversationsCount(opts ...sql.OrderTermOption) OrderOption

ByChatConversationsCount orders the results by chat_conversations count.

func ByDefaultAgentProviderField

func ByDefaultAgentProviderField(field string, opts ...sql.OrderTermOption) OrderOption

ByDefaultAgentProviderField orders the results by default_agent_provider field.

func ByDefaultAgentProviderID

func ByDefaultAgentProviderID(opts ...sql.OrderTermOption) OrderOption

ByDefaultAgentProviderID orders the results by the default_agent_provider_id field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMaxConcurrentAgents

func ByMaxConcurrentAgents(opts ...sql.OrderTermOption) OrderOption

ByMaxConcurrentAgents orders the results by the max_concurrent_agents field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByNotificationRules

func ByNotificationRules(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByNotificationRules orders the results by notification_rules terms.

func ByNotificationRulesCount

func ByNotificationRulesCount(opts ...sql.OrderTermOption) OrderOption

ByNotificationRulesCount orders the results by notification_rules count.

func ByOrganizationField

func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption

ByOrganizationField orders the results by organization field.

func ByOrganizationID

func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption

ByOrganizationID orders the results by the organization_id field.

func ByRepos

func ByRepos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRepos orders the results by repos terms.

func ByReposCount

func ByReposCount(opts ...sql.OrderTermOption) OrderOption

ByReposCount orders the results by repos count.

func ByScheduledJobs

func ByScheduledJobs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByScheduledJobs orders the results by scheduled_jobs terms.

func ByScheduledJobsCount

func ByScheduledJobsCount(opts ...sql.OrderTermOption) OrderOption

ByScheduledJobsCount orders the results by scheduled_jobs count.

func BySkills

func BySkills(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySkills orders the results by skills terms.

func BySkillsCount

func BySkillsCount(opts ...sql.OrderTermOption) OrderOption

BySkillsCount orders the results by skills count.

func BySlug

func BySlug(opts ...sql.OrderTermOption) OrderOption

BySlug orders the results by the slug field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByStatuses

func ByStatuses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByStatuses orders the results by statuses terms.

func ByStatusesCount

func ByStatusesCount(opts ...sql.OrderTermOption) OrderOption

ByStatusesCount orders the results by statuses count.

func ByTickets

func ByTickets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTickets orders the results by tickets terms.

func ByTicketsCount

func ByTicketsCount(opts ...sql.OrderTermOption) OrderOption

ByTicketsCount orders the results by tickets count.

func ByUpdateThreads

func ByUpdateThreads(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByUpdateThreads orders the results by update_threads terms.

func ByUpdateThreadsCount

func ByUpdateThreadsCount(opts ...sql.OrderTermOption) OrderOption

ByUpdateThreadsCount orders the results by update_threads count.

func ByWorkflows

func ByWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByWorkflows orders the results by workflows terms.

func ByWorkflowsCount

func ByWorkflowsCount(opts ...sql.OrderTermOption) OrderOption

ByWorkflowsCount orders the results by workflows count.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL