template

package
v0.0.0-...-a355528 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetadataFunc

func MetadataFunc(discovery func() discovery.Plugins) func(string, ...interface{}) (interface{}, error)

MetadataFunc returns a template function to support metadata retrieval in templates. The function allows an additional parameter to set the value, provided the metadata plugin is not readonly (supports the metadata.Updatable spi). In the case of an update, the returned value is always an empty string, with error (can be nil). The behavior is the same as var function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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