helpers

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewShortUUID

func NewShortUUID() string

NewShortUUID generates a random ID to use for traking of log messages per request

Types

type Storage

type Storage interface {
	GetK8sSecretName() string
	GetAccessData() map[string][]byte
	UploadFile(path string, file io.ReadSeeker) error
	Type() string
}

Storage is an interface used to accept more than one type of file storage

var FileStorage Storage

FileStorage is used to concentrate all storage functions in only one place This is a helper to abstract the providers

Jump to

Keyboard shortcuts

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