formatters

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 17 Imported by: 4 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotHelmRelease = errors.New("not helm release") // error for when it's not a helm release

)
View Source
var ReadOnlySettings = []string{
	"cacerts",
}

Functions

func DropHelmData

func DropHelmData(data data.Object)

func HandleHelmData added in v0.2.0

func HandleHelmData(request *types.APIRequest, resource *types.RawResource)

func Namespace added in v0.9.11

func Namespace(request *types.APIRequest, resource *types.RawResource)

Namespace strips sensitive metadata from namespace objects the user cannot actually "get". Preserves: name, resourceVersion, status.phase, and allowed annotations/labels for UI.

func Pod

func Pod(_ *types.APIRequest, resource *types.RawResource)

func Setting added in v0.9.10

func Setting(request *types.APIRequest, resource *types.RawResource)

Setting is the default formatter for management.cattle.io.setting resources. This formatter removes the update link from resources which are read-only or cannot be updated by the user.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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