provider

package
v0.0.0-...-94e4715 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormatURL

type FormatURL string

FormatURL is the meta-data service url as a format string to be replaced by version. Example: var u FormatURL = "http://169.254.169.254/metadata/%s/%s" fmt.Printf(u.Fill("latest", "hostname")) -> http://169.254.169.254/metadata/latest/hostname

func (FormatURL) Fill

func (u FormatURL) Fill(vals ...interface{}) string

Fill method is a wrapper around fmt.Sprintf to fill format URL

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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