expansion

package
v0.28.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultRefRegexp = regexp.MustCompile(`((secret)?ref)\+([^\+:]*:\/\/[^\+\n "]+)\+?`)

Functions

func ModifyStringValues

func ModifyStringValues(v interface{}, f func(path string) (interface{}, error)) (interface{}, error)

Types

type ExpandRegexMatch

type ExpandRegexMatch struct {
	Target *regexp.Regexp
	Lookup func(string) (string, error)
	Only   []string
}

func (*ExpandRegexMatch) InMap

func (e *ExpandRegexMatch) InMap(target map[string]interface{}) (map[string]interface{}, error)

func (*ExpandRegexMatch) InString

func (e *ExpandRegexMatch) InString(s string) (string, error)

Jump to

Keyboard shortcuts

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