metadata

package
v0.0.288 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchTokenFromSpec

func FetchTokenFromSpec(ctx context.Context, specData string) (string, error)

func FetchValueFromSpec

func FetchValueFromSpec(ctx context.Context, specData string, key string) (string, error)

Types

type MetadataSpec

type MetadataSpec struct {
	Version     string `json:"version,omitempty"`
	MetadataURL string `json:"metadata_url,omitempty"`
	TokenURL    string `json:"token_url,omitempty"`
	InlineToken string `json:"inline_token,omitempty"`
}

Jump to

Keyboard shortcuts

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