minio

package
v0.0.0-...-383e6fc Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package minio has the connection with Minio, handles the user creation / policies for each agent and creates an space for each job to store data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(ctx *context.Context, usr string) (key string, err error)

CreateUser creates a new user to the Minio server TODO: Add S3 compatibility

func Init

func Init(ctx *context.Context)

Init creates the Minio connection

func MakeBucketForUser

func MakeBucketForUser(ctx *context.Context, usr string) (string, error)

MakeBucketForUser creates a new bucket and adds read and write permissions to the user TODO: Add S3 compatibility

Types

This section is empty.

Jump to

Keyboard shortcuts

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