kubernetes: k8s.io/kubernetes/staging/src/k8s.io/kubectl/pkg/apply/strategy Index | Files

package strategy

import "k8s.io/kubernetes/staging/src/k8s.io/kubectl/pkg/apply/strategy"


Package Files

doc.go merge.go merge_visitor.go replace_visitor.go retain_keys_visitor.go strategic_visitor.go

func Create Uses

func Create(options Options) apply.Strategy

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

type Options Uses

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

Package strategy imports 2 packages (graph). Updated 2020-04-08. Refresh now. Tools for package owners.