s3factory

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Client

type S3Client struct {
	S3 *s3.S3
	// contains filtered or unexported fields
}

S3Client is a wrapper for S3 client that provides cleanup functionality.

func NewClientFromSecret

func NewClientFromSecret(kubecli kubernetes.Interface, namespace, awsSecret string) (w *S3Client, err error)

NewClientFromSecret returns a S3 client based on given k8s secret containing aws credentials.

func (*S3Client) Close

func (w *S3Client) Close()

Close cleans up all intermediate resources for creating S3 client.

Jump to

Keyboard shortcuts

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