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
func (dwc *DynamicWebhookHandler) Handle(w http.ResponseWriter, r *http.Request)
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 ¶
func (wrc *WebhookRequestChecker) ProcessSteps() admissionv1.AdmissionReview
Click to show internal directories.
Click to hide internal directories.