s3

package
v0.0.0-...-85ffd96 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	api.S3Spec
}

func NewOptions

func NewOptions(s api.S3Spec) (*Options, error)

func (*Options) Apply

func (o *Options) Apply(pt *core.PodTemplateSpec) error

Set environment variable:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_SESSION_TOKEN

func (*Options) GetStorageConfig

func (o *Options) GetStorageConfig() (string, error)

vault doc: https://www.vaultproject.io/docs/configuration/storage/google-cloud-storage.html

GetStorageConfig creates gcs storae config from S3Spec

Jump to

Keyboard shortcuts

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