defaultmerge

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODE_DEFAULT = Mode("")
	MODE_NONE    = Mode("none")
	MODE_LOCAL   = Mode("local")
	MODE_INBOUND = Mode("inbound")
)
View Source
const ALGORITHM = "default"

Variables

This section is empty.

Functions

func New

func New() hpi.Handler

Types

type Config

type Config struct {
	Overwrite Mode `json:"overwrite"`
}

func NewConfig

func NewConfig(overwrite Mode) *Config

func (Config) Complete

func (c Config) Complete(ctx hpi.Context) error

type Mode

type Mode string

func (Mode) String

func (m Mode) String() string

type Value

type Value interface{}

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