Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventListener ¶
type EventListener struct { // Logger Logger *logrus.Logger // K8sClient is kubernetes client K8sClient kubernetes.Interface // Namespace where gateway is deployed Namespace string }
MinioEventSourceListener implements Eventing for minio event sources
func (*EventListener) StartEventSource ¶
func (listener *EventListener) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error
StartEventSource activates an event source and streams back events
func (*EventListener) ValidateEventSource ¶
func (listener *EventListener) ValidateEventSource(ctx context.Context, eventSource *gateways.EventSource) (*gateways.ValidEventSource, error)
ValidateEventSource validates the minio event source
Click to show internal directories.
Click to hide internal directories.