resourcehelper

package
v0.0.0-...-52527b8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatResourceForCLI

func FormatResourceForCLI(obj runtime.Object) string

FormatResourceForCLI generates a string that can be copy/pasted for use with oc get.

func FormatResourceForCLIWithNamespace

func FormatResourceForCLIWithNamespace(obj runtime.Object) string

FormatResourceForCLIWithNamespace generates a string that can be copy/pasted for use with oc get that includes specifying the namespace with the -n option (e.g., `ConfigMap/cluster-config-v1 -n kube-system`).

func GuessObjectGroupVersionKind

func GuessObjectGroupVersionKind(object runtime.Object) schema.GroupVersionKind

GuessObjectGroupVersionKind returns a human readable for the passed runtime object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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