store

package
v0.0.0-...-d01d845 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Storage

type S3Storage struct {
	// contains filtered or unexported fields
}

func NewS3Storage

func NewS3Storage(options S3StorageOptions) *S3Storage

func (*S3Storage) Load

func (s *S3Storage) Load(secrets []string) error

func (*S3Storage) Name

func (s *S3Storage) Name() string

func (*S3Storage) Store

func (s *S3Storage) Store(secrets []string) error

type S3StorageOptions

type S3StorageOptions struct {
	AccessKeyId     string
	SecretAccessKey string
	Region          string
	Bucket          string
	Prefix          string
}

type Storage

type Storage interface {
	Store([]string) error
	Load([]string) error
	Name() string
}

Jump to

Keyboard shortcuts

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