Documentation ¶
Index ¶
- Constants
- func BrokerChannelName(brokerName, channelType string) string
- func BrokerEventPolicyName(brokerName, channelName string) string
- func LabelsForBackingChannelsEventPolicy(broker *eventingv1.Broker) map[string]string
- func MakeEventPolicyForBackingChannel(b *eventingv1.Broker, backingChannel *eventingduckv1.Channelable) *eventingv1alpha1.EventPolicy
- func NewSubscription(ctx context.Context, t *eventingv1.Trigger, ...) *messagingv1.Subscription
- func SubscriptionLabels(ctx context.Context, t *eventingv1.Trigger) map[string]string
- func SubscriptionName(features feature.Flags, trigger *eventingv1.Trigger) string
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
BrokerChannelName creates a name for the Channel for a Broker for a given Channel type.
func BrokerEventPolicyName ¶ added in v0.42.0
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
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.
Click to show internal directories.
Click to hide internal directories.