storage

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	Upload(name string, r io.Reader) error
	CommandArtefact() string
}

A Storage is an interface used for uploading secured data.

func NewFrom

func NewFrom(konf *koanf.Koanf) (Storage, error)

NewFrom returns a new storage based on the given configuration.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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