cloudflare

package
v0.0.0-...-a1f8bd1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderType = "cloudflare"
View Source
const RegistrarType = "cloudflare"

Variables

This section is empty.

Functions

func ReadRegistrarConfig

func ReadRegistrarConfig(config *api.Config) (api.Config, error)

Types

type AuthConfig

type AuthConfig struct {
	api.Credentials `json:",inline" yaml:",inline"`
	AccountId       string `json:"accountId" yaml:"accountId"`
}

func (*AuthConfig) CredentialsValue

func (r *AuthConfig) CredentialsValue() string

func (*AuthConfig) ProjectIdValue

func (r *AuthConfig) ProjectIdValue() string

func (*AuthConfig) ProviderType

func (r *AuthConfig) ProviderType() string

type RegistrarConfig

type RegistrarConfig struct {
	AuthConfig `json:",inline" yaml:",inline"`
	ZoneName   string          `json:"zoneName" yaml:"zoneName"`
	Records    []api.DnsRecord `json:"dnsRecords" yaml:"dnsRecords"`
}

func (*RegistrarConfig) DnsRecords

func (r *RegistrarConfig) DnsRecords() []api.DnsRecord

Jump to

Keyboard shortcuts

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