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: 8 Imported by: 8

Documentation

Index

Constants

View Source
const (
	ParallelChannelEventPolicyLabelPrefix = "flows.knative.dev/"
)

Variables

This section is empty.

Functions

func LabelsForParallelChannelsEventPolicy added in v0.43.0

func LabelsForParallelChannelsEventPolicy(parallelName string) map[string]string

func MakeEventPolicyForParallelChannel added in v0.43.0

func MakeEventPolicyForParallelChannel(p *flowsv1.Parallel, channel *eventingduckv1.Channelable, subscription *messagingv1.Subscription) *eventingv1alpha1.EventPolicy

func MakeEventPolicyForParallelIngressChannel added in v0.43.0

func MakeEventPolicyForParallelIngressChannel(p *flowsv1.Parallel, ingressChannel *eventingduckv1.Channelable, parallelPolicy *eventingv1alpha1.EventPolicy) *eventingv1alpha1.EventPolicy

MakeEventPolicyForParallelIngressChannel creates an EventPolicy for the ingress channel of a Parallel.

func NewFilterSubscription

func NewFilterSubscription(branchNumber int, p *v1.Parallel) *messagingv1.Subscription

func NewSubscription

func NewSubscription(branchNumber int, p *v1.Parallel) *messagingv1.Subscription

func ParallelBranchChannelName

func ParallelBranchChannelName(parallelName string, branchNumber int) string

ParallelBranchChannelName creates a name for the Channel fronting a specific branch

func ParallelChannelName

func ParallelChannelName(parallelName string) string

ParallelChannelName creates a name for the Channel fronting parallel.

func ParallelEventPolicyName added in v0.43.0

func ParallelEventPolicyName(parallelName, suffix string) string

ParallelEventPolicyName returns the name of the EventPolicy for the Parallel. suffix is either channel name or parent event policy name.

func ParallelFilterSubscriptionName

func ParallelFilterSubscriptionName(parallelName string, branchNumber int) string

func ParallelSubscriptionName

func ParallelSubscriptionName(parallelName string, branchNumber int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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