blackhole

package
v0.0.0-...-a735c6b Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

You can use the "packr clean" command to clean up this, and any other packr generated files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
}

Storage is the default storage for S3

func NewStorage

func NewStorage() *Storage

NewStorage takes a S3 connection and creates a default storage

func (*Storage) Delete

func (s *Storage) Delete(request *openapi.BackupRequest) error

Delete deletes a file from the blackhole

func (*Storage) Pull

func (s *Storage) Pull(request *openapi.BackupRequest, filename string) error

Pull pull a file from the blackhole

func (*Storage) Push

func (s *Storage) Push(request *openapi.BackupRequest, filename string) error

Push pushes a file to blaqhole bucket

Directories

Path Synopsis
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.

Jump to

Keyboard shortcuts

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