patch

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(original, patch []byte, gvk schema.GroupVersionKind) ([]byte, error)

func ApplyOnFile

func ApplyOnFile(filePath string, patch []byte, gvk schema.GroupVersionKind) error

func Create

func Create(new meta.Object, applyFn func(meta.Object) error) ([]byte, error)

Create is a helper that creates a patch out of the change made in applyFn

Types

This section is empty.

Jump to

Keyboard shortcuts

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