check

package
v0.4.5 Latest Latest
Warning

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

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

Documentation

Overview

Package check implements checks for managed topology.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectsAreInTheSameNamespace

func ObjectsAreInTheSameNamespace(current, desired client.Object) error

ObjectsAreInTheSameNamespace checks if two referenced objects are in the same namespace.

func ReferencedObjectsAreCompatible

func ReferencedObjectsAreCompatible(current, desired client.Object) error

ReferencedObjectsAreCompatible checks if two referenced objects are compatible, meaning that they are of the same GroupKind and in the same namespace.

func ReferencedObjectsAreStrictlyCompatible

func ReferencedObjectsAreStrictlyCompatible(current, desired client.Object) error

ReferencedObjectsAreStrictlyCompatible checks if two referenced objects are strictly compatible, meaning that they are compatible and the name of the objects do not change.

Types

This section is empty.

Jump to

Keyboard shortcuts

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