merge

package
v0.0.0-...-0b904bf Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWrongObjectType    = fmt.Errorf("given object does not match the merger")
	ErrMismatchingObjects = fmt.Errorf("given objects have mismatching types")
)

Functions

func Annotations

func Annotations(current, updated client.Object) client.Object

func Labels

func Labels(current, updated client.Object) client.Object

func MetadataForUpdate

func MetadataForUpdate(current, updated client.Object) (client.Object, error)

func ObjectForUpdate

func ObjectForUpdate(current, updated client.Object) (client.Object, error)

func ServiceAccountForUpdate

func ServiceAccountForUpdate(current, updated client.Object) (client.Object, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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