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

resources

package
v0.0.15 Latest Latest
Warning

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

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

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