Documentation ¶
Index ¶
- type S3CliClient
- func (c *S3CliClient) CreateRemotePathIfNeeded(remotePath string, sessionLogger lager.Logger) error
- func (c *S3CliClient) Name() string
- func (c *S3CliClient) RunCommand(cmd *exec.Cmd, stepName string) error
- func (c *S3CliClient) S3Cmd(args ...string) *exec.Cmd
- func (c *S3CliClient) Upload(localPath string, sessionLogger lager.Logger, ...) error
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) Upload ¶
func (c *S3CliClient) Upload(localPath string, sessionLogger lager.Logger, processManager process.ProcessManager) error
Click to show internal directories.
Click to hide internal directories.