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
Click to show internal directories.
Click to hide internal directories.