eventsource

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServiceToPortMapping

func ServiceToPortMapping(svc *corev1.Service, es *esv1alpha1.EventSource) (out map[string]ingresscommon.NamedPath)

ServiceToPortMapping - receives a Service and argo EventSource and returns a validated port lookup map of NamedPaths. The lookup map allows mapping a target port to a desired path. It is generic for any eventsource but only provides data for supported event source types, github and webhook currently.

Types

type EventSourceIngressController

type EventSourceIngressController struct {
	// contains filtered or unexported fields
}

func (*EventSourceIngressController) Reconcile

func (*EventSourceIngressController) SetIPGetter

func (e *EventSourceIngressController) SetIPGetter(name string, getter v1.IPGetter)

type EventSourceIngressControllerConfig

type EventSourceIngressControllerConfig struct {
	Gateway        types.NamespacedName
	BaseURL        string
	AdminNamespace string
	// contains filtered or unexported fields
}

func NewEventSourceIngressControllerConfig

func NewEventSourceIngressControllerConfig() EventSourceIngressControllerConfig

func (*EventSourceIngressControllerConfig) SetIPGetter

func (c *EventSourceIngressControllerConfig) SetIPGetter(name string, getter v1.IPGetter)

Jump to

Keyboard shortcuts

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