credentials

package
v0.0.0-...-e624ca2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GcloudCredentials

type GcloudCredentials struct {
	JSON JSONCredentials
}

GcloudCredentials are the credentials to use with google's cloud api

func (GcloudCredentials) GenerateAccount

func (gcloud GcloudCredentials) GenerateAccount() error

GenerateAccount will create a new .json file from a base64 string, place it at the root directory, and set the service key env variable

type GcloudJSONCredentials

type GcloudJSONCredentials struct{}

GcloudJSONCredentials specifies the gcloud.json service account creation

type JSONCredentials

type JSONCredentials interface {
	// contains filtered or unexported methods
}

JSONCredentials are credentials stored in a .json file

type ServiceAccount

type ServiceAccount interface {
	GenerateAccount()
}

ServiceAccount is the credentials to use with outside services

Jump to

Keyboard shortcuts

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