_s3

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 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 S3BucketPS

type S3BucketPS struct {
	S3BucketUrl helpers.FlagHelper
	// contains filtered or unexported fields
}

func NewS3BucketPS

func NewS3BucketPS() *S3BucketPS

func (*S3BucketPS) GetBucket

func (this *S3BucketPS) GetBucket() string

func (*S3BucketPS) GetClient

func (this *S3BucketPS) GetClient() *s3.S3

func (*S3BucketPS) GetInstance

func (this *S3BucketPS) GetInstance() *s3.S3

func (*S3BucketPS) GetS3Uploader

func (this *S3BucketPS) GetS3Uploader() *s3manager.Uploader

func (*S3BucketPS) GetSession

func (this *S3BucketPS) GetSession() *session.Session

func (*S3BucketPS) HandleCommand

func (this *S3BucketPS) HandleCommand(cmd *cli.Command) error

func (*S3BucketPS) HandleContext

func (this *S3BucketPS) HandleContext(cCtx *cli.Context) error

func (*S3BucketPS) SetCategory

func (this *S3BucketPS) SetCategory(category string) *S3BucketPS

func (*S3BucketPS) SetPrefix

func (this *S3BucketPS) SetPrefix(prefix string) *S3BucketPS

type S3PS

type S3PS struct {
	S3Url helpers.FlagHelper

	S3Bucket helpers.FlagHelper
	// contains filtered or unexported fields
}

func NewS3PS

func NewS3PS() *S3PS

func (*S3PS) EnableBucketFlag

func (this *S3PS) EnableBucketFlag() *S3PS

func (*S3PS) GetBucket

func (this *S3PS) GetBucket() string

func (*S3PS) GetClient

func (this *S3PS) GetClient() *s3.S3

func (*S3PS) GetInstance

func (this *S3PS) GetInstance() *s3.S3

func (*S3PS) GetS3Uploader

func (this *S3PS) GetS3Uploader() *s3manager.Uploader

func (*S3PS) GetSession

func (this *S3PS) GetSession() *session.Session

func (*S3PS) HandleCommand

func (this *S3PS) HandleCommand(cmd *cli.Command) error

func (*S3PS) HandleContext

func (this *S3PS) HandleContext(cCtx *cli.Context) error

func (*S3PS) SetCategory

func (this *S3PS) SetCategory(category string) *S3PS

func (*S3PS) SetPrefix

func (this *S3PS) SetPrefix(prefix string) *S3PS

Jump to

Keyboard shortcuts

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