ticketrepoworkspace

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const DefaultState = StatePlanned

StatePlanned is the default value of the State enum.

Variables

View Source
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
)

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

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

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

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

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

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

Not applies the not operator on the given predicate.

func Or

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

RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.

func RepoIDEQ

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

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

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

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

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

func StateValidator(s State) error

StateValidator is a validator for the "state" field enum values. It is called by the builders before save.

func TicketID

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

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

func ValidColumn(column string) bool

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

type OrderOption func(*sql.Selector)

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.

func (State) String

func (s State) String() string

Jump to

Keyboard shortcuts

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