tableTabs

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CPU_TAB    = "cpu"
	CPU_TAB_ZH = "cpu分析"

	MEM_TAB    = "mem"
	MEM_TAB_ZH = "mem分析"

	POD_TAB    = "pod"
	POD_TAB_ZH = "pod分析"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OnChange

type OnChange struct {
	Key    string `json:"key"`
	Reload bool   `json:"reload"`
}

type Operations

type Operations struct {
	OnChange OnChange `json:"onChange"`
}

type Props

type Props struct {
	TabMenu []TabMenu `json:"tabMenu"`
}

type State

type State struct {
	ActiveKey string `json:"activeKey"`
}

type TabMenu

type TabMenu struct {
	Key  string `json:"key"`
	Name string `json:"name"`
}

type TableTabs

type TableTabs struct {
	base.DefaultProvider
	Type       string     `json:"type"`
	Props      Props      `json:"props"`
	Operations Operations `json:"operations"`
	State      State      `json:"state"`
}

func (*TableTabs) GenComponentState

func (tableTabs *TableTabs) GenComponentState(component *cptype.Component) error

func (*TableTabs) Render

func (*TableTabs) Transfer

func (tableTabs *TableTabs) Transfer(component *cptype.Component)

Jump to

Keyboard shortcuts

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