node

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAddrPopupAction

type CreateAddrPopupAction struct {
	actionutils.ParentAction
}

CreateAddrPopupAction 添加地址

func (*CreateAddrPopupAction) Init

func (this *CreateAddrPopupAction) Init()

func (*CreateAddrPopupAction) RunGet

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

func (*CreateAddrPopupAction) RunPost

func (this *CreateAddrPopupAction) RunPost(params struct {
	Protocol string
	Addr     string
	Must     *actions.Must
})

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
	Description     string
	ListensJSON     []byte
	CertIdsJSON     []byte
	AccessAddrsJSON []byte

	RestIsOn        bool
	RestListensJSON []byte

	IsOn bool

	Must *actions.Must
})

type Helper

type Helper struct {
}

func NewHelper

func NewHelper() *Helper

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(action *actions.ActionObject) (goNext bool)

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	NodeId int64
})

type InstallAction

type InstallAction struct {
	actionutils.ParentAction
}

func (*InstallAction) Init

func (this *InstallAction) Init()

func (*InstallAction) RunGet

func (this *InstallAction) RunGet(params struct {
	NodeId int64
})

type LogsAction

type LogsAction struct {
	actionutils.ParentAction
}

func (*LogsAction) Init

func (this *LogsAction) Init()

func (*LogsAction) RunGet

func (this *LogsAction) RunGet(params struct {
	NodeId int64

	DayFrom string
	DayTo   string
	Keyword string
	Level   string
})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

func (this *UpdateAction) RunGet(params struct {
	NodeId int64
})

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	NodeId          int64
	Name            string
	SslPolicyId     int64
	ListensJSON     []byte
	RestIsOn        bool
	RestListensJSON []byte
	CertIdsJSON     []byte
	AccessAddrsJSON []byte
	Description     string
	IsOn            bool
	IsPrimary       bool

	Must *actions.Must
})

RunPost 保存基础设置

type UpdateAddrPopupAction

type UpdateAddrPopupAction struct {
	actionutils.ParentAction
}

func (*UpdateAddrPopupAction) Init

func (this *UpdateAddrPopupAction) Init()

func (*UpdateAddrPopupAction) RunGet

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

func (*UpdateAddrPopupAction) RunPost

func (this *UpdateAddrPopupAction) RunPost(params struct {
	Protocol string
	Addr     string
	Must     *actions.Must
})

type UpgradeCheckAction

type UpgradeCheckAction struct {
	actionutils.ParentAction
}

UpgradeCheckAction 检查升级结果

func (*UpgradeCheckAction) Init

func (this *UpgradeCheckAction) Init()

func (*UpgradeCheckAction) RunPost

func (this *UpgradeCheckAction) RunPost(params struct {
	NodeId int64
})

type UpgradePopupAction

type UpgradePopupAction struct {
	actionutils.ParentAction
}

func (*UpgradePopupAction) Init

func (this *UpgradePopupAction) Init()

func (*UpgradePopupAction) RunGet

func (this *UpgradePopupAction) RunGet(params struct {
	NodeId int64
})

func (*UpgradePopupAction) RunPost

func (this *UpgradePopupAction) RunPost(params struct {
	NodeId int64

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

Jump to

Keyboard shortcuts

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