objects

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package objects is in charge of exposing the content of the datasource with the S3 protocol.

Index

Constants

This section is empty.

Variables

Functions

func CreateMinioConfigFile

func CreateMinioConfigFile(serviceId string, accessKey string, secretKey string) (configDir string, err error)

func DeleteMinioConfigDir

func DeleteMinioConfigDir(serviceId string) error

Types

type TreeHandler

type TreeHandler struct {
	FS afero.Fs
}

func NewTreeHandler

func NewTreeHandler() *TreeHandler

func (*TreeHandler) FileInfoToNode

func (t *TreeHandler) FileInfoToNode(nodePath string, fileInfo os.FileInfo) *tree.Node

func (*TreeHandler) ListNodes

func (*TreeHandler) ReadNode

func (t *TreeHandler) ReadNode(ctx context.Context, request *tree.ReadNodeRequest, response *tree.ReadNodeResponse) error

Directories

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

Jump to

Keyboard shortcuts

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