resources

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Annotations

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

func Decode added in v0.0.6

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

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 added in v0.0.6

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

func UnstructuredFor added in v0.0.3

func UnstructuredFor(group string, version string, kind string) *unstructured.Unstructured

func WithEnv added in v0.0.6

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

func WithEnvFromField added in v0.0.6

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

func WithHTTPProbe added in v0.0.6

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

func WithOwnerReference added in v0.0.6

func WithOwnerReference(object client.Object) *metav1ac.OwnerReferenceApplyConfiguration

func WithPort added in v0.0.6

Types

This section is empty.

Jump to

Keyboard shortcuts

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