interceptor

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicWebhookHandler

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

PathHandler represents an instance of a path handler with a specific namespace and name

func (*DynamicWebhookHandler) Handle added in v0.3.2

Handle processes the incoming dynamic webhook request

type GitPushResponse

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

type GitPusher

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

func (*GitPusher) Push

func (gp *GitPusher) Push() (GitPushResponse, error)

type WebhookInterceptsAll

type WebhookInterceptsAll struct {
	K8sClient client.Client

	sync.RWMutex

	Manager ctrl.Manager
	// contains filtered or unexported fields
}

func (*WebhookInterceptsAll) Register added in v0.3.2

func (s *WebhookInterceptsAll) Register(interceptor syngit.RemoteSyncer, path string) *DynamicWebhookHandler

Register registers the path in the pathHandlers map

func (*WebhookInterceptsAll) Start

func (s *WebhookInterceptsAll) Start()

func (*WebhookInterceptsAll) Unregister added in v0.3.2

func (s *WebhookInterceptsAll) Unregister(n types.NamespacedName)

Unregister removes the specific webhook from the pathHandlers map

type WebhookRequestChecker

type WebhookRequestChecker struct {

	// Status and condition mutex
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*WebhookRequestChecker) ProcessSteps

Jump to

Keyboard shortcuts

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