Documentation ¶
Index ¶
- func GenerateSubscriptionName(src *v1alpha1.PullSubscription) string
- func GetLabelSelector(controller, source string) labels.Selector
- func GetLabels(controller, source string) map[string]string
- func MakeReceiveAdapter(ctx context.Context, args *ReceiveAdapterArgs) *v1.Deployment
- type ReceiveAdapterArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSubscriptionName ¶
func GenerateSubscriptionName(src *v1alpha1.PullSubscription) string
func GetLabelSelector ¶
func MakeReceiveAdapter ¶
func MakeReceiveAdapter(ctx context.Context, args *ReceiveAdapterArgs) *v1.Deployment
MakeReceiveAdapter generates (but does not insert into K8s) the Receive Adapter Deployment for PullSubscriptions.
Types ¶
type ReceiveAdapterArgs ¶
type ReceiveAdapterArgs struct { Image string Source *v1alpha1.PullSubscription Labels map[string]string SubscriptionID string SinkURI string TransformerURI string MetricsConfig string LoggingConfig string TracingConfig string }
ReceiveAdapterArgs are the arguments needed to create a PullSubscription Receive Adapter. Every field is required.
Click to show internal directories.
Click to hide internal directories.