agentpluginrepo

package
v0.0.0-...-7f647c9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agentpluginrepo type in the database.
	Label = "agent_plugin_repo"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldScopeType holds the string denoting the scope_type field in the database.
	FieldScopeType = "scope_type"
	// FieldScopeID holds the string denoting the scope_id field in the database.
	FieldScopeID = "scope_id"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldSourceType holds the string denoting the source_type field in the database.
	FieldSourceType = "source_type"
	// FieldGithubURL holds the string denoting the github_url field in the database.
	FieldGithubURL = "github_url"
	// FieldRefType holds the string denoting the ref_type field in the database.
	FieldRefType = "ref_type"
	// FieldRefValue holds the string denoting the ref_value field in the database.
	FieldRefValue = "ref_value"
	// FieldLastUploadFilename holds the string denoting the last_upload_filename field in the database.
	FieldLastUploadFilename = "last_upload_filename"
	// FieldLastUploadAt holds the string denoting the last_upload_at field in the database.
	FieldLastUploadAt = "last_upload_at"
	// FieldPluginDiscoveryAutoPackageJSON holds the string denoting the plugin_discovery_auto_package_json field in the database.
	FieldPluginDiscoveryAutoPackageJSON = "plugin_discovery_auto_package_json"
	// FieldPluginManualEntries holds the string denoting the plugin_manual_entries field in the database.
	FieldPluginManualEntries = "plugin_manual_entries"
	// FieldNpmPackageName holds the string denoting the npm_package_name field in the database.
	FieldNpmPackageName = "npm_package_name"
	// FieldNpmVersionSpec holds the string denoting the npm_version_spec field in the database.
	FieldNpmVersionSpec = "npm_version_spec"
	// FieldNpmRegistryURL holds the string denoting the npm_registry_url field in the database.
	FieldNpmRegistryURL = "npm_registry_url"
	// FieldIsDeleted holds the string denoting the is_deleted field in the database.
	FieldIsDeleted = "is_deleted"
	// 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"
	// EdgePlugins holds the string denoting the plugins edge name in mutations.
	EdgePlugins = "plugins"
	// Table holds the table name of the agentpluginrepo in the database.
	Table = "agent_plugin_repos"
	// PluginsTable is the table that holds the plugins relation/edge.
	PluginsTable = "agent_plugins"
	// PluginsInverseTable is the table name for the AgentPlugin entity.
	// It exists in this package in order to avoid circular dependency with the "agentplugin" package.
	PluginsInverseTable = "agent_plugins"
	// PluginsColumn is the table column denoting the plugins relation/edge.
	PluginsColumn = "repo_id"
)
View Source
const DefaultScopeType = ScopeTypeGlobal

ScopeTypeGlobal is the default value of the ScopeType enum.

Variables

View Source
var (
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultScopeID holds the default value on creation for the "scope_id" field.
	DefaultScopeID string
	// DefaultPluginDiscoveryAutoPackageJSON holds the default value on creation for the "plugin_discovery_auto_package_json" field.
	DefaultPluginDiscoveryAutoPackageJSON bool
	// DefaultIsDeleted holds the default value on creation for the "is_deleted" field.
	DefaultIsDeleted 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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for agentpluginrepo fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.AgentPluginRepo

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AgentPluginRepo

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AgentPluginRepo

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentPluginRepo

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AgentPluginRepo

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AgentPluginRepo

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentPluginRepo

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentPluginRepo

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AgentPluginRepo

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v uuid.UUID) predicate.AgentPluginRepo

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v uuid.UUID) predicate.AgentPluginRepo

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v uuid.UUID) predicate.AgentPluginRepo

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v uuid.UUID) predicate.AgentPluginRepo

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...uuid.UUID) predicate.AgentPluginRepo

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v uuid.UUID) predicate.AgentPluginRepo

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v uuid.UUID) predicate.AgentPluginRepo

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v uuid.UUID) predicate.AgentPluginRepo

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...uuid.UUID) predicate.AgentPluginRepo

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func GithubURL

func GithubURL(v string) predicate.AgentPluginRepo

GithubURL applies equality check predicate on the "github_url" field. It's identical to GithubURLEQ.

func GithubURLContains

func GithubURLContains(v string) predicate.AgentPluginRepo

GithubURLContains applies the Contains predicate on the "github_url" field.

func GithubURLContainsFold

func GithubURLContainsFold(v string) predicate.AgentPluginRepo

GithubURLContainsFold applies the ContainsFold predicate on the "github_url" field.

func GithubURLEQ

func GithubURLEQ(v string) predicate.AgentPluginRepo

GithubURLEQ applies the EQ predicate on the "github_url" field.

func GithubURLEqualFold

func GithubURLEqualFold(v string) predicate.AgentPluginRepo

GithubURLEqualFold applies the EqualFold predicate on the "github_url" field.

func GithubURLGT

func GithubURLGT(v string) predicate.AgentPluginRepo

GithubURLGT applies the GT predicate on the "github_url" field.

func GithubURLGTE

func GithubURLGTE(v string) predicate.AgentPluginRepo

GithubURLGTE applies the GTE predicate on the "github_url" field.

func GithubURLHasPrefix

func GithubURLHasPrefix(v string) predicate.AgentPluginRepo

GithubURLHasPrefix applies the HasPrefix predicate on the "github_url" field.

func GithubURLHasSuffix

func GithubURLHasSuffix(v string) predicate.AgentPluginRepo

GithubURLHasSuffix applies the HasSuffix predicate on the "github_url" field.

func GithubURLIn

func GithubURLIn(vs ...string) predicate.AgentPluginRepo

GithubURLIn applies the In predicate on the "github_url" field.

func GithubURLIsNil

func GithubURLIsNil() predicate.AgentPluginRepo

GithubURLIsNil applies the IsNil predicate on the "github_url" field.

func GithubURLLT

func GithubURLLT(v string) predicate.AgentPluginRepo

GithubURLLT applies the LT predicate on the "github_url" field.

func GithubURLLTE

func GithubURLLTE(v string) predicate.AgentPluginRepo

GithubURLLTE applies the LTE predicate on the "github_url" field.

func GithubURLNEQ

func GithubURLNEQ(v string) predicate.AgentPluginRepo

GithubURLNEQ applies the NEQ predicate on the "github_url" field.

func GithubURLNotIn

func GithubURLNotIn(vs ...string) predicate.AgentPluginRepo

GithubURLNotIn applies the NotIn predicate on the "github_url" field.

func GithubURLNotNil

func GithubURLNotNil() predicate.AgentPluginRepo

GithubURLNotNil applies the NotNil predicate on the "github_url" field.

func HasPlugins

func HasPlugins() predicate.AgentPluginRepo

HasPlugins applies the HasEdge predicate on the "plugins" edge.

func HasPluginsWith

func HasPluginsWith(preds ...predicate.AgentPlugin) predicate.AgentPluginRepo

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

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

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

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.AgentPluginRepo

IDNotIn applies the NotIn predicate on the ID field.

func IsDeleted

func IsDeleted(v bool) predicate.AgentPluginRepo

IsDeleted applies equality check predicate on the "is_deleted" field. It's identical to IsDeletedEQ.

func IsDeletedEQ

func IsDeletedEQ(v bool) predicate.AgentPluginRepo

IsDeletedEQ applies the EQ predicate on the "is_deleted" field.

func IsDeletedNEQ

func IsDeletedNEQ(v bool) predicate.AgentPluginRepo

IsDeletedNEQ applies the NEQ predicate on the "is_deleted" field.

func LastUploadAt

func LastUploadAt(v time.Time) predicate.AgentPluginRepo

LastUploadAt applies equality check predicate on the "last_upload_at" field. It's identical to LastUploadAtEQ.

func LastUploadAtEQ

func LastUploadAtEQ(v time.Time) predicate.AgentPluginRepo

LastUploadAtEQ applies the EQ predicate on the "last_upload_at" field.

func LastUploadAtGT

func LastUploadAtGT(v time.Time) predicate.AgentPluginRepo

LastUploadAtGT applies the GT predicate on the "last_upload_at" field.

func LastUploadAtGTE

func LastUploadAtGTE(v time.Time) predicate.AgentPluginRepo

LastUploadAtGTE applies the GTE predicate on the "last_upload_at" field.

func LastUploadAtIn

func LastUploadAtIn(vs ...time.Time) predicate.AgentPluginRepo

LastUploadAtIn applies the In predicate on the "last_upload_at" field.

func LastUploadAtIsNil

func LastUploadAtIsNil() predicate.AgentPluginRepo

LastUploadAtIsNil applies the IsNil predicate on the "last_upload_at" field.

func LastUploadAtLT

func LastUploadAtLT(v time.Time) predicate.AgentPluginRepo

LastUploadAtLT applies the LT predicate on the "last_upload_at" field.

func LastUploadAtLTE

func LastUploadAtLTE(v time.Time) predicate.AgentPluginRepo

LastUploadAtLTE applies the LTE predicate on the "last_upload_at" field.

func LastUploadAtNEQ

func LastUploadAtNEQ(v time.Time) predicate.AgentPluginRepo

LastUploadAtNEQ applies the NEQ predicate on the "last_upload_at" field.

func LastUploadAtNotIn

func LastUploadAtNotIn(vs ...time.Time) predicate.AgentPluginRepo

LastUploadAtNotIn applies the NotIn predicate on the "last_upload_at" field.

func LastUploadAtNotNil

func LastUploadAtNotNil() predicate.AgentPluginRepo

LastUploadAtNotNil applies the NotNil predicate on the "last_upload_at" field.

func LastUploadFilename

func LastUploadFilename(v string) predicate.AgentPluginRepo

LastUploadFilename applies equality check predicate on the "last_upload_filename" field. It's identical to LastUploadFilenameEQ.

func LastUploadFilenameContains

func LastUploadFilenameContains(v string) predicate.AgentPluginRepo

LastUploadFilenameContains applies the Contains predicate on the "last_upload_filename" field.

func LastUploadFilenameContainsFold

func LastUploadFilenameContainsFold(v string) predicate.AgentPluginRepo

LastUploadFilenameContainsFold applies the ContainsFold predicate on the "last_upload_filename" field.

func LastUploadFilenameEQ

func LastUploadFilenameEQ(v string) predicate.AgentPluginRepo

LastUploadFilenameEQ applies the EQ predicate on the "last_upload_filename" field.

func LastUploadFilenameEqualFold

func LastUploadFilenameEqualFold(v string) predicate.AgentPluginRepo

LastUploadFilenameEqualFold applies the EqualFold predicate on the "last_upload_filename" field.

func LastUploadFilenameGT

func LastUploadFilenameGT(v string) predicate.AgentPluginRepo

LastUploadFilenameGT applies the GT predicate on the "last_upload_filename" field.

func LastUploadFilenameGTE

func LastUploadFilenameGTE(v string) predicate.AgentPluginRepo

LastUploadFilenameGTE applies the GTE predicate on the "last_upload_filename" field.

func LastUploadFilenameHasPrefix

func LastUploadFilenameHasPrefix(v string) predicate.AgentPluginRepo

LastUploadFilenameHasPrefix applies the HasPrefix predicate on the "last_upload_filename" field.

func LastUploadFilenameHasSuffix

func LastUploadFilenameHasSuffix(v string) predicate.AgentPluginRepo

LastUploadFilenameHasSuffix applies the HasSuffix predicate on the "last_upload_filename" field.

func LastUploadFilenameIn

func LastUploadFilenameIn(vs ...string) predicate.AgentPluginRepo

LastUploadFilenameIn applies the In predicate on the "last_upload_filename" field.

func LastUploadFilenameIsNil

func LastUploadFilenameIsNil() predicate.AgentPluginRepo

LastUploadFilenameIsNil applies the IsNil predicate on the "last_upload_filename" field.

func LastUploadFilenameLT

func LastUploadFilenameLT(v string) predicate.AgentPluginRepo

LastUploadFilenameLT applies the LT predicate on the "last_upload_filename" field.

func LastUploadFilenameLTE

func LastUploadFilenameLTE(v string) predicate.AgentPluginRepo

LastUploadFilenameLTE applies the LTE predicate on the "last_upload_filename" field.

func LastUploadFilenameNEQ

func LastUploadFilenameNEQ(v string) predicate.AgentPluginRepo

LastUploadFilenameNEQ applies the NEQ predicate on the "last_upload_filename" field.

func LastUploadFilenameNotIn

func LastUploadFilenameNotIn(vs ...string) predicate.AgentPluginRepo

LastUploadFilenameNotIn applies the NotIn predicate on the "last_upload_filename" field.

func LastUploadFilenameNotNil

func LastUploadFilenameNotNil() predicate.AgentPluginRepo

LastUploadFilenameNotNil applies the NotNil predicate on the "last_upload_filename" field.

func Name

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

func NameContains

func NameContains(v string) predicate.AgentPluginRepo

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

func NameContainsFold

func NameContainsFold(v string) predicate.AgentPluginRepo

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.AgentPluginRepo

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

func NameGT

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

func NameGTE

func NameGTE(v string) predicate.AgentPluginRepo

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.AgentPluginRepo

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.AgentPluginRepo

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

func NameIn

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

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

func NameLT

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

func NameLTE

func NameLTE(v string) predicate.AgentPluginRepo

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

func NameNEQ

func NameNEQ(v string) predicate.AgentPluginRepo

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func NpmPackageName

func NpmPackageName(v string) predicate.AgentPluginRepo

NpmPackageName applies equality check predicate on the "npm_package_name" field. It's identical to NpmPackageNameEQ.

func NpmPackageNameContains

func NpmPackageNameContains(v string) predicate.AgentPluginRepo

NpmPackageNameContains applies the Contains predicate on the "npm_package_name" field.

func NpmPackageNameContainsFold

func NpmPackageNameContainsFold(v string) predicate.AgentPluginRepo

NpmPackageNameContainsFold applies the ContainsFold predicate on the "npm_package_name" field.

func NpmPackageNameEQ

func NpmPackageNameEQ(v string) predicate.AgentPluginRepo

NpmPackageNameEQ applies the EQ predicate on the "npm_package_name" field.

func NpmPackageNameEqualFold

func NpmPackageNameEqualFold(v string) predicate.AgentPluginRepo

NpmPackageNameEqualFold applies the EqualFold predicate on the "npm_package_name" field.

func NpmPackageNameGT

func NpmPackageNameGT(v string) predicate.AgentPluginRepo

NpmPackageNameGT applies the GT predicate on the "npm_package_name" field.

func NpmPackageNameGTE

func NpmPackageNameGTE(v string) predicate.AgentPluginRepo

NpmPackageNameGTE applies the GTE predicate on the "npm_package_name" field.

func NpmPackageNameHasPrefix

func NpmPackageNameHasPrefix(v string) predicate.AgentPluginRepo

NpmPackageNameHasPrefix applies the HasPrefix predicate on the "npm_package_name" field.

func NpmPackageNameHasSuffix

func NpmPackageNameHasSuffix(v string) predicate.AgentPluginRepo

NpmPackageNameHasSuffix applies the HasSuffix predicate on the "npm_package_name" field.

func NpmPackageNameIn

func NpmPackageNameIn(vs ...string) predicate.AgentPluginRepo

NpmPackageNameIn applies the In predicate on the "npm_package_name" field.

func NpmPackageNameIsNil

func NpmPackageNameIsNil() predicate.AgentPluginRepo

NpmPackageNameIsNil applies the IsNil predicate on the "npm_package_name" field.

func NpmPackageNameLT

func NpmPackageNameLT(v string) predicate.AgentPluginRepo

NpmPackageNameLT applies the LT predicate on the "npm_package_name" field.

func NpmPackageNameLTE

func NpmPackageNameLTE(v string) predicate.AgentPluginRepo

NpmPackageNameLTE applies the LTE predicate on the "npm_package_name" field.

func NpmPackageNameNEQ

func NpmPackageNameNEQ(v string) predicate.AgentPluginRepo

NpmPackageNameNEQ applies the NEQ predicate on the "npm_package_name" field.

func NpmPackageNameNotIn

func NpmPackageNameNotIn(vs ...string) predicate.AgentPluginRepo

NpmPackageNameNotIn applies the NotIn predicate on the "npm_package_name" field.

func NpmPackageNameNotNil

func NpmPackageNameNotNil() predicate.AgentPluginRepo

NpmPackageNameNotNil applies the NotNil predicate on the "npm_package_name" field.

func NpmRegistryURL

func NpmRegistryURL(v string) predicate.AgentPluginRepo

NpmRegistryURL applies equality check predicate on the "npm_registry_url" field. It's identical to NpmRegistryURLEQ.

func NpmRegistryURLContains

func NpmRegistryURLContains(v string) predicate.AgentPluginRepo

NpmRegistryURLContains applies the Contains predicate on the "npm_registry_url" field.

func NpmRegistryURLContainsFold

func NpmRegistryURLContainsFold(v string) predicate.AgentPluginRepo

NpmRegistryURLContainsFold applies the ContainsFold predicate on the "npm_registry_url" field.

func NpmRegistryURLEQ

func NpmRegistryURLEQ(v string) predicate.AgentPluginRepo

NpmRegistryURLEQ applies the EQ predicate on the "npm_registry_url" field.

func NpmRegistryURLEqualFold

func NpmRegistryURLEqualFold(v string) predicate.AgentPluginRepo

NpmRegistryURLEqualFold applies the EqualFold predicate on the "npm_registry_url" field.

func NpmRegistryURLGT

func NpmRegistryURLGT(v string) predicate.AgentPluginRepo

NpmRegistryURLGT applies the GT predicate on the "npm_registry_url" field.

func NpmRegistryURLGTE

func NpmRegistryURLGTE(v string) predicate.AgentPluginRepo

NpmRegistryURLGTE applies the GTE predicate on the "npm_registry_url" field.

func NpmRegistryURLHasPrefix

func NpmRegistryURLHasPrefix(v string) predicate.AgentPluginRepo

NpmRegistryURLHasPrefix applies the HasPrefix predicate on the "npm_registry_url" field.

func NpmRegistryURLHasSuffix

func NpmRegistryURLHasSuffix(v string) predicate.AgentPluginRepo

NpmRegistryURLHasSuffix applies the HasSuffix predicate on the "npm_registry_url" field.

func NpmRegistryURLIn

func NpmRegistryURLIn(vs ...string) predicate.AgentPluginRepo

NpmRegistryURLIn applies the In predicate on the "npm_registry_url" field.

func NpmRegistryURLIsNil

func NpmRegistryURLIsNil() predicate.AgentPluginRepo

NpmRegistryURLIsNil applies the IsNil predicate on the "npm_registry_url" field.

func NpmRegistryURLLT

func NpmRegistryURLLT(v string) predicate.AgentPluginRepo

NpmRegistryURLLT applies the LT predicate on the "npm_registry_url" field.

func NpmRegistryURLLTE

func NpmRegistryURLLTE(v string) predicate.AgentPluginRepo

NpmRegistryURLLTE applies the LTE predicate on the "npm_registry_url" field.

func NpmRegistryURLNEQ

func NpmRegistryURLNEQ(v string) predicate.AgentPluginRepo

NpmRegistryURLNEQ applies the NEQ predicate on the "npm_registry_url" field.

func NpmRegistryURLNotIn

func NpmRegistryURLNotIn(vs ...string) predicate.AgentPluginRepo

NpmRegistryURLNotIn applies the NotIn predicate on the "npm_registry_url" field.

func NpmRegistryURLNotNil

func NpmRegistryURLNotNil() predicate.AgentPluginRepo

NpmRegistryURLNotNil applies the NotNil predicate on the "npm_registry_url" field.

func NpmVersionSpec

func NpmVersionSpec(v string) predicate.AgentPluginRepo

NpmVersionSpec applies equality check predicate on the "npm_version_spec" field. It's identical to NpmVersionSpecEQ.

func NpmVersionSpecContains

func NpmVersionSpecContains(v string) predicate.AgentPluginRepo

NpmVersionSpecContains applies the Contains predicate on the "npm_version_spec" field.

func NpmVersionSpecContainsFold

func NpmVersionSpecContainsFold(v string) predicate.AgentPluginRepo

NpmVersionSpecContainsFold applies the ContainsFold predicate on the "npm_version_spec" field.

func NpmVersionSpecEQ

func NpmVersionSpecEQ(v string) predicate.AgentPluginRepo

NpmVersionSpecEQ applies the EQ predicate on the "npm_version_spec" field.

func NpmVersionSpecEqualFold

func NpmVersionSpecEqualFold(v string) predicate.AgentPluginRepo

NpmVersionSpecEqualFold applies the EqualFold predicate on the "npm_version_spec" field.

func NpmVersionSpecGT

func NpmVersionSpecGT(v string) predicate.AgentPluginRepo

NpmVersionSpecGT applies the GT predicate on the "npm_version_spec" field.

func NpmVersionSpecGTE

func NpmVersionSpecGTE(v string) predicate.AgentPluginRepo

NpmVersionSpecGTE applies the GTE predicate on the "npm_version_spec" field.

func NpmVersionSpecHasPrefix

func NpmVersionSpecHasPrefix(v string) predicate.AgentPluginRepo

NpmVersionSpecHasPrefix applies the HasPrefix predicate on the "npm_version_spec" field.

func NpmVersionSpecHasSuffix

func NpmVersionSpecHasSuffix(v string) predicate.AgentPluginRepo

NpmVersionSpecHasSuffix applies the HasSuffix predicate on the "npm_version_spec" field.

func NpmVersionSpecIn

func NpmVersionSpecIn(vs ...string) predicate.AgentPluginRepo

NpmVersionSpecIn applies the In predicate on the "npm_version_spec" field.

func NpmVersionSpecIsNil

func NpmVersionSpecIsNil() predicate.AgentPluginRepo

NpmVersionSpecIsNil applies the IsNil predicate on the "npm_version_spec" field.

func NpmVersionSpecLT

func NpmVersionSpecLT(v string) predicate.AgentPluginRepo

NpmVersionSpecLT applies the LT predicate on the "npm_version_spec" field.

func NpmVersionSpecLTE

func NpmVersionSpecLTE(v string) predicate.AgentPluginRepo

NpmVersionSpecLTE applies the LTE predicate on the "npm_version_spec" field.

func NpmVersionSpecNEQ

func NpmVersionSpecNEQ(v string) predicate.AgentPluginRepo

NpmVersionSpecNEQ applies the NEQ predicate on the "npm_version_spec" field.

func NpmVersionSpecNotIn

func NpmVersionSpecNotIn(vs ...string) predicate.AgentPluginRepo

NpmVersionSpecNotIn applies the NotIn predicate on the "npm_version_spec" field.

func NpmVersionSpecNotNil

func NpmVersionSpecNotNil() predicate.AgentPluginRepo

NpmVersionSpecNotNil applies the NotNil predicate on the "npm_version_spec" field.

func Or

Or groups predicates with the OR operator between them.

func PluginDiscoveryAutoPackageJSON

func PluginDiscoveryAutoPackageJSON(v bool) predicate.AgentPluginRepo

PluginDiscoveryAutoPackageJSON applies equality check predicate on the "plugin_discovery_auto_package_json" field. It's identical to PluginDiscoveryAutoPackageJSONEQ.

func PluginDiscoveryAutoPackageJSONEQ

func PluginDiscoveryAutoPackageJSONEQ(v bool) predicate.AgentPluginRepo

PluginDiscoveryAutoPackageJSONEQ applies the EQ predicate on the "plugin_discovery_auto_package_json" field.

func PluginDiscoveryAutoPackageJSONNEQ

func PluginDiscoveryAutoPackageJSONNEQ(v bool) predicate.AgentPluginRepo

PluginDiscoveryAutoPackageJSONNEQ applies the NEQ predicate on the "plugin_discovery_auto_package_json" field.

func PluginManualEntriesIsNil

func PluginManualEntriesIsNil() predicate.AgentPluginRepo

PluginManualEntriesIsNil applies the IsNil predicate on the "plugin_manual_entries" field.

func PluginManualEntriesNotNil

func PluginManualEntriesNotNil() predicate.AgentPluginRepo

PluginManualEntriesNotNil applies the NotNil predicate on the "plugin_manual_entries" field.

func RefTypeEQ

func RefTypeEQ(v RefType) predicate.AgentPluginRepo

RefTypeEQ applies the EQ predicate on the "ref_type" field.

func RefTypeIn

func RefTypeIn(vs ...RefType) predicate.AgentPluginRepo

RefTypeIn applies the In predicate on the "ref_type" field.

func RefTypeIsNil

func RefTypeIsNil() predicate.AgentPluginRepo

RefTypeIsNil applies the IsNil predicate on the "ref_type" field.

func RefTypeNEQ

func RefTypeNEQ(v RefType) predicate.AgentPluginRepo

RefTypeNEQ applies the NEQ predicate on the "ref_type" field.

func RefTypeNotIn

func RefTypeNotIn(vs ...RefType) predicate.AgentPluginRepo

RefTypeNotIn applies the NotIn predicate on the "ref_type" field.

func RefTypeNotNil

func RefTypeNotNil() predicate.AgentPluginRepo

RefTypeNotNil applies the NotNil predicate on the "ref_type" field.

func RefTypeValidator

func RefTypeValidator(rt RefType) error

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

func RefValue

func RefValue(v string) predicate.AgentPluginRepo

RefValue applies equality check predicate on the "ref_value" field. It's identical to RefValueEQ.

func RefValueContains

func RefValueContains(v string) predicate.AgentPluginRepo

RefValueContains applies the Contains predicate on the "ref_value" field.

func RefValueContainsFold

func RefValueContainsFold(v string) predicate.AgentPluginRepo

RefValueContainsFold applies the ContainsFold predicate on the "ref_value" field.

func RefValueEQ

func RefValueEQ(v string) predicate.AgentPluginRepo

RefValueEQ applies the EQ predicate on the "ref_value" field.

func RefValueEqualFold

func RefValueEqualFold(v string) predicate.AgentPluginRepo

RefValueEqualFold applies the EqualFold predicate on the "ref_value" field.

func RefValueGT

func RefValueGT(v string) predicate.AgentPluginRepo

RefValueGT applies the GT predicate on the "ref_value" field.

func RefValueGTE

func RefValueGTE(v string) predicate.AgentPluginRepo

RefValueGTE applies the GTE predicate on the "ref_value" field.

func RefValueHasPrefix

func RefValueHasPrefix(v string) predicate.AgentPluginRepo

RefValueHasPrefix applies the HasPrefix predicate on the "ref_value" field.

func RefValueHasSuffix

func RefValueHasSuffix(v string) predicate.AgentPluginRepo

RefValueHasSuffix applies the HasSuffix predicate on the "ref_value" field.

func RefValueIn

func RefValueIn(vs ...string) predicate.AgentPluginRepo

RefValueIn applies the In predicate on the "ref_value" field.

func RefValueIsNil

func RefValueIsNil() predicate.AgentPluginRepo

RefValueIsNil applies the IsNil predicate on the "ref_value" field.

func RefValueLT

func RefValueLT(v string) predicate.AgentPluginRepo

RefValueLT applies the LT predicate on the "ref_value" field.

func RefValueLTE

func RefValueLTE(v string) predicate.AgentPluginRepo

RefValueLTE applies the LTE predicate on the "ref_value" field.

func RefValueNEQ

func RefValueNEQ(v string) predicate.AgentPluginRepo

RefValueNEQ applies the NEQ predicate on the "ref_value" field.

func RefValueNotIn

func RefValueNotIn(vs ...string) predicate.AgentPluginRepo

RefValueNotIn applies the NotIn predicate on the "ref_value" field.

func RefValueNotNil

func RefValueNotNil() predicate.AgentPluginRepo

RefValueNotNil applies the NotNil predicate on the "ref_value" field.

func ScopeID

func ScopeID(v string) predicate.AgentPluginRepo

ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.

func ScopeIDContains

func ScopeIDContains(v string) predicate.AgentPluginRepo

ScopeIDContains applies the Contains predicate on the "scope_id" field.

func ScopeIDContainsFold

func ScopeIDContainsFold(v string) predicate.AgentPluginRepo

ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.

func ScopeIDEQ

func ScopeIDEQ(v string) predicate.AgentPluginRepo

ScopeIDEQ applies the EQ predicate on the "scope_id" field.

func ScopeIDEqualFold

func ScopeIDEqualFold(v string) predicate.AgentPluginRepo

ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.

func ScopeIDGT

func ScopeIDGT(v string) predicate.AgentPluginRepo

ScopeIDGT applies the GT predicate on the "scope_id" field.

func ScopeIDGTE

func ScopeIDGTE(v string) predicate.AgentPluginRepo

ScopeIDGTE applies the GTE predicate on the "scope_id" field.

func ScopeIDHasPrefix

func ScopeIDHasPrefix(v string) predicate.AgentPluginRepo

ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.

func ScopeIDHasSuffix

func ScopeIDHasSuffix(v string) predicate.AgentPluginRepo

ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.

func ScopeIDIn

func ScopeIDIn(vs ...string) predicate.AgentPluginRepo

ScopeIDIn applies the In predicate on the "scope_id" field.

func ScopeIDLT

func ScopeIDLT(v string) predicate.AgentPluginRepo

ScopeIDLT applies the LT predicate on the "scope_id" field.

func ScopeIDLTE

func ScopeIDLTE(v string) predicate.AgentPluginRepo

ScopeIDLTE applies the LTE predicate on the "scope_id" field.

func ScopeIDNEQ

func ScopeIDNEQ(v string) predicate.AgentPluginRepo

ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.

func ScopeIDNotIn

func ScopeIDNotIn(vs ...string) predicate.AgentPluginRepo

ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.

func ScopeTypeEQ

func ScopeTypeEQ(v ScopeType) predicate.AgentPluginRepo

ScopeTypeEQ applies the EQ predicate on the "scope_type" field.

func ScopeTypeIn

func ScopeTypeIn(vs ...ScopeType) predicate.AgentPluginRepo

ScopeTypeIn applies the In predicate on the "scope_type" field.

func ScopeTypeNEQ

func ScopeTypeNEQ(v ScopeType) predicate.AgentPluginRepo

ScopeTypeNEQ applies the NEQ predicate on the "scope_type" field.

func ScopeTypeNotIn

func ScopeTypeNotIn(vs ...ScopeType) predicate.AgentPluginRepo

ScopeTypeNotIn applies the NotIn predicate on the "scope_type" field.

func ScopeTypeValidator

func ScopeTypeValidator(st ScopeType) error

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

func SourceTypeEQ

func SourceTypeEQ(v SourceType) predicate.AgentPluginRepo

SourceTypeEQ applies the EQ predicate on the "source_type" field.

func SourceTypeIn

func SourceTypeIn(vs ...SourceType) predicate.AgentPluginRepo

SourceTypeIn applies the In predicate on the "source_type" field.

func SourceTypeNEQ

func SourceTypeNEQ(v SourceType) predicate.AgentPluginRepo

SourceTypeNEQ applies the NEQ predicate on the "source_type" field.

func SourceTypeNotIn

func SourceTypeNotIn(vs ...SourceType) predicate.AgentPluginRepo

SourceTypeNotIn applies the NotIn predicate on the "source_type" field.

func SourceTypeValidator

func SourceTypeValidator(st SourceType) error

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AgentPluginRepo

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AgentPluginRepo

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AgentPluginRepo

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AgentPluginRepo

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AgentPluginRepo

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AgentPluginRepo

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AgentPluginRepo

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AgentPluginRepo

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AgentPluginRepo

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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentPluginRepo queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByGithubURL

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

ByGithubURL orders the results by the github_url field.

func ByID

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

ByID orders the results by the id field.

func ByIsDeleted

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

ByIsDeleted orders the results by the is_deleted field.

func ByLastUploadAt

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

ByLastUploadAt orders the results by the last_upload_at field.

func ByLastUploadFilename

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

ByLastUploadFilename orders the results by the last_upload_filename field.

func ByName

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

ByName orders the results by the name field.

func ByNpmPackageName

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

ByNpmPackageName orders the results by the npm_package_name field.

func ByNpmRegistryURL

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

ByNpmRegistryURL orders the results by the npm_registry_url field.

func ByNpmVersionSpec

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

ByNpmVersionSpec orders the results by the npm_version_spec field.

func ByPluginDiscoveryAutoPackageJSON

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

ByPluginDiscoveryAutoPackageJSON orders the results by the plugin_discovery_auto_package_json field.

func ByPlugins

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

ByPlugins orders the results by plugins terms.

func ByPluginsCount

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

ByPluginsCount orders the results by plugins count.

func ByRefType

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

ByRefType orders the results by the ref_type field.

func ByRefValue

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

ByRefValue orders the results by the ref_value field.

func ByScopeID

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

ByScopeID orders the results by the scope_id field.

func ByScopeType

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

ByScopeType orders the results by the scope_type field.

func BySourceType

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

BySourceType orders the results by the source_type field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

type RefType

type RefType string

RefType defines the type for the "ref_type" enum field.

const (
	RefTypeBranch RefType = "branch"
	RefTypeTag    RefType = "tag"
	RefTypeCommit RefType = "commit"
)

RefType values.

func (RefType) String

func (rt RefType) String() string

type ScopeType

type ScopeType string

ScopeType defines the type for the "scope_type" enum field.

const (
	ScopeTypeGlobal ScopeType = "global"
	ScopeTypeTeam   ScopeType = "team"
	ScopeTypeUser   ScopeType = "user"
)

ScopeType values.

func (ScopeType) String

func (st ScopeType) String() string

type SourceType

type SourceType string

SourceType defines the type for the "source_type" enum field.

const (
	SourceTypeGithub SourceType = "github"
	SourceTypeUpload SourceType = "upload"
	SourceTypeNpm    SourceType = "npm"
	SourceTypeBare   SourceType = "bare"
)

SourceType values.

func (SourceType) String

func (st SourceType) String() string

Jump to

Keyboard shortcuts

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