resources

package
v0.20.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const DefaultBrokerCellName = "default"

Right now we only support one brokercell in the system namespace in the cluster. TODO(#866) Delete hard-coded brokercell once we can dynamically assign brokercell to brokers.

Variables

This section is empty.

Functions

func CreateBrokerCell added in v0.16.0

func CreateBrokerCell(b *v1beta1.Broker) *inteventsv1alpha1.BrokerCell

func GenerateDecouplingSubscriptionName

func GenerateDecouplingSubscriptionName(b *brokerv1beta1.Broker) string

GenerateDecouplingSubscriptionName generates a deterministic subscription name for a Broker. If the subscription name would be longer than allowed by PubSub, the Broker name is truncated to fit.

func GenerateDecouplingTopicName

func GenerateDecouplingTopicName(b *brokerv1beta1.Broker) string

GenerateDecouplingTopicName generates a deterministic topic name for a Broker. If the topic name would be longer than allowed by PubSub, the Broker name is truncated to fit.

func GenerateRetrySubscriptionName

func GenerateRetrySubscriptionName(t *brokerv1beta1.Trigger) string

GenerateRetrySubscriptionName generates a deterministic subscription name for a Trigger. If the subscription name would be longer than allowed by PubSub, the Trigger name is truncated to fit.

func GenerateRetryTopicName

func GenerateRetryTopicName(t *brokerv1beta1.Trigger) string

GenerateRetryTopicName generates a deterministic topic name for a Trigger. If the topic name would be longer than allowed by PubSub, the Trigger name is truncated to fit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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