Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeReceiveAdapter ¶
func MakeReceiveAdapter(args *ReceiveAdapterArgs) *v1.Deployment
MakeReceiveAdapter generates (but does not insert into K8s) the Receive Adapter Deployment for Prometheus sources.
Types ¶
type ReceiveAdapterArgs ¶
type ReceiveAdapterArgs struct { EventSource string Image string Source *v1alpha1.PrometheusSource Labels map[string]string SinkURI string }
ReceiveAdapterArgs are the arguments needed to create a Prometheus Receive Adapter. Every field is required.
Click to show internal directories.
Click to hide internal directories.