v1

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSourceIngressConfig

type EventSourceIngressConfig struct {
	IPGetter       IPGetter
	Eventsource    types.NamespacedName
	Endpoints      map[string]ingresscommon.NamedPath
	AdminNamespace string
	BaseURL        string
	Gateway        types.NamespacedName
	Service        types.NamespacedName
}

EventSourceIngressConfig provides the information needed for rendering ingress resources mapped to the service of an argo event source. it is ingress provider agnostic.

type IPGetter

type IPGetter interface {
	GetIPs() ([]string, error)
}

IPGetter defines an interface for ip address providers to get source CIDRs

type IngressConfigurator

type IngressConfigurator interface {
	Configure(ctx context.Context, config *EventSourceIngressConfig) ([]types.NamespacedName, error)
	Remove(ctx context.Context, config *EventSourceIngressConfig) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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