Documentation ¶
Overview ¶
Package grpc wraps a Minio server for exposing the content of the datasource with the S3 protocol.
Index ¶
- type ObjectHandler
- func (o *ObjectHandler) GetMinioConfig(_ context.Context, _ *object.GetMinioConfigRequest) (*object.GetMinioConfigResponse, error)
- func (o *ObjectHandler) Name() string
- func (o *ObjectHandler) StartMinioServer(ctx context.Context, minioServiceName string) error
- func (o *ObjectHandler) StorageStats(_ context.Context, _ *object.StorageStatsRequest) (*object.StorageStatsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectHandler ¶
type ObjectHandler struct { object.UnimplementedObjectsEndpointServer Config *object.MinioConfig MinioConsolePort int // contains filtered or unexported fields }
ObjectHandler definition
func (*ObjectHandler) GetMinioConfig ¶
func (o *ObjectHandler) GetMinioConfig(_ context.Context, _ *object.GetMinioConfigRequest) (*object.GetMinioConfigResponse, error)
GetMinioConfig returns current configuration
func (*ObjectHandler) Name ¶
func (o *ObjectHandler) Name() string
func (*ObjectHandler) StartMinioServer ¶
func (o *ObjectHandler) StartMinioServer(ctx context.Context, minioServiceName string) error
StartMinioServer handler
func (*ObjectHandler) StorageStats ¶
func (o *ObjectHandler) StorageStats(_ context.Context, _ *object.StorageStatsRequest) (*object.StorageStatsResponse, error)
StorageStats returns statistics about storage
Click to show internal directories.
Click to hide internal directories.