provider

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MPL-2.0 Imports: 14 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 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"`
}

Jump to

Keyboard shortcuts

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