Documentation ¶
Index ¶
- func BrokerChannelName(brokerName, channelType string) string
- func NewChannel(channelType string, owner kmeta.OwnerRefable, ...) (*unstructured.Unstructured, error)
- func NewSubscription(t *v1alpha1.Trigger, brokerTrigger, brokerRef *corev1.ObjectReference, ...) *messagingv1alpha1.Subscription
- func SubscriptionLabels(t *v1alpha1.Trigger) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BrokerChannelName ¶
BrokerChannelName creates a name for the Channel for a Broker for a given Channel type.
func NewChannel ¶
func NewChannel(channelType string, owner kmeta.OwnerRefable, channelTemplate *messagingv1beta1.ChannelTemplateSpec, l map[string]string) (*unstructured.Unstructured, error)
test NewChannel returns an unstructured.Unstructured based on the ChannelTemplateSpec for a given Broker.
func NewSubscription ¶
func NewSubscription(t *v1alpha1.Trigger, brokerTrigger, brokerRef *corev1.ObjectReference, uri *apis.URL, delivery *duckv1beta1.DeliverySpec) *messagingv1alpha1.Subscription
NewSubscription returns a placeholder subscription for trigger 't', from brokerTrigger to 'uri' replying to brokerIngress.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.