executeHistoryTable

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePageNo

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

type Command

type Command struct {
	JumpOut bool   `json:"jumpOut"`
	Key     string `json:"key"`
	Target  string `json:"target"`
}

type ComponentAction

type ComponentAction struct {
	base.DefaultProvider

	CodeCoverageSvc *code_coverage.CodeCoverage `json:"-"`
	Type            string                      `json:"type"`
	Data            Data                        `json:"data"`
	Props           map[string]interface{}      `json:"props"`
	State           State                       `json:"state"`
	Operations      Operations                  `json:"operations"`
}

func (*ComponentAction) Render

func (*ComponentAction) SetOperations

func (ca *ComponentAction) SetOperations()

func (*ComponentAction) SetProps

func (ca *ComponentAction) SetProps() error

func (*ComponentAction) SetState

func (ca *ComponentAction) SetState(c *cptype.Component) error

type CoverRate

type CoverRate struct {
	RenderType string `json:"renderType"`
	Value      string `json:"value"`
	Tip        string `json:"tip"`
	Status     string `json:"status"`
}

type Data

type Data struct {
	List []ExecuteHistory `json:"list"`
}

type Download

type Download struct {
	Command     Command `json:"command"`
	Confirm     string  `json:"confirm"`
	Key         string  `json:"key"`
	Reload      bool    `json:"reload"`
	Text        string  `json:"text"`
	Disabled    bool    `json:"disabled"`
	DisabledTip string  `json:"disabledTip"`
}

type ExecuteHistory

type ExecuteHistory struct {
	ID        uint64    `json:"id"`
	Status    Status    `json:"status"`
	Reason    string    `json:"reason"`
	Starter   string    `json:"starter"`
	StartTime string    `json:"startTime"`
	Ender     string    `json:"ender"`
	EndTime   string    `json:"endTime"`
	CoverRate CoverRate `json:"coverRate"`
	Operate   Operate   `json:"operate"`
}

type Operate

type Operate struct {
	Operations struct {
		Download Download `json:"download"`
	} `json:"operations"`
	RenderType string `json:"renderType"`
}

type Operations

type Operations struct {
	ChangePageNo ChangePageNo `json:"changePageNo"`
}

type State

type State struct {
	PageNo   uint64 `json:"pageNo"`
	PageSize uint64 `json:"pageSize"`
	Total    uint64 `json:"total"`
}

type Status

type Status struct {
	RenderType string `json:"renderType"`
	Value      string `json:"value"`
	Status     string `json:"status"`
}

Jump to

Keyboard shortcuts

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