gcs

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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoogleCredentialFile   = "/etc/vault/storage/gcs/creds/sa.json"
	GoogleCredentialEnv    = "GOOGLE_APPLICATION_CREDENTIALS"
	GoogleCredentialVolume = "vault-google-credential"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	api.GcsSpec
}

func NewOptions

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

func (*Options) Apply

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

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 GcsSpec

Jump to

Keyboard shortcuts

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