common

package
v0.0.0-...-b024ce8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SelfPackagePath is the golang path for this package.
	SelfPackagePath = "github.com/clhain/provider-volterra/config/common"

	// ExtractResourceIDFuncPath holds the GCP resource ID extractor func name
	ExtractResourceNameFuncPath = "github.com/clhain/provider-volterra/config/common.ExtractResourceName()"
)

Variables

This section is empty.

Functions

func ExtractResourceName

func ExtractResourceName() reference.ExtractValueFn

func GetField

func GetField(from map[string]interface{}, path string) (string, error)

GetField returns the value of field as a string in a map[string]interface{},

fails properly otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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