cloudflare

package
v0.0.0-...-8f1a291 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 7 Imported by: 0

README

Pukcab module: Cloudflare

Module name: cloudflare

This module enables you toback up DNS zone files for all zones on a Cloudflare account.

Requirements

  • The backup host must be able to access the Cloudflare API

Configuration

Key Type Description
cloudflare_email string The email address of your Cloudflare user account.
cloudflare_api_key string The API key for your Cloudflare user account.

Example

{
    "name": "cloudflare",
    "config": {
        "cloudflare_email": "example@example.com",
        "cloudflare_api_key": "123456789",
    }
}

Documentation

Index

Constants

View Source
const Name = "cloudflare"

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudflareConfig

type CloudflareConfig struct {
	Email  string `json:"cloudflare_email"`
	APIKey string `json:"cloudflare_api_key"`
}

type CloudflareModule

type CloudflareModule struct{}

CloudflareModule the Cloudflare pukcab module

func (CloudflareModule) Name

func (m CloudflareModule) Name() string

func (CloudflareModule) Run

func (m CloudflareModule) Run(c interface{}) ([]pukcab.File, error)

Jump to

Keyboard shortcuts

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