tencentcloud

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 9 Imported by: 0

README

TencentCloud DNSPod for libdns

This package implements the libdns interfaces for the TencentCloud DNSPod API (using the Go implementation from: https://github.com/rehiy/libdns-tencentcloud)

Applying for Security Credentials

To authenticate you need to supply a TencentCloud API Key.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRecordResponse

type CreateRecordResponse struct {
	Response struct {
		RecordId int
	}
}

type DescribeRecordListResponse

type DescribeRecordListResponse struct {
	Response struct {
		RecordList []struct {
			RecordId int
			Value    string
			Name     string
			Type     string
			TTL      int
			MX       int
		}
	}
}

type Provider

type Provider struct {
	SecretId  string
	SecretKey string
}

func (*Provider) AppendRecords

func (p *Provider) AppendRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)

func (*Provider) DeleteRecords

func (p *Provider) DeleteRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)

func (*Provider) GetRecords

func (p *Provider) GetRecords(ctx context.Context, zone string) ([]libdns.Record, error)

func (*Provider) SetRecords

func (p *Provider) SetRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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