Documentation
¶
Index ¶
- Constants
- Variables
- func AgentRunID(v uuid.UUID) predicate.TicketRepoWorkspace
- func AgentRunIDEQ(v uuid.UUID) predicate.TicketRepoWorkspace
- func AgentRunIDIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
- func AgentRunIDNEQ(v uuid.UUID) predicate.TicketRepoWorkspace
- func AgentRunIDNotIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
- func And(predicates ...predicate.TicketRepoWorkspace) predicate.TicketRepoWorkspace
- func BranchName(v string) predicate.TicketRepoWorkspace
- func BranchNameContains(v string) predicate.TicketRepoWorkspace
- func BranchNameContainsFold(v string) predicate.TicketRepoWorkspace
- func BranchNameEQ(v string) predicate.TicketRepoWorkspace
- func BranchNameEqualFold(v string) predicate.TicketRepoWorkspace
- func BranchNameGT(v string) predicate.TicketRepoWorkspace
- func BranchNameGTE(v string) predicate.TicketRepoWorkspace
- func BranchNameHasPrefix(v string) predicate.TicketRepoWorkspace
- func BranchNameHasSuffix(v string) predicate.TicketRepoWorkspace
- func BranchNameIn(vs ...string) predicate.TicketRepoWorkspace
- func BranchNameLT(v string) predicate.TicketRepoWorkspace
- func BranchNameLTE(v string) predicate.TicketRepoWorkspace
- func BranchNameNEQ(v string) predicate.TicketRepoWorkspace
- func BranchNameNotIn(vs ...string) predicate.TicketRepoWorkspace
- func CleanedAt(v time.Time) predicate.TicketRepoWorkspace
- func CleanedAtEQ(v time.Time) predicate.TicketRepoWorkspace
- func CleanedAtGT(v time.Time) predicate.TicketRepoWorkspace
- func CleanedAtGTE(v time.Time) predicate.TicketRepoWorkspace
- func CleanedAtIn(vs ...time.Time) predicate.TicketRepoWorkspace
- func CleanedAtIsNil() predicate.TicketRepoWorkspace
- func CleanedAtLT(v time.Time) predicate.TicketRepoWorkspace
- func CleanedAtLTE(v time.Time) predicate.TicketRepoWorkspace
- func CleanedAtNEQ(v time.Time) predicate.TicketRepoWorkspace
- func CleanedAtNotIn(vs ...time.Time) predicate.TicketRepoWorkspace
- func CleanedAtNotNil() predicate.TicketRepoWorkspace
- func CreatedAt(v time.Time) predicate.TicketRepoWorkspace
- func CreatedAtEQ(v time.Time) predicate.TicketRepoWorkspace
- func CreatedAtGT(v time.Time) predicate.TicketRepoWorkspace
- func CreatedAtGTE(v time.Time) predicate.TicketRepoWorkspace
- func CreatedAtIn(vs ...time.Time) predicate.TicketRepoWorkspace
- func CreatedAtLT(v time.Time) predicate.TicketRepoWorkspace
- func CreatedAtLTE(v time.Time) predicate.TicketRepoWorkspace
- func CreatedAtNEQ(v time.Time) predicate.TicketRepoWorkspace
- func CreatedAtNotIn(vs ...time.Time) predicate.TicketRepoWorkspace
- func HasAgentRun() predicate.TicketRepoWorkspace
- func HasAgentRunWith(preds ...predicate.AgentRun) predicate.TicketRepoWorkspace
- func HasRepo() predicate.TicketRepoWorkspace
- func HasRepoWith(preds ...predicate.ProjectRepo) predicate.TicketRepoWorkspace
- func HasTicket() predicate.TicketRepoWorkspace
- func HasTicketWith(preds ...predicate.Ticket) predicate.TicketRepoWorkspace
- func HeadCommit(v string) predicate.TicketRepoWorkspace
- func HeadCommitContains(v string) predicate.TicketRepoWorkspace
- func HeadCommitContainsFold(v string) predicate.TicketRepoWorkspace
- func HeadCommitEQ(v string) predicate.TicketRepoWorkspace
- func HeadCommitEqualFold(v string) predicate.TicketRepoWorkspace
- func HeadCommitGT(v string) predicate.TicketRepoWorkspace
- func HeadCommitGTE(v string) predicate.TicketRepoWorkspace
- func HeadCommitHasPrefix(v string) predicate.TicketRepoWorkspace
- func HeadCommitHasSuffix(v string) predicate.TicketRepoWorkspace
- func HeadCommitIn(vs ...string) predicate.TicketRepoWorkspace
- func HeadCommitIsNil() predicate.TicketRepoWorkspace
- func HeadCommitLT(v string) predicate.TicketRepoWorkspace
- func HeadCommitLTE(v string) predicate.TicketRepoWorkspace
- func HeadCommitNEQ(v string) predicate.TicketRepoWorkspace
- func HeadCommitNotIn(vs ...string) predicate.TicketRepoWorkspace
- func HeadCommitNotNil() predicate.TicketRepoWorkspace
- func ID(id uuid.UUID) predicate.TicketRepoWorkspace
- func IDEQ(id uuid.UUID) predicate.TicketRepoWorkspace
- func IDGT(id uuid.UUID) predicate.TicketRepoWorkspace
- func IDGTE(id uuid.UUID) predicate.TicketRepoWorkspace
- func IDIn(ids ...uuid.UUID) predicate.TicketRepoWorkspace
- func IDLT(id uuid.UUID) predicate.TicketRepoWorkspace
- func IDLTE(id uuid.UUID) predicate.TicketRepoWorkspace
- func IDNEQ(id uuid.UUID) predicate.TicketRepoWorkspace
- func IDNotIn(ids ...uuid.UUID) predicate.TicketRepoWorkspace
- func LastError(v string) predicate.TicketRepoWorkspace
- func LastErrorContains(v string) predicate.TicketRepoWorkspace
- func LastErrorContainsFold(v string) predicate.TicketRepoWorkspace
- func LastErrorEQ(v string) predicate.TicketRepoWorkspace
- func LastErrorEqualFold(v string) predicate.TicketRepoWorkspace
- func LastErrorGT(v string) predicate.TicketRepoWorkspace
- func LastErrorGTE(v string) predicate.TicketRepoWorkspace
- func LastErrorHasPrefix(v string) predicate.TicketRepoWorkspace
- func LastErrorHasSuffix(v string) predicate.TicketRepoWorkspace
- func LastErrorIn(vs ...string) predicate.TicketRepoWorkspace
- func LastErrorIsNil() predicate.TicketRepoWorkspace
- func LastErrorLT(v string) predicate.TicketRepoWorkspace
- func LastErrorLTE(v string) predicate.TicketRepoWorkspace
- func LastErrorNEQ(v string) predicate.TicketRepoWorkspace
- func LastErrorNotIn(vs ...string) predicate.TicketRepoWorkspace
- func LastErrorNotNil() predicate.TicketRepoWorkspace
- func Not(p predicate.TicketRepoWorkspace) predicate.TicketRepoWorkspace
- func Or(predicates ...predicate.TicketRepoWorkspace) predicate.TicketRepoWorkspace
- func PreparedAt(v time.Time) predicate.TicketRepoWorkspace
- func PreparedAtEQ(v time.Time) predicate.TicketRepoWorkspace
- func PreparedAtGT(v time.Time) predicate.TicketRepoWorkspace
- func PreparedAtGTE(v time.Time) predicate.TicketRepoWorkspace
- func PreparedAtIn(vs ...time.Time) predicate.TicketRepoWorkspace
- func PreparedAtIsNil() predicate.TicketRepoWorkspace
- func PreparedAtLT(v time.Time) predicate.TicketRepoWorkspace
- func PreparedAtLTE(v time.Time) predicate.TicketRepoWorkspace
- func PreparedAtNEQ(v time.Time) predicate.TicketRepoWorkspace
- func PreparedAtNotIn(vs ...time.Time) predicate.TicketRepoWorkspace
- func PreparedAtNotNil() predicate.TicketRepoWorkspace
- func RepoID(v uuid.UUID) predicate.TicketRepoWorkspace
- func RepoIDEQ(v uuid.UUID) predicate.TicketRepoWorkspace
- func RepoIDIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
- func RepoIDNEQ(v uuid.UUID) predicate.TicketRepoWorkspace
- func RepoIDNotIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
- func RepoPath(v string) predicate.TicketRepoWorkspace
- func RepoPathContains(v string) predicate.TicketRepoWorkspace
- func RepoPathContainsFold(v string) predicate.TicketRepoWorkspace
- func RepoPathEQ(v string) predicate.TicketRepoWorkspace
- func RepoPathEqualFold(v string) predicate.TicketRepoWorkspace
- func RepoPathGT(v string) predicate.TicketRepoWorkspace
- func RepoPathGTE(v string) predicate.TicketRepoWorkspace
- func RepoPathHasPrefix(v string) predicate.TicketRepoWorkspace
- func RepoPathHasSuffix(v string) predicate.TicketRepoWorkspace
- func RepoPathIn(vs ...string) predicate.TicketRepoWorkspace
- func RepoPathLT(v string) predicate.TicketRepoWorkspace
- func RepoPathLTE(v string) predicate.TicketRepoWorkspace
- func RepoPathNEQ(v string) predicate.TicketRepoWorkspace
- func RepoPathNotIn(vs ...string) predicate.TicketRepoWorkspace
- func StateEQ(v State) predicate.TicketRepoWorkspace
- func StateIn(vs ...State) predicate.TicketRepoWorkspace
- func StateNEQ(v State) predicate.TicketRepoWorkspace
- func StateNotIn(vs ...State) predicate.TicketRepoWorkspace
- func StateValidator(s State) error
- func TicketID(v uuid.UUID) predicate.TicketRepoWorkspace
- func TicketIDEQ(v uuid.UUID) predicate.TicketRepoWorkspace
- func TicketIDIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
- func TicketIDNEQ(v uuid.UUID) predicate.TicketRepoWorkspace
- func TicketIDNotIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
- func UpdatedAt(v time.Time) predicate.TicketRepoWorkspace
- func UpdatedAtEQ(v time.Time) predicate.TicketRepoWorkspace
- func UpdatedAtGT(v time.Time) predicate.TicketRepoWorkspace
- func UpdatedAtGTE(v time.Time) predicate.TicketRepoWorkspace
- func UpdatedAtIn(vs ...time.Time) predicate.TicketRepoWorkspace
- func UpdatedAtLT(v time.Time) predicate.TicketRepoWorkspace
- func UpdatedAtLTE(v time.Time) predicate.TicketRepoWorkspace
- func UpdatedAtNEQ(v time.Time) predicate.TicketRepoWorkspace
- func UpdatedAtNotIn(vs ...time.Time) predicate.TicketRepoWorkspace
- func ValidColumn(column string) bool
- func WorkspaceRoot(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootContains(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootContainsFold(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootEQ(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootEqualFold(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootGT(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootGTE(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootHasPrefix(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootHasSuffix(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootIn(vs ...string) predicate.TicketRepoWorkspace
- func WorkspaceRootLT(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootLTE(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootNEQ(v string) predicate.TicketRepoWorkspace
- func WorkspaceRootNotIn(vs ...string) predicate.TicketRepoWorkspace
- type OrderOption
- func ByAgentRunField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAgentRunID(opts ...sql.OrderTermOption) OrderOption
- func ByBranchName(opts ...sql.OrderTermOption) OrderOption
- func ByCleanedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByHeadCommit(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastError(opts ...sql.OrderTermOption) OrderOption
- func ByPreparedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRepoField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRepoID(opts ...sql.OrderTermOption) OrderOption
- func ByRepoPath(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByTicketField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTicketID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceRoot(opts ...sql.OrderTermOption) OrderOption
- type State
Constants ¶
const ( // Label holds the string label denoting the ticketrepoworkspace type in the database. Label = "ticket_repo_workspace" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTicketID holds the string denoting the ticket_id field in the database. FieldTicketID = "ticket_id" // FieldAgentRunID holds the string denoting the agent_run_id field in the database. FieldAgentRunID = "agent_run_id" // FieldRepoID holds the string denoting the repo_id field in the database. FieldRepoID = "repo_id" // FieldWorkspaceRoot holds the string denoting the workspace_root field in the database. FieldWorkspaceRoot = "workspace_root" // FieldRepoPath holds the string denoting the repo_path field in the database. FieldRepoPath = "repo_path" // FieldBranchName holds the string denoting the branch_name field in the database. FieldBranchName = "branch_name" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldHeadCommit holds the string denoting the head_commit field in the database. FieldHeadCommit = "head_commit" // FieldLastError holds the string denoting the last_error field in the database. FieldLastError = "last_error" // FieldPreparedAt holds the string denoting the prepared_at field in the database. FieldPreparedAt = "prepared_at" // FieldCleanedAt holds the string denoting the cleaned_at field in the database. FieldCleanedAt = "cleaned_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeTicket holds the string denoting the ticket edge name in mutations. EdgeTicket = "ticket" // EdgeAgentRun holds the string denoting the agent_run edge name in mutations. EdgeAgentRun = "agent_run" // EdgeRepo holds the string denoting the repo edge name in mutations. EdgeRepo = "repo" // Table holds the table name of the ticketrepoworkspace in the database. Table = "ticket_repo_workspaces" // TicketTable is the table that holds the ticket relation/edge. TicketTable = "ticket_repo_workspaces" // TicketInverseTable is the table name for the Ticket entity. // It exists in this package in order to avoid circular dependency with the "ticket" package. TicketInverseTable = "tickets" // TicketColumn is the table column denoting the ticket relation/edge. TicketColumn = "ticket_id" // AgentRunTable is the table that holds the agent_run relation/edge. AgentRunTable = "ticket_repo_workspaces" // AgentRunInverseTable is the table name for the AgentRun entity. // It exists in this package in order to avoid circular dependency with the "agentrun" package. AgentRunInverseTable = "agent_runs" // AgentRunColumn is the table column denoting the agent_run relation/edge. AgentRunColumn = "agent_run_id" // RepoTable is the table that holds the repo relation/edge. RepoTable = "ticket_repo_workspaces" // RepoInverseTable is the table name for the ProjectRepo entity. // It exists in this package in order to avoid circular dependency with the "projectrepo" package. RepoInverseTable = "project_repos" // RepoColumn is the table column denoting the repo relation/edge. RepoColumn = "repo_id" )
const DefaultState = StatePlanned
StatePlanned is the default value of the State enum.
Variables ¶
var ( // WorkspaceRootValidator is a validator for the "workspace_root" field. It is called by the builders before save. WorkspaceRootValidator func(string) error // RepoPathValidator is a validator for the "repo_path" field. It is called by the builders before save. RepoPathValidator func(string) error // BranchNameValidator is a validator for the "branch_name" field. It is called by the builders before save. BranchNameValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldTicketID, FieldAgentRunID, FieldRepoID, FieldWorkspaceRoot, FieldRepoPath, FieldBranchName, FieldState, FieldHeadCommit, FieldLastError, FieldPreparedAt, FieldCleanedAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for ticketrepoworkspace fields.
Functions ¶
func AgentRunID ¶
func AgentRunID(v uuid.UUID) predicate.TicketRepoWorkspace
AgentRunID applies equality check predicate on the "agent_run_id" field. It's identical to AgentRunIDEQ.
func AgentRunIDEQ ¶
func AgentRunIDEQ(v uuid.UUID) predicate.TicketRepoWorkspace
AgentRunIDEQ applies the EQ predicate on the "agent_run_id" field.
func AgentRunIDIn ¶
func AgentRunIDIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
AgentRunIDIn applies the In predicate on the "agent_run_id" field.
func AgentRunIDNEQ ¶
func AgentRunIDNEQ(v uuid.UUID) predicate.TicketRepoWorkspace
AgentRunIDNEQ applies the NEQ predicate on the "agent_run_id" field.
func AgentRunIDNotIn ¶
func AgentRunIDNotIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
AgentRunIDNotIn applies the NotIn predicate on the "agent_run_id" field.
func And ¶
func And(predicates ...predicate.TicketRepoWorkspace) predicate.TicketRepoWorkspace
And groups predicates with the AND operator between them.
func BranchName ¶
func BranchName(v string) predicate.TicketRepoWorkspace
BranchName applies equality check predicate on the "branch_name" field. It's identical to BranchNameEQ.
func BranchNameContains ¶
func BranchNameContains(v string) predicate.TicketRepoWorkspace
BranchNameContains applies the Contains predicate on the "branch_name" field.
func BranchNameContainsFold ¶
func BranchNameContainsFold(v string) predicate.TicketRepoWorkspace
BranchNameContainsFold applies the ContainsFold predicate on the "branch_name" field.
func BranchNameEQ ¶
func BranchNameEQ(v string) predicate.TicketRepoWorkspace
BranchNameEQ applies the EQ predicate on the "branch_name" field.
func BranchNameEqualFold ¶
func BranchNameEqualFold(v string) predicate.TicketRepoWorkspace
BranchNameEqualFold applies the EqualFold predicate on the "branch_name" field.
func BranchNameGT ¶
func BranchNameGT(v string) predicate.TicketRepoWorkspace
BranchNameGT applies the GT predicate on the "branch_name" field.
func BranchNameGTE ¶
func BranchNameGTE(v string) predicate.TicketRepoWorkspace
BranchNameGTE applies the GTE predicate on the "branch_name" field.
func BranchNameHasPrefix ¶
func BranchNameHasPrefix(v string) predicate.TicketRepoWorkspace
BranchNameHasPrefix applies the HasPrefix predicate on the "branch_name" field.
func BranchNameHasSuffix ¶
func BranchNameHasSuffix(v string) predicate.TicketRepoWorkspace
BranchNameHasSuffix applies the HasSuffix predicate on the "branch_name" field.
func BranchNameIn ¶
func BranchNameIn(vs ...string) predicate.TicketRepoWorkspace
BranchNameIn applies the In predicate on the "branch_name" field.
func BranchNameLT ¶
func BranchNameLT(v string) predicate.TicketRepoWorkspace
BranchNameLT applies the LT predicate on the "branch_name" field.
func BranchNameLTE ¶
func BranchNameLTE(v string) predicate.TicketRepoWorkspace
BranchNameLTE applies the LTE predicate on the "branch_name" field.
func BranchNameNEQ ¶
func BranchNameNEQ(v string) predicate.TicketRepoWorkspace
BranchNameNEQ applies the NEQ predicate on the "branch_name" field.
func BranchNameNotIn ¶
func BranchNameNotIn(vs ...string) predicate.TicketRepoWorkspace
BranchNameNotIn applies the NotIn predicate on the "branch_name" field.
func CleanedAt ¶
func CleanedAt(v time.Time) predicate.TicketRepoWorkspace
CleanedAt applies equality check predicate on the "cleaned_at" field. It's identical to CleanedAtEQ.
func CleanedAtEQ ¶
func CleanedAtEQ(v time.Time) predicate.TicketRepoWorkspace
CleanedAtEQ applies the EQ predicate on the "cleaned_at" field.
func CleanedAtGT ¶
func CleanedAtGT(v time.Time) predicate.TicketRepoWorkspace
CleanedAtGT applies the GT predicate on the "cleaned_at" field.
func CleanedAtGTE ¶
func CleanedAtGTE(v time.Time) predicate.TicketRepoWorkspace
CleanedAtGTE applies the GTE predicate on the "cleaned_at" field.
func CleanedAtIn ¶
func CleanedAtIn(vs ...time.Time) predicate.TicketRepoWorkspace
CleanedAtIn applies the In predicate on the "cleaned_at" field.
func CleanedAtIsNil ¶
func CleanedAtIsNil() predicate.TicketRepoWorkspace
CleanedAtIsNil applies the IsNil predicate on the "cleaned_at" field.
func CleanedAtLT ¶
func CleanedAtLT(v time.Time) predicate.TicketRepoWorkspace
CleanedAtLT applies the LT predicate on the "cleaned_at" field.
func CleanedAtLTE ¶
func CleanedAtLTE(v time.Time) predicate.TicketRepoWorkspace
CleanedAtLTE applies the LTE predicate on the "cleaned_at" field.
func CleanedAtNEQ ¶
func CleanedAtNEQ(v time.Time) predicate.TicketRepoWorkspace
CleanedAtNEQ applies the NEQ predicate on the "cleaned_at" field.
func CleanedAtNotIn ¶
func CleanedAtNotIn(vs ...time.Time) predicate.TicketRepoWorkspace
CleanedAtNotIn applies the NotIn predicate on the "cleaned_at" field.
func CleanedAtNotNil ¶
func CleanedAtNotNil() predicate.TicketRepoWorkspace
CleanedAtNotNil applies the NotNil predicate on the "cleaned_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.TicketRepoWorkspace
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.TicketRepoWorkspace
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.TicketRepoWorkspace
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.TicketRepoWorkspace
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.TicketRepoWorkspace
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.TicketRepoWorkspace
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.TicketRepoWorkspace
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.TicketRepoWorkspace
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.TicketRepoWorkspace
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasAgentRun ¶
func HasAgentRun() predicate.TicketRepoWorkspace
HasAgentRun applies the HasEdge predicate on the "agent_run" edge.
func HasAgentRunWith ¶
func HasAgentRunWith(preds ...predicate.AgentRun) predicate.TicketRepoWorkspace
HasAgentRunWith applies the HasEdge predicate on the "agent_run" edge with a given conditions (other predicates).
func HasRepo ¶
func HasRepo() predicate.TicketRepoWorkspace
HasRepo applies the HasEdge predicate on the "repo" edge.
func HasRepoWith ¶
func HasRepoWith(preds ...predicate.ProjectRepo) predicate.TicketRepoWorkspace
HasRepoWith applies the HasEdge predicate on the "repo" edge with a given conditions (other predicates).
func HasTicket ¶
func HasTicket() predicate.TicketRepoWorkspace
HasTicket applies the HasEdge predicate on the "ticket" edge.
func HasTicketWith ¶
func HasTicketWith(preds ...predicate.Ticket) predicate.TicketRepoWorkspace
HasTicketWith applies the HasEdge predicate on the "ticket" edge with a given conditions (other predicates).
func HeadCommit ¶
func HeadCommit(v string) predicate.TicketRepoWorkspace
HeadCommit applies equality check predicate on the "head_commit" field. It's identical to HeadCommitEQ.
func HeadCommitContains ¶
func HeadCommitContains(v string) predicate.TicketRepoWorkspace
HeadCommitContains applies the Contains predicate on the "head_commit" field.
func HeadCommitContainsFold ¶
func HeadCommitContainsFold(v string) predicate.TicketRepoWorkspace
HeadCommitContainsFold applies the ContainsFold predicate on the "head_commit" field.
func HeadCommitEQ ¶
func HeadCommitEQ(v string) predicate.TicketRepoWorkspace
HeadCommitEQ applies the EQ predicate on the "head_commit" field.
func HeadCommitEqualFold ¶
func HeadCommitEqualFold(v string) predicate.TicketRepoWorkspace
HeadCommitEqualFold applies the EqualFold predicate on the "head_commit" field.
func HeadCommitGT ¶
func HeadCommitGT(v string) predicate.TicketRepoWorkspace
HeadCommitGT applies the GT predicate on the "head_commit" field.
func HeadCommitGTE ¶
func HeadCommitGTE(v string) predicate.TicketRepoWorkspace
HeadCommitGTE applies the GTE predicate on the "head_commit" field.
func HeadCommitHasPrefix ¶
func HeadCommitHasPrefix(v string) predicate.TicketRepoWorkspace
HeadCommitHasPrefix applies the HasPrefix predicate on the "head_commit" field.
func HeadCommitHasSuffix ¶
func HeadCommitHasSuffix(v string) predicate.TicketRepoWorkspace
HeadCommitHasSuffix applies the HasSuffix predicate on the "head_commit" field.
func HeadCommitIn ¶
func HeadCommitIn(vs ...string) predicate.TicketRepoWorkspace
HeadCommitIn applies the In predicate on the "head_commit" field.
func HeadCommitIsNil ¶
func HeadCommitIsNil() predicate.TicketRepoWorkspace
HeadCommitIsNil applies the IsNil predicate on the "head_commit" field.
func HeadCommitLT ¶
func HeadCommitLT(v string) predicate.TicketRepoWorkspace
HeadCommitLT applies the LT predicate on the "head_commit" field.
func HeadCommitLTE ¶
func HeadCommitLTE(v string) predicate.TicketRepoWorkspace
HeadCommitLTE applies the LTE predicate on the "head_commit" field.
func HeadCommitNEQ ¶
func HeadCommitNEQ(v string) predicate.TicketRepoWorkspace
HeadCommitNEQ applies the NEQ predicate on the "head_commit" field.
func HeadCommitNotIn ¶
func HeadCommitNotIn(vs ...string) predicate.TicketRepoWorkspace
HeadCommitNotIn applies the NotIn predicate on the "head_commit" field.
func HeadCommitNotNil ¶
func HeadCommitNotNil() predicate.TicketRepoWorkspace
HeadCommitNotNil applies the NotNil predicate on the "head_commit" field.
func ID ¶
func ID(id uuid.UUID) predicate.TicketRepoWorkspace
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.TicketRepoWorkspace
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.TicketRepoWorkspace
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.TicketRepoWorkspace
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.TicketRepoWorkspace
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.TicketRepoWorkspace
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.TicketRepoWorkspace
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.TicketRepoWorkspace
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.TicketRepoWorkspace
IDNotIn applies the NotIn predicate on the ID field.
func LastError ¶
func LastError(v string) predicate.TicketRepoWorkspace
LastError applies equality check predicate on the "last_error" field. It's identical to LastErrorEQ.
func LastErrorContains ¶
func LastErrorContains(v string) predicate.TicketRepoWorkspace
LastErrorContains applies the Contains predicate on the "last_error" field.
func LastErrorContainsFold ¶
func LastErrorContainsFold(v string) predicate.TicketRepoWorkspace
LastErrorContainsFold applies the ContainsFold predicate on the "last_error" field.
func LastErrorEQ ¶
func LastErrorEQ(v string) predicate.TicketRepoWorkspace
LastErrorEQ applies the EQ predicate on the "last_error" field.
func LastErrorEqualFold ¶
func LastErrorEqualFold(v string) predicate.TicketRepoWorkspace
LastErrorEqualFold applies the EqualFold predicate on the "last_error" field.
func LastErrorGT ¶
func LastErrorGT(v string) predicate.TicketRepoWorkspace
LastErrorGT applies the GT predicate on the "last_error" field.
func LastErrorGTE ¶
func LastErrorGTE(v string) predicate.TicketRepoWorkspace
LastErrorGTE applies the GTE predicate on the "last_error" field.
func LastErrorHasPrefix ¶
func LastErrorHasPrefix(v string) predicate.TicketRepoWorkspace
LastErrorHasPrefix applies the HasPrefix predicate on the "last_error" field.
func LastErrorHasSuffix ¶
func LastErrorHasSuffix(v string) predicate.TicketRepoWorkspace
LastErrorHasSuffix applies the HasSuffix predicate on the "last_error" field.
func LastErrorIn ¶
func LastErrorIn(vs ...string) predicate.TicketRepoWorkspace
LastErrorIn applies the In predicate on the "last_error" field.
func LastErrorIsNil ¶
func LastErrorIsNil() predicate.TicketRepoWorkspace
LastErrorIsNil applies the IsNil predicate on the "last_error" field.
func LastErrorLT ¶
func LastErrorLT(v string) predicate.TicketRepoWorkspace
LastErrorLT applies the LT predicate on the "last_error" field.
func LastErrorLTE ¶
func LastErrorLTE(v string) predicate.TicketRepoWorkspace
LastErrorLTE applies the LTE predicate on the "last_error" field.
func LastErrorNEQ ¶
func LastErrorNEQ(v string) predicate.TicketRepoWorkspace
LastErrorNEQ applies the NEQ predicate on the "last_error" field.
func LastErrorNotIn ¶
func LastErrorNotIn(vs ...string) predicate.TicketRepoWorkspace
LastErrorNotIn applies the NotIn predicate on the "last_error" field.
func LastErrorNotNil ¶
func LastErrorNotNil() predicate.TicketRepoWorkspace
LastErrorNotNil applies the NotNil predicate on the "last_error" field.
func Not ¶
func Not(p predicate.TicketRepoWorkspace) predicate.TicketRepoWorkspace
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TicketRepoWorkspace) predicate.TicketRepoWorkspace
Or groups predicates with the OR operator between them.
func PreparedAt ¶
func PreparedAt(v time.Time) predicate.TicketRepoWorkspace
PreparedAt applies equality check predicate on the "prepared_at" field. It's identical to PreparedAtEQ.
func PreparedAtEQ ¶
func PreparedAtEQ(v time.Time) predicate.TicketRepoWorkspace
PreparedAtEQ applies the EQ predicate on the "prepared_at" field.
func PreparedAtGT ¶
func PreparedAtGT(v time.Time) predicate.TicketRepoWorkspace
PreparedAtGT applies the GT predicate on the "prepared_at" field.
func PreparedAtGTE ¶
func PreparedAtGTE(v time.Time) predicate.TicketRepoWorkspace
PreparedAtGTE applies the GTE predicate on the "prepared_at" field.
func PreparedAtIn ¶
func PreparedAtIn(vs ...time.Time) predicate.TicketRepoWorkspace
PreparedAtIn applies the In predicate on the "prepared_at" field.
func PreparedAtIsNil ¶
func PreparedAtIsNil() predicate.TicketRepoWorkspace
PreparedAtIsNil applies the IsNil predicate on the "prepared_at" field.
func PreparedAtLT ¶
func PreparedAtLT(v time.Time) predicate.TicketRepoWorkspace
PreparedAtLT applies the LT predicate on the "prepared_at" field.
func PreparedAtLTE ¶
func PreparedAtLTE(v time.Time) predicate.TicketRepoWorkspace
PreparedAtLTE applies the LTE predicate on the "prepared_at" field.
func PreparedAtNEQ ¶
func PreparedAtNEQ(v time.Time) predicate.TicketRepoWorkspace
PreparedAtNEQ applies the NEQ predicate on the "prepared_at" field.
func PreparedAtNotIn ¶
func PreparedAtNotIn(vs ...time.Time) predicate.TicketRepoWorkspace
PreparedAtNotIn applies the NotIn predicate on the "prepared_at" field.
func PreparedAtNotNil ¶
func PreparedAtNotNil() predicate.TicketRepoWorkspace
PreparedAtNotNil applies the NotNil predicate on the "prepared_at" field.
func RepoID ¶
func RepoID(v uuid.UUID) predicate.TicketRepoWorkspace
RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.
func RepoIDEQ ¶
func RepoIDEQ(v uuid.UUID) predicate.TicketRepoWorkspace
RepoIDEQ applies the EQ predicate on the "repo_id" field.
func RepoIDIn ¶
func RepoIDIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
RepoIDIn applies the In predicate on the "repo_id" field.
func RepoIDNEQ ¶
func RepoIDNEQ(v uuid.UUID) predicate.TicketRepoWorkspace
RepoIDNEQ applies the NEQ predicate on the "repo_id" field.
func RepoIDNotIn ¶
func RepoIDNotIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
RepoIDNotIn applies the NotIn predicate on the "repo_id" field.
func RepoPath ¶
func RepoPath(v string) predicate.TicketRepoWorkspace
RepoPath applies equality check predicate on the "repo_path" field. It's identical to RepoPathEQ.
func RepoPathContains ¶
func RepoPathContains(v string) predicate.TicketRepoWorkspace
RepoPathContains applies the Contains predicate on the "repo_path" field.
func RepoPathContainsFold ¶
func RepoPathContainsFold(v string) predicate.TicketRepoWorkspace
RepoPathContainsFold applies the ContainsFold predicate on the "repo_path" field.
func RepoPathEQ ¶
func RepoPathEQ(v string) predicate.TicketRepoWorkspace
RepoPathEQ applies the EQ predicate on the "repo_path" field.
func RepoPathEqualFold ¶
func RepoPathEqualFold(v string) predicate.TicketRepoWorkspace
RepoPathEqualFold applies the EqualFold predicate on the "repo_path" field.
func RepoPathGT ¶
func RepoPathGT(v string) predicate.TicketRepoWorkspace
RepoPathGT applies the GT predicate on the "repo_path" field.
func RepoPathGTE ¶
func RepoPathGTE(v string) predicate.TicketRepoWorkspace
RepoPathGTE applies the GTE predicate on the "repo_path" field.
func RepoPathHasPrefix ¶
func RepoPathHasPrefix(v string) predicate.TicketRepoWorkspace
RepoPathHasPrefix applies the HasPrefix predicate on the "repo_path" field.
func RepoPathHasSuffix ¶
func RepoPathHasSuffix(v string) predicate.TicketRepoWorkspace
RepoPathHasSuffix applies the HasSuffix predicate on the "repo_path" field.
func RepoPathIn ¶
func RepoPathIn(vs ...string) predicate.TicketRepoWorkspace
RepoPathIn applies the In predicate on the "repo_path" field.
func RepoPathLT ¶
func RepoPathLT(v string) predicate.TicketRepoWorkspace
RepoPathLT applies the LT predicate on the "repo_path" field.
func RepoPathLTE ¶
func RepoPathLTE(v string) predicate.TicketRepoWorkspace
RepoPathLTE applies the LTE predicate on the "repo_path" field.
func RepoPathNEQ ¶
func RepoPathNEQ(v string) predicate.TicketRepoWorkspace
RepoPathNEQ applies the NEQ predicate on the "repo_path" field.
func RepoPathNotIn ¶
func RepoPathNotIn(vs ...string) predicate.TicketRepoWorkspace
RepoPathNotIn applies the NotIn predicate on the "repo_path" field.
func StateEQ ¶
func StateEQ(v State) predicate.TicketRepoWorkspace
StateEQ applies the EQ predicate on the "state" field.
func StateIn ¶
func StateIn(vs ...State) predicate.TicketRepoWorkspace
StateIn applies the In predicate on the "state" field.
func StateNEQ ¶
func StateNEQ(v State) predicate.TicketRepoWorkspace
StateNEQ applies the NEQ predicate on the "state" field.
func StateNotIn ¶
func StateNotIn(vs ...State) predicate.TicketRepoWorkspace
StateNotIn applies the NotIn predicate on the "state" field.
func StateValidator ¶
StateValidator is a validator for the "state" field enum values. It is called by the builders before save.
func TicketID ¶
func TicketID(v uuid.UUID) predicate.TicketRepoWorkspace
TicketID applies equality check predicate on the "ticket_id" field. It's identical to TicketIDEQ.
func TicketIDEQ ¶
func TicketIDEQ(v uuid.UUID) predicate.TicketRepoWorkspace
TicketIDEQ applies the EQ predicate on the "ticket_id" field.
func TicketIDIn ¶
func TicketIDIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
TicketIDIn applies the In predicate on the "ticket_id" field.
func TicketIDNEQ ¶
func TicketIDNEQ(v uuid.UUID) predicate.TicketRepoWorkspace
TicketIDNEQ applies the NEQ predicate on the "ticket_id" field.
func TicketIDNotIn ¶
func TicketIDNotIn(vs ...uuid.UUID) predicate.TicketRepoWorkspace
TicketIDNotIn applies the NotIn predicate on the "ticket_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.TicketRepoWorkspace
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.TicketRepoWorkspace
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.TicketRepoWorkspace
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.TicketRepoWorkspace
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.TicketRepoWorkspace
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.TicketRepoWorkspace
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.TicketRepoWorkspace
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.TicketRepoWorkspace
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.TicketRepoWorkspace
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkspaceRoot ¶
func WorkspaceRoot(v string) predicate.TicketRepoWorkspace
WorkspaceRoot applies equality check predicate on the "workspace_root" field. It's identical to WorkspaceRootEQ.
func WorkspaceRootContains ¶
func WorkspaceRootContains(v string) predicate.TicketRepoWorkspace
WorkspaceRootContains applies the Contains predicate on the "workspace_root" field.
func WorkspaceRootContainsFold ¶
func WorkspaceRootContainsFold(v string) predicate.TicketRepoWorkspace
WorkspaceRootContainsFold applies the ContainsFold predicate on the "workspace_root" field.
func WorkspaceRootEQ ¶
func WorkspaceRootEQ(v string) predicate.TicketRepoWorkspace
WorkspaceRootEQ applies the EQ predicate on the "workspace_root" field.
func WorkspaceRootEqualFold ¶
func WorkspaceRootEqualFold(v string) predicate.TicketRepoWorkspace
WorkspaceRootEqualFold applies the EqualFold predicate on the "workspace_root" field.
func WorkspaceRootGT ¶
func WorkspaceRootGT(v string) predicate.TicketRepoWorkspace
WorkspaceRootGT applies the GT predicate on the "workspace_root" field.
func WorkspaceRootGTE ¶
func WorkspaceRootGTE(v string) predicate.TicketRepoWorkspace
WorkspaceRootGTE applies the GTE predicate on the "workspace_root" field.
func WorkspaceRootHasPrefix ¶
func WorkspaceRootHasPrefix(v string) predicate.TicketRepoWorkspace
WorkspaceRootHasPrefix applies the HasPrefix predicate on the "workspace_root" field.
func WorkspaceRootHasSuffix ¶
func WorkspaceRootHasSuffix(v string) predicate.TicketRepoWorkspace
WorkspaceRootHasSuffix applies the HasSuffix predicate on the "workspace_root" field.
func WorkspaceRootIn ¶
func WorkspaceRootIn(vs ...string) predicate.TicketRepoWorkspace
WorkspaceRootIn applies the In predicate on the "workspace_root" field.
func WorkspaceRootLT ¶
func WorkspaceRootLT(v string) predicate.TicketRepoWorkspace
WorkspaceRootLT applies the LT predicate on the "workspace_root" field.
func WorkspaceRootLTE ¶
func WorkspaceRootLTE(v string) predicate.TicketRepoWorkspace
WorkspaceRootLTE applies the LTE predicate on the "workspace_root" field.
func WorkspaceRootNEQ ¶
func WorkspaceRootNEQ(v string) predicate.TicketRepoWorkspace
WorkspaceRootNEQ applies the NEQ predicate on the "workspace_root" field.
func WorkspaceRootNotIn ¶
func WorkspaceRootNotIn(vs ...string) predicate.TicketRepoWorkspace
WorkspaceRootNotIn applies the NotIn predicate on the "workspace_root" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the TicketRepoWorkspace queries.
func ByAgentRunField ¶
func ByAgentRunField(field string, opts ...sql.OrderTermOption) OrderOption
ByAgentRunField orders the results by agent_run field.
func ByAgentRunID ¶
func ByAgentRunID(opts ...sql.OrderTermOption) OrderOption
ByAgentRunID orders the results by the agent_run_id field.
func ByBranchName ¶
func ByBranchName(opts ...sql.OrderTermOption) OrderOption
ByBranchName orders the results by the branch_name field.
func ByCleanedAt ¶
func ByCleanedAt(opts ...sql.OrderTermOption) OrderOption
ByCleanedAt orders the results by the cleaned_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByHeadCommit ¶
func ByHeadCommit(opts ...sql.OrderTermOption) OrderOption
ByHeadCommit orders the results by the head_commit field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastError ¶
func ByLastError(opts ...sql.OrderTermOption) OrderOption
ByLastError orders the results by the last_error field.
func ByPreparedAt ¶
func ByPreparedAt(opts ...sql.OrderTermOption) OrderOption
ByPreparedAt orders the results by the prepared_at field.
func ByRepoField ¶
func ByRepoField(field string, opts ...sql.OrderTermOption) OrderOption
ByRepoField orders the results by repo field.
func ByRepoID ¶
func ByRepoID(opts ...sql.OrderTermOption) OrderOption
ByRepoID orders the results by the repo_id field.
func ByRepoPath ¶
func ByRepoPath(opts ...sql.OrderTermOption) OrderOption
ByRepoPath orders the results by the repo_path field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByTicketField ¶
func ByTicketField(field string, opts ...sql.OrderTermOption) OrderOption
ByTicketField orders the results by ticket field.
func ByTicketID ¶
func ByTicketID(opts ...sql.OrderTermOption) OrderOption
ByTicketID orders the results by the ticket_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWorkspaceRoot ¶
func ByWorkspaceRoot(opts ...sql.OrderTermOption) OrderOption
ByWorkspaceRoot orders the results by the workspace_root field.
type State ¶
type State string
State defines the type for the "state" enum field.
const ( StatePlanned State = "planned" StateMaterializing State = "materializing" StateReady State = "ready" StateDirty State = "dirty" StateVerifying State = "verifying" StateCompleted State = "completed" StateFailed State = "failed" StateCleaning State = "cleaning" StateCleaned State = "cleaned" )
State values.