cloud

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretManager

type SecretManager interface {
	Load() ([]byte, error)
}

func NewSecretManager

func NewSecretManager() SecretManager

type StorageEngine added in v0.1.1

type StorageEngine interface {
	DownloadFile(ctx context.Context, bucket string, path string) ([]byte, error)
	UploadFile(ctx context.Context, bucket string, path string, data []byte) error
	DeleteFile(ctx context.Context, bucket string, path string) error
	ListFile(ctx context.Context, bucket string, path string) ([]string, error)
}

func NewStorageEngine added in v0.1.1

func NewStorageEngine() StorageEngine

Jump to

Keyboard shortcuts

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