Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnnotationsPatch ¶
func GetAnnotationsPatch(newAnnotations map[string]string, obj TektonObject) ([]byte, error)
GetAnnotationsPatch returns patch bytes that can be used with kubectl patch
Types ¶
type TektonObject ¶ added in v0.26.0
type TektonObject interface {
GetName() string
GetNamespace() string
GetGVK() string // Returns GroupVersionKind as "group/version/kind" string
}
TektonObject interface to get GVK information needed for server-side apply
Click to show internal directories.
Click to hide internal directories.