grpc

package
v4.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

Package grpc wraps a Minio server for exposing the content of the datasource with the S3 protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectHandler

type ObjectHandler struct {
	object.UnimplementedObjectsEndpointServer
	object.UnimplementedResourceCleanerEndpointServer
	Config           *object.MinioConfig
	MinioConsolePort int
	// contains filtered or unexported fields
}

ObjectHandler definition

func (*ObjectHandler) CleanResourcesBeforeDelete added in v4.0.6

func (o *ObjectHandler) CleanResourcesBeforeDelete(ctx context.Context, request *object.CleanResourcesRequest) (resp *object.CleanResourcesResponse, err error)

CleanResourcesBeforeDelete removes the .minio.sys/config folder if it exists

func (*ObjectHandler) GetMinioConfig

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

StorageStats returns statistics about storage

Jump to

Keyboard shortcuts

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