{"modulePath":"github.com/erda-project/erda","version":"v1.5.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package executeHistoryTable\n\n## Types\n\n```go\ntype ChangePageNo struct {\n\tKey    string `json:\"key\"`\n\tReload bool   `json:\"reload\"`\n}\n```\n\n```go\ntype Command struct {\n\tJumpOut bool   `json:\"jumpOut\"`\n\tKey     string `json:\"key\"`\n\tTarget  string `json:\"target\"`\n}\n```\n\n```go\ntype ComponentAction struct {\n\tbase.DefaultProvider\n\n\tCodeCoverageSvc *code_coverage.CodeCoverage `json:\"-\"`\n\tType            string                      `json:\"type\"`\n\tData            Data                        `json:\"data\"`\n\tProps           map[string]interface{}      `json:\"props\"`\n\tState           State                       `json:\"state\"`\n\tOperations      Operations                  `json:\"operations\"`\n}\n```\n\n```go\nfunc (ca *ComponentAction) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error\n```\n\n```go\nfunc (ca *ComponentAction) SetOperations()\n```\n\n```go\nfunc (ca *ComponentAction) SetProps(ctx context.Context) error\n```\n\n```go\nfunc (ca *ComponentAction) SetState(c *cptype.Component) error\n```\n\n```go\ntype CoverRate struct {\n\tRenderType string `json:\"renderType\"`\n\tValue      string `json:\"value\"`\n\tTip        string `json:\"tip\"`\n\tStatus     string `json:\"status\"`\n}\n```\n\n```go\ntype Data struct {\n\tList []ExecuteHistory `json:\"list\"`\n}\n```\n\n```go\ntype Download struct {\n\tCommand     Command `json:\"command\"`\n\tConfirm     string  `json:\"confirm\"`\n\tKey         string  `json:\"key\"`\n\tReload      bool    `json:\"reload\"`\n\tText        string  `json:\"text\"`\n\tDisabled    bool    `json:\"disabled\"`\n\tDisabledTip string  `json:\"disabledTip\"`\n}\n```\n\n```go\ntype ExecuteHistory struct {\n\tID        uint64    `json:\"id\"`\n\tStatus    Status    `json:\"status\"`\n\tReason    string    `json:\"reason\"`\n\tStarter   string    `json:\"starter\"`\n\tStartTime string    `json:\"startTime\"`\n\tEnder     string    `json:\"ender\"`\n\tEndTime   string    `json:\"endTime\"`\n\tCoverRate CoverRate `json:\"coverRate\"`\n\tOperate   Operate   `json:\"operate\"`\n}\n```\n\n```go\ntype Operate struct {\n\tOperations struct {\n\t\tDownload Download `json:\"download\"`\n\t} `json:\"operations\"`\n\tRenderType string `json:\"renderType\"`\n}\n```\n\n```go\ntype Operations struct {\n\tChangePageNo ChangePageNo `json:\"changePageNo\"`\n}\n```\n\n```go\ntype State struct {\n\tPageNo    uint64 `json:\"pageNo\"`\n\tPageSize  uint64 `json:\"pageSize\"`\n\tTotal     uint64 `json:\"total\"`\n\tWorkspace string `json:\"workspace\"`\n}\n```\n\n```go\ntype Status struct {\n\tRenderType string `json:\"renderType\"`\n\tValue      string `json:\"value\"`\n\tStatus     string `json:\"status\"`\n}\n```\n\n","path":"github.com/erda-project/erda/modules/dop/component-protocol/components/code-coverage/executeHistoryTable","name":"executeHistoryTable","synopsis":"","isRedistributable":true}
