strategy

package
v1.10.6-lite2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(options Options) apply.Strategy

Create returns a new apply.Visitor for merging multiple objects together

Types

type Options

type Options struct {
	// FailOnConflict when true will fail patch creation if the recorded and remote
	// have 2 fields set for the same value that cannot be merged.
	// e.g. primitive values, list values with replace strategy, and map values with do
	// strategy
	FailOnConflict bool
}

Options controls how a merge will be executed

Jump to

Keyboard shortcuts

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