storageprovider

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

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

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

Columns holds all SQL columns for storageprovider fields.

Functions

func And

And groups predicates with the AND operator between them.

func Bucket

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

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

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 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 ...uint64) predicate.StorageProvider

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

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

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

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

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Region

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

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

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

Jump to

Keyboard shortcuts

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