api

package
v0.0.0-...-ebd5e3c Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlidnsProvider

type AlidnsProvider struct {
	*action.RequestAction
	// contains filtered or unexported fields
}

func (*AlidnsProvider) CreateRecord

func (*AlidnsProvider) DeleteRecord

func (*AlidnsProvider) DescribeRecords

func (*AlidnsProvider) SetApi

func (_this *AlidnsProvider) SetApi(api *standard.Standard)

func (*AlidnsProvider) SetCredential

func (_this *AlidnsProvider) SetCredential(credential auth.Credential)

func (*AlidnsProvider) SetParameterProvider

func (_this *AlidnsProvider) SetParameterProvider(parameterProvider parameter.ParamaterProvider)

func (*AlidnsProvider) SetRpc

func (_this *AlidnsProvider) SetRpc(rpc rpc.VdnsRpc)

func (*AlidnsProvider) SetSignatureComposer

func (_this *AlidnsProvider) SetSignatureComposer(signatureComposer compose.SignatureComposer)

func (*AlidnsProvider) Support

func (_this *AlidnsProvider) Support(recordType record.Type) error

func (*AlidnsProvider) UpdateRecord

type CloudflareProvider

type CloudflareProvider struct {
	// contains filtered or unexported fields
}

func (*CloudflareProvider) CreateRecord

func (*CloudflareProvider) DeleteRecord

func (*CloudflareProvider) DescribeRecords

func (*CloudflareProvider) Support

func (_this *CloudflareProvider) Support(recordType record.Type) error

func (*CloudflareProvider) UpdateRecord

type DnspodProvider

type DnspodProvider struct {
	*action.RequestAction
	// contains filtered or unexported fields
}

func (*DnspodProvider) CreateRecord

func (*DnspodProvider) DeleteRecord

func (*DnspodProvider) DescribeRecords

func (*DnspodProvider) SetApi

func (_this *DnspodProvider) SetApi(api *standard.Standard)

func (*DnspodProvider) SetCredential

func (_this *DnspodProvider) SetCredential(credential auth.Credential)

func (*DnspodProvider) SetParameterProvider

func (_this *DnspodProvider) SetParameterProvider(parameterProvider parameter.ParamaterProvider)

func (*DnspodProvider) SetRpc

func (_this *DnspodProvider) SetRpc(rpc rpc.VdnsRpc)

func (*DnspodProvider) SetSignatureComposer

func (_this *DnspodProvider) SetSignatureComposer(signatureComposer compose.SignatureComposer)

func (*DnspodProvider) Support

func (_this *DnspodProvider) Support(recordType record.Type) error

func (*DnspodProvider) UpdateRecord

type HuaweiProvider

type HuaweiProvider struct {
	// contains filtered or unexported fields
}

func (HuaweiProvider) CreateRecord

func (HuaweiProvider) DeleteRecord

func (HuaweiProvider) DescribeRecords

func (HuaweiProvider) Support

func (h HuaweiProvider) Support(recordType record.Type) error

func (HuaweiProvider) UpdateRecord

type VdnsProvider

type VdnsProvider interface {
	// DescribeRecords 具体参数作用请看实现注释
	DescribeRecords(request *models.DescribeDomainRecordsRequest) (*models.DomainRecordsResponse, error)

	// CreateRecord 具体参数作用请看实现注释
	CreateRecord(request *models.CreateDomainRecordRequest) (*models.DomainRecordStatusResponse, error)

	// UpdateRecord 具体参数作用请看实现注释
	UpdateRecord(request *models.UpdateDomainRecordRequest) (*models.DomainRecordStatusResponse, error)

	// DeleteRecord 具体参数作用请看实现注释
	DeleteRecord(request *models.DeleteDomainRecordRequest) (*models.DomainRecordStatusResponse, error)

	// Support 某些使用zone区域划分域名记录的DNS服务商,需强迫使用support
	Support(recordType record.Type) error
}

func NewAlidnsProvider

func NewAlidnsProvider(credential auth.Credential) VdnsProvider

func NewCloudflareProvider

func NewCloudflareProvider(credential auth.Credential) VdnsProvider

func NewDnspodProvider

func NewDnspodProvider(credential auth.Credential) VdnsProvider

func NewHuaweiProvider

func NewHuaweiProvider(credential auth.Credential) VdnsProvider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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