Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeEventType ¶
func MakeEventType(args *EventTypeArgs) eventingv1alpha1.EventType
MakeEventType creates the in-memory representation of the EventType for the specified ApiServerSource.
func MakeReceiveAdapter ¶
func MakeReceiveAdapter(args *ReceiveAdapterArgs) *v1.Deployment
MakeReceiveAdapter generates (but does not insert into K8s) the Receive Adapter Deployment for ApiServer Sources.
Types ¶
type EventTypeArgs ¶
type EventTypeArgs struct { Src *v1alpha1.ApiServerSource Type string Source string }
EventTypeArgs are the arguments needed to create an EventType for an Api Server Source.
type ReceiveAdapterArgs ¶
type ReceiveAdapterArgs struct { Image string Source *v1alpha1.ApiServerSource Labels map[string]string SinkURI string MetricsConfig string LoggingConfig string }
ReceiveAdapterArgs are the arguments needed to create a ApiServer Receive Adapter. Every field is required.
Click to show internal directories.
Click to hide internal directories.