metadata

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthorizationTokenFromMetadata

func GetAuthorizationTokenFromMetadata(md metadata.MD) (string, error)

GetAuthorizationTokenFromMetadata gets the authorization token from the metadata

func GetGCloudAuthorizationTokenFromMetadata

func GetGCloudAuthorizationTokenFromMetadata(md metadata.MD) (string, error)

GetGCloudAuthorizationTokenFromMetadata gets the GCloud authorization token from the metadata

func GetTokenFromMetadata

func GetTokenFromMetadata(md metadata.MD, tokenKey string) (string, error)

GetTokenFromMetadata gets the token from the metadata

Types

This section is empty.

Jump to

Keyboard shortcuts

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