simplemapmerge

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODE_DEFAULT = defaultmerge.MODE_DEFAULT
	MODE_NONE    = defaultmerge.MODE_NONE
	MODE_LOCAL   = defaultmerge.MODE_LOCAL
	MODE_INBOUND = defaultmerge.MODE_INBOUND
)
View Source
const ALGORITHM = "simpleMapMerge"

Variables

This section is empty.

Functions

func New

func New() hpi.Handler

Types

type Config

type Config struct {
	defaultmerge.Config
	Entries *hpi.Specification `json:"entries,omitempty"`
}

func NewConfig

func NewConfig(overwrite Mode, entries ...*hpi.Specification) *Config

type Entry

type Entry = interface{}

type Mode

type Mode = defaultmerge.Mode

type Value

type Value = map[string]Entry

Value is the minimal structure of values usable with the merge algorithm.

Jump to

Keyboard shortcuts

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