dest

package
v0.0.0-...-ee216f3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dester

type Dester interface {
	String() string
	Write(file.File) error
}

type EndpointResolver

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

func (EndpointResolver) ResolveEndpoint

func (e EndpointResolver) ResolveEndpoint(service, region string, options ...interface{}) (aws.Endpoint, error)

type NoneDest

type NoneDest struct{}

func (NoneDest) String

func (n NoneDest) String() string

func (NoneDest) Write

func (n NoneDest) Write(f file.File) error

type S3Dest

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

func NewS3

func NewS3(params S3Params) (*S3Dest, error)

func (*S3Dest) String

func (d *S3Dest) String() string

func (*S3Dest) Write

func (d *S3Dest) Write(file file.File) error

type S3Params

type S3Params struct {
	AccessKey       string
	Endpoint        string
	Namespace       string
	ForcePathStyle  bool
	SecretAccessKey string
	Region          string
	Url             string
}

Jump to

Keyboard shortcuts

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