iap

package
v1.1.52 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TokenProvider

func TokenProvider(
	thelmaConfig config.Config,
	creds credentials.Credentials,
	lazyGoogleClient func(options ...google.Option) google.Clients,
	runner shell.Runner,
	project Project,
) (credentials.TokenProvider, error)

TokenProvider returns a new token provider for IAP tokens

Types

type Project added in v1.1.38

type Project int
const (
	DspDevopsSuperProd Project = iota
	DspToolsK8s
)

func ParseProject added in v1.1.38

func ParseProject(s string) (Project, error)

func (Project) ProjectID added in v1.1.38

func (p Project) ProjectID() (string, error)

ProjectID returns the project ID for the given project. This is the alphanumeric/hyphenated ID, not the one that can contain spaces or the one that is all numbers.

Jump to

Keyboard shortcuts

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