updater

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package updater implements the logic to detect and update IP addresses, combining the packages setter and provider.

Index

Constants

This section is empty.

Variables

View Source
var ShouldDisplayHelpMessages = map[ipnet.Type]bool{
	ipnet.IP4: true,
	ipnet.IP6: true,
}

ShouldDisplayHelpMessages determines whether help messages should be displayed. The help messages are to help beginners detect possible misconfiguration. These messages should be displayed at most once, and thus the value of this map will be changed to false after displaying the help messages.

Functions

func ClearIPs

func ClearIPs(ctx context.Context, ppfmt pp.PP, c *config.Config, s setter.Setter) (bool, string)

ClearIPs removes all DNS records of managed domains.

func UpdateIPs

func UpdateIPs(ctx context.Context, ppfmt pp.PP, c *config.Config, s setter.Setter) (bool, string)

UpdateIPs detect IP addresses and update DNS records of managed domains.

Types

This section is empty.

Jump to

Keyboard shortcuts

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