eventsource

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAnnotationKey string = "v1alpha1.argoslower.kanopy-platform/known-source"

Variables

This section is empty.

Functions

func ValidateEventSource

func ValidateEventSource(es *esv1alpha1.EventSource) error

Types

type Handler

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

func NewHandler

func NewHandler(mc MeshChecker, knownSources map[string]bool) *Handler

func (*Handler) Handle

func (*Handler) InjectDecoder

func (h *Handler) InjectDecoder(decoder *admission.Decoder) error

func (*Handler) SetAnnotationKey

func (h *Handler) SetAnnotationKey(key string)

func (*Handler) SetupWithManager

func (h *Handler) SetupWithManager(m manager.Manager)

type MeshChecker

type MeshChecker interface {
	OnMesh(namespace string) (bool, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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