softwarerepo

package
v0.0.0-...-d4cf3a4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the softwarerepo type in the database.
	Label = "software_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"
	// FieldRepoType holds the string denoting the repo_type field in the database.
	FieldRepoType = "repo_type"
	// FieldEndpoint holds the string denoting the endpoint field in the database.
	FieldEndpoint = "endpoint"
	// FieldBucket holds the string denoting the bucket field in the database.
	FieldBucket = "bucket"
	// FieldRegion holds the string denoting the region field in the database.
	FieldRegion = "region"
	// FieldAccessKey holds the string denoting the access_key field in the database.
	FieldAccessKey = "access_key"
	// FieldSecretKey holds the string denoting the secret_key field in the database.
	FieldSecretKey = "secret_key"
	// FieldBasePath holds the string denoting the base_path field in the database.
	FieldBasePath = "base_path"
	// FieldUsePresigned holds the string denoting the use_presigned field in the database.
	FieldUsePresigned = "use_presigned"
	// FieldPresignTTLSeconds holds the string denoting the presign_ttl_seconds field in the database.
	FieldPresignTTLSeconds = "presign_ttl_seconds"
	// FieldIsDefault holds the string denoting the is_default field in the database.
	FieldIsDefault = "is_default"
	// FieldCreated holds the string denoting the created field in the database.
	FieldCreated = "created"
	// FieldModified holds the string denoting the modified field in the database.
	FieldModified = "modified"
	// EdgeTenant holds the string denoting the tenant edge name in mutations.
	EdgeTenant = "tenant"
	// EdgePackages holds the string denoting the packages edge name in mutations.
	EdgePackages = "packages"
	// Table holds the table name of the softwarerepo in the database.
	Table = "software_repos"
	// TenantTable is the table that holds the tenant relation/edge.
	TenantTable = "software_repos"
	// TenantInverseTable is the table name for the Tenant entity.
	// It exists in this package in order to avoid circular dependency with the "tenant" package.
	TenantInverseTable = "tenants"
	// TenantColumn is the table column denoting the tenant relation/edge.
	TenantColumn = "tenant_software_repos"
	// PackagesTable is the table that holds the packages relation/edge.
	PackagesTable = "managed_packages"
	// PackagesInverseTable is the table name for the ManagedPackage entity.
	// It exists in this package in order to avoid circular dependency with the "managedpackage" package.
	PackagesInverseTable = "managed_packages"
	// PackagesColumn is the table column denoting the packages relation/edge.
	PackagesColumn = "software_repo_packages"
)

Variables

View Source
var (
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// EndpointValidator is a validator for the "endpoint" field. It is called by the builders before save.
	EndpointValidator func(string) error
	// BucketValidator is a validator for the "bucket" field. It is called by the builders before save.
	BucketValidator func(string) error
	// DefaultRegion holds the default value on creation for the "region" field.
	DefaultRegion string
	// DefaultBasePath holds the default value on creation for the "base_path" field.
	DefaultBasePath string
	// DefaultUsePresigned holds the default value on creation for the "use_presigned" field.
	DefaultUsePresigned bool
	// DefaultPresignTTLSeconds holds the default value on creation for the "presign_ttl_seconds" field.
	DefaultPresignTTLSeconds int
	// DefaultIsDefault holds the default value on creation for the "is_default" field.
	DefaultIsDefault bool
	// DefaultCreated holds the default value on creation for the "created" field.
	DefaultCreated func() time.Time
	// DefaultModified holds the default value on creation for the "modified" field.
	DefaultModified func() time.Time
	// UpdateDefaultModified holds the default value on update for the "modified" field.
	UpdateDefaultModified func() time.Time
)

Columns holds all SQL columns for softwarerepo fields.

View Source
var ForeignKeys = []string{
	"tenant_software_repos",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "software_repos" table and are not defined as standalone fields in the schema.

Functions

func AccessKey

func AccessKey(v string) predicate.SoftwareRepo

AccessKey applies equality check predicate on the "access_key" field. It's identical to AccessKeyEQ.

func AccessKeyContains

func AccessKeyContains(v string) predicate.SoftwareRepo

AccessKeyContains applies the Contains predicate on the "access_key" field.

func AccessKeyContainsFold

func AccessKeyContainsFold(v string) predicate.SoftwareRepo

AccessKeyContainsFold applies the ContainsFold predicate on the "access_key" field.

func AccessKeyEQ

func AccessKeyEQ(v string) predicate.SoftwareRepo

AccessKeyEQ applies the EQ predicate on the "access_key" field.

func AccessKeyEqualFold

func AccessKeyEqualFold(v string) predicate.SoftwareRepo

AccessKeyEqualFold applies the EqualFold predicate on the "access_key" field.

func AccessKeyGT

func AccessKeyGT(v string) predicate.SoftwareRepo

AccessKeyGT applies the GT predicate on the "access_key" field.

func AccessKeyGTE

func AccessKeyGTE(v string) predicate.SoftwareRepo

AccessKeyGTE applies the GTE predicate on the "access_key" field.

func AccessKeyHasPrefix

func AccessKeyHasPrefix(v string) predicate.SoftwareRepo

AccessKeyHasPrefix applies the HasPrefix predicate on the "access_key" field.

func AccessKeyHasSuffix

func AccessKeyHasSuffix(v string) predicate.SoftwareRepo

AccessKeyHasSuffix applies the HasSuffix predicate on the "access_key" field.

func AccessKeyIn

func AccessKeyIn(vs ...string) predicate.SoftwareRepo

AccessKeyIn applies the In predicate on the "access_key" field.

func AccessKeyIsNil

func AccessKeyIsNil() predicate.SoftwareRepo

AccessKeyIsNil applies the IsNil predicate on the "access_key" field.

func AccessKeyLT

func AccessKeyLT(v string) predicate.SoftwareRepo

AccessKeyLT applies the LT predicate on the "access_key" field.

func AccessKeyLTE

func AccessKeyLTE(v string) predicate.SoftwareRepo

AccessKeyLTE applies the LTE predicate on the "access_key" field.

func AccessKeyNEQ

func AccessKeyNEQ(v string) predicate.SoftwareRepo

AccessKeyNEQ applies the NEQ predicate on the "access_key" field.

func AccessKeyNotIn

func AccessKeyNotIn(vs ...string) predicate.SoftwareRepo

AccessKeyNotIn applies the NotIn predicate on the "access_key" field.

func AccessKeyNotNil

func AccessKeyNotNil() predicate.SoftwareRepo

AccessKeyNotNil applies the NotNil predicate on the "access_key" field.

func And

func And(predicates ...predicate.SoftwareRepo) predicate.SoftwareRepo

And groups predicates with the AND operator between them.

func BasePath

func BasePath(v string) predicate.SoftwareRepo

BasePath applies equality check predicate on the "base_path" field. It's identical to BasePathEQ.

func BasePathContains

func BasePathContains(v string) predicate.SoftwareRepo

BasePathContains applies the Contains predicate on the "base_path" field.

func BasePathContainsFold

func BasePathContainsFold(v string) predicate.SoftwareRepo

BasePathContainsFold applies the ContainsFold predicate on the "base_path" field.

func BasePathEQ

func BasePathEQ(v string) predicate.SoftwareRepo

BasePathEQ applies the EQ predicate on the "base_path" field.

func BasePathEqualFold

func BasePathEqualFold(v string) predicate.SoftwareRepo

BasePathEqualFold applies the EqualFold predicate on the "base_path" field.

func BasePathGT

func BasePathGT(v string) predicate.SoftwareRepo

BasePathGT applies the GT predicate on the "base_path" field.

func BasePathGTE

func BasePathGTE(v string) predicate.SoftwareRepo

BasePathGTE applies the GTE predicate on the "base_path" field.

func BasePathHasPrefix

func BasePathHasPrefix(v string) predicate.SoftwareRepo

BasePathHasPrefix applies the HasPrefix predicate on the "base_path" field.

func BasePathHasSuffix

func BasePathHasSuffix(v string) predicate.SoftwareRepo

BasePathHasSuffix applies the HasSuffix predicate on the "base_path" field.

func BasePathIn

func BasePathIn(vs ...string) predicate.SoftwareRepo

BasePathIn applies the In predicate on the "base_path" field.

func BasePathIsNil

func BasePathIsNil() predicate.SoftwareRepo

BasePathIsNil applies the IsNil predicate on the "base_path" field.

func BasePathLT

func BasePathLT(v string) predicate.SoftwareRepo

BasePathLT applies the LT predicate on the "base_path" field.

func BasePathLTE

func BasePathLTE(v string) predicate.SoftwareRepo

BasePathLTE applies the LTE predicate on the "base_path" field.

func BasePathNEQ

func BasePathNEQ(v string) predicate.SoftwareRepo

BasePathNEQ applies the NEQ predicate on the "base_path" field.

func BasePathNotIn

func BasePathNotIn(vs ...string) predicate.SoftwareRepo

BasePathNotIn applies the NotIn predicate on the "base_path" field.

func BasePathNotNil

func BasePathNotNil() predicate.SoftwareRepo

BasePathNotNil applies the NotNil predicate on the "base_path" field.

func Bucket

func Bucket(v string) predicate.SoftwareRepo

Bucket applies equality check predicate on the "bucket" field. It's identical to BucketEQ.

func BucketContains

func BucketContains(v string) predicate.SoftwareRepo

BucketContains applies the Contains predicate on the "bucket" field.

func BucketContainsFold

func BucketContainsFold(v string) predicate.SoftwareRepo

BucketContainsFold applies the ContainsFold predicate on the "bucket" field.

func BucketEQ

func BucketEQ(v string) predicate.SoftwareRepo

BucketEQ applies the EQ predicate on the "bucket" field.

func BucketEqualFold

func BucketEqualFold(v string) predicate.SoftwareRepo

BucketEqualFold applies the EqualFold predicate on the "bucket" field.

func BucketGT

func BucketGT(v string) predicate.SoftwareRepo

BucketGT applies the GT predicate on the "bucket" field.

func BucketGTE

func BucketGTE(v string) predicate.SoftwareRepo

BucketGTE applies the GTE predicate on the "bucket" field.

func BucketHasPrefix

func BucketHasPrefix(v string) predicate.SoftwareRepo

BucketHasPrefix applies the HasPrefix predicate on the "bucket" field.

func BucketHasSuffix

func BucketHasSuffix(v string) predicate.SoftwareRepo

BucketHasSuffix applies the HasSuffix predicate on the "bucket" field.

func BucketIn

func BucketIn(vs ...string) predicate.SoftwareRepo

BucketIn applies the In predicate on the "bucket" field.

func BucketLT

func BucketLT(v string) predicate.SoftwareRepo

BucketLT applies the LT predicate on the "bucket" field.

func BucketLTE

func BucketLTE(v string) predicate.SoftwareRepo

BucketLTE applies the LTE predicate on the "bucket" field.

func BucketNEQ

func BucketNEQ(v string) predicate.SoftwareRepo

BucketNEQ applies the NEQ predicate on the "bucket" field.

func BucketNotIn

func BucketNotIn(vs ...string) predicate.SoftwareRepo

BucketNotIn applies the NotIn predicate on the "bucket" field.

func Created

func Created(v time.Time) predicate.SoftwareRepo

Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.

func CreatedEQ

func CreatedEQ(v time.Time) predicate.SoftwareRepo

CreatedEQ applies the EQ predicate on the "created" field.

func CreatedGT

func CreatedGT(v time.Time) predicate.SoftwareRepo

CreatedGT applies the GT predicate on the "created" field.

func CreatedGTE

func CreatedGTE(v time.Time) predicate.SoftwareRepo

CreatedGTE applies the GTE predicate on the "created" field.

func CreatedIn

func CreatedIn(vs ...time.Time) predicate.SoftwareRepo

CreatedIn applies the In predicate on the "created" field.

func CreatedIsNil

func CreatedIsNil() predicate.SoftwareRepo

CreatedIsNil applies the IsNil predicate on the "created" field.

func CreatedLT

func CreatedLT(v time.Time) predicate.SoftwareRepo

CreatedLT applies the LT predicate on the "created" field.

func CreatedLTE

func CreatedLTE(v time.Time) predicate.SoftwareRepo

CreatedLTE applies the LTE predicate on the "created" field.

func CreatedNEQ

func CreatedNEQ(v time.Time) predicate.SoftwareRepo

CreatedNEQ applies the NEQ predicate on the "created" field.

func CreatedNotIn

func CreatedNotIn(vs ...time.Time) predicate.SoftwareRepo

CreatedNotIn applies the NotIn predicate on the "created" field.

func CreatedNotNil

func CreatedNotNil() predicate.SoftwareRepo

CreatedNotNil applies the NotNil predicate on the "created" field.

func Endpoint

func Endpoint(v string) predicate.SoftwareRepo

Endpoint applies equality check predicate on the "endpoint" field. It's identical to EndpointEQ.

func EndpointContains

func EndpointContains(v string) predicate.SoftwareRepo

EndpointContains applies the Contains predicate on the "endpoint" field.

func EndpointContainsFold

func EndpointContainsFold(v string) predicate.SoftwareRepo

EndpointContainsFold applies the ContainsFold predicate on the "endpoint" field.

func EndpointEQ

func EndpointEQ(v string) predicate.SoftwareRepo

EndpointEQ applies the EQ predicate on the "endpoint" field.

func EndpointEqualFold

func EndpointEqualFold(v string) predicate.SoftwareRepo

EndpointEqualFold applies the EqualFold predicate on the "endpoint" field.

func EndpointGT

func EndpointGT(v string) predicate.SoftwareRepo

EndpointGT applies the GT predicate on the "endpoint" field.

func EndpointGTE

func EndpointGTE(v string) predicate.SoftwareRepo

EndpointGTE applies the GTE predicate on the "endpoint" field.

func EndpointHasPrefix

func EndpointHasPrefix(v string) predicate.SoftwareRepo

EndpointHasPrefix applies the HasPrefix predicate on the "endpoint" field.

func EndpointHasSuffix

func EndpointHasSuffix(v string) predicate.SoftwareRepo

EndpointHasSuffix applies the HasSuffix predicate on the "endpoint" field.

func EndpointIn

func EndpointIn(vs ...string) predicate.SoftwareRepo

EndpointIn applies the In predicate on the "endpoint" field.

func EndpointLT

func EndpointLT(v string) predicate.SoftwareRepo

EndpointLT applies the LT predicate on the "endpoint" field.

func EndpointLTE

func EndpointLTE(v string) predicate.SoftwareRepo

EndpointLTE applies the LTE predicate on the "endpoint" field.

func EndpointNEQ

func EndpointNEQ(v string) predicate.SoftwareRepo

EndpointNEQ applies the NEQ predicate on the "endpoint" field.

func EndpointNotIn

func EndpointNotIn(vs ...string) predicate.SoftwareRepo

EndpointNotIn applies the NotIn predicate on the "endpoint" field.

func HasPackages

func HasPackages() predicate.SoftwareRepo

HasPackages applies the HasEdge predicate on the "packages" edge.

func HasPackagesWith

func HasPackagesWith(preds ...predicate.ManagedPackage) predicate.SoftwareRepo

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

func HasTenant

func HasTenant() predicate.SoftwareRepo

HasTenant applies the HasEdge predicate on the "tenant" edge.

func HasTenantWith

func HasTenantWith(preds ...predicate.Tenant) predicate.SoftwareRepo

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

func ID

func ID(id int) predicate.SoftwareRepo

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.SoftwareRepo

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.SoftwareRepo

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.SoftwareRepo

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.SoftwareRepo

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.SoftwareRepo

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.SoftwareRepo

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.SoftwareRepo

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.SoftwareRepo

IDNotIn applies the NotIn predicate on the ID field.

func IsDefault

func IsDefault(v bool) predicate.SoftwareRepo

IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.

func IsDefaultEQ

func IsDefaultEQ(v bool) predicate.SoftwareRepo

IsDefaultEQ applies the EQ predicate on the "is_default" field.

func IsDefaultIsNil

func IsDefaultIsNil() predicate.SoftwareRepo

IsDefaultIsNil applies the IsNil predicate on the "is_default" field.

func IsDefaultNEQ

func IsDefaultNEQ(v bool) predicate.SoftwareRepo

IsDefaultNEQ applies the NEQ predicate on the "is_default" field.

func IsDefaultNotNil

func IsDefaultNotNil() predicate.SoftwareRepo

IsDefaultNotNil applies the NotNil predicate on the "is_default" field.

func Modified

func Modified(v time.Time) predicate.SoftwareRepo

Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.

func ModifiedEQ

func ModifiedEQ(v time.Time) predicate.SoftwareRepo

ModifiedEQ applies the EQ predicate on the "modified" field.

func ModifiedGT

func ModifiedGT(v time.Time) predicate.SoftwareRepo

ModifiedGT applies the GT predicate on the "modified" field.

func ModifiedGTE

func ModifiedGTE(v time.Time) predicate.SoftwareRepo

ModifiedGTE applies the GTE predicate on the "modified" field.

func ModifiedIn

func ModifiedIn(vs ...time.Time) predicate.SoftwareRepo

ModifiedIn applies the In predicate on the "modified" field.

func ModifiedIsNil

func ModifiedIsNil() predicate.SoftwareRepo

ModifiedIsNil applies the IsNil predicate on the "modified" field.

func ModifiedLT

func ModifiedLT(v time.Time) predicate.SoftwareRepo

ModifiedLT applies the LT predicate on the "modified" field.

func ModifiedLTE

func ModifiedLTE(v time.Time) predicate.SoftwareRepo

ModifiedLTE applies the LTE predicate on the "modified" field.

func ModifiedNEQ

func ModifiedNEQ(v time.Time) predicate.SoftwareRepo

ModifiedNEQ applies the NEQ predicate on the "modified" field.

func ModifiedNotIn

func ModifiedNotIn(vs ...time.Time) predicate.SoftwareRepo

ModifiedNotIn applies the NotIn predicate on the "modified" field.

func ModifiedNotNil

func ModifiedNotNil() predicate.SoftwareRepo

ModifiedNotNil applies the NotNil predicate on the "modified" field.

func Name

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

func NameContains

func NameContains(v string) predicate.SoftwareRepo

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

func NameContainsFold

func NameContainsFold(v string) predicate.SoftwareRepo

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

func NameEQ

func NameEQ(v string) predicate.SoftwareRepo

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

func NameEqualFold

func NameEqualFold(v string) predicate.SoftwareRepo

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

func NameGT

func NameGT(v string) predicate.SoftwareRepo

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

func NameGTE

func NameGTE(v string) predicate.SoftwareRepo

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.SoftwareRepo

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.SoftwareRepo

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.SoftwareRepo

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

func NameLTE

func NameLTE(v string) predicate.SoftwareRepo

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

func NameNEQ

func NameNEQ(v string) predicate.SoftwareRepo

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.SoftwareRepo) predicate.SoftwareRepo

Or groups predicates with the OR operator between them.

func PresignTTLSeconds

func PresignTTLSeconds(v int) predicate.SoftwareRepo

PresignTTLSeconds applies equality check predicate on the "presign_ttl_seconds" field. It's identical to PresignTTLSecondsEQ.

func PresignTTLSecondsEQ

func PresignTTLSecondsEQ(v int) predicate.SoftwareRepo

PresignTTLSecondsEQ applies the EQ predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsGT

func PresignTTLSecondsGT(v int) predicate.SoftwareRepo

PresignTTLSecondsGT applies the GT predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsGTE

func PresignTTLSecondsGTE(v int) predicate.SoftwareRepo

PresignTTLSecondsGTE applies the GTE predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsIn

func PresignTTLSecondsIn(vs ...int) predicate.SoftwareRepo

PresignTTLSecondsIn applies the In predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsIsNil

func PresignTTLSecondsIsNil() predicate.SoftwareRepo

PresignTTLSecondsIsNil applies the IsNil predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsLT

func PresignTTLSecondsLT(v int) predicate.SoftwareRepo

PresignTTLSecondsLT applies the LT predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsLTE

func PresignTTLSecondsLTE(v int) predicate.SoftwareRepo

PresignTTLSecondsLTE applies the LTE predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsNEQ

func PresignTTLSecondsNEQ(v int) predicate.SoftwareRepo

PresignTTLSecondsNEQ applies the NEQ predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsNotIn

func PresignTTLSecondsNotIn(vs ...int) predicate.SoftwareRepo

PresignTTLSecondsNotIn applies the NotIn predicate on the "presign_ttl_seconds" field.

func PresignTTLSecondsNotNil

func PresignTTLSecondsNotNil() predicate.SoftwareRepo

PresignTTLSecondsNotNil applies the NotNil predicate on the "presign_ttl_seconds" field.

func Region

func Region(v string) predicate.SoftwareRepo

Region applies equality check predicate on the "region" field. It's identical to RegionEQ.

func RegionContains

func RegionContains(v string) predicate.SoftwareRepo

RegionContains applies the Contains predicate on the "region" field.

func RegionContainsFold

func RegionContainsFold(v string) predicate.SoftwareRepo

RegionContainsFold applies the ContainsFold predicate on the "region" field.

func RegionEQ

func RegionEQ(v string) predicate.SoftwareRepo

RegionEQ applies the EQ predicate on the "region" field.

func RegionEqualFold

func RegionEqualFold(v string) predicate.SoftwareRepo

RegionEqualFold applies the EqualFold predicate on the "region" field.

func RegionGT

func RegionGT(v string) predicate.SoftwareRepo

RegionGT applies the GT predicate on the "region" field.

func RegionGTE

func RegionGTE(v string) predicate.SoftwareRepo

RegionGTE applies the GTE predicate on the "region" field.

func RegionHasPrefix

func RegionHasPrefix(v string) predicate.SoftwareRepo

RegionHasPrefix applies the HasPrefix predicate on the "region" field.

func RegionHasSuffix

func RegionHasSuffix(v string) predicate.SoftwareRepo

RegionHasSuffix applies the HasSuffix predicate on the "region" field.

func RegionIn

func RegionIn(vs ...string) predicate.SoftwareRepo

RegionIn applies the In predicate on the "region" field.

func RegionIsNil

func RegionIsNil() predicate.SoftwareRepo

RegionIsNil applies the IsNil predicate on the "region" field.

func RegionLT

func RegionLT(v string) predicate.SoftwareRepo

RegionLT applies the LT predicate on the "region" field.

func RegionLTE

func RegionLTE(v string) predicate.SoftwareRepo

RegionLTE applies the LTE predicate on the "region" field.

func RegionNEQ

func RegionNEQ(v string) predicate.SoftwareRepo

RegionNEQ applies the NEQ predicate on the "region" field.

func RegionNotIn

func RegionNotIn(vs ...string) predicate.SoftwareRepo

RegionNotIn applies the NotIn predicate on the "region" field.

func RegionNotNil

func RegionNotNil() predicate.SoftwareRepo

RegionNotNil applies the NotNil predicate on the "region" field.

func RepoTypeEQ

func RepoTypeEQ(v RepoType) predicate.SoftwareRepo

RepoTypeEQ applies the EQ predicate on the "repo_type" field.

func RepoTypeIn

func RepoTypeIn(vs ...RepoType) predicate.SoftwareRepo

RepoTypeIn applies the In predicate on the "repo_type" field.

func RepoTypeNEQ

func RepoTypeNEQ(v RepoType) predicate.SoftwareRepo

RepoTypeNEQ applies the NEQ predicate on the "repo_type" field.

func RepoTypeNotIn

func RepoTypeNotIn(vs ...RepoType) predicate.SoftwareRepo

RepoTypeNotIn applies the NotIn predicate on the "repo_type" field.

func RepoTypeValidator

func RepoTypeValidator(rt RepoType) error

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

func SecretKey

func SecretKey(v string) predicate.SoftwareRepo

SecretKey applies equality check predicate on the "secret_key" field. It's identical to SecretKeyEQ.

func SecretKeyContains

func SecretKeyContains(v string) predicate.SoftwareRepo

SecretKeyContains applies the Contains predicate on the "secret_key" field.

func SecretKeyContainsFold

func SecretKeyContainsFold(v string) predicate.SoftwareRepo

SecretKeyContainsFold applies the ContainsFold predicate on the "secret_key" field.

func SecretKeyEQ

func SecretKeyEQ(v string) predicate.SoftwareRepo

SecretKeyEQ applies the EQ predicate on the "secret_key" field.

func SecretKeyEqualFold

func SecretKeyEqualFold(v string) predicate.SoftwareRepo

SecretKeyEqualFold applies the EqualFold predicate on the "secret_key" field.

func SecretKeyGT

func SecretKeyGT(v string) predicate.SoftwareRepo

SecretKeyGT applies the GT predicate on the "secret_key" field.

func SecretKeyGTE

func SecretKeyGTE(v string) predicate.SoftwareRepo

SecretKeyGTE applies the GTE predicate on the "secret_key" field.

func SecretKeyHasPrefix

func SecretKeyHasPrefix(v string) predicate.SoftwareRepo

SecretKeyHasPrefix applies the HasPrefix predicate on the "secret_key" field.

func SecretKeyHasSuffix

func SecretKeyHasSuffix(v string) predicate.SoftwareRepo

SecretKeyHasSuffix applies the HasSuffix predicate on the "secret_key" field.

func SecretKeyIn

func SecretKeyIn(vs ...string) predicate.SoftwareRepo

SecretKeyIn applies the In predicate on the "secret_key" field.

func SecretKeyIsNil

func SecretKeyIsNil() predicate.SoftwareRepo

SecretKeyIsNil applies the IsNil predicate on the "secret_key" field.

func SecretKeyLT

func SecretKeyLT(v string) predicate.SoftwareRepo

SecretKeyLT applies the LT predicate on the "secret_key" field.

func SecretKeyLTE

func SecretKeyLTE(v string) predicate.SoftwareRepo

SecretKeyLTE applies the LTE predicate on the "secret_key" field.

func SecretKeyNEQ

func SecretKeyNEQ(v string) predicate.SoftwareRepo

SecretKeyNEQ applies the NEQ predicate on the "secret_key" field.

func SecretKeyNotIn

func SecretKeyNotIn(vs ...string) predicate.SoftwareRepo

SecretKeyNotIn applies the NotIn predicate on the "secret_key" field.

func SecretKeyNotNil

func SecretKeyNotNil() predicate.SoftwareRepo

SecretKeyNotNil applies the NotNil predicate on the "secret_key" field.

func UsePresigned

func UsePresigned(v bool) predicate.SoftwareRepo

UsePresigned applies equality check predicate on the "use_presigned" field. It's identical to UsePresignedEQ.

func UsePresignedEQ

func UsePresignedEQ(v bool) predicate.SoftwareRepo

UsePresignedEQ applies the EQ predicate on the "use_presigned" field.

func UsePresignedIsNil

func UsePresignedIsNil() predicate.SoftwareRepo

UsePresignedIsNil applies the IsNil predicate on the "use_presigned" field.

func UsePresignedNEQ

func UsePresignedNEQ(v bool) predicate.SoftwareRepo

UsePresignedNEQ applies the NEQ predicate on the "use_presigned" field.

func UsePresignedNotNil

func UsePresignedNotNil() predicate.SoftwareRepo

UsePresignedNotNil applies the NotNil predicate on the "use_presigned" 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 SoftwareRepo queries.

func ByAccessKey

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

ByAccessKey orders the results by the access_key field.

func ByBasePath

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

ByBasePath orders the results by the base_path field.

func ByBucket

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

ByBucket orders the results by the bucket field.

func ByCreated

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

ByCreated orders the results by the created field.

func ByEndpoint

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

ByEndpoint orders the results by the endpoint field.

func ByID

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

ByID orders the results by the id field.

func ByIsDefault

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

ByIsDefault orders the results by the is_default field.

func ByModified

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

ByModified orders the results by the modified field.

func ByName

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

ByName orders the results by the name field.

func ByPackages

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

ByPackages orders the results by packages terms.

func ByPackagesCount

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

ByPackagesCount orders the results by packages count.

func ByPresignTTLSeconds

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

ByPresignTTLSeconds orders the results by the presign_ttl_seconds field.

func ByRegion

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

ByRegion orders the results by the region field.

func ByRepoType

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

ByRepoType orders the results by the repo_type field.

func BySecretKey

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

BySecretKey orders the results by the secret_key field.

func ByTenantField

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

ByTenantField orders the results by tenant field.

func ByUsePresigned

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

ByUsePresigned orders the results by the use_presigned field.

type RepoType

type RepoType string

RepoType defines the type for the "repo_type" enum field.

const (
	RepoTypeGlobal RepoType = "global"
	RepoTypeTenant RepoType = "tenant"
)

RepoType values.

func (RepoType) String

func (rt RepoType) String() string

Jump to

Keyboard shortcuts

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