gcloud

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package gcloud contains utility methods when deploying in Google Cloud Platform environments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name string // The GCP secret name.
	Out  string // The directory to unpack the secret into.
}

Config controls the gcloud secret-download process.

func (*Config) Download

func (c *Config) Download(ctx context.Context, logger *log.Logger) error

Download retrieves the named secret and unpacks it.

Jump to

Keyboard shortcuts

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