ddns

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(deps Dependencies) *Client

func (Client) Run

func (c Client) Run(ctx context.Context, cfg config.Config) (RunReport, error)

returns wether or not DNS changed

type Dependencies

type Dependencies struct {
	Cloudflare cloudflare.Interface
	Github     gh.Interface
}

type PRReport

type PRReport struct {
	NewIP, OldIP         string
	ZoneName, RecordName string
}

type RunReport

type RunReport struct {
	DnsChanged bool
	NewIP      string
}

Jump to

Keyboard shortcuts

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