backend

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBackend

func SetBackend(b Backend)

Types

type Backend

type Backend interface {
	Get(opts *model.DomainOptions) (model.Domain, error)
	Set(opts *model.DomainOptions) (model.Domain, error)
	Update(opts *model.DomainOptions) (model.Domain, error)
	Delete(opts *model.DomainOptions) error
	Renew(opts *model.DomainOptions) (model.Domain, error)
	SetText(opts *model.DomainOptions) (model.Domain, error)
	GetText(opts *model.DomainOptions) (model.Domain, error)
	UpdateText(opts *model.DomainOptions) (model.Domain, error)
	DeleteText(opts *model.DomainOptions) error
	GetToken(fqdn string) (string, error)
	GetTokenCount() (int64, error)
	GetZone() string
	GetName() string
	MigrateFrozen(opts *model.MigrateFrozen) error
	MigrateToken(opts *model.MigrateToken) error
	MigrateRecord(opts *model.MigrateRecord) error
}

func GetBackend

func GetBackend() Backend

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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