utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GCEDefaultProject

func GCEDefaultProject(ctx context.Context, scope string) (string, error)

func GetPrivateKey

func GetPrivateKey(settings *backend.DataSourceInstanceSettings) (string, error)

Check if a private key path was provided. Fall back to the plugin's default method of an inline private key

Types

type JSONData

type JSONData struct {
	PrivateKeyPath string `json:"privateKeyPath"`
}

Jump to

Keyboard shortcuts

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