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

package strategy

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

Index

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) and is imported by 4 packages. Updated 2019-02-14. Refresh now. Tools for package owners.