parse

package
v4.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRoleVariable

func IsRoleVariable(variable string) (string, string, error)

IsRoleVariable checks if the passed in string matches the variable pattern {{external.foo}} or {{internal.bar}}. If it does, it returns the variable prefix and the variable name. In the previous example this would be "external" or "internal" for the variable prefix and "foo" or "bar" for the variable name. If no variable pattern is found, trace.NotFound is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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