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) Adapter
type GVRC ¶
type GVRC struct { GVR schema.GroupVersionResource Controller bool }
GVRC is a pairing of GroupVersionResource and Controller flag.
Click to show internal directories.
Click to hide internal directories.