Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterObjectStorageCacheServer(s grpc.ServiceRegistrar, srv ObjectStorageCacheServer)
- type AuthRequest
- func (*AuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRequest) GetAccessKeyId() string
- func (x *AuthRequest) GetRegion() string
- func (x *AuthRequest) GetSecretAccessKey() string
- func (*AuthRequest) ProtoMessage()
- func (x *AuthRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRequest) Reset()
- func (x *AuthRequest) String() string
- type AuthResponse
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetBucketRegion() string
- func (x *Bucket) GetCreationDate() string
- func (x *Bucket) GetName() string
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type CopyObjectRequest
- func (*CopyObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CopyObjectRequest) GetBucket() string
- func (x *CopyObjectRequest) GetCopySource() string
- func (x *CopyObjectRequest) GetKey() string
- func (*CopyObjectRequest) ProtoMessage()
- func (x *CopyObjectRequest) ProtoReflect() protoreflect.Message
- func (x *CopyObjectRequest) Reset()
- func (x *CopyObjectRequest) String() string
- type CopyObjectResponse
- type CreateBucketRequest
- func (*CreateBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBucketRequest) GetBucket() string
- func (*CreateBucketRequest) ProtoMessage()
- func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBucketRequest) Reset()
- func (x *CreateBucketRequest) String() string
- type CreateBucketResponse
- func (*CreateBucketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBucketResponse) GetLocation() string
- func (*CreateBucketResponse) ProtoMessage()
- func (x *CreateBucketResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBucketResponse) Reset()
- func (x *CreateBucketResponse) String() string
- type DeleteBucketRequest
- func (*DeleteBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketRequest) GetBucket() string
- func (*DeleteBucketRequest) ProtoMessage()
- func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketRequest) Reset()
- func (x *DeleteBucketRequest) String() string
- type DeleteBucketResponse
- type DeleteObjectRequest
- func (*DeleteObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectRequest) GetBucket() string
- func (x *DeleteObjectRequest) GetKey() string
- func (*DeleteObjectRequest) ProtoMessage()
- func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectRequest) Reset()
- func (x *DeleteObjectRequest) String() string
- type DeleteObjectResponse
- type DeleteObjectsRequest
- func (*DeleteObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectsRequest) GetBucket() string
- func (x *DeleteObjectsRequest) GetObjects() []*ObjectIdentifier
- func (*DeleteObjectsRequest) ProtoMessage()
- func (x *DeleteObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectsRequest) Reset()
- func (x *DeleteObjectsRequest) String() string
- type DeleteObjectsResponse
- func (*DeleteObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectsResponse) GetDeletedObjects() []*DeletedObject
- func (*DeleteObjectsResponse) ProtoMessage()
- func (x *DeleteObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectsResponse) Reset()
- func (x *DeleteObjectsResponse) String() string
- type DeletedObject
- type GetObjectMetadata
- func (*GetObjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectMetadata) GetIsCompressed() bool
- func (*GetObjectMetadata) ProtoMessage()
- func (x *GetObjectMetadata) ProtoReflect() protoreflect.Message
- func (x *GetObjectMetadata) Reset()
- func (x *GetObjectMetadata) String() string
- type GetObjectRequest
- func (*GetObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectRequest) GetBucket() string
- func (x *GetObjectRequest) GetKey() string
- func (x *GetObjectRequest) GetRange() string
- func (*GetObjectRequest) ProtoMessage()
- func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectRequest) Reset()
- func (x *GetObjectRequest) String() string
- type GetObjectResponse
- func (*GetObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectResponse) GetChunk() []byte
- func (x *GetObjectResponse) GetData() isGetObjectResponse_Data
- func (x *GetObjectResponse) GetMetadata() *GetObjectMetadata
- func (*GetObjectResponse) ProtoMessage()
- func (x *GetObjectResponse) ProtoReflect() protoreflect.Message
- func (x *GetObjectResponse) Reset()
- func (x *GetObjectResponse) String() string
- type GetObjectResponse_Chunk
- type GetObjectResponse_Metadata
- type HeadBucketRequest
- type HeadBucketResponse
- func (*HeadBucketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HeadBucketResponse) GetBucketRegion() string
- func (*HeadBucketResponse) ProtoMessage()
- func (x *HeadBucketResponse) ProtoReflect() protoreflect.Message
- func (x *HeadBucketResponse) Reset()
- func (x *HeadBucketResponse) String() string
- type HeadObjectRequest
- func (*HeadObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeadObjectRequest) GetBucket() string
- func (x *HeadObjectRequest) GetKey() string
- func (*HeadObjectRequest) ProtoMessage()
- func (x *HeadObjectRequest) ProtoReflect() protoreflect.Message
- func (x *HeadObjectRequest) Reset()
- func (x *HeadObjectRequest) String() string
- type HeadObjectResponse
- func (*HeadObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HeadObjectResponse) GetMetadata() *ObjectMetadata
- func (*HeadObjectResponse) ProtoMessage()
- func (x *HeadObjectResponse) ProtoReflect() protoreflect.Message
- func (x *HeadObjectResponse) Reset()
- func (x *HeadObjectResponse) String() string
- type ListBucketsRequest
- type ListBucketsResponse
- func (*ListBucketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBucketsResponse) GetBuckets() []*Bucket
- func (x *ListBucketsResponse) GetPrefix() string
- func (*ListBucketsResponse) ProtoMessage()
- func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBucketsResponse) Reset()
- func (x *ListBucketsResponse) String() string
- type ListObjectsMetadata
- func (*ListObjectsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsMetadata) GetBucket() string
- func (x *ListObjectsMetadata) GetMaxKeys() int32
- func (x *ListObjectsMetadata) GetPrefix() string
- func (x *ListObjectsMetadata) GetStartAfter() string
- func (*ListObjectsMetadata) ProtoMessage()
- func (x *ListObjectsMetadata) ProtoReflect() protoreflect.Message
- func (x *ListObjectsMetadata) Reset()
- func (x *ListObjectsMetadata) String() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsRequest) GetBucket() string
- func (x *ListObjectsRequest) GetMaxKeys() int32
- func (x *ListObjectsRequest) GetPrefix() string
- func (x *ListObjectsRequest) GetStartAfter() string
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsResponse) GetData() isListObjectsResponse_Data
- func (x *ListObjectsResponse) GetMetadata() *ListObjectsMetadata
- func (x *ListObjectsResponse) GetObject() *ObjectSummary
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- type ListObjectsResponse_Metadata
- type ListObjectsResponse_Object
- type ObjectIdentifier
- type ObjectMetadata
- func (*ObjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectMetadata) GetContentEncoding() string
- func (x *ObjectMetadata) GetContentLanguage() string
- func (x *ObjectMetadata) GetContentType() string
- func (x *ObjectMetadata) GetEtag() string
- func (x *ObjectMetadata) GetLastModified() *timestamppb.Timestamp
- func (x *ObjectMetadata) GetServerSideEncryption() string
- func (x *ObjectMetadata) GetSize() int64
- func (x *ObjectMetadata) GetUserMetadata() map[string]string
- func (x *ObjectMetadata) GetVersionId() string
- func (*ObjectMetadata) ProtoMessage()
- func (x *ObjectMetadata) ProtoReflect() protoreflect.Message
- func (x *ObjectMetadata) Reset()
- func (x *ObjectMetadata) String() string
- type ObjectStorageCacheClient
- type ObjectStorageCacheServer
- type ObjectStorageCache_GetObjectClient
- type ObjectStorageCache_GetObjectServer
- type ObjectStorageCache_ListObjectsClient
- type ObjectStorageCache_ListObjectsServer
- type ObjectStorageCache_PutObjectClient
- type ObjectStorageCache_PutObjectServer
- type ObjectSummary
- func (*ObjectSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectSummary) GetEtag() string
- func (x *ObjectSummary) GetKey() string
- func (x *ObjectSummary) GetLastModified() *timestamppb.Timestamp
- func (x *ObjectSummary) GetSize() int64
- func (*ObjectSummary) ProtoMessage()
- func (x *ObjectSummary) ProtoReflect() protoreflect.Message
- func (x *ObjectSummary) Reset()
- func (x *ObjectSummary) String() string
- type PutObjectInput
- func (*PutObjectInput) Descriptor() ([]byte, []int)deprecated
- func (x *PutObjectInput) GetBucket() string
- func (x *PutObjectInput) GetIsCompressed() bool
- func (x *PutObjectInput) GetKey() string
- func (*PutObjectInput) ProtoMessage()
- func (x *PutObjectInput) ProtoReflect() protoreflect.Message
- func (x *PutObjectInput) Reset()
- func (x *PutObjectInput) String() string
- type PutObjectRequest
- func (*PutObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutObjectRequest) GetChunk() []byte
- func (x *PutObjectRequest) GetData() isPutObjectRequest_Data
- func (x *PutObjectRequest) GetParameters() *PutObjectInput
- func (*PutObjectRequest) ProtoMessage()
- func (x *PutObjectRequest) ProtoReflect() protoreflect.Message
- func (x *PutObjectRequest) Reset()
- func (x *PutObjectRequest) String() string
- type PutObjectRequest_Chunk
- type PutObjectRequest_Parameters
- type PutObjectResponse
- type RotateKeyRequest
- func (*RotateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RotateKeyRequest) GetAccessKeyId() string
- func (x *RotateKeyRequest) GetForce() bool
- func (*RotateKeyRequest) ProtoMessage()
- func (x *RotateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *RotateKeyRequest) Reset()
- func (x *RotateKeyRequest) String() string
- type RotateKeyResponse
- func (*RotateKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RotateKeyResponse) GetNewSecretAccessKey() string
- func (x *RotateKeyResponse) GetRotated() bool
- func (*RotateKeyResponse) ProtoMessage()
- func (x *RotateKeyResponse) ProtoReflect() protoreflect.Message
- func (x *RotateKeyResponse) Reset()
- func (x *RotateKeyResponse) String() string
- type ShareBucketRequest
- func (*ShareBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShareBucketRequest) GetBucketName() string
- func (*ShareBucketRequest) ProtoMessage()
- func (x *ShareBucketRequest) ProtoReflect() protoreflect.Message
- func (x *ShareBucketRequest) Reset()
- func (x *ShareBucketRequest) String() string
- type ShareBucketResponse
- type UnimplementedObjectStorageCacheServer
- func (UnimplementedObjectStorageCacheServer) Authenticate(context.Context, *AuthRequest) (*AuthResponse, error)
- func (UnimplementedObjectStorageCacheServer) CopyObject(context.Context, *CopyObjectRequest) (*CopyObjectResponse, error)
- func (UnimplementedObjectStorageCacheServer) CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error)
- func (UnimplementedObjectStorageCacheServer) DeleteBucket(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error)
- func (UnimplementedObjectStorageCacheServer) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
- func (UnimplementedObjectStorageCacheServer) DeleteObjects(context.Context, *DeleteObjectsRequest) (*DeleteObjectsResponse, error)
- func (UnimplementedObjectStorageCacheServer) GetObject(*GetObjectRequest, grpc.ServerStreamingServer[GetObjectResponse]) error
- func (UnimplementedObjectStorageCacheServer) HeadBucket(context.Context, *HeadBucketRequest) (*HeadBucketResponse, error)
- func (UnimplementedObjectStorageCacheServer) HeadObject(context.Context, *HeadObjectRequest) (*HeadObjectResponse, error)
- func (UnimplementedObjectStorageCacheServer) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
- func (UnimplementedObjectStorageCacheServer) ListObjects(*ListObjectsRequest, grpc.ServerStreamingServer[ListObjectsResponse]) error
- func (UnimplementedObjectStorageCacheServer) PutObject(grpc.ClientStreamingServer[PutObjectRequest, PutObjectResponse]) error
- func (UnimplementedObjectStorageCacheServer) RotateKey(context.Context, *RotateKeyRequest) (*RotateKeyResponse, error)
- func (UnimplementedObjectStorageCacheServer) ShareBucket(context.Context, *ShareBucketRequest) (*ShareBucketResponse, error)
- type UnsafeObjectStorageCacheServer
Constants ¶
const ( ObjectStorageCache_CreateBucket_FullMethodName = "/proto.ObjectStorageCache/CreateBucket" ObjectStorageCache_DeleteBucket_FullMethodName = "/proto.ObjectStorageCache/DeleteBucket" ObjectStorageCache_ListBuckets_FullMethodName = "/proto.ObjectStorageCache/ListBuckets" ObjectStorageCache_HeadBucket_FullMethodName = "/proto.ObjectStorageCache/HeadBucket" ObjectStorageCache_PutObject_FullMethodName = "/proto.ObjectStorageCache/PutObject" ObjectStorageCache_GetObject_FullMethodName = "/proto.ObjectStorageCache/GetObject" ObjectStorageCache_DeleteObject_FullMethodName = "/proto.ObjectStorageCache/DeleteObject" ObjectStorageCache_DeleteObjects_FullMethodName = "/proto.ObjectStorageCache/DeleteObjects" ObjectStorageCache_CopyObject_FullMethodName = "/proto.ObjectStorageCache/CopyObject" ObjectStorageCache_HeadObject_FullMethodName = "/proto.ObjectStorageCache/HeadObject" ObjectStorageCache_ListObjects_FullMethodName = "/proto.ObjectStorageCache/ListObjects" ObjectStorageCache_Authenticate_FullMethodName = "/proto.ObjectStorageCache/Authenticate" ObjectStorageCache_RotateKey_FullMethodName = "/proto.ObjectStorageCache/RotateKey" )
Variables ¶
var File_client_storage_proto protoreflect.FileDescriptor
var ObjectStorageCache_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.ObjectStorageCache", HandlerType: (*ObjectStorageCacheServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateBucket", Handler: _ObjectStorageCache_CreateBucket_Handler, }, { MethodName: "DeleteBucket", Handler: _ObjectStorageCache_DeleteBucket_Handler, }, { MethodName: "ListBuckets", Handler: _ObjectStorageCache_ListBuckets_Handler, }, { MethodName: "HeadBucket", Handler: _ObjectStorageCache_HeadBucket_Handler, }, { MethodName: "DeleteObject", Handler: _ObjectStorageCache_DeleteObject_Handler, }, { MethodName: "DeleteObjects", Handler: _ObjectStorageCache_DeleteObjects_Handler, }, { MethodName: "CopyObject", Handler: _ObjectStorageCache_CopyObject_Handler, }, { MethodName: "HeadObject", Handler: _ObjectStorageCache_HeadObject_Handler, }, { MethodName: "Authenticate", Handler: _ObjectStorageCache_Authenticate_Handler, }, { MethodName: "RotateKey", Handler: _ObjectStorageCache_RotateKey_Handler, }, { MethodName: "ShareBucket", Handler: _ObjectStorageCache_ShareBucket_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PutObject", Handler: _ObjectStorageCache_PutObject_Handler, ClientStreams: true, }, { StreamName: "GetObject", Handler: _ObjectStorageCache_GetObject_Handler, ServerStreams: true, }, { StreamName: "ListObjects", Handler: _ObjectStorageCache_ListObjects_Handler, ServerStreams: true, }, }, Metadata: "client_storage.proto", }
ObjectStorageCache_ServiceDesc is the grpc.ServiceDesc for ObjectStorageCache service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterObjectStorageCacheServer ¶
func RegisterObjectStorageCacheServer(s grpc.ServiceRegistrar, srv ObjectStorageCacheServer)
Types ¶
type AuthRequest ¶
type AuthRequest struct { AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` SecretAccessKey string `protobuf:"bytes,2,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"` Region *string `protobuf:"bytes,3,opt,name=region,proto3,oneof" json:"region,omitempty"` // Optional region for the session // contains filtered or unexported fields }
func (*AuthRequest) Descriptor
deprecated
func (*AuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.
func (*AuthRequest) GetAccessKeyId ¶
func (x *AuthRequest) GetAccessKeyId() string
func (*AuthRequest) GetRegion ¶
func (x *AuthRequest) GetRegion() string
func (*AuthRequest) GetSecretAccessKey ¶
func (x *AuthRequest) GetSecretAccessKey() string
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) ProtoReflect ¶
func (x *AuthRequest) ProtoReflect() protoreflect.Message
func (*AuthRequest) Reset ¶
func (x *AuthRequest) Reset()
func (*AuthRequest) String ¶
func (x *AuthRequest) String() string
type AuthResponse ¶
type AuthResponse struct {
// contains filtered or unexported fields
}
func (*AuthResponse) Descriptor
deprecated
func (*AuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.
func (*AuthResponse) ProtoMessage ¶
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) ProtoReflect ¶
func (x *AuthResponse) ProtoReflect() protoreflect.Message
func (*AuthResponse) Reset ¶
func (x *AuthResponse) Reset()
func (*AuthResponse) String ¶
func (x *AuthResponse) String() string
type Bucket ¶
type Bucket struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CreationDate string `protobuf:"bytes,2,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` BucketRegion string `protobuf:"bytes,3,opt,name=bucketRegion,proto3" json:"bucketRegion,omitempty"` // contains filtered or unexported fields }
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetBucketRegion ¶
func (*Bucket) GetCreationDate ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
type CopyObjectRequest ¶
type CopyObjectRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` CopySource string `protobuf:"bytes,2,opt,name=copySource,proto3" json:"copySource,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*CopyObjectRequest) Descriptor
deprecated
func (*CopyObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CopyObjectRequest.ProtoReflect.Descriptor instead.
func (*CopyObjectRequest) GetBucket ¶
func (x *CopyObjectRequest) GetBucket() string
func (*CopyObjectRequest) GetCopySource ¶
func (x *CopyObjectRequest) GetCopySource() string
func (*CopyObjectRequest) GetKey ¶
func (x *CopyObjectRequest) GetKey() string
func (*CopyObjectRequest) ProtoMessage ¶
func (*CopyObjectRequest) ProtoMessage()
func (*CopyObjectRequest) ProtoReflect ¶
func (x *CopyObjectRequest) ProtoReflect() protoreflect.Message
func (*CopyObjectRequest) Reset ¶
func (x *CopyObjectRequest) Reset()
func (*CopyObjectRequest) String ¶
func (x *CopyObjectRequest) String() string
type CopyObjectResponse ¶
type CopyObjectResponse struct {
// contains filtered or unexported fields
}
func (*CopyObjectResponse) Descriptor
deprecated
func (*CopyObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CopyObjectResponse.ProtoReflect.Descriptor instead.
func (*CopyObjectResponse) ProtoMessage ¶
func (*CopyObjectResponse) ProtoMessage()
func (*CopyObjectResponse) ProtoReflect ¶
func (x *CopyObjectResponse) ProtoReflect() protoreflect.Message
func (*CopyObjectResponse) Reset ¶
func (x *CopyObjectResponse) Reset()
func (*CopyObjectResponse) String ¶
func (x *CopyObjectResponse) String() string
type CreateBucketRequest ¶
type CreateBucketRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
Request/Response messages for bucket operations
func (*CreateBucketRequest) Descriptor
deprecated
func (*CreateBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBucketRequest.ProtoReflect.Descriptor instead.
func (*CreateBucketRequest) GetBucket ¶
func (x *CreateBucketRequest) GetBucket() string
func (*CreateBucketRequest) ProtoMessage ¶
func (*CreateBucketRequest) ProtoMessage()
func (*CreateBucketRequest) ProtoReflect ¶
func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message
func (*CreateBucketRequest) Reset ¶
func (x *CreateBucketRequest) Reset()
func (*CreateBucketRequest) String ¶
func (x *CreateBucketRequest) String() string
type CreateBucketResponse ¶
type CreateBucketResponse struct { Location string `protobuf:"bytes,1,opt,name=Location,proto3" json:"Location,omitempty"` // A forward slash followed by the name of the bucket. // contains filtered or unexported fields }
func (*CreateBucketResponse) Descriptor
deprecated
func (*CreateBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBucketResponse.ProtoReflect.Descriptor instead.
func (*CreateBucketResponse) GetLocation ¶
func (x *CreateBucketResponse) GetLocation() string
func (*CreateBucketResponse) ProtoMessage ¶
func (*CreateBucketResponse) ProtoMessage()
func (*CreateBucketResponse) ProtoReflect ¶
func (x *CreateBucketResponse) ProtoReflect() protoreflect.Message
func (*CreateBucketResponse) Reset ¶
func (x *CreateBucketResponse) Reset()
func (*CreateBucketResponse) String ¶
func (x *CreateBucketResponse) String() string
type DeleteBucketRequest ¶
type DeleteBucketRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*DeleteBucketRequest) Descriptor
deprecated
func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketRequest.ProtoReflect.Descriptor instead.
func (*DeleteBucketRequest) GetBucket ¶
func (x *DeleteBucketRequest) GetBucket() string
func (*DeleteBucketRequest) ProtoMessage ¶
func (*DeleteBucketRequest) ProtoMessage()
func (*DeleteBucketRequest) ProtoReflect ¶
func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message
func (*DeleteBucketRequest) Reset ¶
func (x *DeleteBucketRequest) Reset()
func (*DeleteBucketRequest) String ¶
func (x *DeleteBucketRequest) String() string
type DeleteBucketResponse ¶
type DeleteBucketResponse struct {
// contains filtered or unexported fields
}
func (*DeleteBucketResponse) Descriptor
deprecated
func (*DeleteBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketResponse.ProtoReflect.Descriptor instead.
func (*DeleteBucketResponse) ProtoMessage ¶
func (*DeleteBucketResponse) ProtoMessage()
func (*DeleteBucketResponse) ProtoReflect ¶
func (x *DeleteBucketResponse) ProtoReflect() protoreflect.Message
func (*DeleteBucketResponse) Reset ¶
func (x *DeleteBucketResponse) Reset()
func (*DeleteBucketResponse) String ¶
func (x *DeleteBucketResponse) String() string
type DeleteObjectRequest ¶
type DeleteObjectRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DeleteObjectRequest) Descriptor
deprecated
func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectRequest) GetBucket ¶
func (x *DeleteObjectRequest) GetBucket() string
func (*DeleteObjectRequest) GetKey ¶
func (x *DeleteObjectRequest) GetKey() string
func (*DeleteObjectRequest) ProtoMessage ¶
func (*DeleteObjectRequest) ProtoMessage()
func (*DeleteObjectRequest) ProtoReflect ¶
func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteObjectRequest) Reset ¶
func (x *DeleteObjectRequest) Reset()
func (*DeleteObjectRequest) String ¶
func (x *DeleteObjectRequest) String() string
type DeleteObjectResponse ¶
type DeleteObjectResponse struct {
// contains filtered or unexported fields
}
func (*DeleteObjectResponse) Descriptor
deprecated
func (*DeleteObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectResponse.ProtoReflect.Descriptor instead.
func (*DeleteObjectResponse) ProtoMessage ¶
func (*DeleteObjectResponse) ProtoMessage()
func (*DeleteObjectResponse) ProtoReflect ¶
func (x *DeleteObjectResponse) ProtoReflect() protoreflect.Message
func (*DeleteObjectResponse) Reset ¶
func (x *DeleteObjectResponse) Reset()
func (*DeleteObjectResponse) String ¶
func (x *DeleteObjectResponse) String() string
type DeleteObjectsRequest ¶
type DeleteObjectsRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Objects []*ObjectIdentifier `protobuf:"bytes,2,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*DeleteObjectsRequest) Descriptor
deprecated
func (*DeleteObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectsRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectsRequest) GetBucket ¶
func (x *DeleteObjectsRequest) GetBucket() string
func (*DeleteObjectsRequest) GetObjects ¶
func (x *DeleteObjectsRequest) GetObjects() []*ObjectIdentifier
func (*DeleteObjectsRequest) ProtoMessage ¶
func (*DeleteObjectsRequest) ProtoMessage()
func (*DeleteObjectsRequest) ProtoReflect ¶
func (x *DeleteObjectsRequest) ProtoReflect() protoreflect.Message
func (*DeleteObjectsRequest) Reset ¶
func (x *DeleteObjectsRequest) Reset()
func (*DeleteObjectsRequest) String ¶
func (x *DeleteObjectsRequest) String() string
type DeleteObjectsResponse ¶
type DeleteObjectsResponse struct { DeletedObjects []*DeletedObject `protobuf:"bytes,1,rep,name=deletedObjects,proto3" json:"deletedObjects,omitempty"` // contains filtered or unexported fields }
func (*DeleteObjectsResponse) Descriptor
deprecated
func (*DeleteObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectsResponse.ProtoReflect.Descriptor instead.
func (*DeleteObjectsResponse) GetDeletedObjects ¶
func (x *DeleteObjectsResponse) GetDeletedObjects() []*DeletedObject
func (*DeleteObjectsResponse) ProtoMessage ¶
func (*DeleteObjectsResponse) ProtoMessage()
func (*DeleteObjectsResponse) ProtoReflect ¶
func (x *DeleteObjectsResponse) ProtoReflect() protoreflect.Message
func (*DeleteObjectsResponse) Reset ¶
func (x *DeleteObjectsResponse) Reset()
func (*DeleteObjectsResponse) String ¶
func (x *DeleteObjectsResponse) String() string
type DeletedObject ¶
type DeletedObject struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DeletedObject) Descriptor
deprecated
func (*DeletedObject) Descriptor() ([]byte, []int)
Deprecated: Use DeletedObject.ProtoReflect.Descriptor instead.
func (*DeletedObject) GetKey ¶
func (x *DeletedObject) GetKey() string
func (*DeletedObject) ProtoMessage ¶
func (*DeletedObject) ProtoMessage()
func (*DeletedObject) ProtoReflect ¶
func (x *DeletedObject) ProtoReflect() protoreflect.Message
func (*DeletedObject) Reset ¶
func (x *DeletedObject) Reset()
func (*DeletedObject) String ¶
func (x *DeletedObject) String() string
type GetObjectMetadata ¶
type GetObjectMetadata struct { IsCompressed bool `protobuf:"varint,1,opt,name=is_compressed,json=isCompressed,proto3" json:"is_compressed,omitempty"` // contains filtered or unexported fields }
Helper message types
func (*GetObjectMetadata) Descriptor
deprecated
func (*GetObjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectMetadata.ProtoReflect.Descriptor instead.
func (*GetObjectMetadata) GetIsCompressed ¶
func (x *GetObjectMetadata) GetIsCompressed() bool
func (*GetObjectMetadata) ProtoMessage ¶
func (*GetObjectMetadata) ProtoMessage()
func (*GetObjectMetadata) ProtoReflect ¶
func (x *GetObjectMetadata) ProtoReflect() protoreflect.Message
func (*GetObjectMetadata) Reset ¶
func (x *GetObjectMetadata) Reset()
func (*GetObjectMetadata) String ¶
func (x *GetObjectMetadata) String() string
type GetObjectRequest ¶
type GetObjectRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Range *string `protobuf:"bytes,3,opt,name=range,proto3,oneof" json:"range,omitempty"` // Range in format "bytes=start-end" (e.g., "bytes=0-9" for first 10 bytes) // contains filtered or unexported fields }
func (*GetObjectRequest) Descriptor
deprecated
func (*GetObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.
func (*GetObjectRequest) GetBucket ¶
func (x *GetObjectRequest) GetBucket() string
func (*GetObjectRequest) GetKey ¶
func (x *GetObjectRequest) GetKey() string
func (*GetObjectRequest) GetRange ¶
func (x *GetObjectRequest) GetRange() string
func (*GetObjectRequest) ProtoMessage ¶
func (*GetObjectRequest) ProtoMessage()
func (*GetObjectRequest) ProtoReflect ¶
func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
func (*GetObjectRequest) Reset ¶
func (x *GetObjectRequest) Reset()
func (*GetObjectRequest) String ¶
func (x *GetObjectRequest) String() string
type GetObjectResponse ¶
type GetObjectResponse struct { // Types that are valid to be assigned to Data: // // *GetObjectResponse_Metadata // *GetObjectResponse_Chunk Data isGetObjectResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*GetObjectResponse) Descriptor
deprecated
func (*GetObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectResponse.ProtoReflect.Descriptor instead.
func (*GetObjectResponse) GetChunk ¶
func (x *GetObjectResponse) GetChunk() []byte
func (*GetObjectResponse) GetData ¶
func (x *GetObjectResponse) GetData() isGetObjectResponse_Data
func (*GetObjectResponse) GetMetadata ¶
func (x *GetObjectResponse) GetMetadata() *GetObjectMetadata
func (*GetObjectResponse) ProtoMessage ¶
func (*GetObjectResponse) ProtoMessage()
func (*GetObjectResponse) ProtoReflect ¶
func (x *GetObjectResponse) ProtoReflect() protoreflect.Message
func (*GetObjectResponse) Reset ¶
func (x *GetObjectResponse) Reset()
func (*GetObjectResponse) String ¶
func (x *GetObjectResponse) String() string
type GetObjectResponse_Chunk ¶
type GetObjectResponse_Chunk struct {
Chunk []byte `protobuf:"bytes,3,opt,name=chunk,proto3,oneof"`
}
type GetObjectResponse_Metadata ¶
type GetObjectResponse_Metadata struct {
Metadata *GetObjectMetadata `protobuf:"bytes,2,opt,name=metadata,proto3,oneof"`
}
type HeadBucketRequest ¶
type HeadBucketRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*HeadBucketRequest) Descriptor
deprecated
func (*HeadBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeadBucketRequest.ProtoReflect.Descriptor instead.
func (*HeadBucketRequest) GetBucket ¶
func (x *HeadBucketRequest) GetBucket() string
func (*HeadBucketRequest) ProtoMessage ¶
func (*HeadBucketRequest) ProtoMessage()
func (*HeadBucketRequest) ProtoReflect ¶
func (x *HeadBucketRequest) ProtoReflect() protoreflect.Message
func (*HeadBucketRequest) Reset ¶
func (x *HeadBucketRequest) Reset()
func (*HeadBucketRequest) String ¶
func (x *HeadBucketRequest) String() string
type HeadBucketResponse ¶
type HeadBucketResponse struct { BucketRegion string `protobuf:"bytes,1,opt,name=bucketRegion,proto3" json:"bucketRegion,omitempty"` // contains filtered or unexported fields }
func (*HeadBucketResponse) Descriptor
deprecated
func (*HeadBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeadBucketResponse.ProtoReflect.Descriptor instead.
func (*HeadBucketResponse) GetBucketRegion ¶
func (x *HeadBucketResponse) GetBucketRegion() string
func (*HeadBucketResponse) ProtoMessage ¶
func (*HeadBucketResponse) ProtoMessage()
func (*HeadBucketResponse) ProtoReflect ¶
func (x *HeadBucketResponse) ProtoReflect() protoreflect.Message
func (*HeadBucketResponse) Reset ¶
func (x *HeadBucketResponse) Reset()
func (*HeadBucketResponse) String ¶
func (x *HeadBucketResponse) String() string
type HeadObjectRequest ¶
type HeadObjectRequest struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*HeadObjectRequest) Descriptor
deprecated
func (*HeadObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeadObjectRequest.ProtoReflect.Descriptor instead.
func (*HeadObjectRequest) GetBucket ¶
func (x *HeadObjectRequest) GetBucket() string
func (*HeadObjectRequest) GetKey ¶
func (x *HeadObjectRequest) GetKey() string
func (*HeadObjectRequest) ProtoMessage ¶
func (*HeadObjectRequest) ProtoMessage()
func (*HeadObjectRequest) ProtoReflect ¶
func (x *HeadObjectRequest) ProtoReflect() protoreflect.Message
func (*HeadObjectRequest) Reset ¶
func (x *HeadObjectRequest) Reset()
func (*HeadObjectRequest) String ¶
func (x *HeadObjectRequest) String() string
type HeadObjectResponse ¶
type HeadObjectResponse struct { Metadata *ObjectMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*HeadObjectResponse) Descriptor
deprecated
func (*HeadObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeadObjectResponse.ProtoReflect.Descriptor instead.
func (*HeadObjectResponse) GetMetadata ¶
func (x *HeadObjectResponse) GetMetadata() *ObjectMetadata
func (*HeadObjectResponse) ProtoMessage ¶
func (*HeadObjectResponse) ProtoMessage()
func (*HeadObjectResponse) ProtoReflect ¶
func (x *HeadObjectResponse) ProtoReflect() protoreflect.Message
func (*HeadObjectResponse) Reset ¶
func (x *HeadObjectResponse) Reset()
func (*HeadObjectResponse) String ¶
func (x *HeadObjectResponse) String() string
type ListBucketsRequest ¶
type ListBucketsRequest struct {
// contains filtered or unexported fields
}
func (*ListBucketsRequest) Descriptor
deprecated
func (*ListBucketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.
func (*ListBucketsRequest) ProtoMessage ¶
func (*ListBucketsRequest) ProtoMessage()
func (*ListBucketsRequest) ProtoReflect ¶
func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
func (*ListBucketsRequest) Reset ¶
func (x *ListBucketsRequest) Reset()
func (*ListBucketsRequest) String ¶
func (x *ListBucketsRequest) String() string
type ListBucketsResponse ¶
type ListBucketsResponse struct { Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` Prefix *string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*ListBucketsResponse) Descriptor
deprecated
func (*ListBucketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.
func (*ListBucketsResponse) GetBuckets ¶
func (x *ListBucketsResponse) GetBuckets() []*Bucket
func (*ListBucketsResponse) GetPrefix ¶
func (x *ListBucketsResponse) GetPrefix() string
func (*ListBucketsResponse) ProtoMessage ¶
func (*ListBucketsResponse) ProtoMessage()
func (*ListBucketsResponse) ProtoReflect ¶
func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
func (*ListBucketsResponse) Reset ¶
func (x *ListBucketsResponse) Reset()
func (*ListBucketsResponse) String ¶
func (x *ListBucketsResponse) String() string
type ListObjectsMetadata ¶
type ListObjectsMetadata struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` StartAfter string `protobuf:"bytes,3,opt,name=startAfter,proto3" json:"startAfter,omitempty"` MaxKeys int32 `protobuf:"varint,4,opt,name=maxKeys,proto3" json:"maxKeys,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsMetadata) Descriptor
deprecated
func (*ListObjectsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsMetadata.ProtoReflect.Descriptor instead.
func (*ListObjectsMetadata) GetBucket ¶
func (x *ListObjectsMetadata) GetBucket() string
func (*ListObjectsMetadata) GetMaxKeys ¶
func (x *ListObjectsMetadata) GetMaxKeys() int32
func (*ListObjectsMetadata) GetPrefix ¶
func (x *ListObjectsMetadata) GetPrefix() string
func (*ListObjectsMetadata) GetStartAfter ¶
func (x *ListObjectsMetadata) GetStartAfter() string
func (*ListObjectsMetadata) ProtoMessage ¶
func (*ListObjectsMetadata) ProtoMessage()
func (*ListObjectsMetadata) ProtoReflect ¶
func (x *ListObjectsMetadata) ProtoReflect() protoreflect.Message
func (*ListObjectsMetadata) Reset ¶
func (x *ListObjectsMetadata) Reset()
func (*ListObjectsMetadata) String ¶
func (x *ListObjectsMetadata) String() string
type ListObjectsRequest ¶
type ListObjectsRequest struct { // Required Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Optional - filter objects by prefix Prefix *string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"` // Optional - return objects after this key StartAfter *string `protobuf:"bytes,3,opt,name=start_after,json=startAfter,proto3,oneof" json:"start_after,omitempty"` // Optional - limit the number of objects returned MaxKeys *int32 `protobuf:"varint,4,opt,name=max_keys,json=maxKeys,proto3,oneof" json:"max_keys,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsRequest) Descriptor
deprecated
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListObjectsRequest) GetBucket ¶
func (x *ListObjectsRequest) GetBucket() string
func (*ListObjectsRequest) GetMaxKeys ¶
func (x *ListObjectsRequest) GetMaxKeys() int32
func (*ListObjectsRequest) GetPrefix ¶
func (x *ListObjectsRequest) GetPrefix() string
func (*ListObjectsRequest) GetStartAfter ¶
func (x *ListObjectsRequest) GetStartAfter() string
func (*ListObjectsRequest) ProtoMessage ¶
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) ProtoReflect ¶
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListObjectsRequest) Reset ¶
func (x *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶
func (x *ListObjectsRequest) String() string
type ListObjectsResponse ¶
type ListObjectsResponse struct { // Types that are valid to be assigned to Data: // // *ListObjectsResponse_Metadata // *ListObjectsResponse_Object Data isListObjectsResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*ListObjectsResponse) Descriptor
deprecated
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListObjectsResponse) GetData ¶
func (x *ListObjectsResponse) GetData() isListObjectsResponse_Data
func (*ListObjectsResponse) GetMetadata ¶
func (x *ListObjectsResponse) GetMetadata() *ListObjectsMetadata
func (*ListObjectsResponse) GetObject ¶
func (x *ListObjectsResponse) GetObject() *ObjectSummary
func (*ListObjectsResponse) ProtoMessage ¶
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) ProtoReflect ¶
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListObjectsResponse) Reset ¶
func (x *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶
func (x *ListObjectsResponse) String() string
type ListObjectsResponse_Metadata ¶
type ListObjectsResponse_Metadata struct {
Metadata *ListObjectsMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}
type ListObjectsResponse_Object ¶
type ListObjectsResponse_Object struct {
Object *ObjectSummary `protobuf:"bytes,2,opt,name=object,proto3,oneof"`
}
type ObjectIdentifier ¶
type ObjectIdentifier struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ObjectIdentifier) Descriptor
deprecated
func (*ObjectIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.
func (*ObjectIdentifier) GetKey ¶
func (x *ObjectIdentifier) GetKey() string
func (*ObjectIdentifier) ProtoMessage ¶
func (*ObjectIdentifier) ProtoMessage()
func (*ObjectIdentifier) ProtoReflect ¶
func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message
func (*ObjectIdentifier) Reset ¶
func (x *ObjectIdentifier) Reset()
func (*ObjectIdentifier) String ¶
func (x *ObjectIdentifier) String() string
type ObjectMetadata ¶
type ObjectMetadata struct { Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` LastModified *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"` Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` ContentEncoding string `protobuf:"bytes,5,opt,name=content_encoding,json=contentEncoding,proto3" json:"content_encoding,omitempty"` ContentLanguage string `protobuf:"bytes,6,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"` VersionId string `protobuf:"bytes,7,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` ServerSideEncryption string `protobuf:"bytes,8,opt,name=server_side_encryption,json=serverSideEncryption,proto3" json:"server_side_encryption,omitempty"` UserMetadata map[string]string `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ObjectMetadata) Descriptor
deprecated
func (*ObjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ObjectMetadata.ProtoReflect.Descriptor instead.
func (*ObjectMetadata) GetContentEncoding ¶
func (x *ObjectMetadata) GetContentEncoding() string
func (*ObjectMetadata) GetContentLanguage ¶
func (x *ObjectMetadata) GetContentLanguage() string
func (*ObjectMetadata) GetContentType ¶
func (x *ObjectMetadata) GetContentType() string
func (*ObjectMetadata) GetEtag ¶
func (x *ObjectMetadata) GetEtag() string
func (*ObjectMetadata) GetLastModified ¶
func (x *ObjectMetadata) GetLastModified() *timestamppb.Timestamp
func (*ObjectMetadata) GetServerSideEncryption ¶
func (x *ObjectMetadata) GetServerSideEncryption() string
func (*ObjectMetadata) GetSize ¶
func (x *ObjectMetadata) GetSize() int64
func (*ObjectMetadata) GetUserMetadata ¶
func (x *ObjectMetadata) GetUserMetadata() map[string]string
func (*ObjectMetadata) GetVersionId ¶
func (x *ObjectMetadata) GetVersionId() string
func (*ObjectMetadata) ProtoMessage ¶
func (*ObjectMetadata) ProtoMessage()
func (*ObjectMetadata) ProtoReflect ¶
func (x *ObjectMetadata) ProtoReflect() protoreflect.Message
func (*ObjectMetadata) Reset ¶
func (x *ObjectMetadata) Reset()
func (*ObjectMetadata) String ¶
func (x *ObjectMetadata) String() string
type ObjectStorageCacheClient ¶
type ObjectStorageCacheClient interface { // Bucket operations CreateBucket(ctx context.Context, in *CreateBucketRequest, opts ...grpc.CallOption) (*CreateBucketResponse, error) DeleteBucket(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*DeleteBucketResponse, error) ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error) HeadBucket(ctx context.Context, in *HeadBucketRequest, opts ...grpc.CallOption) (*HeadBucketResponse, error) // Object operations PutObject(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[PutObjectRequest, PutObjectResponse], error) GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetObjectResponse], error) DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*DeleteObjectResponse, error) DeleteObjects(ctx context.Context, in *DeleteObjectsRequest, opts ...grpc.CallOption) (*DeleteObjectsResponse, error) CopyObject(ctx context.Context, in *CopyObjectRequest, opts ...grpc.CallOption) (*CopyObjectResponse, error) HeadObject(ctx context.Context, in *HeadObjectRequest, opts ...grpc.CallOption) (*HeadObjectResponse, error) ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListObjectsResponse], error) // Configuration operations Authenticate(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error) RotateKey(ctx context.Context, in *RotateKeyRequest, opts ...grpc.CallOption) (*RotateKeyResponse, error) }
ObjectStorageCacheClient is the client API for ObjectStorageCache 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.
func NewObjectStorageCacheClient ¶
func NewObjectStorageCacheClient(cc grpc.ClientConnInterface) ObjectStorageCacheClient
type ObjectStorageCacheServer ¶
type ObjectStorageCacheServer interface { // Bucket operations CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error) DeleteBucket(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error) HeadBucket(context.Context, *HeadBucketRequest) (*HeadBucketResponse, error) // Object operations PutObject(grpc.ClientStreamingServer[PutObjectRequest, PutObjectResponse]) error GetObject(*GetObjectRequest, grpc.ServerStreamingServer[GetObjectResponse]) error DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error) DeleteObjects(context.Context, *DeleteObjectsRequest) (*DeleteObjectsResponse, error) CopyObject(context.Context, *CopyObjectRequest) (*CopyObjectResponse, error) HeadObject(context.Context, *HeadObjectRequest) (*HeadObjectResponse, error) ListObjects(*ListObjectsRequest, grpc.ServerStreamingServer[ListObjectsResponse]) error // Configuration operations Authenticate(context.Context, *AuthRequest) (*AuthResponse, error) RotateKey(context.Context, *RotateKeyRequest) (*RotateKeyResponse, error) // contains filtered or unexported methods }
ObjectStorageCacheServer is the server API for ObjectStorageCache service. All implementations must embed UnimplementedObjectStorageCacheServer for forward compatibility.
type ObjectStorageCache_GetObjectClient ¶
type ObjectStorageCache_GetObjectClient = grpc.ServerStreamingClient[GetObjectResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ObjectStorageCache_GetObjectServer ¶
type ObjectStorageCache_GetObjectServer = grpc.ServerStreamingServer[GetObjectResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ObjectStorageCache_ListObjectsClient ¶
type ObjectStorageCache_ListObjectsClient = grpc.ServerStreamingClient[ListObjectsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ObjectStorageCache_ListObjectsServer ¶
type ObjectStorageCache_ListObjectsServer = grpc.ServerStreamingServer[ListObjectsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ObjectStorageCache_PutObjectClient ¶
type ObjectStorageCache_PutObjectClient = grpc.ClientStreamingClient[PutObjectRequest, PutObjectResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ObjectStorageCache_PutObjectServer ¶
type ObjectStorageCache_PutObjectServer = grpc.ClientStreamingServer[PutObjectRequest, PutObjectResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ObjectSummary ¶
type ObjectSummary struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` LastModified *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"` Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*ObjectSummary) Descriptor
deprecated
func (*ObjectSummary) Descriptor() ([]byte, []int)
Deprecated: Use ObjectSummary.ProtoReflect.Descriptor instead.
func (*ObjectSummary) GetEtag ¶
func (x *ObjectSummary) GetEtag() string
func (*ObjectSummary) GetKey ¶
func (x *ObjectSummary) GetKey() string
func (*ObjectSummary) GetLastModified ¶
func (x *ObjectSummary) GetLastModified() *timestamppb.Timestamp
func (*ObjectSummary) GetSize ¶
func (x *ObjectSummary) GetSize() int64
func (*ObjectSummary) ProtoMessage ¶
func (*ObjectSummary) ProtoMessage()
func (*ObjectSummary) ProtoReflect ¶
func (x *ObjectSummary) ProtoReflect() protoreflect.Message
func (*ObjectSummary) Reset ¶
func (x *ObjectSummary) Reset()
func (*ObjectSummary) String ¶
func (x *ObjectSummary) String() string
type PutObjectInput ¶
type PutObjectInput struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` IsCompressed *bool `protobuf:"varint,3,opt,name=isCompressed,proto3,oneof" json:"isCompressed,omitempty"` // contains filtered or unexported fields }
func (*PutObjectInput) Descriptor
deprecated
func (*PutObjectInput) Descriptor() ([]byte, []int)
Deprecated: Use PutObjectInput.ProtoReflect.Descriptor instead.
func (*PutObjectInput) GetBucket ¶
func (x *PutObjectInput) GetBucket() string
func (*PutObjectInput) GetIsCompressed ¶
func (x *PutObjectInput) GetIsCompressed() bool
func (*PutObjectInput) GetKey ¶
func (x *PutObjectInput) GetKey() string
func (*PutObjectInput) ProtoMessage ¶
func (*PutObjectInput) ProtoMessage()
func (*PutObjectInput) ProtoReflect ¶
func (x *PutObjectInput) ProtoReflect() protoreflect.Message
func (*PutObjectInput) Reset ¶
func (x *PutObjectInput) Reset()
func (*PutObjectInput) String ¶
func (x *PutObjectInput) String() string
type PutObjectRequest ¶
type PutObjectRequest struct { // Types that are valid to be assigned to Data: // // *PutObjectRequest_Parameters // *PutObjectRequest_Chunk Data isPutObjectRequest_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*PutObjectRequest) Descriptor
deprecated
func (*PutObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutObjectRequest.ProtoReflect.Descriptor instead.
func (*PutObjectRequest) GetChunk ¶
func (x *PutObjectRequest) GetChunk() []byte
func (*PutObjectRequest) GetData ¶
func (x *PutObjectRequest) GetData() isPutObjectRequest_Data
func (*PutObjectRequest) GetParameters ¶
func (x *PutObjectRequest) GetParameters() *PutObjectInput
func (*PutObjectRequest) ProtoMessage ¶
func (*PutObjectRequest) ProtoMessage()
func (*PutObjectRequest) ProtoReflect ¶
func (x *PutObjectRequest) ProtoReflect() protoreflect.Message
func (*PutObjectRequest) Reset ¶
func (x *PutObjectRequest) Reset()
func (*PutObjectRequest) String ¶
func (x *PutObjectRequest) String() string
type PutObjectRequest_Chunk ¶
type PutObjectRequest_Chunk struct {
Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}
type PutObjectRequest_Parameters ¶
type PutObjectRequest_Parameters struct {
Parameters *PutObjectInput `protobuf:"bytes,1,opt,name=parameters,proto3,oneof"`
}
type PutObjectResponse ¶
type PutObjectResponse struct {
// contains filtered or unexported fields
}
func (*PutObjectResponse) Descriptor
deprecated
func (*PutObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutObjectResponse.ProtoReflect.Descriptor instead.
func (*PutObjectResponse) ProtoMessage ¶
func (*PutObjectResponse) ProtoMessage()
func (*PutObjectResponse) ProtoReflect ¶
func (x *PutObjectResponse) ProtoReflect() protoreflect.Message
func (*PutObjectResponse) Reset ¶
func (x *PutObjectResponse) Reset()
func (*PutObjectResponse) String ¶
func (x *PutObjectResponse) String() string
type RotateKeyRequest ¶
type RotateKeyRequest struct { AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"` // contains filtered or unexported fields }
func (*RotateKeyRequest) Descriptor
deprecated
func (*RotateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RotateKeyRequest.ProtoReflect.Descriptor instead.
func (*RotateKeyRequest) GetAccessKeyId ¶
func (x *RotateKeyRequest) GetAccessKeyId() string
func (*RotateKeyRequest) GetForce ¶
func (x *RotateKeyRequest) GetForce() bool
func (*RotateKeyRequest) ProtoMessage ¶
func (*RotateKeyRequest) ProtoMessage()
func (*RotateKeyRequest) ProtoReflect ¶
func (x *RotateKeyRequest) ProtoReflect() protoreflect.Message
func (*RotateKeyRequest) Reset ¶
func (x *RotateKeyRequest) Reset()
func (*RotateKeyRequest) String ¶
func (x *RotateKeyRequest) String() string
type RotateKeyResponse ¶
type RotateKeyResponse struct { Rotated bool `protobuf:"varint,1,opt,name=rotated,proto3" json:"rotated,omitempty"` NewSecretAccessKey string `protobuf:"bytes,2,opt,name=new_secret_access_key,json=newSecretAccessKey,proto3" json:"new_secret_access_key,omitempty"` // contains filtered or unexported fields }
func (*RotateKeyResponse) Descriptor
deprecated
func (*RotateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RotateKeyResponse.ProtoReflect.Descriptor instead.
func (*RotateKeyResponse) GetNewSecretAccessKey ¶
func (x *RotateKeyResponse) GetNewSecretAccessKey() string
func (*RotateKeyResponse) GetRotated ¶
func (x *RotateKeyResponse) GetRotated() bool
func (*RotateKeyResponse) ProtoMessage ¶
func (*RotateKeyResponse) ProtoMessage()
func (*RotateKeyResponse) ProtoReflect ¶
func (x *RotateKeyResponse) ProtoReflect() protoreflect.Message
func (*RotateKeyResponse) Reset ¶
func (x *RotateKeyResponse) Reset()
func (*RotateKeyResponse) String ¶
func (x *RotateKeyResponse) String() string
type ShareBucketRequest ¶
type ShareBucketRequest struct { // contains filtered or unexported fields }
func (*ShareBucketRequest) Descriptor
deprecated
func (*ShareBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareBucketRequest.ProtoReflect.Descriptor instead.
func (*ShareBucketRequest) GetBucketName ¶
func (x *ShareBucketRequest) GetBucketName() string
func (*ShareBucketRequest) ProtoMessage ¶
func (*ShareBucketRequest) ProtoMessage()
func (*ShareBucketRequest) ProtoReflect ¶
func (x *ShareBucketRequest) ProtoReflect() protoreflect.Message
func (*ShareBucketRequest) Reset ¶
func (x *ShareBucketRequest) Reset()
func (*ShareBucketRequest) String ¶
func (x *ShareBucketRequest) String() string
type ShareBucketResponse ¶
type ShareBucketResponse struct {
// contains filtered or unexported fields
}
func (*ShareBucketResponse) Descriptor
deprecated
func (*ShareBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareBucketResponse.ProtoReflect.Descriptor instead.
func (*ShareBucketResponse) ProtoMessage ¶
func (*ShareBucketResponse) ProtoMessage()
func (*ShareBucketResponse) ProtoReflect ¶
func (x *ShareBucketResponse) ProtoReflect() protoreflect.Message
func (*ShareBucketResponse) Reset ¶
func (x *ShareBucketResponse) Reset()
func (*ShareBucketResponse) String ¶
func (x *ShareBucketResponse) String() string
type UnimplementedObjectStorageCacheServer ¶
type UnimplementedObjectStorageCacheServer struct{}
UnimplementedObjectStorageCacheServer 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 (UnimplementedObjectStorageCacheServer) Authenticate ¶
func (UnimplementedObjectStorageCacheServer) Authenticate(context.Context, *AuthRequest) (*AuthResponse, error)
func (UnimplementedObjectStorageCacheServer) CopyObject ¶
func (UnimplementedObjectStorageCacheServer) CopyObject(context.Context, *CopyObjectRequest) (*CopyObjectResponse, error)
func (UnimplementedObjectStorageCacheServer) CreateBucket ¶
func (UnimplementedObjectStorageCacheServer) CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error)
func (UnimplementedObjectStorageCacheServer) DeleteBucket ¶
func (UnimplementedObjectStorageCacheServer) DeleteBucket(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error)
func (UnimplementedObjectStorageCacheServer) DeleteObject ¶
func (UnimplementedObjectStorageCacheServer) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
func (UnimplementedObjectStorageCacheServer) DeleteObjects ¶
func (UnimplementedObjectStorageCacheServer) DeleteObjects(context.Context, *DeleteObjectsRequest) (*DeleteObjectsResponse, error)
func (UnimplementedObjectStorageCacheServer) GetObject ¶
func (UnimplementedObjectStorageCacheServer) GetObject(*GetObjectRequest, grpc.ServerStreamingServer[GetObjectResponse]) error
func (UnimplementedObjectStorageCacheServer) HeadBucket ¶
func (UnimplementedObjectStorageCacheServer) HeadBucket(context.Context, *HeadBucketRequest) (*HeadBucketResponse, error)
func (UnimplementedObjectStorageCacheServer) HeadObject ¶
func (UnimplementedObjectStorageCacheServer) HeadObject(context.Context, *HeadObjectRequest) (*HeadObjectResponse, error)
func (UnimplementedObjectStorageCacheServer) ListBuckets ¶
func (UnimplementedObjectStorageCacheServer) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
func (UnimplementedObjectStorageCacheServer) ListObjects ¶
func (UnimplementedObjectStorageCacheServer) ListObjects(*ListObjectsRequest, grpc.ServerStreamingServer[ListObjectsResponse]) error
func (UnimplementedObjectStorageCacheServer) PutObject ¶
func (UnimplementedObjectStorageCacheServer) PutObject(grpc.ClientStreamingServer[PutObjectRequest, PutObjectResponse]) error
func (UnimplementedObjectStorageCacheServer) RotateKey ¶
func (UnimplementedObjectStorageCacheServer) RotateKey(context.Context, *RotateKeyRequest) (*RotateKeyResponse, error)
func (UnimplementedObjectStorageCacheServer) ShareBucket ¶
func (UnimplementedObjectStorageCacheServer) ShareBucket(context.Context, *ShareBucketRequest) (*ShareBucketResponse, error)
type UnsafeObjectStorageCacheServer ¶
type UnsafeObjectStorageCacheServer interface {
// contains filtered or unexported methods
}
UnsafeObjectStorageCacheServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObjectStorageCacheServer will result in compilation errors.