clusters

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: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAction

type CreateAction struct {
	actionutils.ParentAction
}

func (*CreateAction) Init

func (this *CreateAction) Init()

func (*CreateAction) RunGet

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

func (*CreateAction) RunPost

func (this *CreateAction) RunPost(params struct {
	Name string

	// 缓存策略
	CachePolicyId int64

	// WAF策略
	HttpFirewallPolicyId int64

	// 服务配置
	MatchDomainStrictly bool

	// SSH相关
	GrantId             int64
	InstallDir          string
	SystemdServiceIsOn  bool
	AutoInstallNftables bool
	AutoSystemTuning    bool
	AutoTrimDisks       bool
	MaxConcurrentReads  int32
	MaxConcurrentWrites int32

	// DNS相关
	DnsDomainId int64
	DnsName     string
	DnsTTL      int32

	Must *actions.Must
})

type CreateNodeAction added in v1.1.0

type CreateNodeAction struct {
	actionutils.ParentAction
}

func (*CreateNodeAction) Init added in v1.1.0

func (this *CreateNodeAction) Init()

func (*CreateNodeAction) RunGet added in v1.1.0

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

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
	SearchType string
})

type NodeOptionsAction added in v0.4.0

type NodeOptionsAction struct {
	actionutils.ParentAction
}

func (*NodeOptionsAction) RunPost added in v0.4.0

func (this *NodeOptionsAction) RunPost(params struct {
	ClusterId int64
})

type NodesAction added in v0.4.7

type NodesAction struct {
	actionutils.ParentAction
}

func (*NodesAction) Init added in v0.4.7

func (this *NodesAction) Init()

func (*NodesAction) RunGet added in v0.4.7

func (this *NodesAction) RunGet(params struct {
	ClusterId      int64
	GroupId        int64
	RegionId       int64
	InstalledState int
	ActiveState    int
	Keyword        string
	Level          int32

	CpuOrder         string
	MemoryOrder      string
	TrafficInOrder   string
	TrafficOutOrder  string
	LoadOrder        string
	ConnectionsOrder string
})

type OptionsAction

type OptionsAction struct {
	actionutils.ParentAction
}

func (*OptionsAction) RunPost

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

type PinAction added in v0.4.5

type PinAction struct {
	actionutils.ParentAction
}

func (*PinAction) RunPost added in v0.4.5

func (this *PinAction) RunPost(params struct {
	ClusterId int64
	IsPinned  bool
})

type SelectPopupAction added in v0.2.8

type SelectPopupAction struct {
	actionutils.ParentAction
}

func (*SelectPopupAction) Init added in v0.2.8

func (this *SelectPopupAction) Init()

func (*SelectPopupAction) RunGet added in v0.2.8

func (this *SelectPopupAction) RunGet(params struct {
	SelectedClusterIds string
	Keyword            string
	PageSize           int64
})

Jump to

Keyboard shortcuts

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