s3

package
v18.3.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3CliClient

type S3CliClient struct {
	ProcessMgr process.ProcessManager
	// contains filtered or unexported fields
}

func New

func New(name, awsCmdPath, endpointURL, region, accessKey, secretKey, caCertPath string, remotePathFn func() string) *S3CliClient

func (*S3CliClient) CreateRemotePathIfNeeded

func (c *S3CliClient) CreateRemotePathIfNeeded(remotePath string, sessionLogger lager.Logger) error

func (*S3CliClient) Name

func (c *S3CliClient) Name() string

func (*S3CliClient) RunCommand

func (c *S3CliClient) RunCommand(cmd *exec.Cmd, stepName string) error

func (*S3CliClient) S3Cmd

func (c *S3CliClient) S3Cmd(args ...string) *exec.Cmd

func (*S3CliClient) Upload

func (c *S3CliClient) Upload(localPath string, sessionLogger lager.Logger, processManager process.ProcessManager) error

Jump to

Keyboard shortcuts

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