Documentation ¶
Index ¶
- func GenerateDecouplingSubscriptionName(c *v1beta1.Channel) string
- func GenerateDecouplingTopicName(c *v1beta1.Channel) string
- func GenerateSubscriberRetrySubscriptionName(c *v1beta1.Channel, subsciberUID types.UID) string
- func GenerateSubscriberRetryTopicName(c *v1beta1.Channel, subscriberUID types.UID) string
- func GetLabelSelector(controller, channel, uid string) labels.Selector
- func GetLabels(controller, channel, uid string) map[string]string
- func GetPullSubscriptionAnnotations(channel, clusterName string) map[string]string
- func GetPullSubscriptionLabelSelector(controller, source, subscriber, uid string) labels.Selector
- func GetPullSubscriptionLabels(controller, channel, subscriber, uid string) map[string]string
- func GetTopicAnnotations(clusterName string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDecouplingSubscriptionName ¶ added in v0.21.0
GenerateDecouplingSubscriptionName generates a deterministic Subscription name for a Channel. If the Subscription name would be longer than allowed by PubSub, the Channel name is truncated to fit.
func GenerateDecouplingTopicName ¶ added in v0.21.0
GenerateDecouplingTopicName generates a deterministic Topic name for a Channel. If the Topic name would be longer than allowed by PubSub, the Channel name is truncated to fit.
func GenerateSubscriberRetrySubscriptionName ¶ added in v0.21.0
GenerateSubscriberRetrySubscriptionName generates a deterministic Pub/Sub Subscription name for a Knative Subscription's retry Topic. If the subscription name would be longer than allowed by PubSub, the Subscription name is truncated to fit.
func GenerateSubscriberRetryTopicName ¶ added in v0.21.0
GenerateSubscriberRetryTopicName generates a deterministic Topic name for a Knative Subscription's retry topic. If the Topic name would be longer than allowed by PubSub, the name is truncated to fit.
func GetLabelSelector ¶
func GetTopicAnnotations ¶ added in v0.15.0
Types ¶
This section is empty.