Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventSink ¶
func NewEventSink( eventClient typedv1.EventInterface, ) record.EventSink
Types ¶
type Destination ¶
func NewK8sDestination ¶
func NewK8sDestination( lg *zap.SugaredLogger, ) (Destination, error)
type EventSinkImpl ¶
type EventSinkImpl struct {
Interface typedv1.EventInterface
}
func (*EventSinkImpl) Create ¶
Create takes the representation of a event and creates it. Returns the server's representation of the event, and an error, if there is any.
type K8sDestination ¶
type K8sDestination struct {
// contains filtered or unexported fields
}
func (K8sDestination) Name ¶
func (k K8sDestination) Name() string
func (K8sDestination) Push ¶
func (k K8sDestination) Push(_ context.Context, msg config.WebhookMessage) error
Click to show internal directories.
Click to hide internal directories.