Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterStorageServiceHTTPServer(s *http.Server, srv StorageServiceHTTPServer)
- func RegisterStorageServiceServer(s grpc.ServiceRegistrar, srv StorageServiceServer)
- type BucketPolicy
- func (*BucketPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *BucketPolicy) GetPolicyDocument() string
- func (*BucketPolicy) ProtoMessage()
- func (x *BucketPolicy) ProtoReflect() protoreflect.Message
- func (x *BucketPolicy) Reset()
- func (x *BucketPolicy) String() string
- func (m *BucketPolicy) Validate() error
- func (m *BucketPolicy) ValidateAll() error
- type BucketPolicyMultiError
- type BucketPolicyValidationError
- func (e BucketPolicyValidationError) Cause() error
- func (e BucketPolicyValidationError) Error() string
- func (e BucketPolicyValidationError) ErrorName() string
- func (e BucketPolicyValidationError) Field() string
- func (e BucketPolicyValidationError) Key() bool
- func (e BucketPolicyValidationError) Reason() string
- type CacheConfig
- func (*CacheConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CacheConfig) GetCleanupInterval() int64
- func (x *CacheConfig) GetCustomize() *structpb.Struct
- func (x *CacheConfig) GetDriver() string
- func (x *CacheConfig) GetMemcached() *MemcachedConfig
- func (x *CacheConfig) GetMemory() *MemoryConfig
- func (x *CacheConfig) GetName() string
- func (x *CacheConfig) GetRedis() *RedisConfig
- func (*CacheConfig) ProtoMessage()
- func (x *CacheConfig) ProtoReflect() protoreflect.Message
- func (x *CacheConfig) Reset()
- func (x *CacheConfig) String() string
- func (m *CacheConfig) Validate() error
- func (m *CacheConfig) ValidateAll() error
- type CacheConfigMultiError
- type CacheConfigValidationError
- func (e CacheConfigValidationError) Cause() error
- func (e CacheConfigValidationError) Error() string
- func (e CacheConfigValidationError) ErrorName() string
- func (e CacheConfigValidationError) Field() string
- func (e CacheConfigValidationError) Key() bool
- func (e CacheConfigValidationError) Reason() string
- type DatabaseConfig
- func (*DatabaseConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseConfig) GetConnectionMaxIdleTime() int64
- func (x *DatabaseConfig) GetConnectionMaxLifetime() int64
- func (x *DatabaseConfig) GetCustomize() *structpb.Struct
- func (x *DatabaseConfig) GetDebug() bool
- func (x *DatabaseConfig) GetDialect() string
- func (x *DatabaseConfig) GetEnableMetrics() bool
- func (x *DatabaseConfig) GetEnableTrace() bool
- func (x *DatabaseConfig) GetMaxIdleConnections() int32
- func (x *DatabaseConfig) GetMaxOpenConnections() int32
- func (x *DatabaseConfig) GetMigration() *Migration
- func (x *DatabaseConfig) GetName() string
- func (x *DatabaseConfig) GetSource() string
- func (*DatabaseConfig) ProtoMessage()
- func (x *DatabaseConfig) ProtoReflect() protoreflect.Message
- func (x *DatabaseConfig) Reset()
- func (x *DatabaseConfig) String() string
- func (m *DatabaseConfig) Validate() error
- func (m *DatabaseConfig) ValidateAll() error
- type DatabaseConfigMultiError
- type DatabaseConfigValidationError
- func (e DatabaseConfigValidationError) Cause() error
- func (e DatabaseConfigValidationError) Error() string
- func (e DatabaseConfigValidationError) ErrorName() string
- func (e DatabaseConfigValidationError) Field() string
- func (e DatabaseConfigValidationError) Key() bool
- func (e DatabaseConfigValidationError) Reason() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetPath() string
- func (x *DeleteRequest) GetRecursive() bool
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (m *DeleteRequest) Validate() error
- func (m *DeleteRequest) ValidateAll() error
- type DeleteRequestMultiError
- type DeleteRequestValidationError
- func (e DeleteRequestValidationError) Cause() error
- func (e DeleteRequestValidationError) Error() string
- func (e DeleteRequestValidationError) ErrorName() string
- func (e DeleteRequestValidationError) Field() string
- func (e DeleteRequestValidationError) Key() bool
- func (e DeleteRequestValidationError) Reason() string
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- func (m *DeleteResponse) Validate() error
- func (m *DeleteResponse) ValidateAll() error
- type DeleteResponseMultiError
- type DeleteResponseValidationError
- func (e DeleteResponseValidationError) Cause() error
- func (e DeleteResponseValidationError) Error() string
- func (e DeleteResponseValidationError) ErrorName() string
- func (e DeleteResponseValidationError) Field() string
- func (e DeleteResponseValidationError) Key() bool
- func (e DeleteResponseValidationError) Reason() string
- type DocumentConfig
- func (*DocumentConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentConfig) GetCustomize() *structpb.Struct
- func (x *DocumentConfig) GetMongo() *MongoConfig
- func (x *DocumentConfig) GetName() string
- func (x *DocumentConfig) GetType() string
- func (*DocumentConfig) ProtoMessage()
- func (x *DocumentConfig) ProtoReflect() protoreflect.Message
- func (x *DocumentConfig) Reset()
- func (x *DocumentConfig) String() string
- func (m *DocumentConfig) Validate() error
- func (m *DocumentConfig) ValidateAll() error
- type DocumentConfigMultiError
- type DocumentConfigValidationError
- func (e DocumentConfigValidationError) Cause() error
- func (e DocumentConfigValidationError) Error() string
- func (e DocumentConfigValidationError) ErrorName() string
- func (e DocumentConfigValidationError) Field() string
- func (e DocumentConfigValidationError) Key() bool
- func (e DocumentConfigValidationError) Reason() string
- type Expiration
- func (*Expiration) Descriptor() ([]byte, []int)deprecated
- func (x *Expiration) GetDate() string
- func (x *Expiration) GetDays() int32
- func (*Expiration) ProtoMessage()
- func (x *Expiration) ProtoReflect() protoreflect.Message
- func (x *Expiration) Reset()
- func (x *Expiration) String() string
- func (m *Expiration) Validate() error
- func (m *Expiration) ValidateAll() error
- type ExpirationMultiError
- type ExpirationValidationError
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetIsDir() bool
- func (x *FileInfo) GetModTime() *timestamppb.Timestamp
- func (x *FileInfo) GetName() string
- func (x *FileInfo) GetPath() string
- func (x *FileInfo) GetSize() int64
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- func (m *FileInfo) Validate() error
- func (m *FileInfo) ValidateAll() error
- type FileInfoMultiError
- type FileInfoValidationError
- type FileLocalConfig
- func (*FileLocalConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FileLocalConfig) GetRoot() string
- func (*FileLocalConfig) ProtoMessage()
- func (x *FileLocalConfig) ProtoReflect() protoreflect.Message
- func (x *FileLocalConfig) Reset()
- func (x *FileLocalConfig) String() string
- func (m *FileLocalConfig) Validate() error
- func (m *FileLocalConfig) ValidateAll() error
- type FileLocalConfigMultiError
- type FileLocalConfigValidationError
- func (e FileLocalConfigValidationError) Cause() error
- func (e FileLocalConfigValidationError) Error() string
- func (e FileLocalConfigValidationError) ErrorName() string
- func (e FileLocalConfigValidationError) Field() string
- func (e FileLocalConfigValidationError) Key() bool
- func (e FileLocalConfigValidationError) Reason() string
- type FileMeta
- func (*FileMeta) Descriptor() ([]byte, []int)deprecated
- func (x *FileMeta) GetHash() string
- func (x *FileMeta) GetId() string
- func (x *FileMeta) GetMimeType() string
- func (x *FileMeta) GetModTime() int64
- func (x *FileMeta) GetName() string
- func (x *FileMeta) GetSize() int64
- func (*FileMeta) ProtoMessage()
- func (x *FileMeta) ProtoReflect() protoreflect.Message
- func (x *FileMeta) Reset()
- func (x *FileMeta) String() string
- func (m *FileMeta) Validate() error
- func (m *FileMeta) ValidateAll() error
- type FileMetaMultiError
- type FileMetaValidationError
- type FileStoreConfig
- func (*FileStoreConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FileStoreConfig) GetChunkSize() int64
- func (x *FileStoreConfig) GetCustomize() *structpb.Struct
- func (x *FileStoreConfig) GetDriver() string
- func (x *FileStoreConfig) GetLocal() *FileLocalConfig
- func (x *FileStoreConfig) GetName() string
- func (x *FileStoreConfig) GetOss() *OssConfig
- func (*FileStoreConfig) ProtoMessage()
- func (x *FileStoreConfig) ProtoReflect() protoreflect.Message
- func (x *FileStoreConfig) Reset()
- func (x *FileStoreConfig) String() string
- func (m *FileStoreConfig) Validate() error
- func (m *FileStoreConfig) ValidateAll() error
- type FileStoreConfigMultiError
- type FileStoreConfigValidationError
- func (e FileStoreConfigValidationError) Cause() error
- func (e FileStoreConfigValidationError) Error() string
- func (e FileStoreConfigValidationError) ErrorName() string
- func (e FileStoreConfigValidationError) Field() string
- func (e FileStoreConfigValidationError) Key() bool
- func (e FileStoreConfigValidationError) Reason() string
- type FinalizeUploadRequest
- func (*FinalizeUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizeUploadRequest) GetContentSha256() string
- func (x *FinalizeUploadRequest) GetUploadId() string
- func (*FinalizeUploadRequest) ProtoMessage()
- func (x *FinalizeUploadRequest) ProtoReflect() protoreflect.Message
- func (x *FinalizeUploadRequest) Reset()
- func (x *FinalizeUploadRequest) String() string
- func (m *FinalizeUploadRequest) Validate() error
- func (m *FinalizeUploadRequest) ValidateAll() error
- type FinalizeUploadRequestMultiError
- type FinalizeUploadRequestValidationError
- func (e FinalizeUploadRequestValidationError) Cause() error
- func (e FinalizeUploadRequestValidationError) Error() string
- func (e FinalizeUploadRequestValidationError) ErrorName() string
- func (e FinalizeUploadRequestValidationError) Field() string
- func (e FinalizeUploadRequestValidationError) Key() bool
- func (e FinalizeUploadRequestValidationError) Reason() string
- type FinalizeUploadResponse
- func (*FinalizeUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizeUploadResponse) GetFile() *FileInfo
- func (*FinalizeUploadResponse) ProtoMessage()
- func (x *FinalizeUploadResponse) ProtoReflect() protoreflect.Message
- func (x *FinalizeUploadResponse) Reset()
- func (x *FinalizeUploadResponse) String() string
- func (m *FinalizeUploadResponse) Validate() error
- func (m *FinalizeUploadResponse) ValidateAll() error
- type FinalizeUploadResponseMultiError
- type FinalizeUploadResponseValidationError
- func (e FinalizeUploadResponseValidationError) Cause() error
- func (e FinalizeUploadResponseValidationError) Error() string
- func (e FinalizeUploadResponseValidationError) ErrorName() string
- func (e FinalizeUploadResponseValidationError) Field() string
- func (e FinalizeUploadResponseValidationError) Key() bool
- func (e FinalizeUploadResponseValidationError) Reason() string
- type InitiateUploadRequest
- func (*InitiateUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateUploadRequest) GetPath() string
- func (*InitiateUploadRequest) ProtoMessage()
- func (x *InitiateUploadRequest) ProtoReflect() protoreflect.Message
- func (x *InitiateUploadRequest) Reset()
- func (x *InitiateUploadRequest) String() string
- func (m *InitiateUploadRequest) Validate() error
- func (m *InitiateUploadRequest) ValidateAll() error
- type InitiateUploadRequestMultiError
- type InitiateUploadRequestValidationError
- func (e InitiateUploadRequestValidationError) Cause() error
- func (e InitiateUploadRequestValidationError) Error() string
- func (e InitiateUploadRequestValidationError) ErrorName() string
- func (e InitiateUploadRequestValidationError) Field() string
- func (e InitiateUploadRequestValidationError) Key() bool
- func (e InitiateUploadRequestValidationError) Reason() string
- type InitiateUploadResponse
- func (*InitiateUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateUploadResponse) GetUploadId() string
- func (*InitiateUploadResponse) ProtoMessage()
- func (x *InitiateUploadResponse) ProtoReflect() protoreflect.Message
- func (x *InitiateUploadResponse) Reset()
- func (x *InitiateUploadResponse) String() string
- func (m *InitiateUploadResponse) Validate() error
- func (m *InitiateUploadResponse) ValidateAll() error
- type InitiateUploadResponseMultiError
- type InitiateUploadResponseValidationError
- func (e InitiateUploadResponseValidationError) Cause() error
- func (e InitiateUploadResponseValidationError) Error() string
- func (e InitiateUploadResponseValidationError) ErrorName() string
- func (e InitiateUploadResponseValidationError) Field() string
- func (e InitiateUploadResponseValidationError) Key() bool
- func (e InitiateUploadResponseValidationError) Reason() string
- type LifecycleRule
- func (*LifecycleRule) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule) GetExpiration() *Expiration
- func (x *LifecycleRule) GetId() string
- func (x *LifecycleRule) GetNoncurrentVersionExpiration() *NoncurrentVersionExpiration
- func (x *LifecycleRule) GetPrefix() string
- func (x *LifecycleRule) GetStatus() string
- func (x *LifecycleRule) GetTransition() *Transition
- func (*LifecycleRule) ProtoMessage()
- func (x *LifecycleRule) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule) Reset()
- func (x *LifecycleRule) String() string
- func (m *LifecycleRule) Validate() error
- func (m *LifecycleRule) ValidateAll() error
- type LifecycleRuleMultiError
- type LifecycleRuleValidationError
- func (e LifecycleRuleValidationError) Cause() error
- func (e LifecycleRuleValidationError) Error() string
- func (e LifecycleRuleValidationError) ErrorName() string
- func (e LifecycleRuleValidationError) Field() string
- func (e LifecycleRuleValidationError) Key() bool
- func (e LifecycleRuleValidationError) Reason() string
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetPath() string
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- func (m *ListRequest) Validate() error
- func (m *ListRequest) ValidateAll() error
- type ListRequestMultiError
- type ListRequestValidationError
- func (e ListRequestValidationError) Cause() error
- func (e ListRequestValidationError) Error() string
- func (e ListRequestValidationError) ErrorName() string
- func (e ListRequestValidationError) Field() string
- func (e ListRequestValidationError) Key() bool
- func (e ListRequestValidationError) Reason() string
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetFiles() []*FileInfo
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- func (m *ListResponse) Validate() error
- func (m *ListResponse) ValidateAll() error
- type ListResponseMultiError
- type ListResponseValidationError
- func (e ListResponseValidationError) Cause() error
- func (e ListResponseValidationError) Error() string
- func (e ListResponseValidationError) ErrorName() string
- func (e ListResponseValidationError) Field() string
- func (e ListResponseValidationError) Key() bool
- func (e ListResponseValidationError) Reason() string
- type MemcachedConfig
- func (*MemcachedConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MemcachedConfig) GetAddr() string
- func (x *MemcachedConfig) GetMaxIdle() int32
- func (x *MemcachedConfig) GetPassword() string
- func (x *MemcachedConfig) GetTimeout() int64
- func (x *MemcachedConfig) GetUsername() string
- func (*MemcachedConfig) ProtoMessage()
- func (x *MemcachedConfig) ProtoReflect() protoreflect.Message
- func (x *MemcachedConfig) Reset()
- func (x *MemcachedConfig) String() string
- func (m *MemcachedConfig) Validate() error
- func (m *MemcachedConfig) ValidateAll() error
- type MemcachedConfigMultiError
- type MemcachedConfigValidationError
- func (e MemcachedConfigValidationError) Cause() error
- func (e MemcachedConfigValidationError) Error() string
- func (e MemcachedConfigValidationError) ErrorName() string
- func (e MemcachedConfigValidationError) Field() string
- func (e MemcachedConfigValidationError) Key() bool
- func (e MemcachedConfigValidationError) Reason() string
- type MemoryConfig
- func (*MemoryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryConfig) GetCapacity() int32
- func (x *MemoryConfig) GetCleanupInterval() int64
- func (x *MemoryConfig) GetExpiration() int64
- func (x *MemoryConfig) GetSize() int32
- func (*MemoryConfig) ProtoMessage()
- func (x *MemoryConfig) ProtoReflect() protoreflect.Message
- func (x *MemoryConfig) Reset()
- func (x *MemoryConfig) String() string
- func (m *MemoryConfig) Validate() error
- func (m *MemoryConfig) ValidateAll() error
- type MemoryConfigMultiError
- type MemoryConfigValidationError
- func (e MemoryConfigValidationError) Cause() error
- func (e MemoryConfigValidationError) Error() string
- func (e MemoryConfigValidationError) ErrorName() string
- func (e MemoryConfigValidationError) Field() string
- func (e MemoryConfigValidationError) Key() bool
- func (e MemoryConfigValidationError) Reason() string
- type Migration
- func (*Migration) Descriptor() ([]byte, []int)deprecated
- func (x *Migration) GetEnabled() bool
- func (x *Migration) GetMode() string
- func (x *Migration) GetNames() []string
- func (x *Migration) GetPath() string
- func (x *Migration) GetVersion() string
- func (*Migration) ProtoMessage()
- func (x *Migration) ProtoReflect() protoreflect.Message
- func (x *Migration) Reset()
- func (x *Migration) String() string
- func (m *Migration) Validate() error
- func (m *Migration) ValidateAll() error
- type MigrationMultiError
- type MigrationValidationError
- type MkdirRequest
- func (*MkdirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MkdirRequest) GetPath() string
- func (*MkdirRequest) ProtoMessage()
- func (x *MkdirRequest) ProtoReflect() protoreflect.Message
- func (x *MkdirRequest) Reset()
- func (x *MkdirRequest) String() string
- func (m *MkdirRequest) Validate() error
- func (m *MkdirRequest) ValidateAll() error
- type MkdirRequestMultiError
- type MkdirRequestValidationError
- func (e MkdirRequestValidationError) Cause() error
- func (e MkdirRequestValidationError) Error() string
- func (e MkdirRequestValidationError) ErrorName() string
- func (e MkdirRequestValidationError) Field() string
- func (e MkdirRequestValidationError) Key() bool
- func (e MkdirRequestValidationError) Reason() string
- type MkdirResponse
- func (*MkdirResponse) Descriptor() ([]byte, []int)deprecated
- func (*MkdirResponse) ProtoMessage()
- func (x *MkdirResponse) ProtoReflect() protoreflect.Message
- func (x *MkdirResponse) Reset()
- func (x *MkdirResponse) String() string
- func (m *MkdirResponse) Validate() error
- func (m *MkdirResponse) ValidateAll() error
- type MkdirResponseMultiError
- type MkdirResponseValidationError
- func (e MkdirResponseValidationError) Cause() error
- func (e MkdirResponseValidationError) Error() string
- func (e MkdirResponseValidationError) ErrorName() string
- func (e MkdirResponseValidationError) Field() string
- func (e MkdirResponseValidationError) Key() bool
- func (e MkdirResponseValidationError) Reason() string
- type MongoConfig
- func (*MongoConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MongoConfig) GetAuthSource() bool
- func (x *MongoConfig) GetConnectTimeout() int64
- func (x *MongoConfig) GetDatabase() string
- func (x *MongoConfig) GetMaxPoolSize() int32
- func (x *MongoConfig) GetMinPoolSize() int32
- func (x *MongoConfig) GetPassword() string
- func (x *MongoConfig) GetUri() string
- func (x *MongoConfig) GetUsername() string
- func (*MongoConfig) ProtoMessage()
- func (x *MongoConfig) ProtoReflect() protoreflect.Message
- func (x *MongoConfig) Reset()
- func (x *MongoConfig) String() string
- func (m *MongoConfig) Validate() error
- func (m *MongoConfig) ValidateAll() error
- type MongoConfigMultiError
- type MongoConfigValidationError
- func (e MongoConfigValidationError) Cause() error
- func (e MongoConfigValidationError) Error() string
- func (e MongoConfigValidationError) ErrorName() string
- func (e MongoConfigValidationError) Field() string
- func (e MongoConfigValidationError) Key() bool
- func (e MongoConfigValidationError) Reason() string
- type NoncurrentVersionExpiration
- func (*NoncurrentVersionExpiration) Descriptor() ([]byte, []int)deprecated
- func (x *NoncurrentVersionExpiration) GetNoncurrentDays() int32
- func (*NoncurrentVersionExpiration) ProtoMessage()
- func (x *NoncurrentVersionExpiration) ProtoReflect() protoreflect.Message
- func (x *NoncurrentVersionExpiration) Reset()
- func (x *NoncurrentVersionExpiration) String() string
- func (m *NoncurrentVersionExpiration) Validate() error
- func (m *NoncurrentVersionExpiration) ValidateAll() error
- type NoncurrentVersionExpirationMultiError
- type NoncurrentVersionExpirationValidationError
- func (e NoncurrentVersionExpirationValidationError) Cause() error
- func (e NoncurrentVersionExpirationValidationError) Error() string
- func (e NoncurrentVersionExpirationValidationError) ErrorName() string
- func (e NoncurrentVersionExpirationValidationError) Field() string
- func (e NoncurrentVersionExpirationValidationError) Key() bool
- func (e NoncurrentVersionExpirationValidationError) Reason() string
- type OssConfig
- func (*OssConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OssConfig) GetAccessKeyId() string
- func (x *OssConfig) GetAccessKeySecret() string
- func (x *OssConfig) GetBucket() string
- func (x *OssConfig) GetBucketPolicy() *BucketPolicy
- func (x *OssConfig) GetConnectTimeout() int64
- func (x *OssConfig) GetEndpoint() string
- func (x *OssConfig) GetLifecycleRules() []*LifecycleRule
- func (x *OssConfig) GetReadTimeout() int64
- func (x *OssConfig) GetRegion() string
- func (x *OssConfig) GetSsl() bool
- func (x *OssConfig) GetVersioningEnabled() bool
- func (*OssConfig) ProtoMessage()
- func (x *OssConfig) ProtoReflect() protoreflect.Message
- func (x *OssConfig) Reset()
- func (x *OssConfig) String() string
- func (m *OssConfig) Validate() error
- func (m *OssConfig) ValidateAll() error
- type OssConfigMultiError
- type OssConfigValidationError
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRequest) GetPath() string
- func (*ReadRequest) ProtoMessage()
- func (x *ReadRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRequest) Reset()
- func (x *ReadRequest) String() string
- func (m *ReadRequest) Validate() error
- func (m *ReadRequest) ValidateAll() error
- type ReadRequestMultiError
- type ReadRequestValidationError
- func (e ReadRequestValidationError) Cause() error
- func (e ReadRequestValidationError) Error() string
- func (e ReadRequestValidationError) ErrorName() string
- func (e ReadRequestValidationError) Field() string
- func (e ReadRequestValidationError) Key() bool
- func (e ReadRequestValidationError) Reason() string
- type ReadResponse
- func (*ReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResponse) GetChunk() []byte
- func (*ReadResponse) ProtoMessage()
- func (x *ReadResponse) ProtoReflect() protoreflect.Message
- func (x *ReadResponse) Reset()
- func (x *ReadResponse) String() string
- func (m *ReadResponse) Validate() error
- func (m *ReadResponse) ValidateAll() error
- type ReadResponseMultiError
- type ReadResponseValidationError
- func (e ReadResponseValidationError) Cause() error
- func (e ReadResponseValidationError) Error() string
- func (e ReadResponseValidationError) ErrorName() string
- func (e ReadResponseValidationError) Field() string
- func (e ReadResponseValidationError) Key() bool
- func (e ReadResponseValidationError) Reason() string
- type RedisConfig
- func (*RedisConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RedisConfig) GetAddr() string
- func (x *RedisConfig) GetDb() int32
- func (x *RedisConfig) GetDialTimeout() int64
- func (x *RedisConfig) GetIdleTimeout() int64
- func (x *RedisConfig) GetMinIdleConns() int32
- func (x *RedisConfig) GetNetwork() string
- func (x *RedisConfig) GetPassword() string
- func (x *RedisConfig) GetPoolSize() int32
- func (x *RedisConfig) GetPoolTimeout() int64
- func (x *RedisConfig) GetReadTimeout() int64
- func (x *RedisConfig) GetTlsCaCertFile() string
- func (x *RedisConfig) GetTlsClientCertFile() string
- func (x *RedisConfig) GetTlsClientKeyFile() string
- func (x *RedisConfig) GetTlsEnabled() bool
- func (x *RedisConfig) GetTlsInsecureSkipVerify() bool
- func (x *RedisConfig) GetWriteTimeout() int64
- func (*RedisConfig) ProtoMessage()
- func (x *RedisConfig) ProtoReflect() protoreflect.Message
- func (x *RedisConfig) Reset()
- func (x *RedisConfig) String() string
- func (m *RedisConfig) Validate() error
- func (m *RedisConfig) ValidateAll() error
- type RedisConfigMultiError
- type RedisConfigValidationError
- func (e RedisConfigValidationError) Cause() error
- func (e RedisConfigValidationError) Error() string
- func (e RedisConfigValidationError) ErrorName() string
- func (e RedisConfigValidationError) Field() string
- func (e RedisConfigValidationError) Key() bool
- func (e RedisConfigValidationError) Reason() string
- type RenameRequest
- func (*RenameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameRequest) GetFromPath() string
- func (x *RenameRequest) GetToPath() string
- func (*RenameRequest) ProtoMessage()
- func (x *RenameRequest) ProtoReflect() protoreflect.Message
- func (x *RenameRequest) Reset()
- func (x *RenameRequest) String() string
- func (m *RenameRequest) Validate() error
- func (m *RenameRequest) ValidateAll() error
- type RenameRequestMultiError
- type RenameRequestValidationError
- func (e RenameRequestValidationError) Cause() error
- func (e RenameRequestValidationError) Error() string
- func (e RenameRequestValidationError) ErrorName() string
- func (e RenameRequestValidationError) Field() string
- func (e RenameRequestValidationError) Key() bool
- func (e RenameRequestValidationError) Reason() string
- type RenameResponse
- func (*RenameResponse) Descriptor() ([]byte, []int)deprecated
- func (*RenameResponse) ProtoMessage()
- func (x *RenameResponse) ProtoReflect() protoreflect.Message
- func (x *RenameResponse) Reset()
- func (x *RenameResponse) String() string
- func (m *RenameResponse) Validate() error
- func (m *RenameResponse) ValidateAll() error
- type RenameResponseMultiError
- type RenameResponseValidationError
- func (e RenameResponseValidationError) Cause() error
- func (e RenameResponseValidationError) Error() string
- func (e RenameResponseValidationError) ErrorName() string
- func (e RenameResponseValidationError) Field() string
- func (e RenameResponseValidationError) Key() bool
- func (e RenameResponseValidationError) Reason() string
- type StatRequest
- func (*StatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatRequest) GetPath() string
- func (*StatRequest) ProtoMessage()
- func (x *StatRequest) ProtoReflect() protoreflect.Message
- func (x *StatRequest) Reset()
- func (x *StatRequest) String() string
- func (m *StatRequest) Validate() error
- func (m *StatRequest) ValidateAll() error
- type StatRequestMultiError
- type StatRequestValidationError
- func (e StatRequestValidationError) Cause() error
- func (e StatRequestValidationError) Error() string
- func (e StatRequestValidationError) ErrorName() string
- func (e StatRequestValidationError) Field() string
- func (e StatRequestValidationError) Key() bool
- func (e StatRequestValidationError) Reason() string
- type StatResponse
- func (*StatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatResponse) GetFile() *FileInfo
- func (*StatResponse) ProtoMessage()
- func (x *StatResponse) ProtoReflect() protoreflect.Message
- func (x *StatResponse) Reset()
- func (x *StatResponse) String() string
- func (m *StatResponse) Validate() error
- func (m *StatResponse) ValidateAll() error
- type StatResponseMultiError
- type StatResponseValidationError
- func (e StatResponseValidationError) Cause() error
- func (e StatResponseValidationError) Error() string
- func (e StatResponseValidationError) ErrorName() string
- func (e StatResponseValidationError) Field() string
- func (e StatResponseValidationError) Key() bool
- func (e StatResponseValidationError) Reason() string
- type StorageServiceClient
- type StorageServiceHTTPClient
- type StorageServiceHTTPClientImpl
- func (c *StorageServiceHTTPClientImpl) Delete(ctx context.Context, in *DeleteRequest, opts ...http.CallOption) (*DeleteResponse, error)
- func (c *StorageServiceHTTPClientImpl) FinalizeUpload(ctx context.Context, in *FinalizeUploadRequest, opts ...http.CallOption) (*FinalizeUploadResponse, error)
- func (c *StorageServiceHTTPClientImpl) InitiateUpload(ctx context.Context, in *InitiateUploadRequest, opts ...http.CallOption) (*InitiateUploadResponse, error)
- func (c *StorageServiceHTTPClientImpl) List(ctx context.Context, in *ListRequest, opts ...http.CallOption) (*ListResponse, error)
- func (c *StorageServiceHTTPClientImpl) Mkdir(ctx context.Context, in *MkdirRequest, opts ...http.CallOption) (*MkdirResponse, error)
- func (c *StorageServiceHTTPClientImpl) Rename(ctx context.Context, in *RenameRequest, opts ...http.CallOption) (*RenameResponse, error)
- func (c *StorageServiceHTTPClientImpl) Stat(ctx context.Context, in *StatRequest, opts ...http.CallOption) (*StatResponse, error)
- type StorageServiceHTTPServer
- type StorageServiceServer
- type StorageService_ReadClient
- type StorageService_ReadServer
- type StorageService_UploadChunkClient
- type StorageService_UploadChunkServer
- type StorageService_WriteClient
- type StorageService_WriteServer
- type Transition
- func (*Transition) Descriptor() ([]byte, []int)deprecated
- func (x *Transition) GetDays() int32
- func (x *Transition) GetStorageClass() string
- func (*Transition) ProtoMessage()
- func (x *Transition) ProtoReflect() protoreflect.Message
- func (x *Transition) Reset()
- func (x *Transition) String() string
- func (m *Transition) Validate() error
- func (m *Transition) ValidateAll() error
- type TransitionMultiError
- type TransitionValidationError
- type UnimplementedStorageServiceServer
- func (UnimplementedStorageServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedStorageServiceServer) FinalizeUpload(context.Context, *FinalizeUploadRequest) (*FinalizeUploadResponse, error)
- func (UnimplementedStorageServiceServer) InitiateUpload(context.Context, *InitiateUploadRequest) (*InitiateUploadResponse, error)
- func (UnimplementedStorageServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedStorageServiceServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error)
- func (UnimplementedStorageServiceServer) Read(*ReadRequest, grpc.ServerStreamingServer[ReadResponse]) error
- func (UnimplementedStorageServiceServer) Rename(context.Context, *RenameRequest) (*RenameResponse, error)
- func (UnimplementedStorageServiceServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
- func (UnimplementedStorageServiceServer) UploadChunk(grpc.ClientStreamingServer[UploadChunkRequest, UploadChunkResponse]) error
- func (UnimplementedStorageServiceServer) Write(grpc.ClientStreamingServer[WriteRequest, WriteResponse]) error
- type UnsafeStorageServiceServer
- type UploadChunkMetadata
- func (*UploadChunkMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UploadChunkMetadata) GetOffset() int64
- func (x *UploadChunkMetadata) GetUploadId() string
- func (*UploadChunkMetadata) ProtoMessage()
- func (x *UploadChunkMetadata) ProtoReflect() protoreflect.Message
- func (x *UploadChunkMetadata) Reset()
- func (x *UploadChunkMetadata) String() string
- func (m *UploadChunkMetadata) Validate() error
- func (m *UploadChunkMetadata) ValidateAll() error
- type UploadChunkMetadataMultiError
- type UploadChunkMetadataValidationError
- func (e UploadChunkMetadataValidationError) Cause() error
- func (e UploadChunkMetadataValidationError) Error() string
- func (e UploadChunkMetadataValidationError) ErrorName() string
- func (e UploadChunkMetadataValidationError) Field() string
- func (e UploadChunkMetadataValidationError) Key() bool
- func (e UploadChunkMetadataValidationError) Reason() string
- type UploadChunkRequest
- func (*UploadChunkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadChunkRequest) GetChunk() []byte
- func (x *UploadChunkRequest) GetData() isUploadChunkRequest_Data
- func (x *UploadChunkRequest) GetMetadata() *UploadChunkMetadata
- func (*UploadChunkRequest) ProtoMessage()
- func (x *UploadChunkRequest) ProtoReflect() protoreflect.Message
- func (x *UploadChunkRequest) Reset()
- func (x *UploadChunkRequest) String() string
- func (m *UploadChunkRequest) Validate() error
- func (m *UploadChunkRequest) ValidateAll() error
- type UploadChunkRequestMultiError
- type UploadChunkRequestValidationError
- func (e UploadChunkRequestValidationError) Cause() error
- func (e UploadChunkRequestValidationError) Error() string
- func (e UploadChunkRequestValidationError) ErrorName() string
- func (e UploadChunkRequestValidationError) Field() string
- func (e UploadChunkRequestValidationError) Key() bool
- func (e UploadChunkRequestValidationError) Reason() string
- type UploadChunkRequest_Chunk
- type UploadChunkRequest_Metadata
- type UploadChunkResponse
- func (*UploadChunkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadChunkResponse) GetUploadId() string
- func (x *UploadChunkResponse) GetWrittenSize() int64
- func (*UploadChunkResponse) ProtoMessage()
- func (x *UploadChunkResponse) ProtoReflect() protoreflect.Message
- func (x *UploadChunkResponse) Reset()
- func (x *UploadChunkResponse) String() string
- func (m *UploadChunkResponse) Validate() error
- func (m *UploadChunkResponse) ValidateAll() error
- type UploadChunkResponseMultiError
- type UploadChunkResponseValidationError
- func (e UploadChunkResponseValidationError) Cause() error
- func (e UploadChunkResponseValidationError) Error() string
- func (e UploadChunkResponseValidationError) ErrorName() string
- func (e UploadChunkResponseValidationError) Field() string
- func (e UploadChunkResponseValidationError) Key() bool
- func (e UploadChunkResponseValidationError) Reason() string
- type WriteRequest
- func (*WriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteRequest) GetChunk() []byte
- func (x *WriteRequest) GetData() isWriteRequest_Data
- func (x *WriteRequest) GetMetadata() *WriteRequestMetadata
- func (*WriteRequest) ProtoMessage()
- func (x *WriteRequest) ProtoReflect() protoreflect.Message
- func (x *WriteRequest) Reset()
- func (x *WriteRequest) String() string
- func (m *WriteRequest) Validate() error
- func (m *WriteRequest) ValidateAll() error
- type WriteRequestMetadata
- func (*WriteRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *WriteRequestMetadata) GetPath() string
- func (*WriteRequestMetadata) ProtoMessage()
- func (x *WriteRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *WriteRequestMetadata) Reset()
- func (x *WriteRequestMetadata) String() string
- func (m *WriteRequestMetadata) Validate() error
- func (m *WriteRequestMetadata) ValidateAll() error
- type WriteRequestMetadataMultiError
- type WriteRequestMetadataValidationError
- func (e WriteRequestMetadataValidationError) Cause() error
- func (e WriteRequestMetadataValidationError) Error() string
- func (e WriteRequestMetadataValidationError) ErrorName() string
- func (e WriteRequestMetadataValidationError) Field() string
- func (e WriteRequestMetadataValidationError) Key() bool
- func (e WriteRequestMetadataValidationError) Reason() string
- type WriteRequestMultiError
- type WriteRequestValidationError
- func (e WriteRequestValidationError) Cause() error
- func (e WriteRequestValidationError) Error() string
- func (e WriteRequestValidationError) ErrorName() string
- func (e WriteRequestValidationError) Field() string
- func (e WriteRequestValidationError) Key() bool
- func (e WriteRequestValidationError) Reason() string
- type WriteRequest_Chunk
- type WriteRequest_Metadata
- type WriteResponse
- func (*WriteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WriteResponse) GetPath() string
- func (x *WriteResponse) GetSize() int64
- func (*WriteResponse) ProtoMessage()
- func (x *WriteResponse) ProtoReflect() protoreflect.Message
- func (x *WriteResponse) Reset()
- func (x *WriteResponse) String() string
- func (m *WriteResponse) Validate() error
- func (m *WriteResponse) ValidateAll() error
- type WriteResponseMultiError
- type WriteResponseValidationError
- func (e WriteResponseValidationError) Cause() error
- func (e WriteResponseValidationError) Error() string
- func (e WriteResponseValidationError) ErrorName() string
- func (e WriteResponseValidationError) Field() string
- func (e WriteResponseValidationError) Key() bool
- func (e WriteResponseValidationError) Reason() string
Constants ¶
const ( StorageService_List_FullMethodName = "/runtime.data.storage.v1.StorageService/List" StorageService_Stat_FullMethodName = "/runtime.data.storage.v1.StorageService/Stat" StorageService_Mkdir_FullMethodName = "/runtime.data.storage.v1.StorageService/Mkdir" StorageService_Delete_FullMethodName = "/runtime.data.storage.v1.StorageService/Delete" StorageService_Rename_FullMethodName = "/runtime.data.storage.v1.StorageService/Rename" StorageService_Read_FullMethodName = "/runtime.data.storage.v1.StorageService/Read" StorageService_Write_FullMethodName = "/runtime.data.storage.v1.StorageService/Write" StorageService_InitiateUpload_FullMethodName = "/runtime.data.storage.v1.StorageService/InitiateUpload" StorageService_UploadChunk_FullMethodName = "/runtime.data.storage.v1.StorageService/UploadChunk" StorageService_FinalizeUpload_FullMethodName = "/runtime.data.storage.v1.StorageService/FinalizeUpload" )
const OperationStorageServiceDelete = "/runtime.data.storage.v1.StorageService/Delete"
const OperationStorageServiceFinalizeUpload = "/runtime.data.storage.v1.StorageService/FinalizeUpload"
const OperationStorageServiceInitiateUpload = "/runtime.data.storage.v1.StorageService/InitiateUpload"
const OperationStorageServiceList = "/runtime.data.storage.v1.StorageService/List"
const OperationStorageServiceMkdir = "/runtime.data.storage.v1.StorageService/Mkdir"
const OperationStorageServiceRename = "/runtime.data.storage.v1.StorageService/Rename"
const OperationStorageServiceStat = "/runtime.data.storage.v1.StorageService/Stat"
Variables ¶
var File_runtime_data_storage_v1_cache_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_database_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_document_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_file_local_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_file_meta_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_file_store_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_fs_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_memcached_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_memory_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_migration_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_mongo_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_oss_proto protoreflect.FileDescriptor
var File_runtime_data_storage_v1_redis_proto protoreflect.FileDescriptor
var StorageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "runtime.data.storage.v1.StorageService", HandlerType: (*StorageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _StorageService_List_Handler, }, { MethodName: "Stat", Handler: _StorageService_Stat_Handler, }, { MethodName: "Mkdir", Handler: _StorageService_Mkdir_Handler, }, { MethodName: "Delete", Handler: _StorageService_Delete_Handler, }, { MethodName: "Rename", Handler: _StorageService_Rename_Handler, }, { MethodName: "InitiateUpload", Handler: _StorageService_InitiateUpload_Handler, }, { MethodName: "FinalizeUpload", Handler: _StorageService_FinalizeUpload_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Read", Handler: _StorageService_Read_Handler, ServerStreams: true, }, { StreamName: "Write", Handler: _StorageService_Write_Handler, ClientStreams: true, }, { StreamName: "UploadChunk", Handler: _StorageService_UploadChunk_Handler, ClientStreams: true, }, }, Metadata: "runtime/data/storage/v1/fs.proto", }
StorageService_ServiceDesc is the grpc.ServiceDesc for StorageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStorageServiceHTTPServer ¶
func RegisterStorageServiceHTTPServer(s *http.Server, srv StorageServiceHTTPServer)
func RegisterStorageServiceServer ¶
func RegisterStorageServiceServer(s grpc.ServiceRegistrar, srv StorageServiceServer)
Types ¶
type BucketPolicy ¶
type BucketPolicy struct {
// Policy document in JSON format.
PolicyDocument string `protobuf:"bytes,1,opt,name=policy_document,proto3" json:"policy_document,omitempty"`
// contains filtered or unexported fields
}
BucketPolicy defines the access control policy for an OSS bucket.
func (*BucketPolicy) Descriptor
deprecated
func (*BucketPolicy) Descriptor() ([]byte, []int)
Deprecated: Use BucketPolicy.ProtoReflect.Descriptor instead.
func (*BucketPolicy) GetPolicyDocument ¶
func (x *BucketPolicy) GetPolicyDocument() string
func (*BucketPolicy) ProtoMessage ¶
func (*BucketPolicy) ProtoMessage()
func (*BucketPolicy) ProtoReflect ¶
func (x *BucketPolicy) ProtoReflect() protoreflect.Message
func (*BucketPolicy) Reset ¶
func (x *BucketPolicy) Reset()
func (*BucketPolicy) String ¶
func (x *BucketPolicy) String() string
func (*BucketPolicy) Validate ¶
func (m *BucketPolicy) Validate() error
Validate checks the field values on BucketPolicy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BucketPolicy) ValidateAll ¶
func (m *BucketPolicy) ValidateAll() error
ValidateAll checks the field values on BucketPolicy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BucketPolicyMultiError, or nil if none found.
type BucketPolicyMultiError ¶
type BucketPolicyMultiError []error
BucketPolicyMultiError is an error wrapping multiple validation errors returned by BucketPolicy.ValidateAll() if the designated constraints aren't met.
func (BucketPolicyMultiError) AllErrors ¶
func (m BucketPolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BucketPolicyMultiError) Error ¶
func (m BucketPolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BucketPolicyValidationError ¶
type BucketPolicyValidationError struct {
// contains filtered or unexported fields
}
BucketPolicyValidationError is the validation error returned by BucketPolicy.Validate if the designated constraints aren't met.
func (BucketPolicyValidationError) Cause ¶
func (e BucketPolicyValidationError) Cause() error
Cause function returns cause value.
func (BucketPolicyValidationError) Error ¶
func (e BucketPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (BucketPolicyValidationError) ErrorName ¶
func (e BucketPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (BucketPolicyValidationError) Field ¶
func (e BucketPolicyValidationError) Field() string
Field function returns field value.
func (BucketPolicyValidationError) Key ¶
func (e BucketPolicyValidationError) Key() bool
Key function returns key value.
func (BucketPolicyValidationError) Reason ¶
func (e BucketPolicyValidationError) Reason() string
Reason function returns reason value.
type CacheConfig ¶
type CacheConfig struct {
// Driver name: redis, memcached, etc.
Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Memcached
Memcached *MemcachedConfig `protobuf:"bytes,10,opt,name=memcached,proto3" json:"memcached,omitempty"`
// Memory cache
Memory *MemoryConfig `protobuf:"bytes,11,opt,name=memory,proto3" json:"memory,omitempty"`
// Redis
Redis *RedisConfig `protobuf:"bytes,12,opt,name=redis,proto3" json:"redis,omitempty"`
// Cleanup interval for memory cache in seconds.
// If 0 or not set, a default (e.g., 5 minutes) will be used by the implementation.
CleanupInterval int64 `protobuf:"varint,13,opt,name=cleanup_interval,proto3" json:"cleanup_interval,omitempty"`
// Optional custom configuration for cache types not explicitly defined.
Customize *structpb.Struct `protobuf:"bytes,14,opt,name=customize,proto3,oneof" json:"customize,omitempty"`
// contains filtered or unexported fields
}
CacheConfig defines the configuration for various caching mechanisms. This message was extracted from storage.proto and renamed for consistency.
func (*CacheConfig) Descriptor
deprecated
func (*CacheConfig) Descriptor() ([]byte, []int)
Deprecated: Use CacheConfig.ProtoReflect.Descriptor instead.
func (*CacheConfig) GetCleanupInterval ¶
func (x *CacheConfig) GetCleanupInterval() int64
func (*CacheConfig) GetCustomize ¶
func (x *CacheConfig) GetCustomize() *structpb.Struct
func (*CacheConfig) GetDriver ¶
func (x *CacheConfig) GetDriver() string
func (*CacheConfig) GetMemcached ¶
func (x *CacheConfig) GetMemcached() *MemcachedConfig
func (*CacheConfig) GetMemory ¶
func (x *CacheConfig) GetMemory() *MemoryConfig
func (*CacheConfig) GetName ¶
func (x *CacheConfig) GetName() string
func (*CacheConfig) GetRedis ¶
func (x *CacheConfig) GetRedis() *RedisConfig
func (*CacheConfig) ProtoMessage ¶
func (*CacheConfig) ProtoMessage()
func (*CacheConfig) ProtoReflect ¶
func (x *CacheConfig) ProtoReflect() protoreflect.Message
func (*CacheConfig) Reset ¶
func (x *CacheConfig) Reset()
func (*CacheConfig) String ¶
func (x *CacheConfig) String() string
func (*CacheConfig) Validate ¶
func (m *CacheConfig) Validate() error
Validate checks the field values on CacheConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CacheConfig) ValidateAll ¶
func (m *CacheConfig) ValidateAll() error
ValidateAll checks the field values on CacheConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CacheConfigMultiError, or nil if none found.
type CacheConfigMultiError ¶
type CacheConfigMultiError []error
CacheConfigMultiError is an error wrapping multiple validation errors returned by CacheConfig.ValidateAll() if the designated constraints aren't met.
func (CacheConfigMultiError) AllErrors ¶
func (m CacheConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CacheConfigMultiError) Error ¶
func (m CacheConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CacheConfigValidationError ¶
type CacheConfigValidationError struct {
// contains filtered or unexported fields
}
CacheConfigValidationError is the validation error returned by CacheConfig.Validate if the designated constraints aren't met.
func (CacheConfigValidationError) Cause ¶
func (e CacheConfigValidationError) Cause() error
Cause function returns cause value.
func (CacheConfigValidationError) Error ¶
func (e CacheConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CacheConfigValidationError) ErrorName ¶
func (e CacheConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CacheConfigValidationError) Field ¶
func (e CacheConfigValidationError) Field() string
Field function returns field value.
func (CacheConfigValidationError) Key ¶
func (e CacheConfigValidationError) Key() bool
Key function returns key value.
func (CacheConfigValidationError) Reason ¶
func (e CacheConfigValidationError) Reason() string
Reason function returns reason value.
type DatabaseConfig ¶
type DatabaseConfig struct {
// Unique name for this database configuration instance.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Debugging
Debug bool `protobuf:"varint,2,opt,name=debug,proto3" json:"debug,omitempty"`
// Dialect name: mysql, postgresql, sqlite......
Dialect string `protobuf:"bytes,3,opt,name=dialect,proto3" json:"dialect,omitempty"`
// Data source (DSN string)
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
// Data migration
Migration *Migration `protobuf:"bytes,10,opt,name=migration,proto3" json:"migration,omitempty"`
// Link tracking switch
EnableTrace bool `protobuf:"varint,12,opt,name=enable_trace,proto3" json:"enable_trace,omitempty"`
// Performance analysis switch
EnableMetrics bool `protobuf:"varint,13,opt,name=enable_metrics,proto3" json:"enable_metrics,omitempty"`
// Maximum number of free connections in the connection pool
MaxIdleConnections int32 `protobuf:"varint,20,opt,name=max_idle_connections,proto3" json:"max_idle_connections,omitempty"`
// Maximum number of open connections in the connection pool
MaxOpenConnections int32 `protobuf:"varint,21,opt,name=max_open_connections,proto3" json:"max_open_connections,omitempty"`
// Maximum length of time that the connection can be reused
ConnectionMaxLifetime int64 `protobuf:"varint,22,opt,name=connection_max_lifetime,proto3" json:"connection_max_lifetime,omitempty"`
// Maximum number of connections in the connection pool for reading
ConnectionMaxIdleTime int64 `protobuf:"varint,23,opt,name=connection_max_idle_time,proto3" json:"connection_max_idle_time,omitempty"`
// Optional custom configuration for database types not explicitly defined.
Customize *structpb.Struct `protobuf:"bytes,100,opt,name=customize,proto3,oneof" json:"customize,omitempty"`
// contains filtered or unexported fields
}
DatabaseConfig defines the configuration for a generic database connection. This message was extracted from mysql.proto and renamed for consistency.
func (*DatabaseConfig) Descriptor
deprecated
func (*DatabaseConfig) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseConfig.ProtoReflect.Descriptor instead.
func (*DatabaseConfig) GetConnectionMaxIdleTime ¶
func (x *DatabaseConfig) GetConnectionMaxIdleTime() int64
func (*DatabaseConfig) GetConnectionMaxLifetime ¶
func (x *DatabaseConfig) GetConnectionMaxLifetime() int64
func (*DatabaseConfig) GetCustomize ¶
func (x *DatabaseConfig) GetCustomize() *structpb.Struct
func (*DatabaseConfig) GetDebug ¶
func (x *DatabaseConfig) GetDebug() bool
func (*DatabaseConfig) GetDialect ¶
func (x *DatabaseConfig) GetDialect() string
func (*DatabaseConfig) GetEnableMetrics ¶
func (x *DatabaseConfig) GetEnableMetrics() bool
func (*DatabaseConfig) GetEnableTrace ¶
func (x *DatabaseConfig) GetEnableTrace() bool
func (*DatabaseConfig) GetMaxIdleConnections ¶
func (x *DatabaseConfig) GetMaxIdleConnections() int32
func (*DatabaseConfig) GetMaxOpenConnections ¶
func (x *DatabaseConfig) GetMaxOpenConnections() int32
func (*DatabaseConfig) GetMigration ¶
func (x *DatabaseConfig) GetMigration() *Migration
func (*DatabaseConfig) GetName ¶
func (x *DatabaseConfig) GetName() string
func (*DatabaseConfig) GetSource ¶
func (x *DatabaseConfig) GetSource() string
func (*DatabaseConfig) ProtoMessage ¶
func (*DatabaseConfig) ProtoMessage()
func (*DatabaseConfig) ProtoReflect ¶
func (x *DatabaseConfig) ProtoReflect() protoreflect.Message
func (*DatabaseConfig) Reset ¶
func (x *DatabaseConfig) Reset()
func (*DatabaseConfig) String ¶
func (x *DatabaseConfig) String() string
func (*DatabaseConfig) Validate ¶
func (m *DatabaseConfig) Validate() error
Validate checks the field values on DatabaseConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DatabaseConfig) ValidateAll ¶
func (m *DatabaseConfig) ValidateAll() error
ValidateAll checks the field values on DatabaseConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DatabaseConfigMultiError, or nil if none found.
type DatabaseConfigMultiError ¶
type DatabaseConfigMultiError []error
DatabaseConfigMultiError is an error wrapping multiple validation errors returned by DatabaseConfig.ValidateAll() if the designated constraints aren't met.
func (DatabaseConfigMultiError) AllErrors ¶
func (m DatabaseConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DatabaseConfigMultiError) Error ¶
func (m DatabaseConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DatabaseConfigValidationError ¶
type DatabaseConfigValidationError struct {
// contains filtered or unexported fields
}
DatabaseConfigValidationError is the validation error returned by DatabaseConfig.Validate if the designated constraints aren't met.
func (DatabaseConfigValidationError) Cause ¶
func (e DatabaseConfigValidationError) Cause() error
Cause function returns cause value.
func (DatabaseConfigValidationError) Error ¶
func (e DatabaseConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DatabaseConfigValidationError) ErrorName ¶
func (e DatabaseConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DatabaseConfigValidationError) Field ¶
func (e DatabaseConfigValidationError) Field() string
Field function returns field value.
func (DatabaseConfigValidationError) Key ¶
func (e DatabaseConfigValidationError) Key() bool
Key function returns key value.
func (DatabaseConfigValidationError) Reason ¶
func (e DatabaseConfigValidationError) Reason() string
Reason function returns reason value.
type DeleteRequest ¶
type DeleteRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Optional: If true and path is a directory, delete it recursively.
Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetPath ¶
func (x *DeleteRequest) GetPath() string
func (*DeleteRequest) GetRecursive ¶
func (x *DeleteRequest) GetRecursive() bool
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) Validate ¶
func (m *DeleteRequest) Validate() error
Validate checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteRequest) ValidateAll ¶
func (m *DeleteRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRequestMultiError, or nil if none found.
type DeleteRequestMultiError ¶
type DeleteRequestMultiError []error
DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRequestMultiError) AllErrors ¶
func (m DeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRequestMultiError) Error ¶
func (m DeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRequestValidationError ¶
type DeleteRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.
func (DeleteRequestValidationError) Cause ¶
func (e DeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRequestValidationError) Error ¶
func (e DeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRequestValidationError) ErrorName ¶
func (e DeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRequestValidationError) Field ¶
func (e DeleteRequestValidationError) Field() string
Field function returns field value.
func (DeleteRequestValidationError) Key ¶
func (e DeleteRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRequestValidationError) Reason ¶
func (e DeleteRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
func (*DeleteResponse) Validate ¶
func (m *DeleteResponse) Validate() error
Validate checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteResponse) ValidateAll ¶
func (m *DeleteResponse) ValidateAll() error
ValidateAll checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteResponseMultiError, or nil if none found.
type DeleteResponseMultiError ¶
type DeleteResponseMultiError []error
DeleteResponseMultiError is an error wrapping multiple validation errors returned by DeleteResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteResponseMultiError) AllErrors ¶
func (m DeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteResponseMultiError) Error ¶
func (m DeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteResponseValidationError ¶
type DeleteResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteResponseValidationError is the validation error returned by DeleteResponse.Validate if the designated constraints aren't met.
func (DeleteResponseValidationError) Cause ¶
func (e DeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteResponseValidationError) Error ¶
func (e DeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteResponseValidationError) ErrorName ¶
func (e DeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteResponseValidationError) Field ¶
func (e DeleteResponseValidationError) Field() string
Field function returns field value.
func (DeleteResponseValidationError) Key ¶
func (e DeleteResponseValidationError) Key() bool
Key function returns key value.
func (DeleteResponseValidationError) Reason ¶
func (e DeleteResponseValidationError) Reason() string
Reason function returns reason value.
type DocumentConfig ¶
type DocumentConfig struct {
// Unique name for this document database configuration instance.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The type of document database, e.g., "mongo", "customize".
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Optional MongoDB configuration.
Mongo *MongoConfig `protobuf:"bytes,10,opt,name=mongo,proto3,oneof" json:"mongo,omitempty"`
// Optional custom configuration for document database types not explicitly defined.
Customize *structpb.Struct `protobuf:"bytes,100,opt,name=customize,proto3,oneof" json:"customize,omitempty"`
// contains filtered or unexported fields
}
DocumentConfig defines the configuration for a document database instance.
func (*DocumentConfig) Descriptor
deprecated
func (*DocumentConfig) Descriptor() ([]byte, []int)
Deprecated: Use DocumentConfig.ProtoReflect.Descriptor instead.
func (*DocumentConfig) GetCustomize ¶
func (x *DocumentConfig) GetCustomize() *structpb.Struct
func (*DocumentConfig) GetMongo ¶
func (x *DocumentConfig) GetMongo() *MongoConfig
func (*DocumentConfig) GetName ¶
func (x *DocumentConfig) GetName() string
func (*DocumentConfig) GetType ¶
func (x *DocumentConfig) GetType() string
func (*DocumentConfig) ProtoMessage ¶
func (*DocumentConfig) ProtoMessage()
func (*DocumentConfig) ProtoReflect ¶
func (x *DocumentConfig) ProtoReflect() protoreflect.Message
func (*DocumentConfig) Reset ¶
func (x *DocumentConfig) Reset()
func (*DocumentConfig) String ¶
func (x *DocumentConfig) String() string
func (*DocumentConfig) Validate ¶
func (m *DocumentConfig) Validate() error
Validate checks the field values on DocumentConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DocumentConfig) ValidateAll ¶
func (m *DocumentConfig) ValidateAll() error
ValidateAll checks the field values on DocumentConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DocumentConfigMultiError, or nil if none found.
type DocumentConfigMultiError ¶
type DocumentConfigMultiError []error
DocumentConfigMultiError is an error wrapping multiple validation errors returned by DocumentConfig.ValidateAll() if the designated constraints aren't met.
func (DocumentConfigMultiError) AllErrors ¶
func (m DocumentConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentConfigMultiError) Error ¶
func (m DocumentConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentConfigValidationError ¶
type DocumentConfigValidationError struct {
// contains filtered or unexported fields
}
DocumentConfigValidationError is the validation error returned by DocumentConfig.Validate if the designated constraints aren't met.
func (DocumentConfigValidationError) Cause ¶
func (e DocumentConfigValidationError) Cause() error
Cause function returns cause value.
func (DocumentConfigValidationError) Error ¶
func (e DocumentConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentConfigValidationError) ErrorName ¶
func (e DocumentConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentConfigValidationError) Field ¶
func (e DocumentConfigValidationError) Field() string
Field function returns field value.
func (DocumentConfigValidationError) Key ¶
func (e DocumentConfigValidationError) Key() bool
Key function returns key value.
func (DocumentConfigValidationError) Reason ¶
func (e DocumentConfigValidationError) Reason() string
Reason function returns reason value.
type Expiration ¶
type Expiration struct {
// Number of days after object creation when it expires.
Days *int32 `protobuf:"varint,1,opt,name=days,proto3,oneof" json:"days,omitempty"`
// Specific date when objects expire (YYYY-MM-DD format).
Date *string `protobuf:"bytes,2,opt,name=date,proto3,oneof" json:"date,omitempty"`
// contains filtered or unexported fields
}
Expiration defines when objects expire.
func (*Expiration) Descriptor
deprecated
func (*Expiration) Descriptor() ([]byte, []int)
Deprecated: Use Expiration.ProtoReflect.Descriptor instead.
func (*Expiration) GetDate ¶
func (x *Expiration) GetDate() string
func (*Expiration) GetDays ¶
func (x *Expiration) GetDays() int32
func (*Expiration) ProtoMessage ¶
func (*Expiration) ProtoMessage()
func (*Expiration) ProtoReflect ¶
func (x *Expiration) ProtoReflect() protoreflect.Message
func (*Expiration) Reset ¶
func (x *Expiration) Reset()
func (*Expiration) String ¶
func (x *Expiration) String() string
func (*Expiration) Validate ¶
func (m *Expiration) Validate() error
Validate checks the field values on Expiration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Expiration) ValidateAll ¶
func (m *Expiration) ValidateAll() error
ValidateAll checks the field values on Expiration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExpirationMultiError, or nil if none found.
type ExpirationMultiError ¶
type ExpirationMultiError []error
ExpirationMultiError is an error wrapping multiple validation errors returned by Expiration.ValidateAll() if the designated constraints aren't met.
func (ExpirationMultiError) AllErrors ¶
func (m ExpirationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExpirationMultiError) Error ¶
func (m ExpirationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExpirationValidationError ¶
type ExpirationValidationError struct {
// contains filtered or unexported fields
}
ExpirationValidationError is the validation error returned by Expiration.Validate if the designated constraints aren't met.
func (ExpirationValidationError) Cause ¶
func (e ExpirationValidationError) Cause() error
Cause function returns cause value.
func (ExpirationValidationError) Error ¶
func (e ExpirationValidationError) Error() string
Error satisfies the builtin error interface
func (ExpirationValidationError) ErrorName ¶
func (e ExpirationValidationError) ErrorName() string
ErrorName returns error name.
func (ExpirationValidationError) Field ¶
func (e ExpirationValidationError) Field() string
Field function returns field value.
func (ExpirationValidationError) Key ¶
func (e ExpirationValidationError) Key() bool
Key function returns key value.
func (ExpirationValidationError) Reason ¶
func (e ExpirationValidationError) Reason() string
Reason function returns reason value.
type FileInfo ¶
type FileInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
IsDir bool `protobuf:"varint,3,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"`
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
ModTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"`
// contains filtered or unexported fields
}
FileInfo describes a file or directory.
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetModTime ¶
func (x *FileInfo) GetModTime() *timestamppb.Timestamp
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
func (*FileInfo) Validate ¶
Validate checks the field values on FileInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FileInfo) ValidateAll ¶
ValidateAll checks the field values on FileInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileInfoMultiError, or nil if none found.
type FileInfoMultiError ¶
type FileInfoMultiError []error
FileInfoMultiError is an error wrapping multiple validation errors returned by FileInfo.ValidateAll() if the designated constraints aren't met.
func (FileInfoMultiError) AllErrors ¶
func (m FileInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileInfoMultiError) Error ¶
func (m FileInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileInfoValidationError ¶
type FileInfoValidationError struct {
// contains filtered or unexported fields
}
FileInfoValidationError is the validation error returned by FileInfo.Validate if the designated constraints aren't met.
func (FileInfoValidationError) Cause ¶
func (e FileInfoValidationError) Cause() error
Cause function returns cause value.
func (FileInfoValidationError) Error ¶
func (e FileInfoValidationError) Error() string
Error satisfies the builtin error interface
func (FileInfoValidationError) ErrorName ¶
func (e FileInfoValidationError) ErrorName() string
ErrorName returns error name.
func (FileInfoValidationError) Field ¶
func (e FileInfoValidationError) Field() string
Field function returns field value.
func (FileInfoValidationError) Key ¶
func (e FileInfoValidationError) Key() bool
Key function returns key value.
func (FileInfoValidationError) Reason ¶
func (e FileInfoValidationError) Reason() string
Reason function returns reason value.
type FileLocalConfig ¶
type FileLocalConfig struct {
Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
// contains filtered or unexported fields
}
FileLocalConfig defines the configuration for local file system storage. This message was extracted from storage.proto and renamed for consistency.
func (*FileLocalConfig) Descriptor
deprecated
func (*FileLocalConfig) Descriptor() ([]byte, []int)
Deprecated: Use FileLocalConfig.ProtoReflect.Descriptor instead.
func (*FileLocalConfig) GetRoot ¶
func (x *FileLocalConfig) GetRoot() string
func (*FileLocalConfig) ProtoMessage ¶
func (*FileLocalConfig) ProtoMessage()
func (*FileLocalConfig) ProtoReflect ¶
func (x *FileLocalConfig) ProtoReflect() protoreflect.Message
func (*FileLocalConfig) Reset ¶
func (x *FileLocalConfig) Reset()
func (*FileLocalConfig) String ¶
func (x *FileLocalConfig) String() string
func (*FileLocalConfig) Validate ¶
func (m *FileLocalConfig) Validate() error
Validate checks the field values on FileLocalConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FileLocalConfig) ValidateAll ¶
func (m *FileLocalConfig) ValidateAll() error
ValidateAll checks the field values on FileLocalConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileLocalConfigMultiError, or nil if none found.
type FileLocalConfigMultiError ¶
type FileLocalConfigMultiError []error
FileLocalConfigMultiError is an error wrapping multiple validation errors returned by FileLocalConfig.ValidateAll() if the designated constraints aren't met.
func (FileLocalConfigMultiError) AllErrors ¶
func (m FileLocalConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileLocalConfigMultiError) Error ¶
func (m FileLocalConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileLocalConfigValidationError ¶
type FileLocalConfigValidationError struct {
// contains filtered or unexported fields
}
FileLocalConfigValidationError is the validation error returned by FileLocalConfig.Validate if the designated constraints aren't met.
func (FileLocalConfigValidationError) Cause ¶
func (e FileLocalConfigValidationError) Cause() error
Cause function returns cause value.
func (FileLocalConfigValidationError) Error ¶
func (e FileLocalConfigValidationError) Error() string
Error satisfies the builtin error interface
func (FileLocalConfigValidationError) ErrorName ¶
func (e FileLocalConfigValidationError) ErrorName() string
ErrorName returns error name.
func (FileLocalConfigValidationError) Field ¶
func (e FileLocalConfigValidationError) Field() string
Field function returns field value.
func (FileLocalConfigValidationError) Key ¶
func (e FileLocalConfigValidationError) Key() bool
Key function returns key value.
func (FileLocalConfigValidationError) Reason ¶
func (e FileLocalConfigValidationError) Reason() string
Reason function returns reason value.
type FileMeta ¶
type FileMeta struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
MimeType string `protobuf:"bytes,5,opt,name=mime_type,proto3" json:"mime_type,omitempty"`
ModTime int64 `protobuf:"varint,6,opt,name=mod_time,proto3" json:"mod_time,omitempty"`
// contains filtered or unexported fields
}
func (*FileMeta) Descriptor
deprecated
func (*FileMeta) GetMimeType ¶
func (*FileMeta) GetModTime ¶
func (*FileMeta) ProtoMessage ¶
func (*FileMeta) ProtoMessage()
func (*FileMeta) ProtoReflect ¶
func (x *FileMeta) ProtoReflect() protoreflect.Message
func (*FileMeta) Validate ¶
Validate checks the field values on FileMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FileMeta) ValidateAll ¶
ValidateAll checks the field values on FileMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileMetaMultiError, or nil if none found.
type FileMetaMultiError ¶
type FileMetaMultiError []error
FileMetaMultiError is an error wrapping multiple validation errors returned by FileMeta.ValidateAll() if the designated constraints aren't met.
func (FileMetaMultiError) AllErrors ¶
func (m FileMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileMetaMultiError) Error ¶
func (m FileMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileMetaValidationError ¶
type FileMetaValidationError struct {
// contains filtered or unexported fields
}
FileMetaValidationError is the validation error returned by FileMeta.Validate if the designated constraints aren't met.
func (FileMetaValidationError) Cause ¶
func (e FileMetaValidationError) Cause() error
Cause function returns cause value.
func (FileMetaValidationError) Error ¶
func (e FileMetaValidationError) Error() string
Error satisfies the builtin error interface
func (FileMetaValidationError) ErrorName ¶
func (e FileMetaValidationError) ErrorName() string
ErrorName returns error name.
func (FileMetaValidationError) Field ¶
func (e FileMetaValidationError) Field() string
Field function returns field value.
func (FileMetaValidationError) Key ¶
func (e FileMetaValidationError) Key() bool
Key function returns key value.
func (FileMetaValidationError) Reason ¶
func (e FileMetaValidationError) Reason() string
Reason function returns reason value.
type FileStoreConfig ¶
type FileStoreConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The 'driver' field determines which configuration block (local or oss) to use.
// This field is crucial for ensuring JSON/YAML compatibility.
Driver string `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"`
// Local file system configuration. Only effective when driver is "local".
// The optional keyword clearly indicates that this field may not be present.
Local *FileLocalConfig `protobuf:"bytes,3,opt,name=local,proto3,oneof" json:"local,omitempty"` // Updated to FileLocalConfig
// Cloud object storage configuration. Only effective when driver is "oss".
Oss *OssConfig `protobuf:"bytes,4,opt,name=oss,proto3,oneof" json:"oss,omitempty"` // Updated to OssConfig
// Chunk size in bytes for splitting large files.
// For OSS, this corresponds to the multipart upload part size.
// For local storage, it defines the size of individual blob files.
// If 0 or not set, a reasonable default (e.g., 4MB) will be used by the implementation.
ChunkSize int64 `protobuf:"varint,5,opt,name=chunk_size,proto3" json:"chunk_size,omitempty"`
// Optional custom configuration for file store types not explicitly defined.
Customize *structpb.Struct `protobuf:"bytes,6,opt,name=customize,proto3,oneof" json:"customize,omitempty"`
// contains filtered or unexported fields
}
FileStoreConfig groups all "file/object storage" type backends into one category. It uses the 'driver' field to determine which specific implementation to use. This message was extracted from storage.proto and renamed for consistency.
func (*FileStoreConfig) Descriptor
deprecated
func (*FileStoreConfig) Descriptor() ([]byte, []int)
Deprecated: Use FileStoreConfig.ProtoReflect.Descriptor instead.
func (*FileStoreConfig) GetChunkSize ¶
func (x *FileStoreConfig) GetChunkSize() int64
func (*FileStoreConfig) GetCustomize ¶
func (x *FileStoreConfig) GetCustomize() *structpb.Struct
func (*FileStoreConfig) GetDriver ¶
func (x *FileStoreConfig) GetDriver() string
func (*FileStoreConfig) GetLocal ¶
func (x *FileStoreConfig) GetLocal() *FileLocalConfig
func (*FileStoreConfig) GetName ¶
func (x *FileStoreConfig) GetName() string
func (*FileStoreConfig) GetOss ¶
func (x *FileStoreConfig) GetOss() *OssConfig
func (*FileStoreConfig) ProtoMessage ¶
func (*FileStoreConfig) ProtoMessage()
func (*FileStoreConfig) ProtoReflect ¶
func (x *FileStoreConfig) ProtoReflect() protoreflect.Message
func (*FileStoreConfig) Reset ¶
func (x *FileStoreConfig) Reset()
func (*FileStoreConfig) String ¶
func (x *FileStoreConfig) String() string
func (*FileStoreConfig) Validate ¶
func (m *FileStoreConfig) Validate() error
Validate checks the field values on FileStoreConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FileStoreConfig) ValidateAll ¶
func (m *FileStoreConfig) ValidateAll() error
ValidateAll checks the field values on FileStoreConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileStoreConfigMultiError, or nil if none found.
type FileStoreConfigMultiError ¶
type FileStoreConfigMultiError []error
FileStoreConfigMultiError is an error wrapping multiple validation errors returned by FileStoreConfig.ValidateAll() if the designated constraints aren't met.
func (FileStoreConfigMultiError) AllErrors ¶
func (m FileStoreConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileStoreConfigMultiError) Error ¶
func (m FileStoreConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileStoreConfigValidationError ¶
type FileStoreConfigValidationError struct {
// contains filtered or unexported fields
}
FileStoreConfigValidationError is the validation error returned by FileStoreConfig.Validate if the designated constraints aren't met.
func (FileStoreConfigValidationError) Cause ¶
func (e FileStoreConfigValidationError) Cause() error
Cause function returns cause value.
func (FileStoreConfigValidationError) Error ¶
func (e FileStoreConfigValidationError) Error() string
Error satisfies the builtin error interface
func (FileStoreConfigValidationError) ErrorName ¶
func (e FileStoreConfigValidationError) ErrorName() string
ErrorName returns error name.
func (FileStoreConfigValidationError) Field ¶
func (e FileStoreConfigValidationError) Field() string
Field function returns field value.
func (FileStoreConfigValidationError) Key ¶
func (e FileStoreConfigValidationError) Key() bool
Key function returns key value.
func (FileStoreConfigValidationError) Reason ¶
func (e FileStoreConfigValidationError) Reason() string
Reason function returns reason value.
type FinalizeUploadRequest ¶
type FinalizeUploadRequest struct {
UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
// Optional: The SHA256 checksum of the entire file for validation.
ContentSha256 string `protobuf:"bytes,2,opt,name=content_sha256,json=contentSha256,proto3" json:"content_sha256,omitempty"`
// contains filtered or unexported fields
}
func (*FinalizeUploadRequest) Descriptor
deprecated
func (*FinalizeUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeUploadRequest.ProtoReflect.Descriptor instead.
func (*FinalizeUploadRequest) GetContentSha256 ¶
func (x *FinalizeUploadRequest) GetContentSha256() string
func (*FinalizeUploadRequest) GetUploadId ¶
func (x *FinalizeUploadRequest) GetUploadId() string
func (*FinalizeUploadRequest) ProtoMessage ¶
func (*FinalizeUploadRequest) ProtoMessage()
func (*FinalizeUploadRequest) ProtoReflect ¶
func (x *FinalizeUploadRequest) ProtoReflect() protoreflect.Message
func (*FinalizeUploadRequest) Reset ¶
func (x *FinalizeUploadRequest) Reset()
func (*FinalizeUploadRequest) String ¶
func (x *FinalizeUploadRequest) String() string
func (*FinalizeUploadRequest) Validate ¶
func (m *FinalizeUploadRequest) Validate() error
Validate checks the field values on FinalizeUploadRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FinalizeUploadRequest) ValidateAll ¶
func (m *FinalizeUploadRequest) ValidateAll() error
ValidateAll checks the field values on FinalizeUploadRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FinalizeUploadRequestMultiError, or nil if none found.
type FinalizeUploadRequestMultiError ¶
type FinalizeUploadRequestMultiError []error
FinalizeUploadRequestMultiError is an error wrapping multiple validation errors returned by FinalizeUploadRequest.ValidateAll() if the designated constraints aren't met.
func (FinalizeUploadRequestMultiError) AllErrors ¶
func (m FinalizeUploadRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FinalizeUploadRequestMultiError) Error ¶
func (m FinalizeUploadRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FinalizeUploadRequestValidationError ¶
type FinalizeUploadRequestValidationError struct {
// contains filtered or unexported fields
}
FinalizeUploadRequestValidationError is the validation error returned by FinalizeUploadRequest.Validate if the designated constraints aren't met.
func (FinalizeUploadRequestValidationError) Cause ¶
func (e FinalizeUploadRequestValidationError) Cause() error
Cause function returns cause value.
func (FinalizeUploadRequestValidationError) Error ¶
func (e FinalizeUploadRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FinalizeUploadRequestValidationError) ErrorName ¶
func (e FinalizeUploadRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FinalizeUploadRequestValidationError) Field ¶
func (e FinalizeUploadRequestValidationError) Field() string
Field function returns field value.
func (FinalizeUploadRequestValidationError) Key ¶
func (e FinalizeUploadRequestValidationError) Key() bool
Key function returns key value.
func (FinalizeUploadRequestValidationError) Reason ¶
func (e FinalizeUploadRequestValidationError) Reason() string
Reason function returns reason value.
type FinalizeUploadResponse ¶
type FinalizeUploadResponse struct {
File *FileInfo `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*FinalizeUploadResponse) Descriptor
deprecated
func (*FinalizeUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeUploadResponse.ProtoReflect.Descriptor instead.
func (*FinalizeUploadResponse) GetFile ¶
func (x *FinalizeUploadResponse) GetFile() *FileInfo
func (*FinalizeUploadResponse) ProtoMessage ¶
func (*FinalizeUploadResponse) ProtoMessage()
func (*FinalizeUploadResponse) ProtoReflect ¶
func (x *FinalizeUploadResponse) ProtoReflect() protoreflect.Message
func (*FinalizeUploadResponse) Reset ¶
func (x *FinalizeUploadResponse) Reset()
func (*FinalizeUploadResponse) String ¶
func (x *FinalizeUploadResponse) String() string
func (*FinalizeUploadResponse) Validate ¶
func (m *FinalizeUploadResponse) Validate() error
Validate checks the field values on FinalizeUploadResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FinalizeUploadResponse) ValidateAll ¶
func (m *FinalizeUploadResponse) ValidateAll() error
ValidateAll checks the field values on FinalizeUploadResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FinalizeUploadResponseMultiError, or nil if none found.
type FinalizeUploadResponseMultiError ¶
type FinalizeUploadResponseMultiError []error
FinalizeUploadResponseMultiError is an error wrapping multiple validation errors returned by FinalizeUploadResponse.ValidateAll() if the designated constraints aren't met.
func (FinalizeUploadResponseMultiError) AllErrors ¶
func (m FinalizeUploadResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FinalizeUploadResponseMultiError) Error ¶
func (m FinalizeUploadResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FinalizeUploadResponseValidationError ¶
type FinalizeUploadResponseValidationError struct {
// contains filtered or unexported fields
}
FinalizeUploadResponseValidationError is the validation error returned by FinalizeUploadResponse.Validate if the designated constraints aren't met.
func (FinalizeUploadResponseValidationError) Cause ¶
func (e FinalizeUploadResponseValidationError) Cause() error
Cause function returns cause value.
func (FinalizeUploadResponseValidationError) Error ¶
func (e FinalizeUploadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FinalizeUploadResponseValidationError) ErrorName ¶
func (e FinalizeUploadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FinalizeUploadResponseValidationError) Field ¶
func (e FinalizeUploadResponseValidationError) Field() string
Field function returns field value.
func (FinalizeUploadResponseValidationError) Key ¶
func (e FinalizeUploadResponseValidationError) Key() bool
Key function returns key value.
func (FinalizeUploadResponseValidationError) Reason ¶
func (e FinalizeUploadResponseValidationError) Reason() string
Reason function returns reason value.
type InitiateUploadRequest ¶
type InitiateUploadRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // The final path for the file.
// contains filtered or unexported fields
}
func (*InitiateUploadRequest) Descriptor
deprecated
func (*InitiateUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitiateUploadRequest.ProtoReflect.Descriptor instead.
func (*InitiateUploadRequest) GetPath ¶
func (x *InitiateUploadRequest) GetPath() string
func (*InitiateUploadRequest) ProtoMessage ¶
func (*InitiateUploadRequest) ProtoMessage()
func (*InitiateUploadRequest) ProtoReflect ¶
func (x *InitiateUploadRequest) ProtoReflect() protoreflect.Message
func (*InitiateUploadRequest) Reset ¶
func (x *InitiateUploadRequest) Reset()
func (*InitiateUploadRequest) String ¶
func (x *InitiateUploadRequest) String() string
func (*InitiateUploadRequest) Validate ¶
func (m *InitiateUploadRequest) Validate() error
Validate checks the field values on InitiateUploadRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InitiateUploadRequest) ValidateAll ¶
func (m *InitiateUploadRequest) ValidateAll() error
ValidateAll checks the field values on InitiateUploadRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InitiateUploadRequestMultiError, or nil if none found.
type InitiateUploadRequestMultiError ¶
type InitiateUploadRequestMultiError []error
InitiateUploadRequestMultiError is an error wrapping multiple validation errors returned by InitiateUploadRequest.ValidateAll() if the designated constraints aren't met.
func (InitiateUploadRequestMultiError) AllErrors ¶
func (m InitiateUploadRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InitiateUploadRequestMultiError) Error ¶
func (m InitiateUploadRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InitiateUploadRequestValidationError ¶
type InitiateUploadRequestValidationError struct {
// contains filtered or unexported fields
}
InitiateUploadRequestValidationError is the validation error returned by InitiateUploadRequest.Validate if the designated constraints aren't met.
func (InitiateUploadRequestValidationError) Cause ¶
func (e InitiateUploadRequestValidationError) Cause() error
Cause function returns cause value.
func (InitiateUploadRequestValidationError) Error ¶
func (e InitiateUploadRequestValidationError) Error() string
Error satisfies the builtin error interface
func (InitiateUploadRequestValidationError) ErrorName ¶
func (e InitiateUploadRequestValidationError) ErrorName() string
ErrorName returns error name.
func (InitiateUploadRequestValidationError) Field ¶
func (e InitiateUploadRequestValidationError) Field() string
Field function returns field value.
func (InitiateUploadRequestValidationError) Key ¶
func (e InitiateUploadRequestValidationError) Key() bool
Key function returns key value.
func (InitiateUploadRequestValidationError) Reason ¶
func (e InitiateUploadRequestValidationError) Reason() string
Reason function returns reason value.
type InitiateUploadResponse ¶
type InitiateUploadResponse struct {
UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
// contains filtered or unexported fields
}
func (*InitiateUploadResponse) Descriptor
deprecated
func (*InitiateUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitiateUploadResponse.ProtoReflect.Descriptor instead.
func (*InitiateUploadResponse) GetUploadId ¶
func (x *InitiateUploadResponse) GetUploadId() string
func (*InitiateUploadResponse) ProtoMessage ¶
func (*InitiateUploadResponse) ProtoMessage()
func (*InitiateUploadResponse) ProtoReflect ¶
func (x *InitiateUploadResponse) ProtoReflect() protoreflect.Message
func (*InitiateUploadResponse) Reset ¶
func (x *InitiateUploadResponse) Reset()
func (*InitiateUploadResponse) String ¶
func (x *InitiateUploadResponse) String() string
func (*InitiateUploadResponse) Validate ¶
func (m *InitiateUploadResponse) Validate() error
Validate checks the field values on InitiateUploadResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InitiateUploadResponse) ValidateAll ¶
func (m *InitiateUploadResponse) ValidateAll() error
ValidateAll checks the field values on InitiateUploadResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InitiateUploadResponseMultiError, or nil if none found.
type InitiateUploadResponseMultiError ¶
type InitiateUploadResponseMultiError []error
InitiateUploadResponseMultiError is an error wrapping multiple validation errors returned by InitiateUploadResponse.ValidateAll() if the designated constraints aren't met.
func (InitiateUploadResponseMultiError) AllErrors ¶
func (m InitiateUploadResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InitiateUploadResponseMultiError) Error ¶
func (m InitiateUploadResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InitiateUploadResponseValidationError ¶
type InitiateUploadResponseValidationError struct {
// contains filtered or unexported fields
}
InitiateUploadResponseValidationError is the validation error returned by InitiateUploadResponse.Validate if the designated constraints aren't met.
func (InitiateUploadResponseValidationError) Cause ¶
func (e InitiateUploadResponseValidationError) Cause() error
Cause function returns cause value.
func (InitiateUploadResponseValidationError) Error ¶
func (e InitiateUploadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (InitiateUploadResponseValidationError) ErrorName ¶
func (e InitiateUploadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (InitiateUploadResponseValidationError) Field ¶
func (e InitiateUploadResponseValidationError) Field() string
Field function returns field value.
func (InitiateUploadResponseValidationError) Key ¶
func (e InitiateUploadResponseValidationError) Key() bool
Key function returns key value.
func (InitiateUploadResponseValidationError) Reason ¶
func (e InitiateUploadResponseValidationError) Reason() string
Reason function returns reason value.
type LifecycleRule ¶
type LifecycleRule struct {
// Unique ID for the rule.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Prefix for objects to which the rule applies.
Prefix *string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"`
// Status of the rule (e.g., "Enabled", "Disabled").
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// Actions to take on objects.
Expiration *Expiration `protobuf:"bytes,4,opt,name=expiration,proto3,oneof" json:"expiration,omitempty"`
Transition *Transition `protobuf:"bytes,5,opt,name=transition,proto3,oneof" json:"transition,omitempty"`
NoncurrentVersionExpiration *NoncurrentVersionExpiration `protobuf:"bytes,6,opt,name=noncurrent_version_expiration,proto3,oneof" json:"noncurrent_version_expiration,omitempty"`
// contains filtered or unexported fields
}
LifecycleRule defines a single lifecycle management rule for objects in an OSS bucket.
func (*LifecycleRule) Descriptor
deprecated
func (*LifecycleRule) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule.ProtoReflect.Descriptor instead.
func (*LifecycleRule) GetExpiration ¶
func (x *LifecycleRule) GetExpiration() *Expiration
func (*LifecycleRule) GetId ¶
func (x *LifecycleRule) GetId() string
func (*LifecycleRule) GetNoncurrentVersionExpiration ¶
func (x *LifecycleRule) GetNoncurrentVersionExpiration() *NoncurrentVersionExpiration
func (*LifecycleRule) GetPrefix ¶
func (x *LifecycleRule) GetPrefix() string
func (*LifecycleRule) GetStatus ¶
func (x *LifecycleRule) GetStatus() string
func (*LifecycleRule) GetTransition ¶
func (x *LifecycleRule) GetTransition() *Transition
func (*LifecycleRule) ProtoMessage ¶
func (*LifecycleRule) ProtoMessage()
func (*LifecycleRule) ProtoReflect ¶
func (x *LifecycleRule) ProtoReflect() protoreflect.Message
func (*LifecycleRule) Reset ¶
func (x *LifecycleRule) Reset()
func (*LifecycleRule) String ¶
func (x *LifecycleRule) String() string
func (*LifecycleRule) Validate ¶
func (m *LifecycleRule) Validate() error
Validate checks the field values on LifecycleRule with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LifecycleRule) ValidateAll ¶
func (m *LifecycleRule) ValidateAll() error
ValidateAll checks the field values on LifecycleRule with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LifecycleRuleMultiError, or nil if none found.
type LifecycleRuleMultiError ¶
type LifecycleRuleMultiError []error
LifecycleRuleMultiError is an error wrapping multiple validation errors returned by LifecycleRule.ValidateAll() if the designated constraints aren't met.
func (LifecycleRuleMultiError) AllErrors ¶
func (m LifecycleRuleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LifecycleRuleMultiError) Error ¶
func (m LifecycleRuleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LifecycleRuleValidationError ¶
type LifecycleRuleValidationError struct {
// contains filtered or unexported fields
}
LifecycleRuleValidationError is the validation error returned by LifecycleRule.Validate if the designated constraints aren't met.
func (LifecycleRuleValidationError) Cause ¶
func (e LifecycleRuleValidationError) Cause() error
Cause function returns cause value.
func (LifecycleRuleValidationError) Error ¶
func (e LifecycleRuleValidationError) Error() string
Error satisfies the builtin error interface
func (LifecycleRuleValidationError) ErrorName ¶
func (e LifecycleRuleValidationError) ErrorName() string
ErrorName returns error name.
func (LifecycleRuleValidationError) Field ¶
func (e LifecycleRuleValidationError) Field() string
Field function returns field value.
func (LifecycleRuleValidationError) Key ¶
func (e LifecycleRuleValidationError) Key() bool
Key function returns key value.
func (LifecycleRuleValidationError) Reason ¶
func (e LifecycleRuleValidationError) Reason() string
Reason function returns reason value.
type ListRequest ¶
type ListRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetPath ¶
func (x *ListRequest) GetPath() string
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
func (*ListRequest) Validate ¶
func (m *ListRequest) Validate() error
Validate checks the field values on ListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListRequest) ValidateAll ¶
func (m *ListRequest) ValidateAll() error
ValidateAll checks the field values on ListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRequestMultiError, or nil if none found.
type ListRequestMultiError ¶
type ListRequestMultiError []error
ListRequestMultiError is an error wrapping multiple validation errors returned by ListRequest.ValidateAll() if the designated constraints aren't met.
func (ListRequestMultiError) AllErrors ¶
func (m ListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRequestMultiError) Error ¶
func (m ListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRequestValidationError ¶
type ListRequestValidationError struct {
// contains filtered or unexported fields
}
ListRequestValidationError is the validation error returned by ListRequest.Validate if the designated constraints aren't met.
func (ListRequestValidationError) Cause ¶
func (e ListRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRequestValidationError) Error ¶
func (e ListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRequestValidationError) ErrorName ¶
func (e ListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRequestValidationError) Field ¶
func (e ListRequestValidationError) Field() string
Field function returns field value.
func (ListRequestValidationError) Key ¶
func (e ListRequestValidationError) Key() bool
Key function returns key value.
func (ListRequestValidationError) Reason ¶
func (e ListRequestValidationError) Reason() string
Reason function returns reason value.
type ListResponse ¶
type ListResponse struct {
Files []*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetFiles ¶
func (x *ListResponse) GetFiles() []*FileInfo
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
func (*ListResponse) Validate ¶
func (m *ListResponse) Validate() error
Validate checks the field values on ListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListResponse) ValidateAll ¶
func (m *ListResponse) ValidateAll() error
ValidateAll checks the field values on ListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListResponseMultiError, or nil if none found.
type ListResponseMultiError ¶
type ListResponseMultiError []error
ListResponseMultiError is an error wrapping multiple validation errors returned by ListResponse.ValidateAll() if the designated constraints aren't met.
func (ListResponseMultiError) AllErrors ¶
func (m ListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResponseMultiError) Error ¶
func (m ListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResponseValidationError ¶
type ListResponseValidationError struct {
// contains filtered or unexported fields
}
ListResponseValidationError is the validation error returned by ListResponse.Validate if the designated constraints aren't met.
func (ListResponseValidationError) Cause ¶
func (e ListResponseValidationError) Cause() error
Cause function returns cause value.
func (ListResponseValidationError) Error ¶
func (e ListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListResponseValidationError) ErrorName ¶
func (e ListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListResponseValidationError) Field ¶
func (e ListResponseValidationError) Field() string
Field function returns field value.
func (ListResponseValidationError) Key ¶
func (e ListResponseValidationError) Key() bool
Key function returns key value.
func (ListResponseValidationError) Reason ¶
func (e ListResponseValidationError) Reason() string
Reason function returns reason value.
type MemcachedConfig ¶
type MemcachedConfig struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
MaxIdle int32 `protobuf:"varint,4,opt,name=max_idle,proto3" json:"max_idle,omitempty"`
Timeout int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
MemcachedConfig defines the configuration for a Memcached client. This message was extracted from storage.proto and renamed for consistency.
func (*MemcachedConfig) Descriptor
deprecated
func (*MemcachedConfig) Descriptor() ([]byte, []int)
Deprecated: Use MemcachedConfig.ProtoReflect.Descriptor instead.
func (*MemcachedConfig) GetAddr ¶
func (x *MemcachedConfig) GetAddr() string
func (*MemcachedConfig) GetMaxIdle ¶
func (x *MemcachedConfig) GetMaxIdle() int32
func (*MemcachedConfig) GetPassword ¶
func (x *MemcachedConfig) GetPassword() string
func (*MemcachedConfig) GetTimeout ¶
func (x *MemcachedConfig) GetTimeout() int64
func (*MemcachedConfig) GetUsername ¶
func (x *MemcachedConfig) GetUsername() string
func (*MemcachedConfig) ProtoMessage ¶
func (*MemcachedConfig) ProtoMessage()
func (*MemcachedConfig) ProtoReflect ¶
func (x *MemcachedConfig) ProtoReflect() protoreflect.Message
func (*MemcachedConfig) Reset ¶
func (x *MemcachedConfig) Reset()
func (*MemcachedConfig) String ¶
func (x *MemcachedConfig) String() string
func (*MemcachedConfig) Validate ¶
func (m *MemcachedConfig) Validate() error
Validate checks the field values on MemcachedConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MemcachedConfig) ValidateAll ¶
func (m *MemcachedConfig) ValidateAll() error
ValidateAll checks the field values on MemcachedConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MemcachedConfigMultiError, or nil if none found.
type MemcachedConfigMultiError ¶
type MemcachedConfigMultiError []error
MemcachedConfigMultiError is an error wrapping multiple validation errors returned by MemcachedConfig.ValidateAll() if the designated constraints aren't met.
func (MemcachedConfigMultiError) AllErrors ¶
func (m MemcachedConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemcachedConfigMultiError) Error ¶
func (m MemcachedConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemcachedConfigValidationError ¶
type MemcachedConfigValidationError struct {
// contains filtered or unexported fields
}
MemcachedConfigValidationError is the validation error returned by MemcachedConfig.Validate if the designated constraints aren't met.
func (MemcachedConfigValidationError) Cause ¶
func (e MemcachedConfigValidationError) Cause() error
Cause function returns cause value.
func (MemcachedConfigValidationError) Error ¶
func (e MemcachedConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MemcachedConfigValidationError) ErrorName ¶
func (e MemcachedConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MemcachedConfigValidationError) Field ¶
func (e MemcachedConfigValidationError) Field() string
Field function returns field value.
func (MemcachedConfigValidationError) Key ¶
func (e MemcachedConfigValidationError) Key() bool
Key function returns key value.
func (MemcachedConfigValidationError) Reason ¶
func (e MemcachedConfigValidationError) Reason() string
Reason function returns reason value.
type MemoryConfig ¶
type MemoryConfig struct {
Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
Capacity int32 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
Expiration int64 `protobuf:"varint,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
CleanupInterval int64 `protobuf:"varint,4,opt,name=cleanup_interval,proto3" json:"cleanup_interval,omitempty"`
// contains filtered or unexported fields
}
MemoryConfig defines the configuration for an in-memory cache. This message was extracted from storage.proto and renamed for consistency.
func (*MemoryConfig) Descriptor
deprecated
func (*MemoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use MemoryConfig.ProtoReflect.Descriptor instead.
func (*MemoryConfig) GetCapacity ¶
func (x *MemoryConfig) GetCapacity() int32
func (*MemoryConfig) GetCleanupInterval ¶
func (x *MemoryConfig) GetCleanupInterval() int64
func (*MemoryConfig) GetExpiration ¶
func (x *MemoryConfig) GetExpiration() int64
func (*MemoryConfig) GetSize ¶
func (x *MemoryConfig) GetSize() int32
func (*MemoryConfig) ProtoMessage ¶
func (*MemoryConfig) ProtoMessage()
func (*MemoryConfig) ProtoReflect ¶
func (x *MemoryConfig) ProtoReflect() protoreflect.Message
func (*MemoryConfig) Reset ¶
func (x *MemoryConfig) Reset()
func (*MemoryConfig) String ¶
func (x *MemoryConfig) String() string
func (*MemoryConfig) Validate ¶
func (m *MemoryConfig) Validate() error
Validate checks the field values on MemoryConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MemoryConfig) ValidateAll ¶
func (m *MemoryConfig) ValidateAll() error
ValidateAll checks the field values on MemoryConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MemoryConfigMultiError, or nil if none found.
type MemoryConfigMultiError ¶
type MemoryConfigMultiError []error
MemoryConfigMultiError is an error wrapping multiple validation errors returned by MemoryConfig.ValidateAll() if the designated constraints aren't met.
func (MemoryConfigMultiError) AllErrors ¶
func (m MemoryConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemoryConfigMultiError) Error ¶
func (m MemoryConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemoryConfigValidationError ¶
type MemoryConfigValidationError struct {
// contains filtered or unexported fields
}
MemoryConfigValidationError is the validation error returned by MemoryConfig.Validate if the designated constraints aren't met.
func (MemoryConfigValidationError) Cause ¶
func (e MemoryConfigValidationError) Cause() error
Cause function returns cause value.
func (MemoryConfigValidationError) Error ¶
func (e MemoryConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MemoryConfigValidationError) ErrorName ¶
func (e MemoryConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MemoryConfigValidationError) Field ¶
func (e MemoryConfigValidationError) Field() string
Field function returns field value.
func (MemoryConfigValidationError) Key ¶
func (e MemoryConfigValidationError) Key() bool
Key function returns key value.
func (MemoryConfigValidationError) Reason ¶
func (e MemoryConfigValidationError) Reason() string
Reason function returns reason value.
type Migration ¶
type Migration struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
Mode string `protobuf:"bytes,5,opt,name=mode,proto3" json:"mode,omitempty"`
// contains filtered or unexported fields
}
Migration defines database migration settings. This message was extracted from mysql.proto for better modularity.
func (*Migration) Descriptor
deprecated
func (*Migration) GetEnabled ¶
func (*Migration) GetVersion ¶
func (*Migration) ProtoMessage ¶
func (*Migration) ProtoMessage()
func (*Migration) ProtoReflect ¶
func (x *Migration) ProtoReflect() protoreflect.Message
func (*Migration) Validate ¶
Validate checks the field values on Migration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Migration) ValidateAll ¶
ValidateAll checks the field values on Migration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MigrationMultiError, or nil if none found.
type MigrationMultiError ¶
type MigrationMultiError []error
MigrationMultiError is an error wrapping multiple validation errors returned by Migration.ValidateAll() if the designated constraints aren't met.
func (MigrationMultiError) AllErrors ¶
func (m MigrationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MigrationMultiError) Error ¶
func (m MigrationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MigrationValidationError ¶
type MigrationValidationError struct {
// contains filtered or unexported fields
}
MigrationValidationError is the validation error returned by Migration.Validate if the designated constraints aren't met.
func (MigrationValidationError) Cause ¶
func (e MigrationValidationError) Cause() error
Cause function returns cause value.
func (MigrationValidationError) Error ¶
func (e MigrationValidationError) Error() string
Error satisfies the builtin error interface
func (MigrationValidationError) ErrorName ¶
func (e MigrationValidationError) ErrorName() string
ErrorName returns error name.
func (MigrationValidationError) Field ¶
func (e MigrationValidationError) Field() string
Field function returns field value.
func (MigrationValidationError) Key ¶
func (e MigrationValidationError) Key() bool
Key function returns key value.
func (MigrationValidationError) Reason ¶
func (e MigrationValidationError) Reason() string
Reason function returns reason value.
type MkdirRequest ¶
type MkdirRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*MkdirRequest) Descriptor
deprecated
func (*MkdirRequest) Descriptor() ([]byte, []int)
Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead.
func (*MkdirRequest) GetPath ¶
func (x *MkdirRequest) GetPath() string
func (*MkdirRequest) ProtoMessage ¶
func (*MkdirRequest) ProtoMessage()
func (*MkdirRequest) ProtoReflect ¶
func (x *MkdirRequest) ProtoReflect() protoreflect.Message
func (*MkdirRequest) Reset ¶
func (x *MkdirRequest) Reset()
func (*MkdirRequest) String ¶
func (x *MkdirRequest) String() string
func (*MkdirRequest) Validate ¶
func (m *MkdirRequest) Validate() error
Validate checks the field values on MkdirRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MkdirRequest) ValidateAll ¶
func (m *MkdirRequest) ValidateAll() error
ValidateAll checks the field values on MkdirRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MkdirRequestMultiError, or nil if none found.
type MkdirRequestMultiError ¶
type MkdirRequestMultiError []error
MkdirRequestMultiError is an error wrapping multiple validation errors returned by MkdirRequest.ValidateAll() if the designated constraints aren't met.
func (MkdirRequestMultiError) AllErrors ¶
func (m MkdirRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MkdirRequestMultiError) Error ¶
func (m MkdirRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MkdirRequestValidationError ¶
type MkdirRequestValidationError struct {
// contains filtered or unexported fields
}
MkdirRequestValidationError is the validation error returned by MkdirRequest.Validate if the designated constraints aren't met.
func (MkdirRequestValidationError) Cause ¶
func (e MkdirRequestValidationError) Cause() error
Cause function returns cause value.
func (MkdirRequestValidationError) Error ¶
func (e MkdirRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MkdirRequestValidationError) ErrorName ¶
func (e MkdirRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MkdirRequestValidationError) Field ¶
func (e MkdirRequestValidationError) Field() string
Field function returns field value.
func (MkdirRequestValidationError) Key ¶
func (e MkdirRequestValidationError) Key() bool
Key function returns key value.
func (MkdirRequestValidationError) Reason ¶
func (e MkdirRequestValidationError) Reason() string
Reason function returns reason value.
type MkdirResponse ¶
type MkdirResponse struct {
// contains filtered or unexported fields
}
func (*MkdirResponse) Descriptor
deprecated
func (*MkdirResponse) Descriptor() ([]byte, []int)
Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead.
func (*MkdirResponse) ProtoMessage ¶
func (*MkdirResponse) ProtoMessage()
func (*MkdirResponse) ProtoReflect ¶
func (x *MkdirResponse) ProtoReflect() protoreflect.Message
func (*MkdirResponse) Reset ¶
func (x *MkdirResponse) Reset()
func (*MkdirResponse) String ¶
func (x *MkdirResponse) String() string
func (*MkdirResponse) Validate ¶
func (m *MkdirResponse) Validate() error
Validate checks the field values on MkdirResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MkdirResponse) ValidateAll ¶
func (m *MkdirResponse) ValidateAll() error
ValidateAll checks the field values on MkdirResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MkdirResponseMultiError, or nil if none found.
type MkdirResponseMultiError ¶
type MkdirResponseMultiError []error
MkdirResponseMultiError is an error wrapping multiple validation errors returned by MkdirResponse.ValidateAll() if the designated constraints aren't met.
func (MkdirResponseMultiError) AllErrors ¶
func (m MkdirResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MkdirResponseMultiError) Error ¶
func (m MkdirResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MkdirResponseValidationError ¶
type MkdirResponseValidationError struct {
// contains filtered or unexported fields
}
MkdirResponseValidationError is the validation error returned by MkdirResponse.Validate if the designated constraints aren't met.
func (MkdirResponseValidationError) Cause ¶
func (e MkdirResponseValidationError) Cause() error
Cause function returns cause value.
func (MkdirResponseValidationError) Error ¶
func (e MkdirResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MkdirResponseValidationError) ErrorName ¶
func (e MkdirResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MkdirResponseValidationError) Field ¶
func (e MkdirResponseValidationError) Field() string
Field function returns field value.
func (MkdirResponseValidationError) Key ¶
func (e MkdirResponseValidationError) Key() bool
Key function returns key value.
func (MkdirResponseValidationError) Reason ¶
func (e MkdirResponseValidationError) Reason() string
Reason function returns reason value.
type MongoConfig ¶
type MongoConfig struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
AuthSource bool `protobuf:"varint,5,opt,name=auth_source,proto3" json:"auth_source,omitempty"`
MaxPoolSize int32 `protobuf:"varint,6,opt,name=max_pool_size,proto3" json:"max_pool_size,omitempty"`
MinPoolSize int32 `protobuf:"varint,7,opt,name=min_pool_size,proto3" json:"min_pool_size,omitempty"`
ConnectTimeout int64 `protobuf:"varint,8,opt,name=connect_timeout,proto3" json:"connect_timeout,omitempty"`
// contains filtered or unexported fields
}
MongoConfig defines the configuration for a MongoDB connection. This message was extracted from storage.proto and renamed for consistency.
func (*MongoConfig) Descriptor
deprecated
func (*MongoConfig) Descriptor() ([]byte, []int)
Deprecated: Use MongoConfig.ProtoReflect.Descriptor instead.
func (*MongoConfig) GetAuthSource ¶
func (x *MongoConfig) GetAuthSource() bool
func (*MongoConfig) GetConnectTimeout ¶
func (x *MongoConfig) GetConnectTimeout() int64
func (*MongoConfig) GetDatabase ¶
func (x *MongoConfig) GetDatabase() string
func (*MongoConfig) GetMaxPoolSize ¶
func (x *MongoConfig) GetMaxPoolSize() int32
func (*MongoConfig) GetMinPoolSize ¶
func (x *MongoConfig) GetMinPoolSize() int32
func (*MongoConfig) GetPassword ¶
func (x *MongoConfig) GetPassword() string
func (*MongoConfig) GetUri ¶
func (x *MongoConfig) GetUri() string
func (*MongoConfig) GetUsername ¶
func (x *MongoConfig) GetUsername() string
func (*MongoConfig) ProtoMessage ¶
func (*MongoConfig) ProtoMessage()
func (*MongoConfig) ProtoReflect ¶
func (x *MongoConfig) ProtoReflect() protoreflect.Message
func (*MongoConfig) Reset ¶
func (x *MongoConfig) Reset()
func (*MongoConfig) String ¶
func (x *MongoConfig) String() string
func (*MongoConfig) Validate ¶
func (m *MongoConfig) Validate() error
Validate checks the field values on MongoConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MongoConfig) ValidateAll ¶
func (m *MongoConfig) ValidateAll() error
ValidateAll checks the field values on MongoConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MongoConfigMultiError, or nil if none found.
type MongoConfigMultiError ¶
type MongoConfigMultiError []error
MongoConfigMultiError is an error wrapping multiple validation errors returned by MongoConfig.ValidateAll() if the designated constraints aren't met.
func (MongoConfigMultiError) AllErrors ¶
func (m MongoConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MongoConfigMultiError) Error ¶
func (m MongoConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MongoConfigValidationError ¶
type MongoConfigValidationError struct {
// contains filtered or unexported fields
}
MongoConfigValidationError is the validation error returned by MongoConfig.Validate if the designated constraints aren't met.
func (MongoConfigValidationError) Cause ¶
func (e MongoConfigValidationError) Cause() error
Cause function returns cause value.
func (MongoConfigValidationError) Error ¶
func (e MongoConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MongoConfigValidationError) ErrorName ¶
func (e MongoConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MongoConfigValidationError) Field ¶
func (e MongoConfigValidationError) Field() string
Field function returns field value.
func (MongoConfigValidationError) Key ¶
func (e MongoConfigValidationError) Key() bool
Key function returns key value.
func (MongoConfigValidationError) Reason ¶
func (e MongoConfigValidationError) Reason() string
Reason function returns reason value.
type NoncurrentVersionExpiration ¶
type NoncurrentVersionExpiration struct {
// Number of days after the object becomes noncurrent when it expires.
NoncurrentDays int32 `protobuf:"varint,1,opt,name=noncurrent_days,proto3" json:"noncurrent_days,omitempty"`
// contains filtered or unexported fields
}
NoncurrentVersionExpiration defines when noncurrent object versions expire.
func (*NoncurrentVersionExpiration) Descriptor
deprecated
func (*NoncurrentVersionExpiration) Descriptor() ([]byte, []int)
Deprecated: Use NoncurrentVersionExpiration.ProtoReflect.Descriptor instead.
func (*NoncurrentVersionExpiration) GetNoncurrentDays ¶
func (x *NoncurrentVersionExpiration) GetNoncurrentDays() int32
func (*NoncurrentVersionExpiration) ProtoMessage ¶
func (*NoncurrentVersionExpiration) ProtoMessage()
func (*NoncurrentVersionExpiration) ProtoReflect ¶
func (x *NoncurrentVersionExpiration) ProtoReflect() protoreflect.Message
func (*NoncurrentVersionExpiration) Reset ¶
func (x *NoncurrentVersionExpiration) Reset()
func (*NoncurrentVersionExpiration) String ¶
func (x *NoncurrentVersionExpiration) String() string
func (*NoncurrentVersionExpiration) Validate ¶
func (m *NoncurrentVersionExpiration) Validate() error
Validate checks the field values on NoncurrentVersionExpiration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NoncurrentVersionExpiration) ValidateAll ¶
func (m *NoncurrentVersionExpiration) ValidateAll() error
ValidateAll checks the field values on NoncurrentVersionExpiration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NoncurrentVersionExpirationMultiError, or nil if none found.
type NoncurrentVersionExpirationMultiError ¶
type NoncurrentVersionExpirationMultiError []error
NoncurrentVersionExpirationMultiError is an error wrapping multiple validation errors returned by NoncurrentVersionExpiration.ValidateAll() if the designated constraints aren't met.
func (NoncurrentVersionExpirationMultiError) AllErrors ¶
func (m NoncurrentVersionExpirationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NoncurrentVersionExpirationMultiError) Error ¶
func (m NoncurrentVersionExpirationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NoncurrentVersionExpirationValidationError ¶
type NoncurrentVersionExpirationValidationError struct {
// contains filtered or unexported fields
}
NoncurrentVersionExpirationValidationError is the validation error returned by NoncurrentVersionExpiration.Validate if the designated constraints aren't met.
func (NoncurrentVersionExpirationValidationError) Cause ¶
func (e NoncurrentVersionExpirationValidationError) Cause() error
Cause function returns cause value.
func (NoncurrentVersionExpirationValidationError) Error ¶
func (e NoncurrentVersionExpirationValidationError) Error() string
Error satisfies the builtin error interface
func (NoncurrentVersionExpirationValidationError) ErrorName ¶
func (e NoncurrentVersionExpirationValidationError) ErrorName() string
ErrorName returns error name.
func (NoncurrentVersionExpirationValidationError) Field ¶
func (e NoncurrentVersionExpirationValidationError) Field() string
Field function returns field value.
func (NoncurrentVersionExpirationValidationError) Key ¶
func (e NoncurrentVersionExpirationValidationError) Key() bool
Key function returns key value.
func (NoncurrentVersionExpirationValidationError) Reason ¶
func (e NoncurrentVersionExpirationValidationError) Reason() string
Reason function returns reason value.
type OssConfig ¶
type OssConfig struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
AccessKeyId string `protobuf:"bytes,2,opt,name=access_key_id,proto3" json:"access_key_id,omitempty"`
AccessKeySecret string `protobuf:"bytes,3,opt,name=access_key_secret,proto3" json:"access_key_secret,omitempty"`
Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"`
Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
Ssl bool `protobuf:"varint,6,opt,name=ssl,proto3" json:"ssl,omitempty"`
ConnectTimeout int64 `protobuf:"varint,7,opt,name=connect_timeout,proto3" json:"connect_timeout,omitempty"`
ReadTimeout int64 `protobuf:"varint,8,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"`
// Optional: Bucket policy configuration.
BucketPolicy *BucketPolicy `protobuf:"bytes,9,opt,name=bucket_policy,proto3,oneof" json:"bucket_policy,omitempty"`
// Optional: Lifecycle management rules.
LifecycleRules []*LifecycleRule `protobuf:"bytes,10,rep,name=lifecycle_rules,proto3" json:"lifecycle_rules,omitempty"`
// Optional: Versioning configuration.
VersioningEnabled *bool `protobuf:"varint,11,opt,name=versioning_enabled,proto3,oneof" json:"versioning_enabled,omitempty"`
// contains filtered or unexported fields
}
OssConfig defines the configuration for cloud object storage. This message was extracted from storage.proto and renamed for consistency.
func (*OssConfig) Descriptor
deprecated
func (*OssConfig) GetAccessKeyId ¶
func (*OssConfig) GetAccessKeySecret ¶
func (*OssConfig) GetBucketPolicy ¶
func (x *OssConfig) GetBucketPolicy() *BucketPolicy
func (*OssConfig) GetConnectTimeout ¶
func (*OssConfig) GetEndpoint ¶
func (*OssConfig) GetLifecycleRules ¶
func (x *OssConfig) GetLifecycleRules() []*LifecycleRule
func (*OssConfig) GetReadTimeout ¶
func (*OssConfig) GetVersioningEnabled ¶
func (*OssConfig) ProtoMessage ¶
func (*OssConfig) ProtoMessage()
func (*OssConfig) ProtoReflect ¶
func (x *OssConfig) ProtoReflect() protoreflect.Message
func (*OssConfig) Validate ¶
Validate checks the field values on OssConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*OssConfig) ValidateAll ¶
ValidateAll checks the field values on OssConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OssConfigMultiError, or nil if none found.
type OssConfigMultiError ¶
type OssConfigMultiError []error
OssConfigMultiError is an error wrapping multiple validation errors returned by OssConfig.ValidateAll() if the designated constraints aren't met.
func (OssConfigMultiError) AllErrors ¶
func (m OssConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OssConfigMultiError) Error ¶
func (m OssConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OssConfigValidationError ¶
type OssConfigValidationError struct {
// contains filtered or unexported fields
}
OssConfigValidationError is the validation error returned by OssConfig.Validate if the designated constraints aren't met.
func (OssConfigValidationError) Cause ¶
func (e OssConfigValidationError) Cause() error
Cause function returns cause value.
func (OssConfigValidationError) Error ¶
func (e OssConfigValidationError) Error() string
Error satisfies the builtin error interface
func (OssConfigValidationError) ErrorName ¶
func (e OssConfigValidationError) ErrorName() string
ErrorName returns error name.
func (OssConfigValidationError) Field ¶
func (e OssConfigValidationError) Field() string
Field function returns field value.
func (OssConfigValidationError) Key ¶
func (e OssConfigValidationError) Key() bool
Key function returns key value.
func (OssConfigValidationError) Reason ¶
func (e OssConfigValidationError) Reason() string
Reason function returns reason value.
type ReadRequest ¶
type ReadRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*ReadRequest) Descriptor
deprecated
func (*ReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.
func (*ReadRequest) GetPath ¶
func (x *ReadRequest) GetPath() string
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) ProtoReflect ¶
func (x *ReadRequest) ProtoReflect() protoreflect.Message
func (*ReadRequest) Reset ¶
func (x *ReadRequest) Reset()
func (*ReadRequest) String ¶
func (x *ReadRequest) String() string
func (*ReadRequest) Validate ¶
func (m *ReadRequest) Validate() error
Validate checks the field values on ReadRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadRequest) ValidateAll ¶
func (m *ReadRequest) ValidateAll() error
ValidateAll checks the field values on ReadRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadRequestMultiError, or nil if none found.
type ReadRequestMultiError ¶
type ReadRequestMultiError []error
ReadRequestMultiError is an error wrapping multiple validation errors returned by ReadRequest.ValidateAll() if the designated constraints aren't met.
func (ReadRequestMultiError) AllErrors ¶
func (m ReadRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadRequestMultiError) Error ¶
func (m ReadRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadRequestValidationError ¶
type ReadRequestValidationError struct {
// contains filtered or unexported fields
}
ReadRequestValidationError is the validation error returned by ReadRequest.Validate if the designated constraints aren't met.
func (ReadRequestValidationError) Cause ¶
func (e ReadRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadRequestValidationError) Error ¶
func (e ReadRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadRequestValidationError) ErrorName ¶
func (e ReadRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadRequestValidationError) Field ¶
func (e ReadRequestValidationError) Field() string
Field function returns field value.
func (ReadRequestValidationError) Key ¶
func (e ReadRequestValidationError) Key() bool
Key function returns key value.
func (ReadRequestValidationError) Reason ¶
func (e ReadRequestValidationError) Reason() string
Reason function returns reason value.
type ReadResponse ¶
type ReadResponse struct {
Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
// contains filtered or unexported fields
}
func (*ReadResponse) Descriptor
deprecated
func (*ReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.
func (*ReadResponse) GetChunk ¶
func (x *ReadResponse) GetChunk() []byte
func (*ReadResponse) ProtoMessage ¶
func (*ReadResponse) ProtoMessage()
func (*ReadResponse) ProtoReflect ¶
func (x *ReadResponse) ProtoReflect() protoreflect.Message
func (*ReadResponse) Reset ¶
func (x *ReadResponse) Reset()
func (*ReadResponse) String ¶
func (x *ReadResponse) String() string
func (*ReadResponse) Validate ¶
func (m *ReadResponse) Validate() error
Validate checks the field values on ReadResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadResponse) ValidateAll ¶
func (m *ReadResponse) ValidateAll() error
ValidateAll checks the field values on ReadResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadResponseMultiError, or nil if none found.
type ReadResponseMultiError ¶
type ReadResponseMultiError []error
ReadResponseMultiError is an error wrapping multiple validation errors returned by ReadResponse.ValidateAll() if the designated constraints aren't met.
func (ReadResponseMultiError) AllErrors ¶
func (m ReadResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadResponseMultiError) Error ¶
func (m ReadResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadResponseValidationError ¶
type ReadResponseValidationError struct {
// contains filtered or unexported fields
}
ReadResponseValidationError is the validation error returned by ReadResponse.Validate if the designated constraints aren't met.
func (ReadResponseValidationError) Cause ¶
func (e ReadResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadResponseValidationError) Error ¶
func (e ReadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadResponseValidationError) ErrorName ¶
func (e ReadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadResponseValidationError) Field ¶
func (e ReadResponseValidationError) Field() string
Field function returns field value.
func (ReadResponseValidationError) Key ¶
func (e ReadResponseValidationError) Key() bool
Key function returns key value.
func (ReadResponseValidationError) Reason ¶
func (e ReadResponseValidationError) Reason() string
Reason function returns reason value.
type RedisConfig ¶
type RedisConfig struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
Db int32 `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"`
DialTimeout int64 `protobuf:"varint,5,opt,name=dial_timeout,proto3" json:"dial_timeout,omitempty"`
ReadTimeout int64 `protobuf:"varint,6,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"`
WriteTimeout int64 `protobuf:"varint,7,opt,name=write_timeout,proto3" json:"write_timeout,omitempty"`
// Maximum number of connections in the connection pool.
PoolSize *int32 `protobuf:"varint,8,opt,name=pool_size,proto3,oneof" json:"pool_size,omitempty"`
// Minimum number of idle connections in the connection pool.
MinIdleConns *int32 `protobuf:"varint,9,opt,name=min_idle_conns,proto3,oneof" json:"min_idle_conns,omitempty"`
// Maximum duration a connection can be idle before being closed.
IdleTimeout *int64 `protobuf:"varint,10,opt,name=idle_timeout,proto3,oneof" json:"idle_timeout,omitempty"`
// Maximum duration to wait for a connection from the pool.
PoolTimeout *int64 `protobuf:"varint,11,opt,name=pool_timeout,proto3,oneof" json:"pool_timeout,omitempty"`
// Whether to enable TLS.
TlsEnabled *bool `protobuf:"varint,12,opt,name=tls_enabled,proto3,oneof" json:"tls_enabled,omitempty"`
// Path to TLS client certificate file.
TlsClientCertFile *string `protobuf:"bytes,13,opt,name=tls_client_cert_file,proto3,oneof" json:"tls_client_cert_file,omitempty"`
// Path to TLS client key file.
TlsClientKeyFile *string `protobuf:"bytes,14,opt,name=tls_client_key_file,proto3,oneof" json:"tls_client_key_file,omitempty"`
// Path to TLS CA certificate file.
TlsCaCertFile *string `protobuf:"bytes,15,opt,name=tls_ca_cert_file,proto3,oneof" json:"tls_ca_cert_file,omitempty"`
// Whether to enable TLS insecure skip verify.
TlsInsecureSkipVerify *bool `protobuf:"varint,16,opt,name=tls_insecure_skip_verify,proto3,oneof" json:"tls_insecure_skip_verify,omitempty"`
// contains filtered or unexported fields
}
RedisConfig defines the configuration for a Redis client used as a data store (e.g., cache, key-value store).
func (*RedisConfig) Descriptor
deprecated
func (*RedisConfig) Descriptor() ([]byte, []int)
Deprecated: Use RedisConfig.ProtoReflect.Descriptor instead.
func (*RedisConfig) GetAddr ¶
func (x *RedisConfig) GetAddr() string
func (*RedisConfig) GetDb ¶
func (x *RedisConfig) GetDb() int32
func (*RedisConfig) GetDialTimeout ¶
func (x *RedisConfig) GetDialTimeout() int64
func (*RedisConfig) GetIdleTimeout ¶
func (x *RedisConfig) GetIdleTimeout() int64
func (*RedisConfig) GetMinIdleConns ¶
func (x *RedisConfig) GetMinIdleConns() int32
func (*RedisConfig) GetNetwork ¶
func (x *RedisConfig) GetNetwork() string
func (*RedisConfig) GetPassword ¶
func (x *RedisConfig) GetPassword() string
func (*RedisConfig) GetPoolSize ¶
func (x *RedisConfig) GetPoolSize() int32
func (*RedisConfig) GetPoolTimeout ¶
func (x *RedisConfig) GetPoolTimeout() int64
func (*RedisConfig) GetReadTimeout ¶
func (x *RedisConfig) GetReadTimeout() int64
func (*RedisConfig) GetTlsCaCertFile ¶
func (x *RedisConfig) GetTlsCaCertFile() string
func (*RedisConfig) GetTlsClientCertFile ¶
func (x *RedisConfig) GetTlsClientCertFile() string
func (*RedisConfig) GetTlsClientKeyFile ¶
func (x *RedisConfig) GetTlsClientKeyFile() string
func (*RedisConfig) GetTlsEnabled ¶
func (x *RedisConfig) GetTlsEnabled() bool
func (*RedisConfig) GetTlsInsecureSkipVerify ¶
func (x *RedisConfig) GetTlsInsecureSkipVerify() bool
func (*RedisConfig) GetWriteTimeout ¶
func (x *RedisConfig) GetWriteTimeout() int64
func (*RedisConfig) ProtoMessage ¶
func (*RedisConfig) ProtoMessage()
func (*RedisConfig) ProtoReflect ¶
func (x *RedisConfig) ProtoReflect() protoreflect.Message
func (*RedisConfig) Reset ¶
func (x *RedisConfig) Reset()
func (*RedisConfig) String ¶
func (x *RedisConfig) String() string
func (*RedisConfig) Validate ¶
func (m *RedisConfig) Validate() error
Validate checks the field values on RedisConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RedisConfig) ValidateAll ¶
func (m *RedisConfig) ValidateAll() error
ValidateAll checks the field values on RedisConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RedisConfigMultiError, or nil if none found.
type RedisConfigMultiError ¶
type RedisConfigMultiError []error
RedisConfigMultiError is an error wrapping multiple validation errors returned by RedisConfig.ValidateAll() if the designated constraints aren't met.
func (RedisConfigMultiError) AllErrors ¶
func (m RedisConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RedisConfigMultiError) Error ¶
func (m RedisConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RedisConfigValidationError ¶
type RedisConfigValidationError struct {
// contains filtered or unexported fields
}
RedisConfigValidationError is the validation error returned by RedisConfig.Validate if the designated constraints aren't met.
func (RedisConfigValidationError) Cause ¶
func (e RedisConfigValidationError) Cause() error
Cause function returns cause value.
func (RedisConfigValidationError) Error ¶
func (e RedisConfigValidationError) Error() string
Error satisfies the builtin error interface
func (RedisConfigValidationError) ErrorName ¶
func (e RedisConfigValidationError) ErrorName() string
ErrorName returns error name.
func (RedisConfigValidationError) Field ¶
func (e RedisConfigValidationError) Field() string
Field function returns field value.
func (RedisConfigValidationError) Key ¶
func (e RedisConfigValidationError) Key() bool
Key function returns key value.
func (RedisConfigValidationError) Reason ¶
func (e RedisConfigValidationError) Reason() string
Reason function returns reason value.
type RenameRequest ¶
type RenameRequest struct {
FromPath string `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"`
ToPath string `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"`
// contains filtered or unexported fields
}
func (*RenameRequest) Descriptor
deprecated
func (*RenameRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameRequest.ProtoReflect.Descriptor instead.
func (*RenameRequest) GetFromPath ¶
func (x *RenameRequest) GetFromPath() string
func (*RenameRequest) GetToPath ¶
func (x *RenameRequest) GetToPath() string
func (*RenameRequest) ProtoMessage ¶
func (*RenameRequest) ProtoMessage()
func (*RenameRequest) ProtoReflect ¶
func (x *RenameRequest) ProtoReflect() protoreflect.Message
func (*RenameRequest) Reset ¶
func (x *RenameRequest) Reset()
func (*RenameRequest) String ¶
func (x *RenameRequest) String() string
func (*RenameRequest) Validate ¶
func (m *RenameRequest) Validate() error
Validate checks the field values on RenameRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RenameRequest) ValidateAll ¶
func (m *RenameRequest) ValidateAll() error
ValidateAll checks the field values on RenameRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RenameRequestMultiError, or nil if none found.
type RenameRequestMultiError ¶
type RenameRequestMultiError []error
RenameRequestMultiError is an error wrapping multiple validation errors returned by RenameRequest.ValidateAll() if the designated constraints aren't met.
func (RenameRequestMultiError) AllErrors ¶
func (m RenameRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RenameRequestMultiError) Error ¶
func (m RenameRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RenameRequestValidationError ¶
type RenameRequestValidationError struct {
// contains filtered or unexported fields
}
RenameRequestValidationError is the validation error returned by RenameRequest.Validate if the designated constraints aren't met.
func (RenameRequestValidationError) Cause ¶
func (e RenameRequestValidationError) Cause() error
Cause function returns cause value.
func (RenameRequestValidationError) Error ¶
func (e RenameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RenameRequestValidationError) ErrorName ¶
func (e RenameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RenameRequestValidationError) Field ¶
func (e RenameRequestValidationError) Field() string
Field function returns field value.
func (RenameRequestValidationError) Key ¶
func (e RenameRequestValidationError) Key() bool
Key function returns key value.
func (RenameRequestValidationError) Reason ¶
func (e RenameRequestValidationError) Reason() string
Reason function returns reason value.
type RenameResponse ¶
type RenameResponse struct {
// contains filtered or unexported fields
}
func (*RenameResponse) Descriptor
deprecated
func (*RenameResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameResponse.ProtoReflect.Descriptor instead.
func (*RenameResponse) ProtoMessage ¶
func (*RenameResponse) ProtoMessage()
func (*RenameResponse) ProtoReflect ¶
func (x *RenameResponse) ProtoReflect() protoreflect.Message
func (*RenameResponse) Reset ¶
func (x *RenameResponse) Reset()
func (*RenameResponse) String ¶
func (x *RenameResponse) String() string
func (*RenameResponse) Validate ¶
func (m *RenameResponse) Validate() error
Validate checks the field values on RenameResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RenameResponse) ValidateAll ¶
func (m *RenameResponse) ValidateAll() error
ValidateAll checks the field values on RenameResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RenameResponseMultiError, or nil if none found.
type RenameResponseMultiError ¶
type RenameResponseMultiError []error
RenameResponseMultiError is an error wrapping multiple validation errors returned by RenameResponse.ValidateAll() if the designated constraints aren't met.
func (RenameResponseMultiError) AllErrors ¶
func (m RenameResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RenameResponseMultiError) Error ¶
func (m RenameResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RenameResponseValidationError ¶
type RenameResponseValidationError struct {
// contains filtered or unexported fields
}
RenameResponseValidationError is the validation error returned by RenameResponse.Validate if the designated constraints aren't met.
func (RenameResponseValidationError) Cause ¶
func (e RenameResponseValidationError) Cause() error
Cause function returns cause value.
func (RenameResponseValidationError) Error ¶
func (e RenameResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RenameResponseValidationError) ErrorName ¶
func (e RenameResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RenameResponseValidationError) Field ¶
func (e RenameResponseValidationError) Field() string
Field function returns field value.
func (RenameResponseValidationError) Key ¶
func (e RenameResponseValidationError) Key() bool
Key function returns key value.
func (RenameResponseValidationError) Reason ¶
func (e RenameResponseValidationError) Reason() string
Reason function returns reason value.
type StatRequest ¶
type StatRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*StatRequest) Descriptor
deprecated
func (*StatRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatRequest.ProtoReflect.Descriptor instead.
func (*StatRequest) GetPath ¶
func (x *StatRequest) GetPath() string
func (*StatRequest) ProtoMessage ¶
func (*StatRequest) ProtoMessage()
func (*StatRequest) ProtoReflect ¶
func (x *StatRequest) ProtoReflect() protoreflect.Message
func (*StatRequest) Reset ¶
func (x *StatRequest) Reset()
func (*StatRequest) String ¶
func (x *StatRequest) String() string
func (*StatRequest) Validate ¶
func (m *StatRequest) Validate() error
Validate checks the field values on StatRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatRequest) ValidateAll ¶
func (m *StatRequest) ValidateAll() error
ValidateAll checks the field values on StatRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatRequestMultiError, or nil if none found.
type StatRequestMultiError ¶
type StatRequestMultiError []error
StatRequestMultiError is an error wrapping multiple validation errors returned by StatRequest.ValidateAll() if the designated constraints aren't met.
func (StatRequestMultiError) AllErrors ¶
func (m StatRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatRequestMultiError) Error ¶
func (m StatRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatRequestValidationError ¶
type StatRequestValidationError struct {
// contains filtered or unexported fields
}
StatRequestValidationError is the validation error returned by StatRequest.Validate if the designated constraints aren't met.
func (StatRequestValidationError) Cause ¶
func (e StatRequestValidationError) Cause() error
Cause function returns cause value.
func (StatRequestValidationError) Error ¶
func (e StatRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatRequestValidationError) ErrorName ¶
func (e StatRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatRequestValidationError) Field ¶
func (e StatRequestValidationError) Field() string
Field function returns field value.
func (StatRequestValidationError) Key ¶
func (e StatRequestValidationError) Key() bool
Key function returns key value.
func (StatRequestValidationError) Reason ¶
func (e StatRequestValidationError) Reason() string
Reason function returns reason value.
type StatResponse ¶
type StatResponse struct {
File *FileInfo `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*StatResponse) Descriptor
deprecated
func (*StatResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatResponse.ProtoReflect.Descriptor instead.
func (*StatResponse) GetFile ¶
func (x *StatResponse) GetFile() *FileInfo
func (*StatResponse) ProtoMessage ¶
func (*StatResponse) ProtoMessage()
func (*StatResponse) ProtoReflect ¶
func (x *StatResponse) ProtoReflect() protoreflect.Message
func (*StatResponse) Reset ¶
func (x *StatResponse) Reset()
func (*StatResponse) String ¶
func (x *StatResponse) String() string
func (*StatResponse) Validate ¶
func (m *StatResponse) Validate() error
Validate checks the field values on StatResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatResponse) ValidateAll ¶
func (m *StatResponse) ValidateAll() error
ValidateAll checks the field values on StatResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatResponseMultiError, or nil if none found.
type StatResponseMultiError ¶
type StatResponseMultiError []error
StatResponseMultiError is an error wrapping multiple validation errors returned by StatResponse.ValidateAll() if the designated constraints aren't met.
func (StatResponseMultiError) AllErrors ¶
func (m StatResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatResponseMultiError) Error ¶
func (m StatResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatResponseValidationError ¶
type StatResponseValidationError struct {
// contains filtered or unexported fields
}
StatResponseValidationError is the validation error returned by StatResponse.Validate if the designated constraints aren't met.
func (StatResponseValidationError) Cause ¶
func (e StatResponseValidationError) Cause() error
Cause function returns cause value.
func (StatResponseValidationError) Error ¶
func (e StatResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatResponseValidationError) ErrorName ¶
func (e StatResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatResponseValidationError) Field ¶
func (e StatResponseValidationError) Field() string
Field function returns field value.
func (StatResponseValidationError) Key ¶
func (e StatResponseValidationError) Key() bool
Key function returns key value.
func (StatResponseValidationError) Reason ¶
func (e StatResponseValidationError) Reason() string
Reason function returns reason value.
type StorageServiceClient ¶
type StorageServiceClient interface {
// List files and directories at a given path.
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
// Get information about a single file or directory.
Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error)
// Create a new directory.
Mkdir(ctx context.Context, in *MkdirRequest, opts ...grpc.CallOption) (*MkdirResponse, error)
// Delete a file or directory.
Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
// Rename or move a file or directory.
Rename(ctx context.Context, in *RenameRequest, opts ...grpc.CallOption) (*RenameResponse, error)
// Read a file's content as a stream.
Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ReadResponse], error)
// Write a file's content via a stream.
// NOTE: This is suitable for reliable networks. For client-side uploads,
// use the chunked upload methods.
Write(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[WriteRequest, WriteResponse], error)
// Initiates a new chunked upload and returns an upload_id.
InitiateUpload(ctx context.Context, in *InitiateUploadRequest, opts ...grpc.CallOption) (*InitiateUploadResponse, error)
// Uploads a chunk of data for a given upload_id.
// NOTE: gRPC-Gateway does not support client-streaming RPCs well for file uploads.
// This RPC should be called directly via gRPC or a custom HTTP handler.
UploadChunk(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[UploadChunkRequest, UploadChunkResponse], error)
// Finalizes a chunked upload, assembling the chunks into the final file.
FinalizeUpload(ctx context.Context, in *FinalizeUploadRequest, opts ...grpc.CallOption) (*FinalizeUploadResponse, error)
}
StorageServiceClient is the client API for StorageService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
StorageService defines the operations for file and directory manipulation.
func NewStorageServiceClient ¶
func NewStorageServiceClient(cc grpc.ClientConnInterface) StorageServiceClient
type StorageServiceHTTPClient ¶
type StorageServiceHTTPClient interface {
Delete(ctx context.Context, req *DeleteRequest, opts ...http.CallOption) (rsp *DeleteResponse, err error)
FinalizeUpload(ctx context.Context, req *FinalizeUploadRequest, opts ...http.CallOption) (rsp *FinalizeUploadResponse, err error)
InitiateUpload(ctx context.Context, req *InitiateUploadRequest, opts ...http.CallOption) (rsp *InitiateUploadResponse, err error)
List(ctx context.Context, req *ListRequest, opts ...http.CallOption) (rsp *ListResponse, err error)
Mkdir(ctx context.Context, req *MkdirRequest, opts ...http.CallOption) (rsp *MkdirResponse, err error)
Rename(ctx context.Context, req *RenameRequest, opts ...http.CallOption) (rsp *RenameResponse, err error)
Stat(ctx context.Context, req *StatRequest, opts ...http.CallOption) (rsp *StatResponse, err error)
}
func NewStorageServiceHTTPClient ¶
func NewStorageServiceHTTPClient(client *http.Client) StorageServiceHTTPClient
type StorageServiceHTTPClientImpl ¶
type StorageServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*StorageServiceHTTPClientImpl) Delete ¶
func (c *StorageServiceHTTPClientImpl) Delete(ctx context.Context, in *DeleteRequest, opts ...http.CallOption) (*DeleteResponse, error)
func (*StorageServiceHTTPClientImpl) FinalizeUpload ¶
func (c *StorageServiceHTTPClientImpl) FinalizeUpload(ctx context.Context, in *FinalizeUploadRequest, opts ...http.CallOption) (*FinalizeUploadResponse, error)
func (*StorageServiceHTTPClientImpl) InitiateUpload ¶
func (c *StorageServiceHTTPClientImpl) InitiateUpload(ctx context.Context, in *InitiateUploadRequest, opts ...http.CallOption) (*InitiateUploadResponse, error)
func (*StorageServiceHTTPClientImpl) List ¶
func (c *StorageServiceHTTPClientImpl) List(ctx context.Context, in *ListRequest, opts ...http.CallOption) (*ListResponse, error)
func (*StorageServiceHTTPClientImpl) Mkdir ¶
func (c *StorageServiceHTTPClientImpl) Mkdir(ctx context.Context, in *MkdirRequest, opts ...http.CallOption) (*MkdirResponse, error)
func (*StorageServiceHTTPClientImpl) Rename ¶
func (c *StorageServiceHTTPClientImpl) Rename(ctx context.Context, in *RenameRequest, opts ...http.CallOption) (*RenameResponse, error)
func (*StorageServiceHTTPClientImpl) Stat ¶
func (c *StorageServiceHTTPClientImpl) Stat(ctx context.Context, in *StatRequest, opts ...http.CallOption) (*StatResponse, error)
type StorageServiceHTTPServer ¶
type StorageServiceHTTPServer interface {
// Delete Delete a file or directory.
Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
// FinalizeUpload Finalizes a chunked upload, assembling the chunks into the final file.
FinalizeUpload(context.Context, *FinalizeUploadRequest) (*FinalizeUploadResponse, error)
// InitiateUpload Initiates a new chunked upload and returns an upload_id.
InitiateUpload(context.Context, *InitiateUploadRequest) (*InitiateUploadResponse, error)
// List List files and directories at a given path.
List(context.Context, *ListRequest) (*ListResponse, error)
// Mkdir Create a new directory.
Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error)
// Rename Rename or move a file or directory.
Rename(context.Context, *RenameRequest) (*RenameResponse, error)
// Stat Get information about a single file or directory.
Stat(context.Context, *StatRequest) (*StatResponse, error)
}
type StorageServiceServer ¶
type StorageServiceServer interface {
// List files and directories at a given path.
List(context.Context, *ListRequest) (*ListResponse, error)
// Get information about a single file or directory.
Stat(context.Context, *StatRequest) (*StatResponse, error)
// Create a new directory.
Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error)
// Delete a file or directory.
Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
// Rename or move a file or directory.
Rename(context.Context, *RenameRequest) (*RenameResponse, error)
// Read a file's content as a stream.
Read(*ReadRequest, grpc.ServerStreamingServer[ReadResponse]) error
// Write a file's content via a stream.
// NOTE: This is suitable for reliable networks. For client-side uploads,
// use the chunked upload methods.
Write(grpc.ClientStreamingServer[WriteRequest, WriteResponse]) error
// Initiates a new chunked upload and returns an upload_id.
InitiateUpload(context.Context, *InitiateUploadRequest) (*InitiateUploadResponse, error)
// Uploads a chunk of data for a given upload_id.
// NOTE: gRPC-Gateway does not support client-streaming RPCs well for file uploads.
// This RPC should be called directly via gRPC or a custom HTTP handler.
UploadChunk(grpc.ClientStreamingServer[UploadChunkRequest, UploadChunkResponse]) error
// Finalizes a chunked upload, assembling the chunks into the final file.
FinalizeUpload(context.Context, *FinalizeUploadRequest) (*FinalizeUploadResponse, error)
// contains filtered or unexported methods
}
StorageServiceServer is the server API for StorageService service. All implementations must embed UnimplementedStorageServiceServer for forward compatibility.
StorageService defines the operations for file and directory manipulation.
type StorageService_ReadClient ¶
type StorageService_ReadClient = grpc.ServerStreamingClient[ReadResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_ReadServer ¶
type StorageService_ReadServer = grpc.ServerStreamingServer[ReadResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_UploadChunkClient ¶
type StorageService_UploadChunkClient = grpc.ClientStreamingClient[UploadChunkRequest, UploadChunkResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_UploadChunkServer ¶
type StorageService_UploadChunkServer = grpc.ClientStreamingServer[UploadChunkRequest, UploadChunkResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_WriteClient ¶
type StorageService_WriteClient = grpc.ClientStreamingClient[WriteRequest, WriteResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_WriteServer ¶
type StorageService_WriteServer = grpc.ClientStreamingServer[WriteRequest, WriteResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Transition ¶
type Transition struct {
// Number of days after object creation when it transitions.
Days *int32 `protobuf:"varint,1,opt,name=days,proto3,oneof" json:"days,omitempty"`
// Target storage class (e.g., "IA", "Archive").
StorageClass string `protobuf:"bytes,2,opt,name=storage_class,proto3" json:"storage_class,omitempty"`
// contains filtered or unexported fields
}
Transition defines when objects transition to another storage class.
func (*Transition) Descriptor
deprecated
func (*Transition) Descriptor() ([]byte, []int)
Deprecated: Use Transition.ProtoReflect.Descriptor instead.
func (*Transition) GetDays ¶
func (x *Transition) GetDays() int32
func (*Transition) GetStorageClass ¶
func (x *Transition) GetStorageClass() string
func (*Transition) ProtoMessage ¶
func (*Transition) ProtoMessage()
func (*Transition) ProtoReflect ¶
func (x *Transition) ProtoReflect() protoreflect.Message
func (*Transition) Reset ¶
func (x *Transition) Reset()
func (*Transition) String ¶
func (x *Transition) String() string
func (*Transition) Validate ¶
func (m *Transition) Validate() error
Validate checks the field values on Transition with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Transition) ValidateAll ¶
func (m *Transition) ValidateAll() error
ValidateAll checks the field values on Transition with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransitionMultiError, or nil if none found.
type TransitionMultiError ¶
type TransitionMultiError []error
TransitionMultiError is an error wrapping multiple validation errors returned by Transition.ValidateAll() if the designated constraints aren't met.
func (TransitionMultiError) AllErrors ¶
func (m TransitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TransitionMultiError) Error ¶
func (m TransitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TransitionValidationError ¶
type TransitionValidationError struct {
// contains filtered or unexported fields
}
TransitionValidationError is the validation error returned by Transition.Validate if the designated constraints aren't met.
func (TransitionValidationError) Cause ¶
func (e TransitionValidationError) Cause() error
Cause function returns cause value.
func (TransitionValidationError) Error ¶
func (e TransitionValidationError) Error() string
Error satisfies the builtin error interface
func (TransitionValidationError) ErrorName ¶
func (e TransitionValidationError) ErrorName() string
ErrorName returns error name.
func (TransitionValidationError) Field ¶
func (e TransitionValidationError) Field() string
Field function returns field value.
func (TransitionValidationError) Key ¶
func (e TransitionValidationError) Key() bool
Key function returns key value.
func (TransitionValidationError) Reason ¶
func (e TransitionValidationError) Reason() string
Reason function returns reason value.
type UnimplementedStorageServiceServer ¶
type UnimplementedStorageServiceServer struct{}
UnimplementedStorageServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedStorageServiceServer) Delete ¶
func (UnimplementedStorageServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedStorageServiceServer) FinalizeUpload ¶
func (UnimplementedStorageServiceServer) FinalizeUpload(context.Context, *FinalizeUploadRequest) (*FinalizeUploadResponse, error)
func (UnimplementedStorageServiceServer) InitiateUpload ¶
func (UnimplementedStorageServiceServer) InitiateUpload(context.Context, *InitiateUploadRequest) (*InitiateUploadResponse, error)
func (UnimplementedStorageServiceServer) List ¶
func (UnimplementedStorageServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedStorageServiceServer) Mkdir ¶
func (UnimplementedStorageServiceServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error)
func (UnimplementedStorageServiceServer) Rename ¶
func (UnimplementedStorageServiceServer) Rename(context.Context, *RenameRequest) (*RenameResponse, error)
func (UnimplementedStorageServiceServer) Stat ¶
func (UnimplementedStorageServiceServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
func (UnimplementedStorageServiceServer) UploadChunk ¶
func (UnimplementedStorageServiceServer) UploadChunk(grpc.ClientStreamingServer[UploadChunkRequest, UploadChunkResponse]) error
type UnsafeStorageServiceServer ¶
type UnsafeStorageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStorageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServiceServer will result in compilation errors.
type UploadChunkMetadata ¶
type UploadChunkMetadata struct {
UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
// The position in the file to write this chunk.
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*UploadChunkMetadata) Descriptor
deprecated
func (*UploadChunkMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UploadChunkMetadata.ProtoReflect.Descriptor instead.
func (*UploadChunkMetadata) GetOffset ¶
func (x *UploadChunkMetadata) GetOffset() int64
func (*UploadChunkMetadata) GetUploadId ¶
func (x *UploadChunkMetadata) GetUploadId() string
func (*UploadChunkMetadata) ProtoMessage ¶
func (*UploadChunkMetadata) ProtoMessage()
func (*UploadChunkMetadata) ProtoReflect ¶
func (x *UploadChunkMetadata) ProtoReflect() protoreflect.Message
func (*UploadChunkMetadata) Reset ¶
func (x *UploadChunkMetadata) Reset()
func (*UploadChunkMetadata) String ¶
func (x *UploadChunkMetadata) String() string
func (*UploadChunkMetadata) Validate ¶
func (m *UploadChunkMetadata) Validate() error
Validate checks the field values on UploadChunkMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadChunkMetadata) ValidateAll ¶
func (m *UploadChunkMetadata) ValidateAll() error
ValidateAll checks the field values on UploadChunkMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadChunkMetadataMultiError, or nil if none found.
type UploadChunkMetadataMultiError ¶
type UploadChunkMetadataMultiError []error
UploadChunkMetadataMultiError is an error wrapping multiple validation errors returned by UploadChunkMetadata.ValidateAll() if the designated constraints aren't met.
func (UploadChunkMetadataMultiError) AllErrors ¶
func (m UploadChunkMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadChunkMetadataMultiError) Error ¶
func (m UploadChunkMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadChunkMetadataValidationError ¶
type UploadChunkMetadataValidationError struct {
// contains filtered or unexported fields
}
UploadChunkMetadataValidationError is the validation error returned by UploadChunkMetadata.Validate if the designated constraints aren't met.
func (UploadChunkMetadataValidationError) Cause ¶
func (e UploadChunkMetadataValidationError) Cause() error
Cause function returns cause value.
func (UploadChunkMetadataValidationError) Error ¶
func (e UploadChunkMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (UploadChunkMetadataValidationError) ErrorName ¶
func (e UploadChunkMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (UploadChunkMetadataValidationError) Field ¶
func (e UploadChunkMetadataValidationError) Field() string
Field function returns field value.
func (UploadChunkMetadataValidationError) Key ¶
func (e UploadChunkMetadataValidationError) Key() bool
Key function returns key value.
func (UploadChunkMetadataValidationError) Reason ¶
func (e UploadChunkMetadataValidationError) Reason() string
Reason function returns reason value.
type UploadChunkRequest ¶
type UploadChunkRequest struct {
// Types that are valid to be assigned to Data:
//
// *UploadChunkRequest_Metadata
// *UploadChunkRequest_Chunk
Data isUploadChunkRequest_Data `protobuf_oneof:"data"`
// contains filtered or unexported fields
}
func (*UploadChunkRequest) Descriptor
deprecated
func (*UploadChunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadChunkRequest.ProtoReflect.Descriptor instead.
func (*UploadChunkRequest) GetChunk ¶
func (x *UploadChunkRequest) GetChunk() []byte
func (*UploadChunkRequest) GetData ¶
func (x *UploadChunkRequest) GetData() isUploadChunkRequest_Data
func (*UploadChunkRequest) GetMetadata ¶
func (x *UploadChunkRequest) GetMetadata() *UploadChunkMetadata
func (*UploadChunkRequest) ProtoMessage ¶
func (*UploadChunkRequest) ProtoMessage()
func (*UploadChunkRequest) ProtoReflect ¶
func (x *UploadChunkRequest) ProtoReflect() protoreflect.Message
func (*UploadChunkRequest) Reset ¶
func (x *UploadChunkRequest) Reset()
func (*UploadChunkRequest) String ¶
func (x *UploadChunkRequest) String() string
func (*UploadChunkRequest) Validate ¶
func (m *UploadChunkRequest) Validate() error
Validate checks the field values on UploadChunkRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadChunkRequest) ValidateAll ¶
func (m *UploadChunkRequest) ValidateAll() error
ValidateAll checks the field values on UploadChunkRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadChunkRequestMultiError, or nil if none found.
type UploadChunkRequestMultiError ¶
type UploadChunkRequestMultiError []error
UploadChunkRequestMultiError is an error wrapping multiple validation errors returned by UploadChunkRequest.ValidateAll() if the designated constraints aren't met.
func (UploadChunkRequestMultiError) AllErrors ¶
func (m UploadChunkRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadChunkRequestMultiError) Error ¶
func (m UploadChunkRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadChunkRequestValidationError ¶
type UploadChunkRequestValidationError struct {
// contains filtered or unexported fields
}
UploadChunkRequestValidationError is the validation error returned by UploadChunkRequest.Validate if the designated constraints aren't met.
func (UploadChunkRequestValidationError) Cause ¶
func (e UploadChunkRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadChunkRequestValidationError) Error ¶
func (e UploadChunkRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadChunkRequestValidationError) ErrorName ¶
func (e UploadChunkRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadChunkRequestValidationError) Field ¶
func (e UploadChunkRequestValidationError) Field() string
Field function returns field value.
func (UploadChunkRequestValidationError) Key ¶
func (e UploadChunkRequestValidationError) Key() bool
Key function returns key value.
func (UploadChunkRequestValidationError) Reason ¶
func (e UploadChunkRequestValidationError) Reason() string
Reason function returns reason value.
type UploadChunkRequest_Chunk ¶
type UploadChunkRequest_Chunk struct {
// Subsequent messages contain the file's binary chunks.
Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}
type UploadChunkRequest_Metadata ¶
type UploadChunkRequest_Metadata struct {
// The first message of a new chunk stream can contain metadata.
Metadata *UploadChunkMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}
type UploadChunkResponse ¶
type UploadChunkResponse struct {
UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
// The number of bytes successfully written.
WrittenSize int64 `protobuf:"varint,2,opt,name=written_size,json=writtenSize,proto3" json:"written_size,omitempty"`
// contains filtered or unexported fields
}
func (*UploadChunkResponse) Descriptor
deprecated
func (*UploadChunkResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadChunkResponse.ProtoReflect.Descriptor instead.
func (*UploadChunkResponse) GetUploadId ¶
func (x *UploadChunkResponse) GetUploadId() string
func (*UploadChunkResponse) GetWrittenSize ¶
func (x *UploadChunkResponse) GetWrittenSize() int64
func (*UploadChunkResponse) ProtoMessage ¶
func (*UploadChunkResponse) ProtoMessage()
func (*UploadChunkResponse) ProtoReflect ¶
func (x *UploadChunkResponse) ProtoReflect() protoreflect.Message
func (*UploadChunkResponse) Reset ¶
func (x *UploadChunkResponse) Reset()
func (*UploadChunkResponse) String ¶
func (x *UploadChunkResponse) String() string
func (*UploadChunkResponse) Validate ¶
func (m *UploadChunkResponse) Validate() error
Validate checks the field values on UploadChunkResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadChunkResponse) ValidateAll ¶
func (m *UploadChunkResponse) ValidateAll() error
ValidateAll checks the field values on UploadChunkResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadChunkResponseMultiError, or nil if none found.
type UploadChunkResponseMultiError ¶
type UploadChunkResponseMultiError []error
UploadChunkResponseMultiError is an error wrapping multiple validation errors returned by UploadChunkResponse.ValidateAll() if the designated constraints aren't met.
func (UploadChunkResponseMultiError) AllErrors ¶
func (m UploadChunkResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadChunkResponseMultiError) Error ¶
func (m UploadChunkResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadChunkResponseValidationError ¶
type UploadChunkResponseValidationError struct {
// contains filtered or unexported fields
}
UploadChunkResponseValidationError is the validation error returned by UploadChunkResponse.Validate if the designated constraints aren't met.
func (UploadChunkResponseValidationError) Cause ¶
func (e UploadChunkResponseValidationError) Cause() error
Cause function returns cause value.
func (UploadChunkResponseValidationError) Error ¶
func (e UploadChunkResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UploadChunkResponseValidationError) ErrorName ¶
func (e UploadChunkResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UploadChunkResponseValidationError) Field ¶
func (e UploadChunkResponseValidationError) Field() string
Field function returns field value.
func (UploadChunkResponseValidationError) Key ¶
func (e UploadChunkResponseValidationError) Key() bool
Key function returns key value.
func (UploadChunkResponseValidationError) Reason ¶
func (e UploadChunkResponseValidationError) Reason() string
Reason function returns reason value.
type WriteRequest ¶
type WriteRequest struct {
// Types that are valid to be assigned to Data:
//
// *WriteRequest_Metadata
// *WriteRequest_Chunk
Data isWriteRequest_Data `protobuf_oneof:"data"`
// contains filtered or unexported fields
}
func (*WriteRequest) Descriptor
deprecated
func (*WriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.
func (*WriteRequest) GetChunk ¶
func (x *WriteRequest) GetChunk() []byte
func (*WriteRequest) GetData ¶
func (x *WriteRequest) GetData() isWriteRequest_Data
func (*WriteRequest) GetMetadata ¶
func (x *WriteRequest) GetMetadata() *WriteRequestMetadata
func (*WriteRequest) ProtoMessage ¶
func (*WriteRequest) ProtoMessage()
func (*WriteRequest) ProtoReflect ¶
func (x *WriteRequest) ProtoReflect() protoreflect.Message
func (*WriteRequest) Reset ¶
func (x *WriteRequest) Reset()
func (*WriteRequest) String ¶
func (x *WriteRequest) String() string
func (*WriteRequest) Validate ¶
func (m *WriteRequest) Validate() error
Validate checks the field values on WriteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WriteRequest) ValidateAll ¶
func (m *WriteRequest) ValidateAll() error
ValidateAll checks the field values on WriteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WriteRequestMultiError, or nil if none found.
type WriteRequestMetadata ¶
type WriteRequestMetadata struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*WriteRequestMetadata) Descriptor
deprecated
func (*WriteRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WriteRequestMetadata.ProtoReflect.Descriptor instead.
func (*WriteRequestMetadata) GetPath ¶
func (x *WriteRequestMetadata) GetPath() string
func (*WriteRequestMetadata) ProtoMessage ¶
func (*WriteRequestMetadata) ProtoMessage()
func (*WriteRequestMetadata) ProtoReflect ¶
func (x *WriteRequestMetadata) ProtoReflect() protoreflect.Message
func (*WriteRequestMetadata) Reset ¶
func (x *WriteRequestMetadata) Reset()
func (*WriteRequestMetadata) String ¶
func (x *WriteRequestMetadata) String() string
func (*WriteRequestMetadata) Validate ¶
func (m *WriteRequestMetadata) Validate() error
Validate checks the field values on WriteRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WriteRequestMetadata) ValidateAll ¶
func (m *WriteRequestMetadata) ValidateAll() error
ValidateAll checks the field values on WriteRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WriteRequestMetadataMultiError, or nil if none found.
type WriteRequestMetadataMultiError ¶
type WriteRequestMetadataMultiError []error
WriteRequestMetadataMultiError is an error wrapping multiple validation errors returned by WriteRequestMetadata.ValidateAll() if the designated constraints aren't met.
func (WriteRequestMetadataMultiError) AllErrors ¶
func (m WriteRequestMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteRequestMetadataMultiError) Error ¶
func (m WriteRequestMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteRequestMetadataValidationError ¶
type WriteRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
WriteRequestMetadataValidationError is the validation error returned by WriteRequestMetadata.Validate if the designated constraints aren't met.
func (WriteRequestMetadataValidationError) Cause ¶
func (e WriteRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (WriteRequestMetadataValidationError) Error ¶
func (e WriteRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (WriteRequestMetadataValidationError) ErrorName ¶
func (e WriteRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (WriteRequestMetadataValidationError) Field ¶
func (e WriteRequestMetadataValidationError) Field() string
Field function returns field value.
func (WriteRequestMetadataValidationError) Key ¶
func (e WriteRequestMetadataValidationError) Key() bool
Key function returns key value.
func (WriteRequestMetadataValidationError) Reason ¶
func (e WriteRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type WriteRequestMultiError ¶
type WriteRequestMultiError []error
WriteRequestMultiError is an error wrapping multiple validation errors returned by WriteRequest.ValidateAll() if the designated constraints aren't met.
func (WriteRequestMultiError) AllErrors ¶
func (m WriteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteRequestMultiError) Error ¶
func (m WriteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteRequestValidationError ¶
type WriteRequestValidationError struct {
// contains filtered or unexported fields
}
WriteRequestValidationError is the validation error returned by WriteRequest.Validate if the designated constraints aren't met.
func (WriteRequestValidationError) Cause ¶
func (e WriteRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteRequestValidationError) Error ¶
func (e WriteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteRequestValidationError) ErrorName ¶
func (e WriteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteRequestValidationError) Field ¶
func (e WriteRequestValidationError) Field() string
Field function returns field value.
func (WriteRequestValidationError) Key ¶
func (e WriteRequestValidationError) Key() bool
Key function returns key value.
func (WriteRequestValidationError) Reason ¶
func (e WriteRequestValidationError) Reason() string
Reason function returns reason value.
type WriteRequest_Chunk ¶
type WriteRequest_Chunk struct {
// Subsequent messages contain the file's binary chunks.
Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}
type WriteRequest_Metadata ¶
type WriteRequest_Metadata struct {
// The first message must contain the metadata.
Metadata *WriteRequestMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}
type WriteResponse ¶
type WriteResponse struct {
Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*WriteResponse) Descriptor
deprecated
func (*WriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.
func (*WriteResponse) GetPath ¶
func (x *WriteResponse) GetPath() string
func (*WriteResponse) GetSize ¶
func (x *WriteResponse) GetSize() int64
func (*WriteResponse) ProtoMessage ¶
func (*WriteResponse) ProtoMessage()
func (*WriteResponse) ProtoReflect ¶
func (x *WriteResponse) ProtoReflect() protoreflect.Message
func (*WriteResponse) Reset ¶
func (x *WriteResponse) Reset()
func (*WriteResponse) String ¶
func (x *WriteResponse) String() string
func (*WriteResponse) Validate ¶
func (m *WriteResponse) Validate() error
Validate checks the field values on WriteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WriteResponse) ValidateAll ¶
func (m *WriteResponse) ValidateAll() error
ValidateAll checks the field values on WriteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WriteResponseMultiError, or nil if none found.
type WriteResponseMultiError ¶
type WriteResponseMultiError []error
WriteResponseMultiError is an error wrapping multiple validation errors returned by WriteResponse.ValidateAll() if the designated constraints aren't met.
func (WriteResponseMultiError) AllErrors ¶
func (m WriteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteResponseMultiError) Error ¶
func (m WriteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteResponseValidationError ¶
type WriteResponseValidationError struct {
// contains filtered or unexported fields
}
WriteResponseValidationError is the validation error returned by WriteResponse.Validate if the designated constraints aren't met.
func (WriteResponseValidationError) Cause ¶
func (e WriteResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteResponseValidationError) Error ¶
func (e WriteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteResponseValidationError) ErrorName ¶
func (e WriteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteResponseValidationError) Field ¶
func (e WriteResponseValidationError) Field() string
Field function returns field value.
func (WriteResponseValidationError) Key ¶
func (e WriteResponseValidationError) Key() bool
Key function returns key value.
func (WriteResponseValidationError) Reason ¶
func (e WriteResponseValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- cache.pb.go
- cache.pb.validate.go
- database.pb.go
- database.pb.validate.go
- document.pb.go
- document.pb.validate.go
- file_local.pb.go
- file_local.pb.validate.go
- file_meta.pb.go
- file_meta.pb.validate.go
- file_store.pb.go
- file_store.pb.validate.go
- fs.pb.go
- fs.pb.validate.go
- fs_grpc.pb.go
- fs_http.pb.go
- memcached.pb.go
- memcached.pb.validate.go
- memory.pb.go
- memory.pb.validate.go
- migration.pb.go
- migration.pb.validate.go
- mongo.pb.go
- mongo.pb.validate.go
- oss.pb.go
- oss.pb.validate.go
- redis.pb.go
- redis.pb.validate.go