gcpauthtesthelper

package
v0.0.0-...-d19fc40 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Secret = corev1.SecretKeySelector{
	LocalObjectReference: corev1.LocalObjectReference{
		Name: "google-cloud-key",
	},
	Key: "key.json",
}

Secret is the authorization added when using WithDefaults().

Functions

func ContextWithDefaults

func ContextWithDefaults() context.Context

ContextWithDefaults creates a context and populates it with the ClusterDefaults set to Secret().

func WithDefaults

func WithDefaults(ctx context.Context) context.Context

WithDefaults adds Secret() as the cluster default authorization to the passed in context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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