provider

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddResolvers added in v0.2.1

func AddResolvers(tag string, fn func(*yaml.Node) (*yaml.Node, error))

func MergeListItem

func MergeListItem(dst, key, src reflect.Value, mergeListItems bool)

func MergeMaps

func MergeMaps(dst, src reflect.Value, mergeListItems bool) error

func New

func New(version string) func() provider.Provider

func NewYamlMergeDataSource added in v0.1.4

func NewYamlMergeDataSource() datasource.DataSource

func NewYamlMergeFunction added in v0.2.6

func NewYamlMergeFunction() function.Function

func YamlUnmarshal added in v0.2.1

func YamlUnmarshal(in []byte, out interface{}) error

Types

type CustomTagProcessor added in v0.2.1

type CustomTagProcessor struct {
	// contains filtered or unexported fields
}

func (*CustomTagProcessor) UnmarshalYAML added in v0.2.1

func (i *CustomTagProcessor) UnmarshalYAML(value *yaml.Node) error

type YamlMerge

type YamlMerge struct {
	Id             types.String `tfsdk:"id"`
	Input          []string     `tfsdk:"input"`
	Output         types.String `tfsdk:"output"`
	MergeListItems types.Bool   `tfsdk:"merge_list_items"`
}

type YamlMergeFunction added in v0.2.6

type YamlMergeFunction struct{}

func (YamlMergeFunction) Definition added in v0.2.6

func (YamlMergeFunction) Metadata added in v0.2.6

func (YamlMergeFunction) Run added in v0.2.6

Jump to

Keyboard shortcuts

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