forked

package
v0.0.0-...-83bd9c0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

This directory contains code that we copy from various places in the kubernetes source code that are generally hard to import otherwise.

The intent here is that we demonstrate the need & utility of exporting these functions in a stable location, and then if/when k/k exports them we can (reasonably) easily switch, because this is only test code.

As far as possible, we try to keep the same function names and not change the code. We want to reunify in the long-term.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeObjectManagedFields

func EncodeObjectManagedFields(obj runtime.Object, fields fieldpath.ManagedFields, times map[string]*metav1.Time) error

EncodeObjectManagedFields converts and stores the fieldpathManagedFields into the objects ManagedFields

func SetToFields

func SetToFields(s fieldpath.Set) (f metav1.FieldsV1, err error)

SetToFields creates a trie of fields from an input set of paths

Types

This section is empty.

Jump to

Keyboard shortcuts

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