resources

package
v0.43.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 15

Documentation

Index

Constants

View Source
const (
	BackingChannelEventPolicyLabelPrefix = "eventing.knative.dev/"
	OIDCBrokerSub                        = "system:serviceaccount:knative-eventing:mt-broker-ingress-oidc"
)

Variables

This section is empty.

Functions

func BrokerChannelName added in v0.7.0

func BrokerChannelName(brokerName, channelType string) string

BrokerChannelName creates a name for the Channel for a Broker for a given Channel type.

func BrokerEventPolicyName added in v0.42.0

func BrokerEventPolicyName(brokerName, channelName string) string

func LabelsForBackingChannelsEventPolicy added in v0.42.0

func LabelsForBackingChannelsEventPolicy(broker *eventingv1.Broker) map[string]string

func MakeEventPolicyForBackingChannel added in v0.42.0

func MakeEventPolicyForBackingChannel(b *eventingv1.Broker, backingChannel *eventingduckv1.Channelable) *eventingv1alpha1.EventPolicy

func NewSubscription added in v0.13.0

func NewSubscription(ctx context.Context, t *eventingv1.Trigger, brokerTrigger *corev1.ObjectReference, dest, reply *duckv1.Destination, delivery *eventingduckv1.DeliverySpec) *messagingv1.Subscription

NewSubscription returns a placeholder subscription for trigger 't', from brokerTrigger to 'dest' replying to brokerIngress.

func SubscriptionLabels added in v0.13.0

func SubscriptionLabels(ctx context.Context, t *eventingv1.Trigger) map[string]string

SubscriptionLabels generates the labels present on the Subscription linking this Trigger to the Broker's Channels.

func SubscriptionName added in v0.43.0

func SubscriptionName(features feature.Flags, trigger *eventingv1.Trigger) string

SubscriptionName returns the name of the Subscription for the given Trigger

Types

This section is empty.

Jump to

Keyboard shortcuts

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