internal

package
v0.0.0-...-11a9349 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTxtRecord

func CreateTxtRecord(client *hcloud.Client, zone *hcloud.Zone, record, validation string)

func DeleteTxtRecord

func DeleteTxtRecord(client *hcloud.Client, zone *hcloud.Zone, record, validation string)

func GetToken

func GetToken(config Config) string

func HookAuth

func HookAuth(config Config, client *hcloud.Client)

func HookCleanup

func HookCleanup(config Config, client *hcloud.Client)

func ParseDurationOrExit

func ParseDurationOrExit(duration string) time.Duration

Types

type Certbot

type Certbot struct {
	Domain              string
	Validation          string
	Token               string
	RemainingChallenges string
	AllDomains          string
	AuthOutput          string
}

type Config

type Config struct {
	Hook         string
	Zone         string
	TokenFile    string
	Debug        string
	Wait         time.Duration
	PrintVersion bool
	DumpConfig   bool
	Certbot
}

func GetConfig

func GetConfig() Config

type Hook

type Hook = string
const (
	HOOK_AUTH    Hook = "auth"
	HOOK_CLEANUP Hook = "cleanup"
)

Jump to

Keyboard shortcuts

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