nilobj

package
v0.2.0-beta.24 Latest Latest
Warning

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

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

Documentation

Overview

Package nilobj tells whether a client.Object holds no object. Bundle.Generate and the layout walk ask it of every entry an application's Generate returns, so they cannot disagree on which entries hold nothing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(o client.Object) bool

Is reports whether o holds no object: o is nil, or holds a nil pointer of an object type, such as client.Object((*corev1.ConfigMap)(nil)). Such a pointer is no nil interface, so o == nil misses it, and every method that reads the object (GetName, GetLabels, ...) dereferences it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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