alidns

package
v0.0.0-...-4f62784 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alidns

type Alidns struct {
}

Alidns represents Alidns attribute and method associates with it.

func (*Alidns) CreateDns

func (alidns *Alidns) CreateDns(request interface{}) (resp interface{}, err error)

CreateDns add DNS record accept map[string]interface{}

func (*Alidns) DeleteDns

func (alidns *Alidns) DeleteDns(request interface{}) (resp interface{}, err error)

DeleteDns delete DNS record accept map[string]interface{}

func (*Alidns) ListDns

func (alidns *Alidns) ListDns(request interface{}) (resp interface{}, err error)

ListDns list DNS record accept map[string]interface{}

func (*Alidns) ListResourceDnsRecordSets

func (alidns *Alidns) ListResourceDnsRecordSets(request interface{}) (resp interface{}, err error)

ListResourceDnsRecordSets list resource DNS record sets accept map[string]interface{}

type CreateDNS

type CreateDNS struct {
	DomainName string
	RR         string
	Type       string
	Value      string
	TTL        int
	Priority   int
	Line       string
}

CreateDNS to store all attribute to create Ali-cloud DNS

type CreateDNSBuilder

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

CreateDNS builder pattern code

func NewCreateDNSBuilder

func NewCreateDNSBuilder() *CreateDNSBuilder

func (*CreateDNSBuilder) Build

func (b *CreateDNSBuilder) Build() (map[string]interface{}, error)

func (*CreateDNSBuilder) DomainName

func (b *CreateDNSBuilder) DomainName(domainName string) *CreateDNSBuilder

func (*CreateDNSBuilder) Line

func (b *CreateDNSBuilder) Line(line string) *CreateDNSBuilder

func (*CreateDNSBuilder) Priority

func (b *CreateDNSBuilder) Priority(priority int) *CreateDNSBuilder

func (*CreateDNSBuilder) RR

func (*CreateDNSBuilder) TTL

func (b *CreateDNSBuilder) TTL(tTL int) *CreateDNSBuilder

func (*CreateDNSBuilder) Type

func (b *CreateDNSBuilder) Type(typeV string) *CreateDNSBuilder

func (*CreateDNSBuilder) Value

func (b *CreateDNSBuilder) Value(value string) *CreateDNSBuilder

type DeleteDNS

type DeleteDNS struct {
	RecordId string
}

DeleteDNS to store all attribute to delete Ali-cloud DNS

type DeleteDNSBuilder

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

DeleteDNS builder pattern code

func NewDeleteDNSBuilder

func NewDeleteDNSBuilder() *DeleteDNSBuilder

func (*DeleteDNSBuilder) Build

func (b *DeleteDNSBuilder) Build() (map[string]interface{}, error)

func (*DeleteDNSBuilder) RecordId

func (b *DeleteDNSBuilder) RecordId(recordId string) *DeleteDNSBuilder

type ListDNS

type ListDNS struct {
	DomainName   string
	PageNumber   int
	PageSize     int
	RRKeyWord    string
	TypeKeyWord  string
	ValueKeyWord string
}

ListResourceDNSRecordSets to store all attribute to list resource Ali-cloud DNS record sets

type ListDNSBuilder

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

ListDNS builder pattern code

func NewListDNSBuilder

func NewListDNSBuilder() *ListDNSBuilder

func (*ListDNSBuilder) Build

func (b *ListDNSBuilder) Build() (map[string]interface{}, error)

func (*ListDNSBuilder) DomainName

func (b *ListDNSBuilder) DomainName(domainName string) *ListDNSBuilder

func (*ListDNSBuilder) PageNumber

func (b *ListDNSBuilder) PageNumber(pageNumber int) *ListDNSBuilder

func (*ListDNSBuilder) PageSize

func (b *ListDNSBuilder) PageSize(pageSize int) *ListDNSBuilder

func (*ListDNSBuilder) RRKeyWord

func (b *ListDNSBuilder) RRKeyWord(rRKeyWord string) *ListDNSBuilder

func (*ListDNSBuilder) TypeKeyWord

func (b *ListDNSBuilder) TypeKeyWord(typeKeyWord string) *ListDNSBuilder

func (*ListDNSBuilder) ValueKeyWord

func (b *ListDNSBuilder) ValueKeyWord(valueKeyWord string) *ListDNSBuilder

type ListDnsResp

type ListDnsResp struct {
	StatusCode    int
	DomainRecords struct {
		Record []RecordInfo
	}
}

func ParseListDnsResp

func ParseListDnsResp(resp interface{}) (listDnsResp ListDnsResp, err error)

type RecordInfo

type RecordInfo struct {
	DomainName string
	RecordId   string
	RR         string
	Type       string
	Value      string
	Line       string
	Priority   int
	TTL        int
	Status     string
	Locked     bool
}

Jump to

Keyboard shortcuts

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