webhook

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

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