resources

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDecouplingSubscriptionName added in v0.21.0

func GenerateDecouplingSubscriptionName(c *v1beta1.Channel) string

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

func GenerateDecouplingTopicName(c *v1beta1.Channel) string

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

func GenerateSubscriberRetrySubscriptionName(c *v1beta1.Channel, subsciberUID types.UID) string

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

func GenerateSubscriberRetryTopicName(c *v1beta1.Channel, subscriberUID types.UID) string

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 GetLabelSelector(controller, channel, uid string) labels.Selector

func GetLabels

func GetLabels(controller, channel, uid string) map[string]string

func GetPullSubscriptionAnnotations

func GetPullSubscriptionAnnotations(channel, clusterName string) map[string]string

func GetPullSubscriptionLabelSelector

func GetPullSubscriptionLabelSelector(controller, source, subscriber, uid string) labels.Selector

func GetPullSubscriptionLabels

func GetPullSubscriptionLabels(controller, channel, subscriber, uid string) map[string]string

func GetTopicAnnotations added in v0.15.0

func GetTopicAnnotations(clusterName string) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL