gcp

package
v0.0.0-...-b0384cf Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessToken

func GetAccessToken(ctx context.Context, serviceAccountPath string) (string, error)

GetAccessToken returns a valid access token for the provided service account.

func GetAvailableRestKeys

func GetAvailableRestKeys() []string

GetAvailableRestKeys returns the policies for the given resource

func GetGCPResources

func GetGCPResources() []string

GetGCPResources get all GCP resources

func GetPoliciesForResource

func GetPoliciesForResource(key string) []string

GetPoliciesForResource returns the policies for the given resource

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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