util

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLastAppliedConfig

func GetLastAppliedConfig(obj runtime.Object) ([]byte, error)

GetOriginalConfiguration retrieves the original configuration of the object from the annotation, or nil if no annotation was found.

func SetLastAppliedConfig

func SetLastAppliedConfig(obj runtime.Object, lastAppliedConfig []byte) error

SetOriginalConfiguration sets the original configuration on the object in the annotation

func SetLastAppliedConfigInPatch

func SetLastAppliedConfigInPatch(patch []byte, lastAppliedConfig []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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