filesource

package
v0.0.0-...-04b2c92 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the filesource type in the database.
	Label = "file_source"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldComments holds the string denoting the comments field in the database.
	FieldComments = "comments"
	// FieldEndpoint holds the string denoting the endpoint field in the database.
	FieldEndpoint = "endpoint"
	// FieldEndpointImmutable holds the string denoting the endpoint_immutable field in the database.
	FieldEndpointImmutable = "endpoint_immutable"
	// FieldStsEndpoint holds the string denoting the sts_endpoint field in the database.
	FieldStsEndpoint = "sts_endpoint"
	// FieldRegion holds the string denoting the region field in the database.
	FieldRegion = "region"
	// FieldBucket holds the string denoting the bucket field in the database.
	FieldBucket = "bucket"
	// FieldBucketURL holds the string denoting the bucket_url field in the database.
	FieldBucketURL = "bucket_url"
	// EdgeIdentities holds the string denoting the identities edge name in mutations.
	EdgeIdentities = "identities"
	// Table holds the table name of the filesource in the database.
	Table = "file_source"
	// IdentitiesTable is the table that holds the identities relation/edge.
	IdentitiesTable = "file_identity"
	// IdentitiesInverseTable is the table name for the FileIdentity entity.
	// It exists in this package in order to avoid circular dependency with the "fileidentity" package.
	IdentitiesInverseTable = "file_identity"
	// IdentitiesColumn is the table column denoting the identities relation/edge.
	IdentitiesColumn = "file_source_id"
)

Variables

View Source
var (
	Hooks [2]ent.Hook
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// EndpointValidator is a validator for the "endpoint" field. It is called by the builders before save.
	EndpointValidator func(string) error
	// DefaultEndpointImmutable holds the default value on creation for the "endpoint_immutable" field.
	DefaultEndpointImmutable bool
	// StsEndpointValidator is a validator for the "sts_endpoint" field. It is called by the builders before save.
	StsEndpointValidator func(string) error
	// RegionValidator is a validator for the "region" field. It is called by the builders before save.
	RegionValidator func(string) error
	// BucketValidator is a validator for the "bucket" field. It is called by the builders before save.
	BucketValidator func(string) error
	// BucketURLValidator is a validator for the "bucket_url" field. It is called by the builders before save.
	BucketURLValidator func(string) error
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/woocoos/knockout/ent/runtime"

Columns holds all SQL columns for filesource fields.

Functions

func And

func And(predicates ...predicate.FileSource) predicate.FileSource

And groups predicates with the AND operator between them.

func Bucket

func Bucket(v string) predicate.FileSource

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

func BucketContains

func BucketContains(v string) predicate.FileSource

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

func BucketContainsFold

func BucketContainsFold(v string) predicate.FileSource

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

func BucketEQ

func BucketEQ(v string) predicate.FileSource

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

func BucketEqualFold

func BucketEqualFold(v string) predicate.FileSource

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

func BucketGT

func BucketGT(v string) predicate.FileSource

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

func BucketGTE

func BucketGTE(v string) predicate.FileSource

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

func BucketHasPrefix

func BucketHasPrefix(v string) predicate.FileSource

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

func BucketHasSuffix

func BucketHasSuffix(v string) predicate.FileSource

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

func BucketIn

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

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

func BucketLT

func BucketLT(v string) predicate.FileSource

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

func BucketLTE

func BucketLTE(v string) predicate.FileSource

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

func BucketNEQ

func BucketNEQ(v string) predicate.FileSource

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

func BucketNotIn

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

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

func BucketURL

func BucketURL(v string) predicate.FileSource

BucketURL applies equality check predicate on the "bucket_url" field. It's identical to BucketURLEQ.

func BucketURLContains

func BucketURLContains(v string) predicate.FileSource

BucketURLContains applies the Contains predicate on the "bucket_url" field.

func BucketURLContainsFold

func BucketURLContainsFold(v string) predicate.FileSource

BucketURLContainsFold applies the ContainsFold predicate on the "bucket_url" field.

func BucketURLEQ

func BucketURLEQ(v string) predicate.FileSource

BucketURLEQ applies the EQ predicate on the "bucket_url" field.

func BucketURLEqualFold

func BucketURLEqualFold(v string) predicate.FileSource

BucketURLEqualFold applies the EqualFold predicate on the "bucket_url" field.

func BucketURLGT

func BucketURLGT(v string) predicate.FileSource

BucketURLGT applies the GT predicate on the "bucket_url" field.

func BucketURLGTE

func BucketURLGTE(v string) predicate.FileSource

BucketURLGTE applies the GTE predicate on the "bucket_url" field.

func BucketURLHasPrefix

func BucketURLHasPrefix(v string) predicate.FileSource

BucketURLHasPrefix applies the HasPrefix predicate on the "bucket_url" field.

func BucketURLHasSuffix

func BucketURLHasSuffix(v string) predicate.FileSource

BucketURLHasSuffix applies the HasSuffix predicate on the "bucket_url" field.

func BucketURLIn

func BucketURLIn(vs ...string) predicate.FileSource

BucketURLIn applies the In predicate on the "bucket_url" field.

func BucketURLLT

func BucketURLLT(v string) predicate.FileSource

BucketURLLT applies the LT predicate on the "bucket_url" field.

func BucketURLLTE

func BucketURLLTE(v string) predicate.FileSource

BucketURLLTE applies the LTE predicate on the "bucket_url" field.

func BucketURLNEQ

func BucketURLNEQ(v string) predicate.FileSource

BucketURLNEQ applies the NEQ predicate on the "bucket_url" field.

func BucketURLNotIn

func BucketURLNotIn(vs ...string) predicate.FileSource

BucketURLNotIn applies the NotIn predicate on the "bucket_url" field.

func Comments

func Comments(v string) predicate.FileSource

Comments applies equality check predicate on the "comments" field. It's identical to CommentsEQ.

func CommentsContains

func CommentsContains(v string) predicate.FileSource

CommentsContains applies the Contains predicate on the "comments" field.

func CommentsContainsFold

func CommentsContainsFold(v string) predicate.FileSource

CommentsContainsFold applies the ContainsFold predicate on the "comments" field.

func CommentsEQ

func CommentsEQ(v string) predicate.FileSource

CommentsEQ applies the EQ predicate on the "comments" field.

func CommentsEqualFold

func CommentsEqualFold(v string) predicate.FileSource

CommentsEqualFold applies the EqualFold predicate on the "comments" field.

func CommentsGT

func CommentsGT(v string) predicate.FileSource

CommentsGT applies the GT predicate on the "comments" field.

func CommentsGTE

func CommentsGTE(v string) predicate.FileSource

CommentsGTE applies the GTE predicate on the "comments" field.

func CommentsHasPrefix

func CommentsHasPrefix(v string) predicate.FileSource

CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.

func CommentsHasSuffix

func CommentsHasSuffix(v string) predicate.FileSource

CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.

func CommentsIn

func CommentsIn(vs ...string) predicate.FileSource

CommentsIn applies the In predicate on the "comments" field.

func CommentsIsNil

func CommentsIsNil() predicate.FileSource

CommentsIsNil applies the IsNil predicate on the "comments" field.

func CommentsLT

func CommentsLT(v string) predicate.FileSource

CommentsLT applies the LT predicate on the "comments" field.

func CommentsLTE

func CommentsLTE(v string) predicate.FileSource

CommentsLTE applies the LTE predicate on the "comments" field.

func CommentsNEQ

func CommentsNEQ(v string) predicate.FileSource

CommentsNEQ applies the NEQ predicate on the "comments" field.

func CommentsNotIn

func CommentsNotIn(vs ...string) predicate.FileSource

CommentsNotIn applies the NotIn predicate on the "comments" field.

func CommentsNotNil

func CommentsNotNil() predicate.FileSource

CommentsNotNil applies the NotNil predicate on the "comments" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.FileSource

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.FileSource

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.FileSource

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.FileSource

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.FileSource

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.FileSource

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.FileSource

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int) predicate.FileSource

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

func CreatedByEQ

func CreatedByEQ(v int) predicate.FileSource

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

func CreatedByGT

func CreatedByGT(v int) predicate.FileSource

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

func CreatedByGTE

func CreatedByGTE(v int) predicate.FileSource

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

func CreatedByIn

func CreatedByIn(vs ...int) predicate.FileSource

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

func CreatedByLT

func CreatedByLT(v int) predicate.FileSource

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

func CreatedByLTE

func CreatedByLTE(v int) predicate.FileSource

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

func CreatedByNEQ

func CreatedByNEQ(v int) predicate.FileSource

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

func CreatedByNotIn

func CreatedByNotIn(vs ...int) predicate.FileSource

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

func Endpoint

func Endpoint(v string) predicate.FileSource

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

func EndpointContains

func EndpointContains(v string) predicate.FileSource

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

func EndpointContainsFold

func EndpointContainsFold(v string) predicate.FileSource

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

func EndpointEQ

func EndpointEQ(v string) predicate.FileSource

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

func EndpointEqualFold

func EndpointEqualFold(v string) predicate.FileSource

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

func EndpointGT

func EndpointGT(v string) predicate.FileSource

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

func EndpointGTE

func EndpointGTE(v string) predicate.FileSource

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

func EndpointHasPrefix

func EndpointHasPrefix(v string) predicate.FileSource

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

func EndpointHasSuffix

func EndpointHasSuffix(v string) predicate.FileSource

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

func EndpointImmutable

func EndpointImmutable(v bool) predicate.FileSource

EndpointImmutable applies equality check predicate on the "endpoint_immutable" field. It's identical to EndpointImmutableEQ.

func EndpointImmutableEQ

func EndpointImmutableEQ(v bool) predicate.FileSource

EndpointImmutableEQ applies the EQ predicate on the "endpoint_immutable" field.

func EndpointImmutableNEQ

func EndpointImmutableNEQ(v bool) predicate.FileSource

EndpointImmutableNEQ applies the NEQ predicate on the "endpoint_immutable" field.

func EndpointIn

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

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

func EndpointLT

func EndpointLT(v string) predicate.FileSource

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

func EndpointLTE

func EndpointLTE(v string) predicate.FileSource

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

func EndpointNEQ

func EndpointNEQ(v string) predicate.FileSource

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

func EndpointNotIn

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

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

func HasIdentities

func HasIdentities() predicate.FileSource

HasIdentities applies the HasEdge predicate on the "identities" edge.

func HasIdentitiesWith

func HasIdentitiesWith(preds ...predicate.FileIdentity) predicate.FileSource

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

func ID

func ID(id int) predicate.FileSource

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.FileSource

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.FileSource

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.FileSource

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.FileSource

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.FileSource

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.FileSource

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func KindEQ

func KindEQ(v Kind) predicate.FileSource

KindEQ applies the EQ predicate on the "kind" field.

func KindIn

func KindIn(vs ...Kind) predicate.FileSource

KindIn applies the In predicate on the "kind" field.

func KindNEQ

func KindNEQ(v Kind) predicate.FileSource

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...Kind) predicate.FileSource

KindNotIn applies the NotIn predicate on the "kind" field.

func KindValidator

func KindValidator(k Kind) error

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.FileSource) predicate.FileSource

Or groups predicates with the OR operator between them.

func Region

func Region(v string) predicate.FileSource

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

func RegionContains

func RegionContains(v string) predicate.FileSource

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

func RegionContainsFold

func RegionContainsFold(v string) predicate.FileSource

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

func RegionEQ

func RegionEQ(v string) predicate.FileSource

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

func RegionEqualFold

func RegionEqualFold(v string) predicate.FileSource

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

func RegionGT

func RegionGT(v string) predicate.FileSource

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

func RegionGTE

func RegionGTE(v string) predicate.FileSource

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

func RegionHasPrefix

func RegionHasPrefix(v string) predicate.FileSource

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

func RegionHasSuffix

func RegionHasSuffix(v string) predicate.FileSource

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

func RegionIn

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

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

func RegionLT

func RegionLT(v string) predicate.FileSource

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

func RegionLTE

func RegionLTE(v string) predicate.FileSource

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

func RegionNEQ

func RegionNEQ(v string) predicate.FileSource

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

func RegionNotIn

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

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

func StsEndpoint

func StsEndpoint(v string) predicate.FileSource

StsEndpoint applies equality check predicate on the "sts_endpoint" field. It's identical to StsEndpointEQ.

func StsEndpointContains

func StsEndpointContains(v string) predicate.FileSource

StsEndpointContains applies the Contains predicate on the "sts_endpoint" field.

func StsEndpointContainsFold

func StsEndpointContainsFold(v string) predicate.FileSource

StsEndpointContainsFold applies the ContainsFold predicate on the "sts_endpoint" field.

func StsEndpointEQ

func StsEndpointEQ(v string) predicate.FileSource

StsEndpointEQ applies the EQ predicate on the "sts_endpoint" field.

func StsEndpointEqualFold

func StsEndpointEqualFold(v string) predicate.FileSource

StsEndpointEqualFold applies the EqualFold predicate on the "sts_endpoint" field.

func StsEndpointGT

func StsEndpointGT(v string) predicate.FileSource

StsEndpointGT applies the GT predicate on the "sts_endpoint" field.

func StsEndpointGTE

func StsEndpointGTE(v string) predicate.FileSource

StsEndpointGTE applies the GTE predicate on the "sts_endpoint" field.

func StsEndpointHasPrefix

func StsEndpointHasPrefix(v string) predicate.FileSource

StsEndpointHasPrefix applies the HasPrefix predicate on the "sts_endpoint" field.

func StsEndpointHasSuffix

func StsEndpointHasSuffix(v string) predicate.FileSource

StsEndpointHasSuffix applies the HasSuffix predicate on the "sts_endpoint" field.

func StsEndpointIn

func StsEndpointIn(vs ...string) predicate.FileSource

StsEndpointIn applies the In predicate on the "sts_endpoint" field.

func StsEndpointLT

func StsEndpointLT(v string) predicate.FileSource

StsEndpointLT applies the LT predicate on the "sts_endpoint" field.

func StsEndpointLTE

func StsEndpointLTE(v string) predicate.FileSource

StsEndpointLTE applies the LTE predicate on the "sts_endpoint" field.

func StsEndpointNEQ

func StsEndpointNEQ(v string) predicate.FileSource

StsEndpointNEQ applies the NEQ predicate on the "sts_endpoint" field.

func StsEndpointNotIn

func StsEndpointNotIn(vs ...string) predicate.FileSource

StsEndpointNotIn applies the NotIn predicate on the "sts_endpoint" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.FileSource

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.FileSource

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.FileSource

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.FileSource

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.FileSource

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.FileSource

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.FileSource

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.FileSource

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.FileSource

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v int) predicate.FileSource

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByEQ

func UpdatedByEQ(v int) predicate.FileSource

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v int) predicate.FileSource

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v int) predicate.FileSource

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...int) predicate.FileSource

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.FileSource

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v int) predicate.FileSource

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v int) predicate.FileSource

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v int) predicate.FileSource

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int) predicate.FileSource

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.FileSource

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type Kind

type Kind string

Kind defines the type for the "kind" enum field.

const (
	KindMinio  Kind = "minio"
	KindAliOSS Kind = "aliOSS"
	KindAwsS3  Kind = "awsS3"
)

Kind values.

func (Kind) MarshalGQL

func (e Kind) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Kind) String

func (k Kind) String() string

func (*Kind) UnmarshalGQL

func (e *Kind) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the FileSource queries.

func ByBucket

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

ByBucket orders the results by the bucket field.

func ByBucketURL

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

ByBucketURL orders the results by the bucket_url field.

func ByComments

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

ByComments orders the results by the comments field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByEndpoint

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

ByEndpoint orders the results by the endpoint field.

func ByEndpointImmutable

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

ByEndpointImmutable orders the results by the endpoint_immutable field.

func ByID

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

ByID orders the results by the id field.

func ByIdentities

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

ByIdentities orders the results by identities terms.

func ByIdentitiesCount

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

ByIdentitiesCount orders the results by identities count.

func ByKind

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

ByKind orders the results by the kind field.

func ByRegion

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

ByRegion orders the results by the region field.

func ByStsEndpoint

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

ByStsEndpoint orders the results by the sts_endpoint field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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