Documentation ¶
Index ¶
- type Event
- type EventFormat
- type Factory
- func (f *Factory) ConfigureAndStartGenerator(sub *v1alpha2.Subscription, eventType string) *Generator
- func (f *Factory) OnChangedSubscription(subscription *unstructured.Unstructured)
- func (f *Factory) OnDeleteSubscription(subscription *unstructured.Unstructured)
- func (f *Factory) OnNewSubscription(subscription *unstructured.Unstructured)
- func (f *Factory) StartReconcile(subscription *unstructured.Unstructured)
- func (f *Factory) Stop()
- type Generator
- type NamespaceName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventFormat ¶
type EventFormat int
const ( Legacy EventFormat = iota CloudEvent )
func EventFormatFromString ¶
func EventFormatFromString(format string) EventFormat
func (EventFormat) String ¶
func (e EventFormat) String() string
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewGeneratorFactory ¶
func (*Factory) ConfigureAndStartGenerator ¶
func (f *Factory) ConfigureAndStartGenerator(sub *v1alpha2.Subscription, eventType string) *Generator
func (*Factory) OnChangedSubscription ¶
func (f *Factory) OnChangedSubscription(subscription *unstructured.Unstructured)
func (*Factory) OnDeleteSubscription ¶
func (f *Factory) OnDeleteSubscription(subscription *unstructured.Unstructured)
func (*Factory) OnNewSubscription ¶
func (f *Factory) OnNewSubscription(subscription *unstructured.Unstructured)
func (*Factory) StartReconcile ¶
func (f *Factory) StartReconcile(subscription *unstructured.Unstructured)
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func (*Generator) Update ¶
func (e *Generator) Update(format EventFormat)
type NamespaceName ¶
type NamespaceName struct {
Name, Namespace string
}
Click to show internal directories.
Click to hide internal directories.