webhook

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package webhook

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Health

func Health(next http.Handler) http.Handler

Health handles the health request

Types

type Webhook

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

Webhook for external dns provider

func New

func New(provider provider.Provider) *Webhook

New creates a new instance of the Webhook

func (*Webhook) AdjustEndpoints

func (p *Webhook) AdjustEndpoints(w http.ResponseWriter, r *http.Request)

AdjustEndpoints handles the post request for adjusting endpoints

func (*Webhook) ApplyChanges

func (p *Webhook) ApplyChanges(w http.ResponseWriter, r *http.Request)

ApplyChanges handles the post request for record changes

func (*Webhook) Negotiate

func (p *Webhook) Negotiate(w http.ResponseWriter, r *http.Request)

func (*Webhook) Records

func (p *Webhook) Records(w http.ResponseWriter, r *http.Request)

Records handles the get request for records

Jump to

Keyboard shortcuts

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