setup

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: May 20, 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 CheckLocalIPAction added in v0.4.8

type CheckLocalIPAction struct {
	actionutils.ParentAction
}

CheckLocalIPAction 检查IP是否为局域网IP

func (*CheckLocalIPAction) RunPost added in v0.4.8

func (this *CheckLocalIPAction) RunPost(params struct {
	Host string
})

type DetectDBAction added in v0.3.5

type DetectDBAction struct {
	actionutils.ParentAction
}

DetectDBAction 尝试从本地服务器中发现MySQL

func (*DetectDBAction) RunPost added in v0.3.5

func (this *DetectDBAction) RunPost(params struct{})

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(actionPtr actions.ActionWrapper) (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{})

type InstallAction

type InstallAction struct {
	actionutils.ParentAction
	// contains filtered or unexported fields
}

func (*InstallAction) RunPost

func (this *InstallAction) RunPost(params struct {
	ApiNodeJSON []byte
	DbJSON      []byte
	AdminJSON   []byte

	Must *actions.Must
})

type StatusAction added in v0.3.5

type StatusAction struct {
	actionutils.ParentAction
}

func (*StatusAction) RunPost added in v0.3.5

func (this *StatusAction) RunPost(params struct{})

type ValidateAdminAction

type ValidateAdminAction struct {
	actionutils.ParentAction
}

func (*ValidateAdminAction) RunPost

func (this *ValidateAdminAction) RunPost(params struct {
	AdminUsername  string
	AdminPassword  string
	AdminPassword2 string
	Must           *actions.Must
})

type ValidateApiAction

type ValidateApiAction struct {
	actionutils.ParentAction
}

func (*ValidateApiAction) RunPost

func (this *ValidateApiAction) RunPost(params struct {
	Mode          string
	NewPort       string
	NewHost       string
	OldProtocol   string
	OldHost       string
	OldPort       string
	OldNodeId     string
	OldNodeSecret string

	Must *actions.Must
})

type ValidateDbAction

type ValidateDbAction struct {
	actionutils.ParentAction
}

func (*ValidateDbAction) RunPost

func (this *ValidateDbAction) RunPost(params struct {
	Host              string
	Port              string
	Database          string
	Username          string
	Password          string
	AccessLogKeepDays int

	Must *actions.Must
})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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