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 ¶
func NewAdapter ¶ added in v0.10.0
func NewAdapter(ctx context.Context, processed adapter.EnvConfigAccessor, ceClient cloudevents.Client, reporter source.StatsReporter) adapter.Adapter
func NewEnvConfig ¶ added in v0.10.0
func NewEnvConfig() adapter.EnvConfigAccessor
Types ¶
type GVRC ¶
type GVRC struct { GVR schema.GroupVersionResource Controller bool LabelSelector string OwnerApiVersion string OwnerKind string }
GVRC is a combination of GroupVersionResource, Controller flag, LabelSelector and OwnerRef
type StringList ¶ added in v0.10.0
type StringList []string
func (*StringList) Decode ¶ added in v0.10.0
func (s *StringList) Decode(value string) error
Decode splits list of strings separated by '|', overriding the default comma separator which is a valid label selector character.
Click to show internal directories.
Click to hide internal directories.