Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceEventSourceExecutor ¶
type ResourceEventSourceExecutor struct { Log zerolog.Logger // K8RestConfig is kubernetes cluster config K8RestConfig *rest.Config }
ResourceEventSourceExecutor implements Eventing
func (*ResourceEventSourceExecutor) StartEventSource ¶
func (ese *ResourceEventSourceExecutor) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error
StartEventSource starts an event source
func (*ResourceEventSourceExecutor) ValidateEventSource ¶
func (ese *ResourceEventSourceExecutor) ValidateEventSource(ctx context.Context, es *gateways.EventSource) (*gateways.ValidEventSource, error)
ValidateEventSource validates gateway event source
type ResourceFilter ¶
type ResourceFilter struct { Prefix string `json:"prefix,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` CreatedBy metav1.Time `json:"createdBy,omitempty"` }
ResourceFilter contains K8 ObjectMeta information to further filter resource event objects
Click to show internal directories.
Click to hide internal directories.