version

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

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 added in v0.39.0

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 added in v0.39.0

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