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-analysis"

	MEM_TAB = "mem-analysis"

	POD_TAB = "pod-analysis"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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

type Meta

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

type Operation

type Operation struct {
	Key      string `json:"key"`
	Reload   bool   `json:"reload"`
	FillMeta string `json:"fillMeta"`
	Meta     Meta   `json:"meta"`
}

type Props

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

type State

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

type TableTabs

type TableTabs struct {
	base.DefaultProvider
	SDK        *cptype.SDK
	Type       string                 `json:"type"`
	Props      Props                  `json:"props"`
	State      State                  `json:"state"`
	Operations map[string]interface{} `json:"operations"`
}

func (*TableTabs) Render

func (*TableTabs) RenderProtocol

func (t *TableTabs) RenderProtocol(c *cptype.Component) error

Jump to

Keyboard shortcuts

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