eventhandler

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package eventhandler contains utilities to perform type assertions on events returned from resource event handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Corev1ConfigMap

func Corev1ConfigMap(obj interface{}) (*corev1.ConfigMap, error)

Corev1ConfigMap casts obj into *corev1.ConfigMap.

func Corev1Pod

func Corev1Pod(obj interface{}) (*corev1.Pod, error)

Corev1Pod casts obj into *corev1.Pod.

func Corev1Secret

func Corev1Secret(obj interface{}) (*corev1.Secret, error)

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.

Jump to

Keyboard shortcuts

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