version

package
v0.0.0-...-4fc8c9b Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateEnabledAPIFields = config.ValidateEnabledAPIFields

Deprecated: Use github.com/tektoncd/pipeline/pkg/apis/config.ValidateEnabledAPIFields instead

Functions

func DeserializeFromMetadata

func DeserializeFromMetadata(meta *metav1.ObjectMeta, to interface{}, key string) error

DeserializeFromMetadata takes the value of the input key from the metadata's annotations, deserializes it into "to", and removes the key from the metadata's annotations. Returns nil if the key is not present in the annotations.

func SerializeToMetadata

func SerializeToMetadata(meta *metav1.ObjectMeta, field interface{}, key string) error

SerializeToMetadata serializes the input field and adds it as an annotation to the metadata under the input key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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