Documentation ¶
Index ¶
- func FormatResourceForCLI(obj runtime.Object) string
- func FormatResourceForCLIWithNamespace(obj runtime.Object) string
- func GuessObjectGroupVersionKind(object runtime.Object) schema.GroupVersionKind
- func ReportCreateEvent(recorder events.Recorder, obj runtime.Object, originalErr error)
- func ReportDeleteEvent(recorder events.Recorder, obj runtime.Object, originalErr error, ...)
- func ReportUpdateEvent(recorder events.Recorder, obj runtime.Object, originalErr error, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatResourceForCLI ¶
FormatResourceForCLI generates a string that can be copy/pasted for use with oc get.
func FormatResourceForCLIWithNamespace ¶
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.
func ReportCreateEvent ¶
func ReportDeleteEvent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.