Documentation ¶
Index ¶
- func MakeAddEvent(source string, apiServerSourceName string, obj interface{}, ref bool) (context.Context, cloudevents.Event, error)
- func MakeDeleteEvent(source string, apiServerSourceName string, obj interface{}, ref bool) (context.Context, cloudevents.Event, error)
- func MakeUpdateEvent(source string, apiServerSourceName string, obj interface{}, ref bool) (context.Context, cloudevents.Event, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAddEvent ¶
func MakeAddEvent(source string, apiServerSourceName string, obj interface{}, ref bool) (context.Context, cloudevents.Event, error)
MakeAddEvent returns a cloudevent when a k8s api event is created.
func MakeDeleteEvent ¶
func MakeDeleteEvent(source string, apiServerSourceName string, obj interface{}, ref bool) (context.Context, cloudevents.Event, error)
MakeDeleteEvent returns a cloudevent when a k8s api event is deleted.
func MakeUpdateEvent ¶
func MakeUpdateEvent(source string, apiServerSourceName string, obj interface{}, ref bool) (context.Context, cloudevents.Event, error)
MakeUpdateEvent returns a cloudevent when a k8s api event is updated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.