backend

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendAPI

type BackendAPI interface {
	PutObject(*types.PutObjectInput) error
	DeleteObject(*types.DeleteObjectInput) error
	GetObject(*types.GetObjectInput) (*types.GetObjectOutput, error)
	GetObjects(*types.GetObjectsInput) (*types.GetObjectsOuput, error)
}

func New

func New(options Options) (BackendAPI, error)

New returns client for specific backend - s3 or ssm by default we use SSM once S3 bucket name is specified and no backend chosen we use S3

type Options

type Options struct {
	Region       string
	S3BucketName string
	Backend      string
	AWSConfig    aws.Config
}

Options for backend

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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