aws

package
v1.60.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmptyString = ""

	ErrorCouldNotAssertObject = "could not assert object as *s3.PutObjectInput"
	ErrorNotImplemented       = "not implemented"
)

Variables

This section is empty.

Functions

func NewAwsObject

func NewAwsObject(job *provider.Job) provider.Object

func NewAwsOperator

func NewAwsOperator(app *conf.AppConfig) (oper provider.Operator, err error)

Types

type AwsClient

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

type AwsObject

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

func (*AwsObject) Destroy

func (o *AwsObject) Destroy() error

func (*AwsObject) Generate

func (o *AwsObject) Generate() error

func (*AwsObject) Post

func (o *AwsObject) Post() error

func (*AwsObject) Pre

func (o *AwsObject) Pre() error

type AwsOperator

type AwsOperator struct {
	App *conf.AppConfig
	AWS *AwsClient
}

func (*AwsOperator) BucketCreate

func (oper *AwsOperator) BucketCreate() error

func (*AwsOperator) BucketDelete

func (oper *AwsOperator) BucketDelete() error

func (*AwsOperator) BucketExists

func (oper *AwsOperator) BucketExists() (bool, error)

func (*AwsOperator) GetObjectTags

func (oper *AwsOperator) GetObjectTags(key string) (map[string]string, error)

func (*AwsOperator) ObjectDelete

func (oper *AwsOperator) ObjectDelete(key string) error

func (*AwsOperator) ObjectExists

func (oper *AwsOperator) ObjectExists(obj provider.Object) (bool, error)

func (*AwsOperator) ObjectUpload

func (oper *AwsOperator) ObjectUpload(obj provider.Object) error

func (*AwsOperator) Support

func (oper *AwsOperator) Support() *provider.Supports

Jump to

Keyboard shortcuts

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