Documentation ¶
Overview ¶
Package eventhandler contains utilities to perform type assertions on events returned from resource event handlers.
Index ¶
- func Corev1ConfigMap(obj interface{}) (*corev1.ConfigMap, error)
- func Corev1Pod(obj interface{}) (*corev1.Pod, error)
- func Corev1Secret(obj interface{}) (*corev1.Secret, error)
- func Executionv1alpha1Job(obj interface{}) (*executionv1alpha1.Job, error)
- func Executionv1alpha1JobConfig(obj interface{}) (*executionv1alpha1.JobConfig, error)
- func NewUnexpectedTypeError(want, got interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Corev1ConfigMap ¶
Corev1ConfigMap casts obj into *corev1.ConfigMap.
func Corev1Secret ¶
Corev1Secret casts obj into *corev1.Secret.
func Executionv1alpha1Job ¶
func Executionv1alpha1Job(obj interface{}) (*executionv1alpha1.Job, error)
Executionv1alpha1Job casts obj into *executionv1alpha1.Job.
func Executionv1alpha1JobConfig ¶
func Executionv1alpha1JobConfig(obj interface{}) (*executionv1alpha1.JobConfig, error)
Executionv1alpha1JobConfig casts obj into *executionv1alpha1.JobConfig.
func NewUnexpectedTypeError ¶
func NewUnexpectedTypeError(want, got interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.