providers

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePopupAction

type CreatePopupAction struct {
	actionutils.ParentAction
}

func (*CreatePopupAction) Init

func (this *CreatePopupAction) Init()

func (*CreatePopupAction) RunGet

func (this *CreatePopupAction) RunGet(params struct{})

func (*CreatePopupAction) RunPost

func (this *CreatePopupAction) RunPost(params struct {
	Name string
	Type string

	// DNSPod
	ParamId     string
	ParamToken  string
	ParamRegion string

	// AliDNS
	ParamAliDNSAccessKeyId     string
	ParamAliDNSAccessKeySecret string
	ParamAliDNSRegionId        string

	// HuaweiDNS
	ParamHuaweiAccessKeyId     string
	ParamHuaweiAccessKeySecret string
	ParamHuaweiEndpoint        string

	// CloudFlare
	ParamCloudFlareAPIKey string
	ParamCloudFlareEmail  string

	// CustomHTTP
	ParamCustomHTTPURL    string
	ParamCustomHTTPSecret string

	// EdgeDNS API
	ParamEdgeDNSAPIRole            string
	ParamEdgeDNSAPIHost            string
	ParamEdgeDNSAPIAccessKeyId     string
	ParamEdgeDNSAPIAccessKeySecret string

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	ProviderId int64
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	Keyword      string
	Domain       string
	ProviderType string
})

type ProviderAction

type ProviderAction struct {
	actionutils.ParentAction
}

func (*ProviderAction) Init

func (this *ProviderAction) Init()

func (*ProviderAction) RunGet

func (this *ProviderAction) RunGet(params struct {
	ProviderId int64
	Page       int
	Filter     string
})

type SyncDomainsAction added in v0.3.0

type SyncDomainsAction struct {
	actionutils.ParentAction
}

func (*SyncDomainsAction) RunPost added in v0.3.0

func (this *SyncDomainsAction) RunPost(params struct {
	ProviderId int64
})

type UpdatePopupAction

type UpdatePopupAction struct {
	actionutils.ParentAction
}

func (*UpdatePopupAction) Init

func (this *UpdatePopupAction) Init()

func (*UpdatePopupAction) RunGet

func (this *UpdatePopupAction) RunGet(params struct {
	ProviderId int64
})

func (*UpdatePopupAction) RunPost

func (this *UpdatePopupAction) RunPost(params struct {
	ProviderId int64

	Name string
	Type string

	// DNSPod
	ParamId     string
	ParamToken  string
	ParamRegion string

	// AliDNS
	ParamAliDNSAccessKeyId     string
	ParamAliDNSAccessKeySecret string
	ParamAliDNSRegionId        string

	// HuaweiDNS
	ParamHuaweiAccessKeyId     string
	ParamHuaweiAccessKeySecret string
	ParamHuaweiEndpoint        string

	// CloudFlare
	ParamCloudFlareAPIKey string
	ParamCloudFlareEmail  string

	// CustomHTTP
	ParamCustomHTTPURL    string
	ParamCustomHTTPSecret string

	// EdgeDNS API
	ParamEdgeDNSAPIHost            string
	ParamEdgeDNSAPIRole            string
	ParamEdgeDNSAPIAccessKeyId     string
	ParamEdgeDNSAPIAccessKeySecret string

	Must *actions.Must
	CSRF *actionutils.CSRF
})

Jump to

Keyboard shortcuts

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