Help us shape the future of Go! Take the 2026 Go Developer Survey

driftcmp

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package driftcmp compares a value built from a spec with the same value built from GitHub. GitHub reports "none" as an absent list, while a spec may declare it as an empty one (`bypassActors: []` is what Helm, Kustomize and kubectl users write), so the two must compare equal or the object reports drift, and is updated, on every poll.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(a, b any) bool

Equal reports whether a and b hold the same data, treating a nil and an empty slice or map as the same, wherever they sit in the value. A pointer to a string slice is equal to nil when the slice it points to is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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