Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RefMode produces payloads of ObjectReference RefMode = "Ref" // ResourceMode produces payloads of ResourceEvent ResourceMode = "Resource" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
Start(stopCh <-chan struct{}) error
}
func NewAdaptor ¶
func NewAdaptor(source string, k8sClient dynamic.Interface, ceClient cloudevents.Client, logger *zap.SugaredLogger, opt Options, reporter source.StatsReporter, name string) Adapter
Click to show internal directories.
Click to hide internal directories.