Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.StorageProvider) predicate.StorageProvider
- func Bucket(v string) predicate.StorageProvider
- func BucketContains(v string) predicate.StorageProvider
- func BucketContainsFold(v string) predicate.StorageProvider
- func BucketEQ(v string) predicate.StorageProvider
- func BucketEqualFold(v string) predicate.StorageProvider
- func BucketGT(v string) predicate.StorageProvider
- func BucketGTE(v string) predicate.StorageProvider
- func BucketHasPrefix(v string) predicate.StorageProvider
- func BucketHasSuffix(v string) predicate.StorageProvider
- func BucketIn(vs ...string) predicate.StorageProvider
- func BucketLT(v string) predicate.StorageProvider
- func BucketLTE(v string) predicate.StorageProvider
- func BucketNEQ(v string) predicate.StorageProvider
- func BucketNotIn(vs ...string) predicate.StorageProvider
- func CdnURL(v string) predicate.StorageProvider
- func CdnURLContains(v string) predicate.StorageProvider
- func CdnURLContainsFold(v string) predicate.StorageProvider
- func CdnURLEQ(v string) predicate.StorageProvider
- func CdnURLEqualFold(v string) predicate.StorageProvider
- func CdnURLGT(v string) predicate.StorageProvider
- func CdnURLGTE(v string) predicate.StorageProvider
- func CdnURLHasPrefix(v string) predicate.StorageProvider
- func CdnURLHasSuffix(v string) predicate.StorageProvider
- func CdnURLIn(vs ...string) predicate.StorageProvider
- func CdnURLIsNil() predicate.StorageProvider
- func CdnURLLT(v string) predicate.StorageProvider
- func CdnURLLTE(v string) predicate.StorageProvider
- func CdnURLNEQ(v string) predicate.StorageProvider
- func CdnURLNotIn(vs ...string) predicate.StorageProvider
- func CdnURLNotNil() predicate.StorageProvider
- func CreatedAt(v time.Time) predicate.StorageProvider
- func CreatedAtEQ(v time.Time) predicate.StorageProvider
- func CreatedAtGT(v time.Time) predicate.StorageProvider
- func CreatedAtGTE(v time.Time) predicate.StorageProvider
- func CreatedAtIn(vs ...time.Time) predicate.StorageProvider
- func CreatedAtLT(v time.Time) predicate.StorageProvider
- func CreatedAtLTE(v time.Time) predicate.StorageProvider
- func CreatedAtNEQ(v time.Time) predicate.StorageProvider
- func CreatedAtNotIn(vs ...time.Time) predicate.StorageProvider
- func Endpoint(v string) predicate.StorageProvider
- func EndpointContains(v string) predicate.StorageProvider
- func EndpointContainsFold(v string) predicate.StorageProvider
- func EndpointEQ(v string) predicate.StorageProvider
- func EndpointEqualFold(v string) predicate.StorageProvider
- func EndpointGT(v string) predicate.StorageProvider
- func EndpointGTE(v string) predicate.StorageProvider
- func EndpointHasPrefix(v string) predicate.StorageProvider
- func EndpointHasSuffix(v string) predicate.StorageProvider
- func EndpointIn(vs ...string) predicate.StorageProvider
- func EndpointLT(v string) predicate.StorageProvider
- func EndpointLTE(v string) predicate.StorageProvider
- func EndpointNEQ(v string) predicate.StorageProvider
- func EndpointNotIn(vs ...string) predicate.StorageProvider
- func Folder(v string) predicate.StorageProvider
- func FolderContains(v string) predicate.StorageProvider
- func FolderContainsFold(v string) predicate.StorageProvider
- func FolderEQ(v string) predicate.StorageProvider
- func FolderEqualFold(v string) predicate.StorageProvider
- func FolderGT(v string) predicate.StorageProvider
- func FolderGTE(v string) predicate.StorageProvider
- func FolderHasPrefix(v string) predicate.StorageProvider
- func FolderHasSuffix(v string) predicate.StorageProvider
- func FolderIn(vs ...string) predicate.StorageProvider
- func FolderIsNil() predicate.StorageProvider
- func FolderLT(v string) predicate.StorageProvider
- func FolderLTE(v string) predicate.StorageProvider
- func FolderNEQ(v string) predicate.StorageProvider
- func FolderNotIn(vs ...string) predicate.StorageProvider
- func FolderNotNil() predicate.StorageProvider
- func HasCloudfiles() predicate.StorageProvider
- func HasCloudfilesWith(preds ...predicate.CloudFile) predicate.StorageProvider
- func ID(id uint64) predicate.StorageProvider
- func IDEQ(id uint64) predicate.StorageProvider
- func IDGT(id uint64) predicate.StorageProvider
- func IDGTE(id uint64) predicate.StorageProvider
- func IDIn(ids ...uint64) predicate.StorageProvider
- func IDLT(id uint64) predicate.StorageProvider
- func IDLTE(id uint64) predicate.StorageProvider
- func IDNEQ(id uint64) predicate.StorageProvider
- func IDNotIn(ids ...uint64) predicate.StorageProvider
- func IsDefault(v bool) predicate.StorageProvider
- func IsDefaultEQ(v bool) predicate.StorageProvider
- func IsDefaultNEQ(v bool) predicate.StorageProvider
- func Name(v string) predicate.StorageProvider
- func NameContains(v string) predicate.StorageProvider
- func NameContainsFold(v string) predicate.StorageProvider
- func NameEQ(v string) predicate.StorageProvider
- func NameEqualFold(v string) predicate.StorageProvider
- func NameGT(v string) predicate.StorageProvider
- func NameGTE(v string) predicate.StorageProvider
- func NameHasPrefix(v string) predicate.StorageProvider
- func NameHasSuffix(v string) predicate.StorageProvider
- func NameIn(vs ...string) predicate.StorageProvider
- func NameLT(v string) predicate.StorageProvider
- func NameLTE(v string) predicate.StorageProvider
- func NameNEQ(v string) predicate.StorageProvider
- func NameNotIn(vs ...string) predicate.StorageProvider
- func Not(p predicate.StorageProvider) predicate.StorageProvider
- func Or(predicates ...predicate.StorageProvider) predicate.StorageProvider
- func Region(v string) predicate.StorageProvider
- func RegionContains(v string) predicate.StorageProvider
- func RegionContainsFold(v string) predicate.StorageProvider
- func RegionEQ(v string) predicate.StorageProvider
- func RegionEqualFold(v string) predicate.StorageProvider
- func RegionGT(v string) predicate.StorageProvider
- func RegionGTE(v string) predicate.StorageProvider
- func RegionHasPrefix(v string) predicate.StorageProvider
- func RegionHasSuffix(v string) predicate.StorageProvider
- func RegionIn(vs ...string) predicate.StorageProvider
- func RegionLT(v string) predicate.StorageProvider
- func RegionLTE(v string) predicate.StorageProvider
- func RegionNEQ(v string) predicate.StorageProvider
- func RegionNotIn(vs ...string) predicate.StorageProvider
- func SecretID(v string) predicate.StorageProvider
- func SecretIDContains(v string) predicate.StorageProvider
- func SecretIDContainsFold(v string) predicate.StorageProvider
- func SecretIDEQ(v string) predicate.StorageProvider
- func SecretIDEqualFold(v string) predicate.StorageProvider
- func SecretIDGT(v string) predicate.StorageProvider
- func SecretIDGTE(v string) predicate.StorageProvider
- func SecretIDHasPrefix(v string) predicate.StorageProvider
- func SecretIDHasSuffix(v string) predicate.StorageProvider
- func SecretIDIn(vs ...string) predicate.StorageProvider
- func SecretIDLT(v string) predicate.StorageProvider
- func SecretIDLTE(v string) predicate.StorageProvider
- func SecretIDNEQ(v string) predicate.StorageProvider
- func SecretIDNotIn(vs ...string) predicate.StorageProvider
- func SecretKey(v string) predicate.StorageProvider
- func SecretKeyContains(v string) predicate.StorageProvider
- func SecretKeyContainsFold(v string) predicate.StorageProvider
- func SecretKeyEQ(v string) predicate.StorageProvider
- func SecretKeyEqualFold(v string) predicate.StorageProvider
- func SecretKeyGT(v string) predicate.StorageProvider
- func SecretKeyGTE(v string) predicate.StorageProvider
- func SecretKeyHasPrefix(v string) predicate.StorageProvider
- func SecretKeyHasSuffix(v string) predicate.StorageProvider
- func SecretKeyIn(vs ...string) predicate.StorageProvider
- func SecretKeyLT(v string) predicate.StorageProvider
- func SecretKeyLTE(v string) predicate.StorageProvider
- func SecretKeyNEQ(v string) predicate.StorageProvider
- func SecretKeyNotIn(vs ...string) predicate.StorageProvider
- func State(v bool) predicate.StorageProvider
- func StateEQ(v bool) predicate.StorageProvider
- func StateIsNil() predicate.StorageProvider
- func StateNEQ(v bool) predicate.StorageProvider
- func StateNotNil() predicate.StorageProvider
- func UpdatedAt(v time.Time) predicate.StorageProvider
- func UpdatedAtEQ(v time.Time) predicate.StorageProvider
- func UpdatedAtGT(v time.Time) predicate.StorageProvider
- func UpdatedAtGTE(v time.Time) predicate.StorageProvider
- func UpdatedAtIn(vs ...time.Time) predicate.StorageProvider
- func UpdatedAtLT(v time.Time) predicate.StorageProvider
- func UpdatedAtLTE(v time.Time) predicate.StorageProvider
- func UpdatedAtNEQ(v time.Time) predicate.StorageProvider
- func UpdatedAtNotIn(vs ...time.Time) predicate.StorageProvider
- func UseCdn(v bool) predicate.StorageProvider
- func UseCdnEQ(v bool) predicate.StorageProvider
- func UseCdnNEQ(v bool) predicate.StorageProvider
- func ValidColumn(column string) bool
- type OrderOption
- func ByBucket(opts ...sql.OrderTermOption) OrderOption
- func ByCdnURL(opts ...sql.OrderTermOption) OrderOption
- func ByCloudfiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCloudfilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEndpoint(opts ...sql.OrderTermOption) OrderOption
- func ByFolder(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRegion(opts ...sql.OrderTermOption) OrderOption
- func BySecretID(opts ...sql.OrderTermOption) OrderOption
- func BySecretKey(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUseCdn(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the storageprovider type in the database. Label = "storage_provider" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldBucket holds the string denoting the bucket field in the database. FieldBucket = "bucket" // FieldSecretID holds the string denoting the secret_id field in the database. FieldSecretID = "secret_id" // FieldSecretKey holds the string denoting the secret_key field in the database. FieldSecretKey = "secret_key" // FieldEndpoint holds the string denoting the endpoint field in the database. FieldEndpoint = "endpoint" // FieldFolder holds the string denoting the folder field in the database. FieldFolder = "folder" // FieldRegion holds the string denoting the region field in the database. FieldRegion = "region" // FieldIsDefault holds the string denoting the is_default field in the database. FieldIsDefault = "is_default" // FieldUseCdn holds the string denoting the use_cdn field in the database. FieldUseCdn = "use_cdn" // FieldCdnURL holds the string denoting the cdn_url field in the database. FieldCdnURL = "cdn_url" // EdgeCloudfiles holds the string denoting the cloudfiles edge name in mutations. EdgeCloudfiles = "cloudfiles" // Table holds the table name of the storageprovider in the database. Table = "fms_storage_providers" // CloudfilesTable is the table that holds the cloudfiles relation/edge. CloudfilesTable = "fms_cloud_files" // CloudfilesInverseTable is the table name for the CloudFile entity. // It exists in this package in order to avoid circular dependency with the "cloudfile" package. CloudfilesInverseTable = "fms_cloud_files" // CloudfilesColumn is the table column denoting the cloudfiles relation/edge. CloudfilesColumn = "cloud_file_storage_providers" )
Variables ¶
var ( // 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 // DefaultState holds the default value on creation for the "state" field. DefaultState bool // DefaultIsDefault holds the default value on creation for the "is_default" field. DefaultIsDefault bool // DefaultUseCdn holds the default value on creation for the "use_cdn" field. DefaultUseCdn bool )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldState, FieldName, FieldBucket, FieldSecretID, FieldSecretKey, FieldEndpoint, FieldFolder, FieldRegion, FieldIsDefault, FieldUseCdn, FieldCdnURL, }
Columns holds all SQL columns for storageprovider fields.
Functions ¶
func And ¶
func And(predicates ...predicate.StorageProvider) predicate.StorageProvider
And groups predicates with the AND operator between them.
func Bucket ¶
func Bucket(v string) predicate.StorageProvider
Bucket applies equality check predicate on the "bucket" field. It's identical to BucketEQ.
func BucketContains ¶
func BucketContains(v string) predicate.StorageProvider
BucketContains applies the Contains predicate on the "bucket" field.
func BucketContainsFold ¶
func BucketContainsFold(v string) predicate.StorageProvider
BucketContainsFold applies the ContainsFold predicate on the "bucket" field.
func BucketEQ ¶
func BucketEQ(v string) predicate.StorageProvider
BucketEQ applies the EQ predicate on the "bucket" field.
func BucketEqualFold ¶
func BucketEqualFold(v string) predicate.StorageProvider
BucketEqualFold applies the EqualFold predicate on the "bucket" field.
func BucketGT ¶
func BucketGT(v string) predicate.StorageProvider
BucketGT applies the GT predicate on the "bucket" field.
func BucketGTE ¶
func BucketGTE(v string) predicate.StorageProvider
BucketGTE applies the GTE predicate on the "bucket" field.
func BucketHasPrefix ¶
func BucketHasPrefix(v string) predicate.StorageProvider
BucketHasPrefix applies the HasPrefix predicate on the "bucket" field.
func BucketHasSuffix ¶
func BucketHasSuffix(v string) predicate.StorageProvider
BucketHasSuffix applies the HasSuffix predicate on the "bucket" field.
func BucketIn ¶
func BucketIn(vs ...string) predicate.StorageProvider
BucketIn applies the In predicate on the "bucket" field.
func BucketLT ¶
func BucketLT(v string) predicate.StorageProvider
BucketLT applies the LT predicate on the "bucket" field.
func BucketLTE ¶
func BucketLTE(v string) predicate.StorageProvider
BucketLTE applies the LTE predicate on the "bucket" field.
func BucketNEQ ¶
func BucketNEQ(v string) predicate.StorageProvider
BucketNEQ applies the NEQ predicate on the "bucket" field.
func BucketNotIn ¶
func BucketNotIn(vs ...string) predicate.StorageProvider
BucketNotIn applies the NotIn predicate on the "bucket" field.
func CdnURL ¶ added in v1.3.10
func CdnURL(v string) predicate.StorageProvider
CdnURL applies equality check predicate on the "cdn_url" field. It's identical to CdnURLEQ.
func CdnURLContains ¶ added in v1.3.10
func CdnURLContains(v string) predicate.StorageProvider
CdnURLContains applies the Contains predicate on the "cdn_url" field.
func CdnURLContainsFold ¶ added in v1.3.10
func CdnURLContainsFold(v string) predicate.StorageProvider
CdnURLContainsFold applies the ContainsFold predicate on the "cdn_url" field.
func CdnURLEQ ¶ added in v1.3.10
func CdnURLEQ(v string) predicate.StorageProvider
CdnURLEQ applies the EQ predicate on the "cdn_url" field.
func CdnURLEqualFold ¶ added in v1.3.10
func CdnURLEqualFold(v string) predicate.StorageProvider
CdnURLEqualFold applies the EqualFold predicate on the "cdn_url" field.
func CdnURLGT ¶ added in v1.3.10
func CdnURLGT(v string) predicate.StorageProvider
CdnURLGT applies the GT predicate on the "cdn_url" field.
func CdnURLGTE ¶ added in v1.3.10
func CdnURLGTE(v string) predicate.StorageProvider
CdnURLGTE applies the GTE predicate on the "cdn_url" field.
func CdnURLHasPrefix ¶ added in v1.3.10
func CdnURLHasPrefix(v string) predicate.StorageProvider
CdnURLHasPrefix applies the HasPrefix predicate on the "cdn_url" field.
func CdnURLHasSuffix ¶ added in v1.3.10
func CdnURLHasSuffix(v string) predicate.StorageProvider
CdnURLHasSuffix applies the HasSuffix predicate on the "cdn_url" field.
func CdnURLIn ¶ added in v1.3.10
func CdnURLIn(vs ...string) predicate.StorageProvider
CdnURLIn applies the In predicate on the "cdn_url" field.
func CdnURLIsNil ¶ added in v1.3.10
func CdnURLIsNil() predicate.StorageProvider
CdnURLIsNil applies the IsNil predicate on the "cdn_url" field.
func CdnURLLT ¶ added in v1.3.10
func CdnURLLT(v string) predicate.StorageProvider
CdnURLLT applies the LT predicate on the "cdn_url" field.
func CdnURLLTE ¶ added in v1.3.10
func CdnURLLTE(v string) predicate.StorageProvider
CdnURLLTE applies the LTE predicate on the "cdn_url" field.
func CdnURLNEQ ¶ added in v1.3.10
func CdnURLNEQ(v string) predicate.StorageProvider
CdnURLNEQ applies the NEQ predicate on the "cdn_url" field.
func CdnURLNotIn ¶ added in v1.3.10
func CdnURLNotIn(vs ...string) predicate.StorageProvider
CdnURLNotIn applies the NotIn predicate on the "cdn_url" field.
func CdnURLNotNil ¶ added in v1.3.10
func CdnURLNotNil() predicate.StorageProvider
CdnURLNotNil applies the NotNil predicate on the "cdn_url" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.StorageProvider
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.StorageProvider
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.StorageProvider
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.StorageProvider
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.StorageProvider
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.StorageProvider
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.StorageProvider
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.StorageProvider
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.StorageProvider
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Endpoint ¶ added in v1.1.4
func Endpoint(v string) predicate.StorageProvider
Endpoint applies equality check predicate on the "endpoint" field. It's identical to EndpointEQ.
func EndpointContains ¶ added in v1.1.4
func EndpointContains(v string) predicate.StorageProvider
EndpointContains applies the Contains predicate on the "endpoint" field.
func EndpointContainsFold ¶ added in v1.1.4
func EndpointContainsFold(v string) predicate.StorageProvider
EndpointContainsFold applies the ContainsFold predicate on the "endpoint" field.
func EndpointEQ ¶ added in v1.1.4
func EndpointEQ(v string) predicate.StorageProvider
EndpointEQ applies the EQ predicate on the "endpoint" field.
func EndpointEqualFold ¶ added in v1.1.4
func EndpointEqualFold(v string) predicate.StorageProvider
EndpointEqualFold applies the EqualFold predicate on the "endpoint" field.
func EndpointGT ¶ added in v1.1.4
func EndpointGT(v string) predicate.StorageProvider
EndpointGT applies the GT predicate on the "endpoint" field.
func EndpointGTE ¶ added in v1.1.4
func EndpointGTE(v string) predicate.StorageProvider
EndpointGTE applies the GTE predicate on the "endpoint" field.
func EndpointHasPrefix ¶ added in v1.1.4
func EndpointHasPrefix(v string) predicate.StorageProvider
EndpointHasPrefix applies the HasPrefix predicate on the "endpoint" field.
func EndpointHasSuffix ¶ added in v1.1.4
func EndpointHasSuffix(v string) predicate.StorageProvider
EndpointHasSuffix applies the HasSuffix predicate on the "endpoint" field.
func EndpointIn ¶ added in v1.1.4
func EndpointIn(vs ...string) predicate.StorageProvider
EndpointIn applies the In predicate on the "endpoint" field.
func EndpointLT ¶ added in v1.1.4
func EndpointLT(v string) predicate.StorageProvider
EndpointLT applies the LT predicate on the "endpoint" field.
func EndpointLTE ¶ added in v1.1.4
func EndpointLTE(v string) predicate.StorageProvider
EndpointLTE applies the LTE predicate on the "endpoint" field.
func EndpointNEQ ¶ added in v1.1.4
func EndpointNEQ(v string) predicate.StorageProvider
EndpointNEQ applies the NEQ predicate on the "endpoint" field.
func EndpointNotIn ¶ added in v1.1.4
func EndpointNotIn(vs ...string) predicate.StorageProvider
EndpointNotIn applies the NotIn predicate on the "endpoint" field.
func Folder ¶
func Folder(v string) predicate.StorageProvider
Folder applies equality check predicate on the "folder" field. It's identical to FolderEQ.
func FolderContains ¶
func FolderContains(v string) predicate.StorageProvider
FolderContains applies the Contains predicate on the "folder" field.
func FolderContainsFold ¶
func FolderContainsFold(v string) predicate.StorageProvider
FolderContainsFold applies the ContainsFold predicate on the "folder" field.
func FolderEQ ¶
func FolderEQ(v string) predicate.StorageProvider
FolderEQ applies the EQ predicate on the "folder" field.
func FolderEqualFold ¶
func FolderEqualFold(v string) predicate.StorageProvider
FolderEqualFold applies the EqualFold predicate on the "folder" field.
func FolderGT ¶
func FolderGT(v string) predicate.StorageProvider
FolderGT applies the GT predicate on the "folder" field.
func FolderGTE ¶
func FolderGTE(v string) predicate.StorageProvider
FolderGTE applies the GTE predicate on the "folder" field.
func FolderHasPrefix ¶
func FolderHasPrefix(v string) predicate.StorageProvider
FolderHasPrefix applies the HasPrefix predicate on the "folder" field.
func FolderHasSuffix ¶
func FolderHasSuffix(v string) predicate.StorageProvider
FolderHasSuffix applies the HasSuffix predicate on the "folder" field.
func FolderIn ¶
func FolderIn(vs ...string) predicate.StorageProvider
FolderIn applies the In predicate on the "folder" field.
func FolderIsNil ¶
func FolderIsNil() predicate.StorageProvider
FolderIsNil applies the IsNil predicate on the "folder" field.
func FolderLT ¶
func FolderLT(v string) predicate.StorageProvider
FolderLT applies the LT predicate on the "folder" field.
func FolderLTE ¶
func FolderLTE(v string) predicate.StorageProvider
FolderLTE applies the LTE predicate on the "folder" field.
func FolderNEQ ¶
func FolderNEQ(v string) predicate.StorageProvider
FolderNEQ applies the NEQ predicate on the "folder" field.
func FolderNotIn ¶
func FolderNotIn(vs ...string) predicate.StorageProvider
FolderNotIn applies the NotIn predicate on the "folder" field.
func FolderNotNil ¶
func FolderNotNil() predicate.StorageProvider
FolderNotNil applies the NotNil predicate on the "folder" field.
func HasCloudfiles ¶
func HasCloudfiles() predicate.StorageProvider
HasCloudfiles applies the HasEdge predicate on the "cloudfiles" edge.
func HasCloudfilesWith ¶
func HasCloudfilesWith(preds ...predicate.CloudFile) predicate.StorageProvider
HasCloudfilesWith applies the HasEdge predicate on the "cloudfiles" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uint64) predicate.StorageProvider
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.StorageProvider
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.StorageProvider
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.StorageProvider
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.StorageProvider
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.StorageProvider
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.StorageProvider
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.StorageProvider
IDNotIn applies the NotIn predicate on the ID field.
func IsDefault ¶
func IsDefault(v bool) predicate.StorageProvider
IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.
func IsDefaultEQ ¶
func IsDefaultEQ(v bool) predicate.StorageProvider
IsDefaultEQ applies the EQ predicate on the "is_default" field.
func IsDefaultNEQ ¶
func IsDefaultNEQ(v bool) predicate.StorageProvider
IsDefaultNEQ applies the NEQ predicate on the "is_default" field.
func Name ¶
func Name(v string) predicate.StorageProvider
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.StorageProvider
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.StorageProvider
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.StorageProvider
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.StorageProvider
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.StorageProvider
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.StorageProvider
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.StorageProvider
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.StorageProvider
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.StorageProvider
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.StorageProvider
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.StorageProvider
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.StorageProvider
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.StorageProvider
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.StorageProvider) predicate.StorageProvider
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.StorageProvider) predicate.StorageProvider
Or groups predicates with the OR operator between them.
func Region ¶
func Region(v string) predicate.StorageProvider
Region applies equality check predicate on the "region" field. It's identical to RegionEQ.
func RegionContains ¶
func RegionContains(v string) predicate.StorageProvider
RegionContains applies the Contains predicate on the "region" field.
func RegionContainsFold ¶
func RegionContainsFold(v string) predicate.StorageProvider
RegionContainsFold applies the ContainsFold predicate on the "region" field.
func RegionEQ ¶
func RegionEQ(v string) predicate.StorageProvider
RegionEQ applies the EQ predicate on the "region" field.
func RegionEqualFold ¶
func RegionEqualFold(v string) predicate.StorageProvider
RegionEqualFold applies the EqualFold predicate on the "region" field.
func RegionGT ¶
func RegionGT(v string) predicate.StorageProvider
RegionGT applies the GT predicate on the "region" field.
func RegionGTE ¶
func RegionGTE(v string) predicate.StorageProvider
RegionGTE applies the GTE predicate on the "region" field.
func RegionHasPrefix ¶
func RegionHasPrefix(v string) predicate.StorageProvider
RegionHasPrefix applies the HasPrefix predicate on the "region" field.
func RegionHasSuffix ¶
func RegionHasSuffix(v string) predicate.StorageProvider
RegionHasSuffix applies the HasSuffix predicate on the "region" field.
func RegionIn ¶
func RegionIn(vs ...string) predicate.StorageProvider
RegionIn applies the In predicate on the "region" field.
func RegionLT ¶
func RegionLT(v string) predicate.StorageProvider
RegionLT applies the LT predicate on the "region" field.
func RegionLTE ¶
func RegionLTE(v string) predicate.StorageProvider
RegionLTE applies the LTE predicate on the "region" field.
func RegionNEQ ¶
func RegionNEQ(v string) predicate.StorageProvider
RegionNEQ applies the NEQ predicate on the "region" field.
func RegionNotIn ¶
func RegionNotIn(vs ...string) predicate.StorageProvider
RegionNotIn applies the NotIn predicate on the "region" field.
func SecretID ¶
func SecretID(v string) predicate.StorageProvider
SecretID applies equality check predicate on the "secret_id" field. It's identical to SecretIDEQ.
func SecretIDContains ¶
func SecretIDContains(v string) predicate.StorageProvider
SecretIDContains applies the Contains predicate on the "secret_id" field.
func SecretIDContainsFold ¶
func SecretIDContainsFold(v string) predicate.StorageProvider
SecretIDContainsFold applies the ContainsFold predicate on the "secret_id" field.
func SecretIDEQ ¶
func SecretIDEQ(v string) predicate.StorageProvider
SecretIDEQ applies the EQ predicate on the "secret_id" field.
func SecretIDEqualFold ¶
func SecretIDEqualFold(v string) predicate.StorageProvider
SecretIDEqualFold applies the EqualFold predicate on the "secret_id" field.
func SecretIDGT ¶
func SecretIDGT(v string) predicate.StorageProvider
SecretIDGT applies the GT predicate on the "secret_id" field.
func SecretIDGTE ¶
func SecretIDGTE(v string) predicate.StorageProvider
SecretIDGTE applies the GTE predicate on the "secret_id" field.
func SecretIDHasPrefix ¶
func SecretIDHasPrefix(v string) predicate.StorageProvider
SecretIDHasPrefix applies the HasPrefix predicate on the "secret_id" field.
func SecretIDHasSuffix ¶
func SecretIDHasSuffix(v string) predicate.StorageProvider
SecretIDHasSuffix applies the HasSuffix predicate on the "secret_id" field.
func SecretIDIn ¶
func SecretIDIn(vs ...string) predicate.StorageProvider
SecretIDIn applies the In predicate on the "secret_id" field.
func SecretIDLT ¶
func SecretIDLT(v string) predicate.StorageProvider
SecretIDLT applies the LT predicate on the "secret_id" field.
func SecretIDLTE ¶
func SecretIDLTE(v string) predicate.StorageProvider
SecretIDLTE applies the LTE predicate on the "secret_id" field.
func SecretIDNEQ ¶
func SecretIDNEQ(v string) predicate.StorageProvider
SecretIDNEQ applies the NEQ predicate on the "secret_id" field.
func SecretIDNotIn ¶
func SecretIDNotIn(vs ...string) predicate.StorageProvider
SecretIDNotIn applies the NotIn predicate on the "secret_id" field.
func SecretKey ¶
func SecretKey(v string) predicate.StorageProvider
SecretKey applies equality check predicate on the "secret_key" field. It's identical to SecretKeyEQ.
func SecretKeyContains ¶
func SecretKeyContains(v string) predicate.StorageProvider
SecretKeyContains applies the Contains predicate on the "secret_key" field.
func SecretKeyContainsFold ¶
func SecretKeyContainsFold(v string) predicate.StorageProvider
SecretKeyContainsFold applies the ContainsFold predicate on the "secret_key" field.
func SecretKeyEQ ¶
func SecretKeyEQ(v string) predicate.StorageProvider
SecretKeyEQ applies the EQ predicate on the "secret_key" field.
func SecretKeyEqualFold ¶
func SecretKeyEqualFold(v string) predicate.StorageProvider
SecretKeyEqualFold applies the EqualFold predicate on the "secret_key" field.
func SecretKeyGT ¶
func SecretKeyGT(v string) predicate.StorageProvider
SecretKeyGT applies the GT predicate on the "secret_key" field.
func SecretKeyGTE ¶
func SecretKeyGTE(v string) predicate.StorageProvider
SecretKeyGTE applies the GTE predicate on the "secret_key" field.
func SecretKeyHasPrefix ¶
func SecretKeyHasPrefix(v string) predicate.StorageProvider
SecretKeyHasPrefix applies the HasPrefix predicate on the "secret_key" field.
func SecretKeyHasSuffix ¶
func SecretKeyHasSuffix(v string) predicate.StorageProvider
SecretKeyHasSuffix applies the HasSuffix predicate on the "secret_key" field.
func SecretKeyIn ¶
func SecretKeyIn(vs ...string) predicate.StorageProvider
SecretKeyIn applies the In predicate on the "secret_key" field.
func SecretKeyLT ¶
func SecretKeyLT(v string) predicate.StorageProvider
SecretKeyLT applies the LT predicate on the "secret_key" field.
func SecretKeyLTE ¶
func SecretKeyLTE(v string) predicate.StorageProvider
SecretKeyLTE applies the LTE predicate on the "secret_key" field.
func SecretKeyNEQ ¶
func SecretKeyNEQ(v string) predicate.StorageProvider
SecretKeyNEQ applies the NEQ predicate on the "secret_key" field.
func SecretKeyNotIn ¶
func SecretKeyNotIn(vs ...string) predicate.StorageProvider
SecretKeyNotIn applies the NotIn predicate on the "secret_key" field.
func State ¶
func State(v bool) predicate.StorageProvider
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateEQ ¶
func StateEQ(v bool) predicate.StorageProvider
StateEQ applies the EQ predicate on the "state" field.
func StateIsNil ¶
func StateIsNil() predicate.StorageProvider
StateIsNil applies the IsNil predicate on the "state" field.
func StateNEQ ¶
func StateNEQ(v bool) predicate.StorageProvider
StateNEQ applies the NEQ predicate on the "state" field.
func StateNotNil ¶
func StateNotNil() predicate.StorageProvider
StateNotNil applies the NotNil predicate on the "state" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.StorageProvider
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.StorageProvider
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.StorageProvider
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.StorageProvider
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.StorageProvider
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.StorageProvider
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.StorageProvider
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.StorageProvider
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.StorageProvider
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UseCdn ¶ added in v1.3.10
func UseCdn(v bool) predicate.StorageProvider
UseCdn applies equality check predicate on the "use_cdn" field. It's identical to UseCdnEQ.
func UseCdnEQ ¶ added in v1.3.10
func UseCdnEQ(v bool) predicate.StorageProvider
UseCdnEQ applies the EQ predicate on the "use_cdn" field.
func UseCdnNEQ ¶ added in v1.3.10
func UseCdnNEQ(v bool) predicate.StorageProvider
UseCdnNEQ applies the NEQ predicate on the "use_cdn" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the StorageProvider queries.
func ByBucket ¶
func ByBucket(opts ...sql.OrderTermOption) OrderOption
ByBucket orders the results by the bucket field.
func ByCdnURL ¶ added in v1.3.10
func ByCdnURL(opts ...sql.OrderTermOption) OrderOption
ByCdnURL orders the results by the cdn_url field.
func ByCloudfiles ¶
func ByCloudfiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCloudfiles orders the results by cloudfiles terms.
func ByCloudfilesCount ¶
func ByCloudfilesCount(opts ...sql.OrderTermOption) OrderOption
ByCloudfilesCount orders the results by cloudfiles count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEndpoint ¶ added in v1.1.4
func ByEndpoint(opts ...sql.OrderTermOption) OrderOption
ByEndpoint orders the results by the endpoint field.
func ByFolder ¶
func ByFolder(opts ...sql.OrderTermOption) OrderOption
ByFolder orders the results by the folder 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 ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRegion ¶
func ByRegion(opts ...sql.OrderTermOption) OrderOption
ByRegion orders the results by the region field.
func BySecretID ¶
func BySecretID(opts ...sql.OrderTermOption) OrderOption
BySecretID orders the results by the secret_id field.
func BySecretKey ¶
func BySecretKey(opts ...sql.OrderTermOption) OrderOption
BySecretKey orders the results by the secret_key field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUseCdn ¶ added in v1.3.10
func ByUseCdn(opts ...sql.OrderTermOption) OrderOption
ByUseCdn orders the results by the use_cdn field.