auth

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Oauth2User = "_oauth2_"

Variables

This section is empty.

Functions

func GCPTokenFromCreds

func GCPTokenFromCreds(creds string) (string, time.Time, error)

GCPTokenFromCreds creates oauth2 token from permanent service account token

func IsGCRPermanentServiceAccountToken

func IsGCRPermanentServiceAccountToken(registry string, username string) bool

IsGCRPermanentServiceAccountToken returns true if user is a Google permanent service account token

Types

This section is empty.

Jump to

Keyboard shortcuts

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