resources

package
v1.18.10 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 15 Imported by: 1 module, 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

Index

Constants

View Source
const (
	DefaultProbeInitialDelay     = 5
	DefaultProbePeriod           = 10
	DefaultProbeTimeout          = 10
	DefaultProbeFailureThreshold = 10
	DefaultProbeSuccessThreshold = 1
)

Variables

This section is empty.

Functions

func Annotations

func Annotations(target *unstructured.Unstructured, annotations map[string]string)

func Decode

func Decode(decoder runtime.Decoder, content []byte) ([]unstructured.Unstructured, error)

func Label

func Label(target *unstructured.Unstructured, key string) string

func Labels

func Labels(target *unstructured.Unstructured, labels map[string]string)

func OwnerReference

func OwnerReference(owner client.Object) metav1.OwnerReference

func OwnerReferences

func OwnerReferences(owner client.Object) []metav1.OwnerReference

func Ref

func Ref(obj client.Object) string

func ToUnstructured

func ToUnstructured(s *runtime.Scheme, obj runtime.Object) (*unstructured.Unstructured, error)

func WithEnv

func WithEnv(name string, value string) *corev1ac.EnvVarApplyConfiguration

func WithEnvFromField

func WithEnvFromField(name string, value string) *corev1ac.EnvVarApplyConfiguration

func WithHTTPProbe

func WithHTTPProbe(path string, port int32) *corev1ac.ProbeApplyConfiguration

Types

This section is empty.

Jump to

Keyboard shortcuts

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