package
0.0.285
Repository: https://github.com/cloudfoundry/bosh-gcscli.git
Documentation: pkg.go.dev

# Functions

NewFromReader returns the new gcscli configuration struct from the contents of the reader.

# Constants

DefaultCredentialsSource specifies that credentials should be detected.
NoneCredentialsSource specifies that credentials are explicitly empty and that the client should be restricted to a read-only scope.
ServiceAccountFileCredentialsSource specifies that a service account file included in json_key should be used for authentication.

# Variables

ErrEmptyBucketName is returned when a bucket_name in the config is empty.
ErrEmptyServiceAccountFile is returned when json_key in the config is empty when StaticCredentialsSource is explicitly requested.
ErrWrongLengthEncryptionKey is returned when a non-nil encryption_key in the config is not exactly 32 bytes.

# Structs

GCSCli represents the configuration for the gcscli.