types

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 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

Overview

Package types contains all type specific processing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasSensitiveInfo

func HasSensitiveInfo(obj *unstructured.Unstructured) bool

HasSensitiveInfo returns true if the supplied object has sensitive data that might need to be hidden.

func HideSensitiveInfo

func HideSensitiveInfo(obj *unstructured.Unstructured) (*unstructured.Unstructured, bool)

HideSensitiveInfo creates a new object for secrets where secret values have been replaced with stable strings that can still be diff-ed. It returns a boolean to indicate that the return value was modified from the original object. When no modifications are needed, the original object is returned as-is.

func HideSensitiveLocalInfo

func HideSensitiveLocalInfo(in model.K8sLocalObject) (model.K8sLocalObject, bool)

HideSensitiveLocalInfo is like HideSensitiveInfo but for local objects.

Types

type RolloutStatus

type RolloutStatus struct {
	Description string // the description of status for display
	Done        bool   // indicator if the status is "ready"
}

RolloutStatus is the opaque rollout status of an object.

type RolloutStatusFunc

type RolloutStatusFunc func(obj *unstructured.Unstructured, revision int64) (status *RolloutStatus, err error)

RolloutStatusFunc returns the rollout status for the supplied object.

func StatusFuncFor

func StatusFuncFor(obj model.K8sMeta) RolloutStatusFunc

StatusFuncFor returns the status function for the specified object or nil if a status function does not exist for it.

Jump to

Keyboard shortcuts

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