patching

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PatchApplier

type PatchApplier struct {
	// contains filtered or unexported fields
}

func NewPatchApplier

func NewPatchApplier(jsonEncoder runtime.Encoder, jsonDecoder runtime.Decoder) *PatchApplier

func (*PatchApplier) ApplyPatch

func (p *PatchApplier) ApplyPatch(obj runtime.Object, patchType types.PatchType, patchBytes []byte) (runtime.Object, error)

type PatchCreator

type PatchCreator struct {
	// contains filtered or unexported fields
}

func NewPatchCreator

func NewPatchCreator(scheme *runtime.Scheme, clientNegotiator client_negotiator.ExtendedClientNegotiator, openapiSchema openapi.Resources) (*PatchCreator, error)

func (*PatchCreator) CreatePatch

func (p *PatchCreator) CreatePatch(groupVersionKind schema.GroupVersionKind, current runtime.Object, target runtime.Object) ([]byte, types.PatchType, error)

Jump to

Keyboard shortcuts

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