s3

package
v0.0.0-...-b2d74e5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GROUP_NAME = "backup"

Module Constants

View Source
const MODULE_NAME = "s3"
View Source
const TYPE_NAME = "output"

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupOutputS3

type BackupOutputS3 struct {
	core.Module
	// contains filtered or unexported fields
}

func (*BackupOutputS3) Close

func (m *BackupOutputS3) Close() error

func (*BackupOutputS3) GetConfig

func (m *BackupOutputS3) GetConfig() interface{}

func (*BackupOutputS3) GetGroup

func (m *BackupOutputS3) GetGroup() core.ModuleGroup

func (*BackupOutputS3) GetName

func (m *BackupOutputS3) GetName() string

func (*BackupOutputS3) GetType

func (m *BackupOutputS3) GetType() core.ModuleType

func (*BackupOutputS3) InitModule

func (m *BackupOutputS3) InitModule(_config interface{}) error

func (*BackupOutputS3) InitPipe

func (m *BackupOutputS3) InitPipe(w io.Writer, r io.Reader) error

func (*BackupOutputS3) Run

func (m *BackupOutputS3) Run(ctx context.Context) error

type Config

type Config struct {
	Region          string
	AccessKeyID     string
	SecretAccessKey string
	Bucket          string
	FileName        string
}

Jump to

Keyboard shortcuts

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