Documentation ¶
Index ¶
- type Column
- type ComponentEventTable
- func (t *ComponentEventTable) DecodeURLQuery() error
- func (t *ComponentEventTable) EncodeURLQuery() error
- func (t *ComponentEventTable) GenComponentState(c *cptype.Component) error
- func (t *ComponentEventTable) Init(ctx servicehub.Context) error
- func (t *ComponentEventTable) InitComponent(ctx context.Context)
- func (t *ComponentEventTable) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error
- func (t *ComponentEventTable) RenderList() error
- func (t *ComponentEventTable) SetComponentValue(ctx context.Context)
- func (t *ComponentEventTable) Transfer(c *cptype.Component)
- type Data
- type FilterValues
- type Item
- type Operation
- type Props
- type Sorter
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentEventTable ¶
type ComponentEventTable struct { Type string `json:"type,omitempty"` Props Props `json:"props,omitempty"` Data Data `json:"data,omitempty"` State State `json:"state,omitempty"` Operations map[string]interface{} `json:"operations,omitempty"` // contains filtered or unexported fields }
func (*ComponentEventTable) DecodeURLQuery ¶
func (t *ComponentEventTable) DecodeURLQuery() error
func (*ComponentEventTable) EncodeURLQuery ¶
func (t *ComponentEventTable) EncodeURLQuery() error
func (*ComponentEventTable) GenComponentState ¶
func (t *ComponentEventTable) GenComponentState(c *cptype.Component) error
func (*ComponentEventTable) Init ¶
func (t *ComponentEventTable) Init(ctx servicehub.Context) error
func (*ComponentEventTable) InitComponent ¶
func (t *ComponentEventTable) InitComponent(ctx context.Context)
func (*ComponentEventTable) Render ¶
func (t *ComponentEventTable) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, event cptype.ComponentEvent, _ *cptype.GlobalStateData) error
func (*ComponentEventTable) RenderList ¶
func (t *ComponentEventTable) RenderList() error
func (*ComponentEventTable) SetComponentValue ¶
func (t *ComponentEventTable) SetComponentValue(ctx context.Context)
func (*ComponentEventTable) Transfer ¶
func (t *ComponentEventTable) Transfer(c *cptype.Component)
type FilterValues ¶
type Item ¶
type Item struct { LastSeen string `json:"lastSeen,omitempty"` LastSeenTimestamp int64 `json:"lastSeenTimestamp,omitempty"` Type string `json:"type,omitempty"` Reason string `json:"reason,omitempty"` Object string `json:"object,omitempty"` Source string `json:"source,omitempty"` Message string `json:"message,omitempty"` Count string `json:"count,omitempty"` CountNum int64 `json:"countNum"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
type State ¶
type State struct { ClusterName string `json:"clusterName,omitempty"` EventTableUQLQuery string `json:"eventTable__urlQuery,omitempty"` FilterValues FilterValues `json:"filterValues,omitempty"` PageNo uint64 `json:"pageNo,omitempty"` PageSize uint64 `json:"pageSize,omitempty"` Sorter Sorter `json:"sorterData,omitempty"` Total uint64 `json:"total"` }
Click to show internal directories.
Click to hide internal directories.