Documentation
¶
Index ¶
- Constants
- Variables
- func AgentType(v string) predicate.Workflow
- func AgentTypeContains(v string) predicate.Workflow
- func AgentTypeContainsFold(v string) predicate.Workflow
- func AgentTypeEQ(v string) predicate.Workflow
- func AgentTypeEqualFold(v string) predicate.Workflow
- func AgentTypeGT(v string) predicate.Workflow
- func AgentTypeGTE(v string) predicate.Workflow
- func AgentTypeHasPrefix(v string) predicate.Workflow
- func AgentTypeHasSuffix(v string) predicate.Workflow
- func AgentTypeIn(vs ...string) predicate.Workflow
- func AgentTypeIsNil() predicate.Workflow
- func AgentTypeLT(v string) predicate.Workflow
- func AgentTypeLTE(v string) predicate.Workflow
- func AgentTypeNEQ(v string) predicate.Workflow
- func AgentTypeNotIn(vs ...string) predicate.Workflow
- func AgentTypeNotNil() predicate.Workflow
- func And(predicates ...predicate.Workflow) predicate.Workflow
- func ArchiveAfterHours(v int) predicate.Workflow
- func ArchiveAfterHoursEQ(v int) predicate.Workflow
- func ArchiveAfterHoursGT(v int) predicate.Workflow
- func ArchiveAfterHoursGTE(v int) predicate.Workflow
- func ArchiveAfterHoursIn(vs ...int) predicate.Workflow
- func ArchiveAfterHoursIsNil() predicate.Workflow
- func ArchiveAfterHoursLT(v int) predicate.Workflow
- func ArchiveAfterHoursLTE(v int) predicate.Workflow
- func ArchiveAfterHoursNEQ(v int) predicate.Workflow
- func ArchiveAfterHoursNotIn(vs ...int) predicate.Workflow
- func ArchiveAfterHoursNotNil() predicate.Workflow
- func Command(v string) predicate.Workflow
- func CommandContains(v string) predicate.Workflow
- func CommandContainsFold(v string) predicate.Workflow
- func CommandEQ(v string) predicate.Workflow
- func CommandEqualFold(v string) predicate.Workflow
- func CommandGT(v string) predicate.Workflow
- func CommandGTE(v string) predicate.Workflow
- func CommandHasPrefix(v string) predicate.Workflow
- func CommandHasSuffix(v string) predicate.Workflow
- func CommandIn(vs ...string) predicate.Workflow
- func CommandLT(v string) predicate.Workflow
- func CommandLTE(v string) predicate.Workflow
- func CommandNEQ(v string) predicate.Workflow
- func CommandNotIn(vs ...string) predicate.Workflow
- func CreatedAt(v time.Time) predicate.Workflow
- func CreatedAtEQ(v time.Time) predicate.Workflow
- func CreatedAtGT(v time.Time) predicate.Workflow
- func CreatedAtGTE(v time.Time) predicate.Workflow
- func CreatedAtIn(vs ...time.Time) predicate.Workflow
- func CreatedAtLT(v time.Time) predicate.Workflow
- func CreatedAtLTE(v time.Time) predicate.Workflow
- func CreatedAtNEQ(v time.Time) predicate.Workflow
- func CreatedAtNotIn(vs ...time.Time) predicate.Workflow
- func CronEnabled(v bool) predicate.Workflow
- func CronEnabledEQ(v bool) predicate.Workflow
- func CronEnabledNEQ(v bool) predicate.Workflow
- func CronExpression(v string) predicate.Workflow
- func CronExpressionContains(v string) predicate.Workflow
- func CronExpressionContainsFold(v string) predicate.Workflow
- func CronExpressionEQ(v string) predicate.Workflow
- func CronExpressionEqualFold(v string) predicate.Workflow
- func CronExpressionGT(v string) predicate.Workflow
- func CronExpressionGTE(v string) predicate.Workflow
- func CronExpressionHasPrefix(v string) predicate.Workflow
- func CronExpressionHasSuffix(v string) predicate.Workflow
- func CronExpressionIn(vs ...string) predicate.Workflow
- func CronExpressionIsNil() predicate.Workflow
- func CronExpressionLT(v string) predicate.Workflow
- func CronExpressionLTE(v string) predicate.Workflow
- func CronExpressionNEQ(v string) predicate.Workflow
- func CronExpressionNotIn(vs ...string) predicate.Workflow
- func CronExpressionNotNil() predicate.Workflow
- func Description(v string) predicate.Workflow
- func DescriptionContains(v string) predicate.Workflow
- func DescriptionContainsFold(v string) predicate.Workflow
- func DescriptionEQ(v string) predicate.Workflow
- func DescriptionEqualFold(v string) predicate.Workflow
- func DescriptionGT(v string) predicate.Workflow
- func DescriptionGTE(v string) predicate.Workflow
- func DescriptionHasPrefix(v string) predicate.Workflow
- func DescriptionHasSuffix(v string) predicate.Workflow
- func DescriptionIn(vs ...string) predicate.Workflow
- func DescriptionIsNil() predicate.Workflow
- func DescriptionLT(v string) predicate.Workflow
- func DescriptionLTE(v string) predicate.Workflow
- func DescriptionNEQ(v string) predicate.Workflow
- func DescriptionNotIn(vs ...string) predicate.Workflow
- func DescriptionNotNil() predicate.Workflow
- func EventFilter(v string) predicate.Workflow
- func EventFilterContains(v string) predicate.Workflow
- func EventFilterContainsFold(v string) predicate.Workflow
- func EventFilterEQ(v string) predicate.Workflow
- func EventFilterEqualFold(v string) predicate.Workflow
- func EventFilterGT(v string) predicate.Workflow
- func EventFilterGTE(v string) predicate.Workflow
- func EventFilterHasPrefix(v string) predicate.Workflow
- func EventFilterHasSuffix(v string) predicate.Workflow
- func EventFilterIn(vs ...string) predicate.Workflow
- func EventFilterIsNil() predicate.Workflow
- func EventFilterLT(v string) predicate.Workflow
- func EventFilterLTE(v string) predicate.Workflow
- func EventFilterNEQ(v string) predicate.Workflow
- func EventFilterNotIn(vs ...string) predicate.Workflow
- func EventFilterNotNil() predicate.Workflow
- func GithubBranch(v string) predicate.Workflow
- func GithubBranchContains(v string) predicate.Workflow
- func GithubBranchContainsFold(v string) predicate.Workflow
- func GithubBranchEQ(v string) predicate.Workflow
- func GithubBranchEqualFold(v string) predicate.Workflow
- func GithubBranchGT(v string) predicate.Workflow
- func GithubBranchGTE(v string) predicate.Workflow
- func GithubBranchHasPrefix(v string) predicate.Workflow
- func GithubBranchHasSuffix(v string) predicate.Workflow
- func GithubBranchIn(vs ...string) predicate.Workflow
- func GithubBranchIsNil() predicate.Workflow
- func GithubBranchLT(v string) predicate.Workflow
- func GithubBranchLTE(v string) predicate.Workflow
- func GithubBranchNEQ(v string) predicate.Workflow
- func GithubBranchNotIn(vs ...string) predicate.Workflow
- func GithubBranchNotNil() predicate.Workflow
- func GithubRepo(v string) predicate.Workflow
- func GithubRepoContains(v string) predicate.Workflow
- func GithubRepoContainsFold(v string) predicate.Workflow
- func GithubRepoEQ(v string) predicate.Workflow
- func GithubRepoEqualFold(v string) predicate.Workflow
- func GithubRepoGT(v string) predicate.Workflow
- func GithubRepoGTE(v string) predicate.Workflow
- func GithubRepoHasPrefix(v string) predicate.Workflow
- func GithubRepoHasSuffix(v string) predicate.Workflow
- func GithubRepoIn(vs ...string) predicate.Workflow
- func GithubRepoIsNil() predicate.Workflow
- func GithubRepoLT(v string) predicate.Workflow
- func GithubRepoLTE(v string) predicate.Workflow
- func GithubRepoNEQ(v string) predicate.Workflow
- func GithubRepoNotIn(vs ...string) predicate.Workflow
- func GithubRepoNotNil() predicate.Workflow
- func ID(id uuid.UUID) predicate.Workflow
- func IDEQ(id uuid.UUID) predicate.Workflow
- func IDGT(id uuid.UUID) predicate.Workflow
- func IDGTE(id uuid.UUID) predicate.Workflow
- func IDIn(ids ...uuid.UUID) predicate.Workflow
- func IDLT(id uuid.UUID) predicate.Workflow
- func IDLTE(id uuid.UUID) predicate.Workflow
- func IDNEQ(id uuid.UUID) predicate.Workflow
- func IDNotIn(ids ...uuid.UUID) predicate.Workflow
- func InputTemplate(v string) predicate.Workflow
- func InputTemplateContains(v string) predicate.Workflow
- func InputTemplateContainsFold(v string) predicate.Workflow
- func InputTemplateEQ(v string) predicate.Workflow
- func InputTemplateEqualFold(v string) predicate.Workflow
- func InputTemplateGT(v string) predicate.Workflow
- func InputTemplateGTE(v string) predicate.Workflow
- func InputTemplateHasPrefix(v string) predicate.Workflow
- func InputTemplateHasSuffix(v string) predicate.Workflow
- func InputTemplateIn(vs ...string) predicate.Workflow
- func InputTemplateIsNil() predicate.Workflow
- func InputTemplateLT(v string) predicate.Workflow
- func InputTemplateLTE(v string) predicate.Workflow
- func InputTemplateNEQ(v string) predicate.Workflow
- func InputTemplateNotIn(vs ...string) predicate.Workflow
- func InputTemplateNotNil() predicate.Workflow
- func KeepSessions(v int) predicate.Workflow
- func KeepSessionsEQ(v int) predicate.Workflow
- func KeepSessionsGT(v int) predicate.Workflow
- func KeepSessionsGTE(v int) predicate.Workflow
- func KeepSessionsIn(vs ...int) predicate.Workflow
- func KeepSessionsIsNil() predicate.Workflow
- func KeepSessionsLT(v int) predicate.Workflow
- func KeepSessionsLTE(v int) predicate.Workflow
- func KeepSessionsNEQ(v int) predicate.Workflow
- func KeepSessionsNotIn(vs ...int) predicate.Workflow
- func KeepSessionsNotNil() predicate.Workflow
- func LabelFilter(v string) predicate.Workflow
- func LabelFilterContains(v string) predicate.Workflow
- func LabelFilterContainsFold(v string) predicate.Workflow
- func LabelFilterEQ(v string) predicate.Workflow
- func LabelFilterEqualFold(v string) predicate.Workflow
- func LabelFilterGT(v string) predicate.Workflow
- func LabelFilterGTE(v string) predicate.Workflow
- func LabelFilterHasPrefix(v string) predicate.Workflow
- func LabelFilterHasSuffix(v string) predicate.Workflow
- func LabelFilterIn(vs ...string) predicate.Workflow
- func LabelFilterIsNil() predicate.Workflow
- func LabelFilterLT(v string) predicate.Workflow
- func LabelFilterLTE(v string) predicate.Workflow
- func LabelFilterNEQ(v string) predicate.Workflow
- func LabelFilterNotIn(vs ...string) predicate.Workflow
- func LabelFilterNotNil() predicate.Workflow
- func LastFiredAt(v time.Time) predicate.Workflow
- func LastFiredAtEQ(v time.Time) predicate.Workflow
- func LastFiredAtGT(v time.Time) predicate.Workflow
- func LastFiredAtGTE(v time.Time) predicate.Workflow
- func LastFiredAtIn(vs ...time.Time) predicate.Workflow
- func LastFiredAtIsNil() predicate.Workflow
- func LastFiredAtLT(v time.Time) predicate.Workflow
- func LastFiredAtLTE(v time.Time) predicate.Workflow
- func LastFiredAtNEQ(v time.Time) predicate.Workflow
- func LastFiredAtNotIn(vs ...time.Time) predicate.Workflow
- func LastFiredAtNotNil() predicate.Workflow
- func Model(v string) predicate.Workflow
- func ModelContains(v string) predicate.Workflow
- func ModelContainsFold(v string) predicate.Workflow
- func ModelEQ(v string) predicate.Workflow
- func ModelEqualFold(v string) predicate.Workflow
- func ModelGT(v string) predicate.Workflow
- func ModelGTE(v string) predicate.Workflow
- func ModelHasPrefix(v string) predicate.Workflow
- func ModelHasSuffix(v string) predicate.Workflow
- func ModelIn(vs ...string) predicate.Workflow
- func ModelIsNil() predicate.Workflow
- func ModelLT(v string) predicate.Workflow
- func ModelLTE(v string) predicate.Workflow
- func ModelNEQ(v string) predicate.Workflow
- func ModelNotIn(vs ...string) predicate.Workflow
- func ModelNotNil() predicate.Workflow
- func Name(v string) predicate.Workflow
- func NameContains(v string) predicate.Workflow
- func NameContainsFold(v string) predicate.Workflow
- func NameEQ(v string) predicate.Workflow
- func NameEqualFold(v string) predicate.Workflow
- func NameGT(v string) predicate.Workflow
- func NameGTE(v string) predicate.Workflow
- func NameHasPrefix(v string) predicate.Workflow
- func NameHasSuffix(v string) predicate.Workflow
- func NameIn(vs ...string) predicate.Workflow
- func NameLT(v string) predicate.Workflow
- func NameLTE(v string) predicate.Workflow
- func NameNEQ(v string) predicate.Workflow
- func NameNotIn(vs ...string) predicate.Workflow
- func Not(p predicate.Workflow) predicate.Workflow
- func Or(predicates ...predicate.Workflow) predicate.Workflow
- func PromptTemplate(v string) predicate.Workflow
- func PromptTemplateContains(v string) predicate.Workflow
- func PromptTemplateContainsFold(v string) predicate.Workflow
- func PromptTemplateEQ(v string) predicate.Workflow
- func PromptTemplateEqualFold(v string) predicate.Workflow
- func PromptTemplateGT(v string) predicate.Workflow
- func PromptTemplateGTE(v string) predicate.Workflow
- func PromptTemplateHasPrefix(v string) predicate.Workflow
- func PromptTemplateHasSuffix(v string) predicate.Workflow
- func PromptTemplateIn(vs ...string) predicate.Workflow
- func PromptTemplateIsNil() predicate.Workflow
- func PromptTemplateLT(v string) predicate.Workflow
- func PromptTemplateLTE(v string) predicate.Workflow
- func PromptTemplateNEQ(v string) predicate.Workflow
- func PromptTemplateNotIn(vs ...string) predicate.Workflow
- func PromptTemplateNotNil() predicate.Workflow
- func SessionType(v string) predicate.Workflow
- func SessionTypeContains(v string) predicate.Workflow
- func SessionTypeContainsFold(v string) predicate.Workflow
- func SessionTypeEQ(v string) predicate.Workflow
- func SessionTypeEqualFold(v string) predicate.Workflow
- func SessionTypeGT(v string) predicate.Workflow
- func SessionTypeGTE(v string) predicate.Workflow
- func SessionTypeHasPrefix(v string) predicate.Workflow
- func SessionTypeHasSuffix(v string) predicate.Workflow
- func SessionTypeIn(vs ...string) predicate.Workflow
- func SessionTypeIsNil() predicate.Workflow
- func SessionTypeLT(v string) predicate.Workflow
- func SessionTypeLTE(v string) predicate.Workflow
- func SessionTypeNEQ(v string) predicate.Workflow
- func SessionTypeNotIn(vs ...string) predicate.Workflow
- func SessionTypeNotNil() predicate.Workflow
- func Slug(v string) predicate.Workflow
- func SlugContains(v string) predicate.Workflow
- func SlugContainsFold(v string) predicate.Workflow
- func SlugEQ(v string) predicate.Workflow
- func SlugEqualFold(v string) predicate.Workflow
- func SlugGT(v string) predicate.Workflow
- func SlugGTE(v string) predicate.Workflow
- func SlugHasPrefix(v string) predicate.Workflow
- func SlugHasSuffix(v string) predicate.Workflow
- func SlugIn(vs ...string) predicate.Workflow
- func SlugLT(v string) predicate.Workflow
- func SlugLTE(v string) predicate.Workflow
- func SlugNEQ(v string) predicate.Workflow
- func SlugNotIn(vs ...string) predicate.Workflow
- func TargetDirectory(v string) predicate.Workflow
- func TargetDirectoryContains(v string) predicate.Workflow
- func TargetDirectoryContainsFold(v string) predicate.Workflow
- func TargetDirectoryEQ(v string) predicate.Workflow
- func TargetDirectoryEqualFold(v string) predicate.Workflow
- func TargetDirectoryGT(v string) predicate.Workflow
- func TargetDirectoryGTE(v string) predicate.Workflow
- func TargetDirectoryHasPrefix(v string) predicate.Workflow
- func TargetDirectoryHasSuffix(v string) predicate.Workflow
- func TargetDirectoryIn(vs ...string) predicate.Workflow
- func TargetDirectoryIsNil() predicate.Workflow
- func TargetDirectoryLT(v string) predicate.Workflow
- func TargetDirectoryLTE(v string) predicate.Workflow
- func TargetDirectoryNEQ(v string) predicate.Workflow
- func TargetDirectoryNotIn(vs ...string) predicate.Workflow
- func TargetDirectoryNotNil() predicate.Workflow
- func TriggerType(v string) predicate.Workflow
- func TriggerTypeContains(v string) predicate.Workflow
- func TriggerTypeContainsFold(v string) predicate.Workflow
- func TriggerTypeEQ(v string) predicate.Workflow
- func TriggerTypeEqualFold(v string) predicate.Workflow
- func TriggerTypeGT(v string) predicate.Workflow
- func TriggerTypeGTE(v string) predicate.Workflow
- func TriggerTypeHasPrefix(v string) predicate.Workflow
- func TriggerTypeHasSuffix(v string) predicate.Workflow
- func TriggerTypeIn(vs ...string) predicate.Workflow
- func TriggerTypeIsNil() predicate.Workflow
- func TriggerTypeLT(v string) predicate.Workflow
- func TriggerTypeLTE(v string) predicate.Workflow
- func TriggerTypeNEQ(v string) predicate.Workflow
- func TriggerTypeNotIn(vs ...string) predicate.Workflow
- func TriggerTypeNotNil() predicate.Workflow
- func UpdatedAt(v time.Time) predicate.Workflow
- func UpdatedAtEQ(v time.Time) predicate.Workflow
- func UpdatedAtGT(v time.Time) predicate.Workflow
- func UpdatedAtGTE(v time.Time) predicate.Workflow
- func UpdatedAtIn(vs ...time.Time) predicate.Workflow
- func UpdatedAtLT(v time.Time) predicate.Workflow
- func UpdatedAtLTE(v time.Time) predicate.Workflow
- func UpdatedAtNEQ(v time.Time) predicate.Workflow
- func UpdatedAtNotIn(vs ...time.Time) predicate.Workflow
- func ValidColumn(column string) bool
- func WebhookSecretEncrypted(v string) predicate.Workflow
- func WebhookSecretEncryptedContains(v string) predicate.Workflow
- func WebhookSecretEncryptedContainsFold(v string) predicate.Workflow
- func WebhookSecretEncryptedEQ(v string) predicate.Workflow
- func WebhookSecretEncryptedEqualFold(v string) predicate.Workflow
- func WebhookSecretEncryptedGT(v string) predicate.Workflow
- func WebhookSecretEncryptedGTE(v string) predicate.Workflow
- func WebhookSecretEncryptedHasPrefix(v string) predicate.Workflow
- func WebhookSecretEncryptedHasSuffix(v string) predicate.Workflow
- func WebhookSecretEncryptedIn(vs ...string) predicate.Workflow
- func WebhookSecretEncryptedIsNil() predicate.Workflow
- func WebhookSecretEncryptedLT(v string) predicate.Workflow
- func WebhookSecretEncryptedLTE(v string) predicate.Workflow
- func WebhookSecretEncryptedNEQ(v string) predicate.Workflow
- func WebhookSecretEncryptedNotIn(vs ...string) predicate.Workflow
- func WebhookSecretEncryptedNotNil() predicate.Workflow
- func WebhookSlug(v string) predicate.Workflow
- func WebhookSlugContains(v string) predicate.Workflow
- func WebhookSlugContainsFold(v string) predicate.Workflow
- func WebhookSlugEQ(v string) predicate.Workflow
- func WebhookSlugEqualFold(v string) predicate.Workflow
- func WebhookSlugGT(v string) predicate.Workflow
- func WebhookSlugGTE(v string) predicate.Workflow
- func WebhookSlugHasPrefix(v string) predicate.Workflow
- func WebhookSlugHasSuffix(v string) predicate.Workflow
- func WebhookSlugIn(vs ...string) predicate.Workflow
- func WebhookSlugIsNil() predicate.Workflow
- func WebhookSlugLT(v string) predicate.Workflow
- func WebhookSlugLTE(v string) predicate.Workflow
- func WebhookSlugNEQ(v string) predicate.Workflow
- func WebhookSlugNotIn(vs ...string) predicate.Workflow
- func WebhookSlugNotNil() predicate.Workflow
- type OrderOption
- func ByAgentType(opts ...sql.OrderTermOption) OrderOption
- func ByArchiveAfterHours(opts ...sql.OrderTermOption) OrderOption
- func ByCommand(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCronEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByCronExpression(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEventFilter(opts ...sql.OrderTermOption) OrderOption
- func ByGithubBranch(opts ...sql.OrderTermOption) OrderOption
- func ByGithubRepo(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInputTemplate(opts ...sql.OrderTermOption) OrderOption
- func ByKeepSessions(opts ...sql.OrderTermOption) OrderOption
- func ByLabelFilter(opts ...sql.OrderTermOption) OrderOption
- func ByLastFiredAt(opts ...sql.OrderTermOption) OrderOption
- func ByModel(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPromptTemplate(opts ...sql.OrderTermOption) OrderOption
- func BySessionType(opts ...sql.OrderTermOption) OrderOption
- func BySlug(opts ...sql.OrderTermOption) OrderOption
- func ByTargetDirectory(opts ...sql.OrderTermOption) OrderOption
- func ByTriggerType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWebhookSecretEncrypted(opts ...sql.OrderTermOption) OrderOption
- func ByWebhookSlug(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflow type in the database. Label = "workflow" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSlug holds the string denoting the slug field in the database. FieldSlug = "slug" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldCommand holds the string denoting the command field in the database. FieldCommand = "command" // FieldTargetDirectory holds the string denoting the target_directory field in the database. FieldTargetDirectory = "target_directory" // FieldInputTemplate holds the string denoting the input_template field in the database. FieldInputTemplate = "input_template" // FieldSessionType holds the string denoting the session_type field in the database. FieldSessionType = "session_type" // FieldModel holds the string denoting the model field in the database. FieldModel = "model" // FieldAgentType holds the string denoting the agent_type field in the database. FieldAgentType = "agent_type" // FieldCronExpression holds the string denoting the cron_expression field in the database. FieldCronExpression = "cron_expression" // FieldCronEnabled holds the string denoting the cron_enabled field in the database. FieldCronEnabled = "cron_enabled" // 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" // FieldKeepSessions holds the string denoting the keep_sessions field in the database. FieldKeepSessions = "keep_sessions" // FieldArchiveAfterHours holds the string denoting the archive_after_hours field in the database. FieldArchiveAfterHours = "archive_after_hours" // FieldTriggerType holds the string denoting the trigger_type field in the database. FieldTriggerType = "trigger_type" // FieldGithubRepo holds the string denoting the github_repo field in the database. FieldGithubRepo = "github_repo" // FieldGithubBranch holds the string denoting the github_branch field in the database. FieldGithubBranch = "github_branch" // FieldWebhookSlug holds the string denoting the webhook_slug field in the database. FieldWebhookSlug = "webhook_slug" // FieldWebhookSecretEncrypted holds the string denoting the webhook_secret_encrypted field in the database. FieldWebhookSecretEncrypted = "webhook_secret_encrypted" // FieldEventFilter holds the string denoting the event_filter field in the database. FieldEventFilter = "event_filter" // FieldLabelFilter holds the string denoting the label_filter field in the database. FieldLabelFilter = "label_filter" // FieldPromptTemplate holds the string denoting the prompt_template field in the database. FieldPromptTemplate = "prompt_template" // FieldLastFiredAt holds the string denoting the last_fired_at field in the database. FieldLastFiredAt = "last_fired_at" // Table holds the table name of the workflow in the database. Table = "workflows" )
Variables ¶
var ( // SlugValidator is a validator for the "slug" field. It is called by the builders before save. SlugValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // CommandValidator is a validator for the "command" field. It is called by the builders before save. CommandValidator func(string) error // DefaultSessionType holds the default value on creation for the "session_type" field. DefaultSessionType string // DefaultCronEnabled holds the default value on creation for the "cron_enabled" field. DefaultCronEnabled bool // 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 // DefaultKeepSessions holds the default value on creation for the "keep_sessions" field. DefaultKeepSessions int // DefaultArchiveAfterHours holds the default value on creation for the "archive_after_hours" field. DefaultArchiveAfterHours int // DefaultTriggerType holds the default value on creation for the "trigger_type" field. DefaultTriggerType string // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldSlug, FieldName, FieldDescription, FieldCommand, FieldTargetDirectory, FieldInputTemplate, FieldSessionType, FieldModel, FieldAgentType, FieldCronExpression, FieldCronEnabled, FieldCreatedAt, FieldUpdatedAt, FieldKeepSessions, FieldArchiveAfterHours, FieldTriggerType, FieldGithubRepo, FieldGithubBranch, FieldWebhookSlug, FieldWebhookSecretEncrypted, FieldEventFilter, FieldLabelFilter, FieldPromptTemplate, FieldLastFiredAt, }
Columns holds all SQL columns for workflow fields.
Functions ¶
func AgentType ¶
AgentType applies equality check predicate on the "agent_type" field. It's identical to AgentTypeEQ.
func AgentTypeContains ¶
AgentTypeContains applies the Contains predicate on the "agent_type" field.
func AgentTypeContainsFold ¶
AgentTypeContainsFold applies the ContainsFold predicate on the "agent_type" field.
func AgentTypeEQ ¶
AgentTypeEQ applies the EQ predicate on the "agent_type" field.
func AgentTypeEqualFold ¶
AgentTypeEqualFold applies the EqualFold predicate on the "agent_type" field.
func AgentTypeGT ¶
AgentTypeGT applies the GT predicate on the "agent_type" field.
func AgentTypeGTE ¶
AgentTypeGTE applies the GTE predicate on the "agent_type" field.
func AgentTypeHasPrefix ¶
AgentTypeHasPrefix applies the HasPrefix predicate on the "agent_type" field.
func AgentTypeHasSuffix ¶
AgentTypeHasSuffix applies the HasSuffix predicate on the "agent_type" field.
func AgentTypeIn ¶
AgentTypeIn applies the In predicate on the "agent_type" field.
func AgentTypeIsNil ¶
AgentTypeIsNil applies the IsNil predicate on the "agent_type" field.
func AgentTypeLT ¶
AgentTypeLT applies the LT predicate on the "agent_type" field.
func AgentTypeLTE ¶
AgentTypeLTE applies the LTE predicate on the "agent_type" field.
func AgentTypeNEQ ¶
AgentTypeNEQ applies the NEQ predicate on the "agent_type" field.
func AgentTypeNotIn ¶
AgentTypeNotIn applies the NotIn predicate on the "agent_type" field.
func AgentTypeNotNil ¶
AgentTypeNotNil applies the NotNil predicate on the "agent_type" field.
func ArchiveAfterHours ¶
ArchiveAfterHours applies equality check predicate on the "archive_after_hours" field. It's identical to ArchiveAfterHoursEQ.
func ArchiveAfterHoursEQ ¶
ArchiveAfterHoursEQ applies the EQ predicate on the "archive_after_hours" field.
func ArchiveAfterHoursGT ¶
ArchiveAfterHoursGT applies the GT predicate on the "archive_after_hours" field.
func ArchiveAfterHoursGTE ¶
ArchiveAfterHoursGTE applies the GTE predicate on the "archive_after_hours" field.
func ArchiveAfterHoursIn ¶
ArchiveAfterHoursIn applies the In predicate on the "archive_after_hours" field.
func ArchiveAfterHoursIsNil ¶
ArchiveAfterHoursIsNil applies the IsNil predicate on the "archive_after_hours" field.
func ArchiveAfterHoursLT ¶
ArchiveAfterHoursLT applies the LT predicate on the "archive_after_hours" field.
func ArchiveAfterHoursLTE ¶
ArchiveAfterHoursLTE applies the LTE predicate on the "archive_after_hours" field.
func ArchiveAfterHoursNEQ ¶
ArchiveAfterHoursNEQ applies the NEQ predicate on the "archive_after_hours" field.
func ArchiveAfterHoursNotIn ¶
ArchiveAfterHoursNotIn applies the NotIn predicate on the "archive_after_hours" field.
func ArchiveAfterHoursNotNil ¶
ArchiveAfterHoursNotNil applies the NotNil predicate on the "archive_after_hours" field.
func Command ¶
Command applies equality check predicate on the "command" field. It's identical to CommandEQ.
func CommandContains ¶
CommandContains applies the Contains predicate on the "command" field.
func CommandContainsFold ¶
CommandContainsFold applies the ContainsFold predicate on the "command" field.
func CommandEqualFold ¶
CommandEqualFold applies the EqualFold predicate on the "command" field.
func CommandGTE ¶
CommandGTE applies the GTE predicate on the "command" field.
func CommandHasPrefix ¶
CommandHasPrefix applies the HasPrefix predicate on the "command" field.
func CommandHasSuffix ¶
CommandHasSuffix applies the HasSuffix predicate on the "command" field.
func CommandLTE ¶
CommandLTE applies the LTE predicate on the "command" field.
func CommandNEQ ¶
CommandNEQ applies the NEQ predicate on the "command" field.
func CommandNotIn ¶
CommandNotIn applies the NotIn predicate on the "command" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CronEnabled ¶
CronEnabled applies equality check predicate on the "cron_enabled" field. It's identical to CronEnabledEQ.
func CronEnabledEQ ¶
CronEnabledEQ applies the EQ predicate on the "cron_enabled" field.
func CronEnabledNEQ ¶
CronEnabledNEQ applies the NEQ predicate on the "cron_enabled" field.
func CronExpression ¶
CronExpression applies equality check predicate on the "cron_expression" field. It's identical to CronExpressionEQ.
func CronExpressionContains ¶
CronExpressionContains applies the Contains predicate on the "cron_expression" field.
func CronExpressionContainsFold ¶
CronExpressionContainsFold applies the ContainsFold predicate on the "cron_expression" field.
func CronExpressionEQ ¶
CronExpressionEQ applies the EQ predicate on the "cron_expression" field.
func CronExpressionEqualFold ¶
CronExpressionEqualFold applies the EqualFold predicate on the "cron_expression" field.
func CronExpressionGT ¶
CronExpressionGT applies the GT predicate on the "cron_expression" field.
func CronExpressionGTE ¶
CronExpressionGTE applies the GTE predicate on the "cron_expression" field.
func CronExpressionHasPrefix ¶
CronExpressionHasPrefix applies the HasPrefix predicate on the "cron_expression" field.
func CronExpressionHasSuffix ¶
CronExpressionHasSuffix applies the HasSuffix predicate on the "cron_expression" field.
func CronExpressionIn ¶
CronExpressionIn applies the In predicate on the "cron_expression" field.
func CronExpressionIsNil ¶
CronExpressionIsNil applies the IsNil predicate on the "cron_expression" field.
func CronExpressionLT ¶
CronExpressionLT applies the LT predicate on the "cron_expression" field.
func CronExpressionLTE ¶
CronExpressionLTE applies the LTE predicate on the "cron_expression" field.
func CronExpressionNEQ ¶
CronExpressionNEQ applies the NEQ predicate on the "cron_expression" field.
func CronExpressionNotIn ¶
CronExpressionNotIn applies the NotIn predicate on the "cron_expression" field.
func CronExpressionNotNil ¶
CronExpressionNotNil applies the NotNil predicate on the "cron_expression" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func EventFilter ¶ added in v1.43.0
EventFilter applies equality check predicate on the "event_filter" field. It's identical to EventFilterEQ.
func EventFilterContains ¶ added in v1.43.0
EventFilterContains applies the Contains predicate on the "event_filter" field.
func EventFilterContainsFold ¶ added in v1.43.0
EventFilterContainsFold applies the ContainsFold predicate on the "event_filter" field.
func EventFilterEQ ¶ added in v1.43.0
EventFilterEQ applies the EQ predicate on the "event_filter" field.
func EventFilterEqualFold ¶ added in v1.43.0
EventFilterEqualFold applies the EqualFold predicate on the "event_filter" field.
func EventFilterGT ¶ added in v1.43.0
EventFilterGT applies the GT predicate on the "event_filter" field.
func EventFilterGTE ¶ added in v1.43.0
EventFilterGTE applies the GTE predicate on the "event_filter" field.
func EventFilterHasPrefix ¶ added in v1.43.0
EventFilterHasPrefix applies the HasPrefix predicate on the "event_filter" field.
func EventFilterHasSuffix ¶ added in v1.43.0
EventFilterHasSuffix applies the HasSuffix predicate on the "event_filter" field.
func EventFilterIn ¶ added in v1.43.0
EventFilterIn applies the In predicate on the "event_filter" field.
func EventFilterIsNil ¶ added in v1.43.0
EventFilterIsNil applies the IsNil predicate on the "event_filter" field.
func EventFilterLT ¶ added in v1.43.0
EventFilterLT applies the LT predicate on the "event_filter" field.
func EventFilterLTE ¶ added in v1.43.0
EventFilterLTE applies the LTE predicate on the "event_filter" field.
func EventFilterNEQ ¶ added in v1.43.0
EventFilterNEQ applies the NEQ predicate on the "event_filter" field.
func EventFilterNotIn ¶ added in v1.43.0
EventFilterNotIn applies the NotIn predicate on the "event_filter" field.
func EventFilterNotNil ¶ added in v1.43.0
EventFilterNotNil applies the NotNil predicate on the "event_filter" field.
func GithubBranch ¶ added in v1.43.0
GithubBranch applies equality check predicate on the "github_branch" field. It's identical to GithubBranchEQ.
func GithubBranchContains ¶ added in v1.43.0
GithubBranchContains applies the Contains predicate on the "github_branch" field.
func GithubBranchContainsFold ¶ added in v1.43.0
GithubBranchContainsFold applies the ContainsFold predicate on the "github_branch" field.
func GithubBranchEQ ¶ added in v1.43.0
GithubBranchEQ applies the EQ predicate on the "github_branch" field.
func GithubBranchEqualFold ¶ added in v1.43.0
GithubBranchEqualFold applies the EqualFold predicate on the "github_branch" field.
func GithubBranchGT ¶ added in v1.43.0
GithubBranchGT applies the GT predicate on the "github_branch" field.
func GithubBranchGTE ¶ added in v1.43.0
GithubBranchGTE applies the GTE predicate on the "github_branch" field.
func GithubBranchHasPrefix ¶ added in v1.43.0
GithubBranchHasPrefix applies the HasPrefix predicate on the "github_branch" field.
func GithubBranchHasSuffix ¶ added in v1.43.0
GithubBranchHasSuffix applies the HasSuffix predicate on the "github_branch" field.
func GithubBranchIn ¶ added in v1.43.0
GithubBranchIn applies the In predicate on the "github_branch" field.
func GithubBranchIsNil ¶ added in v1.43.0
GithubBranchIsNil applies the IsNil predicate on the "github_branch" field.
func GithubBranchLT ¶ added in v1.43.0
GithubBranchLT applies the LT predicate on the "github_branch" field.
func GithubBranchLTE ¶ added in v1.43.0
GithubBranchLTE applies the LTE predicate on the "github_branch" field.
func GithubBranchNEQ ¶ added in v1.43.0
GithubBranchNEQ applies the NEQ predicate on the "github_branch" field.
func GithubBranchNotIn ¶ added in v1.43.0
GithubBranchNotIn applies the NotIn predicate on the "github_branch" field.
func GithubBranchNotNil ¶ added in v1.43.0
GithubBranchNotNil applies the NotNil predicate on the "github_branch" field.
func GithubRepo ¶ added in v1.43.0
GithubRepo applies equality check predicate on the "github_repo" field. It's identical to GithubRepoEQ.
func GithubRepoContains ¶ added in v1.43.0
GithubRepoContains applies the Contains predicate on the "github_repo" field.
func GithubRepoContainsFold ¶ added in v1.43.0
GithubRepoContainsFold applies the ContainsFold predicate on the "github_repo" field.
func GithubRepoEQ ¶ added in v1.43.0
GithubRepoEQ applies the EQ predicate on the "github_repo" field.
func GithubRepoEqualFold ¶ added in v1.43.0
GithubRepoEqualFold applies the EqualFold predicate on the "github_repo" field.
func GithubRepoGT ¶ added in v1.43.0
GithubRepoGT applies the GT predicate on the "github_repo" field.
func GithubRepoGTE ¶ added in v1.43.0
GithubRepoGTE applies the GTE predicate on the "github_repo" field.
func GithubRepoHasPrefix ¶ added in v1.43.0
GithubRepoHasPrefix applies the HasPrefix predicate on the "github_repo" field.
func GithubRepoHasSuffix ¶ added in v1.43.0
GithubRepoHasSuffix applies the HasSuffix predicate on the "github_repo" field.
func GithubRepoIn ¶ added in v1.43.0
GithubRepoIn applies the In predicate on the "github_repo" field.
func GithubRepoIsNil ¶ added in v1.43.0
GithubRepoIsNil applies the IsNil predicate on the "github_repo" field.
func GithubRepoLT ¶ added in v1.43.0
GithubRepoLT applies the LT predicate on the "github_repo" field.
func GithubRepoLTE ¶ added in v1.43.0
GithubRepoLTE applies the LTE predicate on the "github_repo" field.
func GithubRepoNEQ ¶ added in v1.43.0
GithubRepoNEQ applies the NEQ predicate on the "github_repo" field.
func GithubRepoNotIn ¶ added in v1.43.0
GithubRepoNotIn applies the NotIn predicate on the "github_repo" field.
func GithubRepoNotNil ¶ added in v1.43.0
GithubRepoNotNil applies the NotNil predicate on the "github_repo" field.
func InputTemplate ¶
InputTemplate applies equality check predicate on the "input_template" field. It's identical to InputTemplateEQ.
func InputTemplateContains ¶
InputTemplateContains applies the Contains predicate on the "input_template" field.
func InputTemplateContainsFold ¶
InputTemplateContainsFold applies the ContainsFold predicate on the "input_template" field.
func InputTemplateEQ ¶
InputTemplateEQ applies the EQ predicate on the "input_template" field.
func InputTemplateEqualFold ¶
InputTemplateEqualFold applies the EqualFold predicate on the "input_template" field.
func InputTemplateGT ¶
InputTemplateGT applies the GT predicate on the "input_template" field.
func InputTemplateGTE ¶
InputTemplateGTE applies the GTE predicate on the "input_template" field.
func InputTemplateHasPrefix ¶
InputTemplateHasPrefix applies the HasPrefix predicate on the "input_template" field.
func InputTemplateHasSuffix ¶
InputTemplateHasSuffix applies the HasSuffix predicate on the "input_template" field.
func InputTemplateIn ¶
InputTemplateIn applies the In predicate on the "input_template" field.
func InputTemplateIsNil ¶
InputTemplateIsNil applies the IsNil predicate on the "input_template" field.
func InputTemplateLT ¶
InputTemplateLT applies the LT predicate on the "input_template" field.
func InputTemplateLTE ¶
InputTemplateLTE applies the LTE predicate on the "input_template" field.
func InputTemplateNEQ ¶
InputTemplateNEQ applies the NEQ predicate on the "input_template" field.
func InputTemplateNotIn ¶
InputTemplateNotIn applies the NotIn predicate on the "input_template" field.
func InputTemplateNotNil ¶
InputTemplateNotNil applies the NotNil predicate on the "input_template" field.
func KeepSessions ¶
KeepSessions applies equality check predicate on the "keep_sessions" field. It's identical to KeepSessionsEQ.
func KeepSessionsEQ ¶
KeepSessionsEQ applies the EQ predicate on the "keep_sessions" field.
func KeepSessionsGT ¶
KeepSessionsGT applies the GT predicate on the "keep_sessions" field.
func KeepSessionsGTE ¶
KeepSessionsGTE applies the GTE predicate on the "keep_sessions" field.
func KeepSessionsIn ¶
KeepSessionsIn applies the In predicate on the "keep_sessions" field.
func KeepSessionsIsNil ¶
KeepSessionsIsNil applies the IsNil predicate on the "keep_sessions" field.
func KeepSessionsLT ¶
KeepSessionsLT applies the LT predicate on the "keep_sessions" field.
func KeepSessionsLTE ¶
KeepSessionsLTE applies the LTE predicate on the "keep_sessions" field.
func KeepSessionsNEQ ¶
KeepSessionsNEQ applies the NEQ predicate on the "keep_sessions" field.
func KeepSessionsNotIn ¶
KeepSessionsNotIn applies the NotIn predicate on the "keep_sessions" field.
func KeepSessionsNotNil ¶
KeepSessionsNotNil applies the NotNil predicate on the "keep_sessions" field.
func LabelFilter ¶ added in v1.43.0
LabelFilter applies equality check predicate on the "label_filter" field. It's identical to LabelFilterEQ.
func LabelFilterContains ¶ added in v1.43.0
LabelFilterContains applies the Contains predicate on the "label_filter" field.
func LabelFilterContainsFold ¶ added in v1.43.0
LabelFilterContainsFold applies the ContainsFold predicate on the "label_filter" field.
func LabelFilterEQ ¶ added in v1.43.0
LabelFilterEQ applies the EQ predicate on the "label_filter" field.
func LabelFilterEqualFold ¶ added in v1.43.0
LabelFilterEqualFold applies the EqualFold predicate on the "label_filter" field.
func LabelFilterGT ¶ added in v1.43.0
LabelFilterGT applies the GT predicate on the "label_filter" field.
func LabelFilterGTE ¶ added in v1.43.0
LabelFilterGTE applies the GTE predicate on the "label_filter" field.
func LabelFilterHasPrefix ¶ added in v1.43.0
LabelFilterHasPrefix applies the HasPrefix predicate on the "label_filter" field.
func LabelFilterHasSuffix ¶ added in v1.43.0
LabelFilterHasSuffix applies the HasSuffix predicate on the "label_filter" field.
func LabelFilterIn ¶ added in v1.43.0
LabelFilterIn applies the In predicate on the "label_filter" field.
func LabelFilterIsNil ¶ added in v1.43.0
LabelFilterIsNil applies the IsNil predicate on the "label_filter" field.
func LabelFilterLT ¶ added in v1.43.0
LabelFilterLT applies the LT predicate on the "label_filter" field.
func LabelFilterLTE ¶ added in v1.43.0
LabelFilterLTE applies the LTE predicate on the "label_filter" field.
func LabelFilterNEQ ¶ added in v1.43.0
LabelFilterNEQ applies the NEQ predicate on the "label_filter" field.
func LabelFilterNotIn ¶ added in v1.43.0
LabelFilterNotIn applies the NotIn predicate on the "label_filter" field.
func LabelFilterNotNil ¶ added in v1.43.0
LabelFilterNotNil applies the NotNil predicate on the "label_filter" field.
func LastFiredAt ¶ added in v1.43.0
LastFiredAt applies equality check predicate on the "last_fired_at" field. It's identical to LastFiredAtEQ.
func LastFiredAtEQ ¶ added in v1.43.0
LastFiredAtEQ applies the EQ predicate on the "last_fired_at" field.
func LastFiredAtGT ¶ added in v1.43.0
LastFiredAtGT applies the GT predicate on the "last_fired_at" field.
func LastFiredAtGTE ¶ added in v1.43.0
LastFiredAtGTE applies the GTE predicate on the "last_fired_at" field.
func LastFiredAtIn ¶ added in v1.43.0
LastFiredAtIn applies the In predicate on the "last_fired_at" field.
func LastFiredAtIsNil ¶ added in v1.43.0
LastFiredAtIsNil applies the IsNil predicate on the "last_fired_at" field.
func LastFiredAtLT ¶ added in v1.43.0
LastFiredAtLT applies the LT predicate on the "last_fired_at" field.
func LastFiredAtLTE ¶ added in v1.43.0
LastFiredAtLTE applies the LTE predicate on the "last_fired_at" field.
func LastFiredAtNEQ ¶ added in v1.43.0
LastFiredAtNEQ applies the NEQ predicate on the "last_fired_at" field.
func LastFiredAtNotIn ¶ added in v1.43.0
LastFiredAtNotIn applies the NotIn predicate on the "last_fired_at" field.
func LastFiredAtNotNil ¶ added in v1.43.0
LastFiredAtNotNil applies the NotNil predicate on the "last_fired_at" field.
func Model ¶
Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
func ModelContains ¶
ModelContains applies the Contains predicate on the "model" field.
func ModelContainsFold ¶
ModelContainsFold applies the ContainsFold predicate on the "model" field.
func ModelEqualFold ¶
ModelEqualFold applies the EqualFold predicate on the "model" field.
func ModelHasPrefix ¶
ModelHasPrefix applies the HasPrefix predicate on the "model" field.
func ModelHasSuffix ¶
ModelHasSuffix applies the HasSuffix predicate on the "model" field.
func ModelIsNil ¶
ModelIsNil applies the IsNil predicate on the "model" field.
func ModelNotIn ¶
ModelNotIn applies the NotIn predicate on the "model" field.
func ModelNotNil ¶
ModelNotNil applies the NotNil predicate on the "model" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func PromptTemplate ¶ added in v1.43.0
PromptTemplate applies equality check predicate on the "prompt_template" field. It's identical to PromptTemplateEQ.
func PromptTemplateContains ¶ added in v1.43.0
PromptTemplateContains applies the Contains predicate on the "prompt_template" field.
func PromptTemplateContainsFold ¶ added in v1.43.0
PromptTemplateContainsFold applies the ContainsFold predicate on the "prompt_template" field.
func PromptTemplateEQ ¶ added in v1.43.0
PromptTemplateEQ applies the EQ predicate on the "prompt_template" field.
func PromptTemplateEqualFold ¶ added in v1.43.0
PromptTemplateEqualFold applies the EqualFold predicate on the "prompt_template" field.
func PromptTemplateGT ¶ added in v1.43.0
PromptTemplateGT applies the GT predicate on the "prompt_template" field.
func PromptTemplateGTE ¶ added in v1.43.0
PromptTemplateGTE applies the GTE predicate on the "prompt_template" field.
func PromptTemplateHasPrefix ¶ added in v1.43.0
PromptTemplateHasPrefix applies the HasPrefix predicate on the "prompt_template" field.
func PromptTemplateHasSuffix ¶ added in v1.43.0
PromptTemplateHasSuffix applies the HasSuffix predicate on the "prompt_template" field.
func PromptTemplateIn ¶ added in v1.43.0
PromptTemplateIn applies the In predicate on the "prompt_template" field.
func PromptTemplateIsNil ¶ added in v1.43.0
PromptTemplateIsNil applies the IsNil predicate on the "prompt_template" field.
func PromptTemplateLT ¶ added in v1.43.0
PromptTemplateLT applies the LT predicate on the "prompt_template" field.
func PromptTemplateLTE ¶ added in v1.43.0
PromptTemplateLTE applies the LTE predicate on the "prompt_template" field.
func PromptTemplateNEQ ¶ added in v1.43.0
PromptTemplateNEQ applies the NEQ predicate on the "prompt_template" field.
func PromptTemplateNotIn ¶ added in v1.43.0
PromptTemplateNotIn applies the NotIn predicate on the "prompt_template" field.
func PromptTemplateNotNil ¶ added in v1.43.0
PromptTemplateNotNil applies the NotNil predicate on the "prompt_template" field.
func SessionType ¶
SessionType applies equality check predicate on the "session_type" field. It's identical to SessionTypeEQ.
func SessionTypeContains ¶
SessionTypeContains applies the Contains predicate on the "session_type" field.
func SessionTypeContainsFold ¶
SessionTypeContainsFold applies the ContainsFold predicate on the "session_type" field.
func SessionTypeEQ ¶
SessionTypeEQ applies the EQ predicate on the "session_type" field.
func SessionTypeEqualFold ¶
SessionTypeEqualFold applies the EqualFold predicate on the "session_type" field.
func SessionTypeGT ¶
SessionTypeGT applies the GT predicate on the "session_type" field.
func SessionTypeGTE ¶
SessionTypeGTE applies the GTE predicate on the "session_type" field.
func SessionTypeHasPrefix ¶
SessionTypeHasPrefix applies the HasPrefix predicate on the "session_type" field.
func SessionTypeHasSuffix ¶
SessionTypeHasSuffix applies the HasSuffix predicate on the "session_type" field.
func SessionTypeIn ¶
SessionTypeIn applies the In predicate on the "session_type" field.
func SessionTypeIsNil ¶
SessionTypeIsNil applies the IsNil predicate on the "session_type" field.
func SessionTypeLT ¶
SessionTypeLT applies the LT predicate on the "session_type" field.
func SessionTypeLTE ¶
SessionTypeLTE applies the LTE predicate on the "session_type" field.
func SessionTypeNEQ ¶
SessionTypeNEQ applies the NEQ predicate on the "session_type" field.
func SessionTypeNotIn ¶
SessionTypeNotIn applies the NotIn predicate on the "session_type" field.
func SessionTypeNotNil ¶
SessionTypeNotNil applies the NotNil predicate on the "session_type" field.
func SlugContains ¶
SlugContains applies the Contains predicate on the "slug" field.
func SlugContainsFold ¶
SlugContainsFold applies the ContainsFold predicate on the "slug" field.
func SlugEqualFold ¶
SlugEqualFold applies the EqualFold predicate on the "slug" field.
func SlugHasPrefix ¶
SlugHasPrefix applies the HasPrefix predicate on the "slug" field.
func SlugHasSuffix ¶
SlugHasSuffix applies the HasSuffix predicate on the "slug" field.
func TargetDirectory ¶
TargetDirectory applies equality check predicate on the "target_directory" field. It's identical to TargetDirectoryEQ.
func TargetDirectoryContains ¶
TargetDirectoryContains applies the Contains predicate on the "target_directory" field.
func TargetDirectoryContainsFold ¶
TargetDirectoryContainsFold applies the ContainsFold predicate on the "target_directory" field.
func TargetDirectoryEQ ¶
TargetDirectoryEQ applies the EQ predicate on the "target_directory" field.
func TargetDirectoryEqualFold ¶
TargetDirectoryEqualFold applies the EqualFold predicate on the "target_directory" field.
func TargetDirectoryGT ¶
TargetDirectoryGT applies the GT predicate on the "target_directory" field.
func TargetDirectoryGTE ¶
TargetDirectoryGTE applies the GTE predicate on the "target_directory" field.
func TargetDirectoryHasPrefix ¶
TargetDirectoryHasPrefix applies the HasPrefix predicate on the "target_directory" field.
func TargetDirectoryHasSuffix ¶
TargetDirectoryHasSuffix applies the HasSuffix predicate on the "target_directory" field.
func TargetDirectoryIn ¶
TargetDirectoryIn applies the In predicate on the "target_directory" field.
func TargetDirectoryIsNil ¶
TargetDirectoryIsNil applies the IsNil predicate on the "target_directory" field.
func TargetDirectoryLT ¶
TargetDirectoryLT applies the LT predicate on the "target_directory" field.
func TargetDirectoryLTE ¶
TargetDirectoryLTE applies the LTE predicate on the "target_directory" field.
func TargetDirectoryNEQ ¶
TargetDirectoryNEQ applies the NEQ predicate on the "target_directory" field.
func TargetDirectoryNotIn ¶
TargetDirectoryNotIn applies the NotIn predicate on the "target_directory" field.
func TargetDirectoryNotNil ¶
TargetDirectoryNotNil applies the NotNil predicate on the "target_directory" field.
func TriggerType ¶ added in v1.43.0
TriggerType applies equality check predicate on the "trigger_type" field. It's identical to TriggerTypeEQ.
func TriggerTypeContains ¶ added in v1.43.0
TriggerTypeContains applies the Contains predicate on the "trigger_type" field.
func TriggerTypeContainsFold ¶ added in v1.43.0
TriggerTypeContainsFold applies the ContainsFold predicate on the "trigger_type" field.
func TriggerTypeEQ ¶ added in v1.43.0
TriggerTypeEQ applies the EQ predicate on the "trigger_type" field.
func TriggerTypeEqualFold ¶ added in v1.43.0
TriggerTypeEqualFold applies the EqualFold predicate on the "trigger_type" field.
func TriggerTypeGT ¶ added in v1.43.0
TriggerTypeGT applies the GT predicate on the "trigger_type" field.
func TriggerTypeGTE ¶ added in v1.43.0
TriggerTypeGTE applies the GTE predicate on the "trigger_type" field.
func TriggerTypeHasPrefix ¶ added in v1.43.0
TriggerTypeHasPrefix applies the HasPrefix predicate on the "trigger_type" field.
func TriggerTypeHasSuffix ¶ added in v1.43.0
TriggerTypeHasSuffix applies the HasSuffix predicate on the "trigger_type" field.
func TriggerTypeIn ¶ added in v1.43.0
TriggerTypeIn applies the In predicate on the "trigger_type" field.
func TriggerTypeIsNil ¶ added in v1.43.0
TriggerTypeIsNil applies the IsNil predicate on the "trigger_type" field.
func TriggerTypeLT ¶ added in v1.43.0
TriggerTypeLT applies the LT predicate on the "trigger_type" field.
func TriggerTypeLTE ¶ added in v1.43.0
TriggerTypeLTE applies the LTE predicate on the "trigger_type" field.
func TriggerTypeNEQ ¶ added in v1.43.0
TriggerTypeNEQ applies the NEQ predicate on the "trigger_type" field.
func TriggerTypeNotIn ¶ added in v1.43.0
TriggerTypeNotIn applies the NotIn predicate on the "trigger_type" field.
func TriggerTypeNotNil ¶ added in v1.43.0
TriggerTypeNotNil applies the NotNil predicate on the "trigger_type" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
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 WebhookSecretEncrypted ¶ added in v1.43.0
WebhookSecretEncrypted applies equality check predicate on the "webhook_secret_encrypted" field. It's identical to WebhookSecretEncryptedEQ.
func WebhookSecretEncryptedContains ¶ added in v1.43.0
WebhookSecretEncryptedContains applies the Contains predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedContainsFold ¶ added in v1.43.0
WebhookSecretEncryptedContainsFold applies the ContainsFold predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedEQ ¶ added in v1.43.0
WebhookSecretEncryptedEQ applies the EQ predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedEqualFold ¶ added in v1.43.0
WebhookSecretEncryptedEqualFold applies the EqualFold predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedGT ¶ added in v1.43.0
WebhookSecretEncryptedGT applies the GT predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedGTE ¶ added in v1.43.0
WebhookSecretEncryptedGTE applies the GTE predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedHasPrefix ¶ added in v1.43.0
WebhookSecretEncryptedHasPrefix applies the HasPrefix predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedHasSuffix ¶ added in v1.43.0
WebhookSecretEncryptedHasSuffix applies the HasSuffix predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedIn ¶ added in v1.43.0
WebhookSecretEncryptedIn applies the In predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedIsNil ¶ added in v1.43.0
WebhookSecretEncryptedIsNil applies the IsNil predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedLT ¶ added in v1.43.0
WebhookSecretEncryptedLT applies the LT predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedLTE ¶ added in v1.43.0
WebhookSecretEncryptedLTE applies the LTE predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedNEQ ¶ added in v1.43.0
WebhookSecretEncryptedNEQ applies the NEQ predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedNotIn ¶ added in v1.43.0
WebhookSecretEncryptedNotIn applies the NotIn predicate on the "webhook_secret_encrypted" field.
func WebhookSecretEncryptedNotNil ¶ added in v1.43.0
WebhookSecretEncryptedNotNil applies the NotNil predicate on the "webhook_secret_encrypted" field.
func WebhookSlug ¶ added in v1.43.0
WebhookSlug applies equality check predicate on the "webhook_slug" field. It's identical to WebhookSlugEQ.
func WebhookSlugContains ¶ added in v1.43.0
WebhookSlugContains applies the Contains predicate on the "webhook_slug" field.
func WebhookSlugContainsFold ¶ added in v1.43.0
WebhookSlugContainsFold applies the ContainsFold predicate on the "webhook_slug" field.
func WebhookSlugEQ ¶ added in v1.43.0
WebhookSlugEQ applies the EQ predicate on the "webhook_slug" field.
func WebhookSlugEqualFold ¶ added in v1.43.0
WebhookSlugEqualFold applies the EqualFold predicate on the "webhook_slug" field.
func WebhookSlugGT ¶ added in v1.43.0
WebhookSlugGT applies the GT predicate on the "webhook_slug" field.
func WebhookSlugGTE ¶ added in v1.43.0
WebhookSlugGTE applies the GTE predicate on the "webhook_slug" field.
func WebhookSlugHasPrefix ¶ added in v1.43.0
WebhookSlugHasPrefix applies the HasPrefix predicate on the "webhook_slug" field.
func WebhookSlugHasSuffix ¶ added in v1.43.0
WebhookSlugHasSuffix applies the HasSuffix predicate on the "webhook_slug" field.
func WebhookSlugIn ¶ added in v1.43.0
WebhookSlugIn applies the In predicate on the "webhook_slug" field.
func WebhookSlugIsNil ¶ added in v1.43.0
WebhookSlugIsNil applies the IsNil predicate on the "webhook_slug" field.
func WebhookSlugLT ¶ added in v1.43.0
WebhookSlugLT applies the LT predicate on the "webhook_slug" field.
func WebhookSlugLTE ¶ added in v1.43.0
WebhookSlugLTE applies the LTE predicate on the "webhook_slug" field.
func WebhookSlugNEQ ¶ added in v1.43.0
WebhookSlugNEQ applies the NEQ predicate on the "webhook_slug" field.
func WebhookSlugNotIn ¶ added in v1.43.0
WebhookSlugNotIn applies the NotIn predicate on the "webhook_slug" field.
func WebhookSlugNotNil ¶ added in v1.43.0
WebhookSlugNotNil applies the NotNil predicate on the "webhook_slug" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Workflow queries.
func ByAgentType ¶
func ByAgentType(opts ...sql.OrderTermOption) OrderOption
ByAgentType orders the results by the agent_type field.
func ByArchiveAfterHours ¶
func ByArchiveAfterHours(opts ...sql.OrderTermOption) OrderOption
ByArchiveAfterHours orders the results by the archive_after_hours field.
func ByCommand ¶
func ByCommand(opts ...sql.OrderTermOption) OrderOption
ByCommand orders the results by the command field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCronEnabled ¶
func ByCronEnabled(opts ...sql.OrderTermOption) OrderOption
ByCronEnabled orders the results by the cron_enabled field.
func ByCronExpression ¶
func ByCronExpression(opts ...sql.OrderTermOption) OrderOption
ByCronExpression orders the results by the cron_expression field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEventFilter ¶ added in v1.43.0
func ByEventFilter(opts ...sql.OrderTermOption) OrderOption
ByEventFilter orders the results by the event_filter field.
func ByGithubBranch ¶ added in v1.43.0
func ByGithubBranch(opts ...sql.OrderTermOption) OrderOption
ByGithubBranch orders the results by the github_branch field.
func ByGithubRepo ¶ added in v1.43.0
func ByGithubRepo(opts ...sql.OrderTermOption) OrderOption
ByGithubRepo orders the results by the github_repo field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInputTemplate ¶
func ByInputTemplate(opts ...sql.OrderTermOption) OrderOption
ByInputTemplate orders the results by the input_template field.
func ByKeepSessions ¶
func ByKeepSessions(opts ...sql.OrderTermOption) OrderOption
ByKeepSessions orders the results by the keep_sessions field.
func ByLabelFilter ¶ added in v1.43.0
func ByLabelFilter(opts ...sql.OrderTermOption) OrderOption
ByLabelFilter orders the results by the label_filter field.
func ByLastFiredAt ¶ added in v1.43.0
func ByLastFiredAt(opts ...sql.OrderTermOption) OrderOption
ByLastFiredAt orders the results by the last_fired_at field.
func ByModel ¶
func ByModel(opts ...sql.OrderTermOption) OrderOption
ByModel orders the results by the model field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPromptTemplate ¶ added in v1.43.0
func ByPromptTemplate(opts ...sql.OrderTermOption) OrderOption
ByPromptTemplate orders the results by the prompt_template field.
func BySessionType ¶
func BySessionType(opts ...sql.OrderTermOption) OrderOption
BySessionType orders the results by the session_type field.
func BySlug ¶
func BySlug(opts ...sql.OrderTermOption) OrderOption
BySlug orders the results by the slug field.
func ByTargetDirectory ¶
func ByTargetDirectory(opts ...sql.OrderTermOption) OrderOption
ByTargetDirectory orders the results by the target_directory field.
func ByTriggerType ¶ added in v1.43.0
func ByTriggerType(opts ...sql.OrderTermOption) OrderOption
ByTriggerType orders the results by the trigger_type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWebhookSecretEncrypted ¶ added in v1.43.0
func ByWebhookSecretEncrypted(opts ...sql.OrderTermOption) OrderOption
ByWebhookSecretEncrypted orders the results by the webhook_secret_encrypted field.
func ByWebhookSlug ¶ added in v1.43.0
func ByWebhookSlug(opts ...sql.OrderTermOption) OrderOption
ByWebhookSlug orders the results by the webhook_slug field.