aliyun

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aliyun

type Aliyun struct {
	Client *alidns.Client
}

Aliyun aliyun 实例

func NewClient

func NewClient(regionID, secretID, secretKey string) (*Aliyun, error)

NewClient Aliyun default client

func (*Aliyun) AddDomain

func (aliyun *Aliyun) AddDomain(name, gid, rgid string) ([]byte, error)

AddDomain 添加域名

func (*Aliyun) AddDomainGroup

func (aliyun *Aliyun) AddDomainGroup(name string) ([]byte, error)

AddDomainGroup 添加域名分组

func (*Aliyun) AddDomainRecord

func (aliyun *Aliyun) AddDomainRecord(domain, rr, _type, value string, ttl, priority int, line string) ([]byte, error)

AddDomainRecord 添加解析记录

func (*Aliyun) ChangeDomainGroup

func (aliyun *Aliyun) ChangeDomainGroup(domain, id string) ([]byte, error)

ChangeDomainGroup 更改域名分组

func (*Aliyun) DeleteDomain

func (aliyun *Aliyun) DeleteDomain(name string) ([]byte, error)

DeleteDomain 删除域名

func (*Aliyun) DeleteDomainGroup

func (aliyun *Aliyun) DeleteDomainGroup(id string) ([]byte, error)

DeleteDomainGroup 删除域名分组

func (*Aliyun) DeleteDomainRecord

func (aliyun *Aliyun) DeleteDomainRecord(id string) ([]byte, error)

DeleteDomainRecord 删除解析记录

func (*Aliyun) DomainLogs

func (aliyun *Aliyun) DomainLogs(keyword, gid, start, end, _type, lang string, page, size int) ([]byte, error)

DomainLogs 获取域名操作日志

func (*Aliyun) GetDomain

func (aliyun *Aliyun) GetDomain(name string, detail bool) ([]byte, error)

GetDomain 获取域名信息

func (*Aliyun) GetDomainGroups

func (aliyun *Aliyun) GetDomainGroups(keyword string, page, size int) ([]byte, error)

GetDomainGroups 获取域名分组列表

func (*Aliyun) GetDomainRecord

func (aliyun *Aliyun) GetDomainRecord(id string) ([]byte, error)

GetDomainRecord 获取解析记录信息

func (*Aliyun) GetDomainRecordLogs

func (aliyun *Aliyun) GetDomainRecordLogs(domain, keyword, lang, start, end string, page, size int) ([]byte, error)

GetDomainRecordLogs 获取解析记录操作日志

func (*Aliyun) GetDomainRecords

func (aliyun *Aliyun) GetDomainRecords(domain, _type, status, keyword, rrKeyword, typeKeyword, valueKeyword string, gid, page, size int, direction string) ([]byte, error)

GetDomainRecords 获取解析记录列表

func (*Aliyun) GetDomainSubRecords

func (aliyun *Aliyun) GetDomainSubRecords(subDomain, domain, _type, line string, page, size int) ([]byte, error)

GetDomainSubRecords 获取子域名解析记录列表

func (*Aliyun) GetDomains

func (aliyun *Aliyun) GetDomains(keyword, gid, rgid, searchMode string, page, size int, starmark bool) ([]byte, error)

GetDomains 获取域名列表

func (*Aliyun) GetMainDomainName

func (aliyun *Aliyun) GetMainDomainName(name string) ([]byte, error)

GetMainDomainName 获取主域名名称

func (*Aliyun) SetDomainRecordStatus

func (aliyun *Aliyun) SetDomainRecordStatus(id, status string) ([]byte, error)

SetDomainRecordStatus 设置解析记录状态

func (*Aliyun) UpdateDomainGroup

func (aliyun *Aliyun) UpdateDomainGroup(id, name string) ([]byte, error)

UpdateDomainGroup 修改域名分组

func (*Aliyun) UpdateDomainRecord

func (aliyun *Aliyun) UpdateDomainRecord(id, rr, _type, value string, ttl, priority int, line string) ([]byte, error)

UpdateDomainRecord 修改解析记录

func (*Aliyun) UpdateDomainRecordRemark

func (aliyun *Aliyun) UpdateDomainRecordRemark(id, remark string) ([]byte, error)

UpdateDomainRecordRemark 修改解析记录的备注

func (*Aliyun) UpdateDomainRemark

func (aliyun *Aliyun) UpdateDomainRemark(name, remark string) ([]byte, error)

UpdateDomainRemark 修改域名的备注

Jump to

Keyboard shortcuts

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