gcs

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GCSCredentialFileName        = "gcloud-application-credentials.json"
	GCSCredentialVolumeName      = "user-gcp-sa"
	GCSCredentialVolumeMountPath = "/var/secrets/"
	GCSCredentialEnvKey          = "GOOGLE_APPLICATION_CREDENTIALS"
)

Variables

This section is empty.

Functions

func BuildSecretVolume

func BuildSecretVolume(secret *v1.Secret) (v1.Volume, v1.VolumeMount)

Types

type GCSConfig

type GCSConfig struct {
	GCSCredentialFileName string `json:"gcsCredentialFileName,omitempty"`
}

Jump to

Keyboard shortcuts

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