Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Patch

type Patch struct {

	// contains filtered or unexported fields

}

func New

func New(curr, mod *unstructured.Unstructured) (_ *Patch, err error)

Attempts to create a 3-way strategic JSON merge patch. Falls back to RFC-7386 if object's type isn't registered

func (*Patch) Merge

func (p *Patch) Merge(obj *unstructured.Unstructured) (err error)

Apply the patch to the resource

func (*Patch) String

func (p *Patch) String() string

Source Files