Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldSelector ¶
FieldSelector returns field selector for resource filtering
Types ¶
type EventListener ¶
type EventListener struct { // Logger to log stuff Logger *logrus.Logger // K8RestConfig is kubernetes cluster config K8RestConfig *rest.Config }
EventListener implements Eventing
func (*EventListener) StartEventSource ¶
func (listener *EventListener) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error
StartEventSource starts an event source
func (*EventListener) ValidateEventSource ¶
func (listener *EventListener) ValidateEventSource(ctx context.Context, eventSource *gateways.EventSource) (*gateways.ValidEventSource, error)
ValidateEventSource validates a resource event source
type InformerEvent ¶
type InformerEvent struct { Obj interface{} OldObj interface{} Type v1alpha1.ResourceEventType }
InformerEvent holds event generated from resource state change
Click to show internal directories.
Click to hide internal directories.