gcp

package
v0.90.17 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUnauthorized

func IsUnauthorized(err error) bool

IsUnauthorized checks if the error is un authorized.

func Load

func Load(ctx context.Context, project string, services ...string) ([]quota.Quota, error)

Load load the quota information for a project and provided services. It provides information about the usage and limit for each resource quota. roles/servicemanagement.quotaViewer role allows users to fetch the required details.

Types

This section is empty.

Jump to

Keyboard shortcuts

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