File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
plugins/plugin-codeflare/src/controller/events Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
cask "codeflare" do
2
- version "0.0.30 "
2
+ version "0.0.31 "
3
3
4
4
name "CodeFlare"
5
5
desc "CLI for Project CodeFlare"
6
6
homepage "https://github.com/project-codeflare/codeflare-cli"
7
7
8
8
if Hardware ::CPU . intel?
9
9
url "https://github.com/project-codeflare/codeflare-cli/releases/download/v#{ version } /CodeFlare-darwin-x64.tar.bz2"
10
- sha256 "6e797c650af086a0f05499230df6c9574940ccc1af66a5d600b4a866764faa0b "
10
+ sha256 "f638e7994f12ed050a8c03da16549ec2f3e15280f1a63f3733630d6608b0bb56 "
11
11
app "CodeFlare-darwin-x64/CodeFlare.app"
12
12
else
13
13
url "https://github.com/project-codeflare/codeflare-cli/releases/download/v#{ version } /CodeFlare-darwin-arm64.tar.bz2"
14
- sha256 "d325f31396cfc89396b1549428b79d13f02bc478a41c6037437fdabf61e65a4b "
14
+ sha256 "bd8b3207a1d14f1e0c9444615d403f36dd44515a9d8e0d223e872e62f1f96bf7 "
15
15
app "CodeFlare-darwin-arm64/CodeFlare.app"
16
16
end
17
17
Original file line number Diff line number Diff line change @@ -32,10 +32,19 @@ interface EventState {
32
32
}
33
33
34
34
type State = EventState & {
35
+ /** Total number of Kubernetes events */
35
36
nKubeEvents : number
37
+
38
+ /** Subset of Kubernetes events with `state != Pending`, i.e. `InProgress | Done | Error` */
36
39
nNotPendingKubeEvents : number
40
+
41
+ /** Total number of Torch events */
37
42
nTorchEvents : number
43
+
44
+ /** Subset of Torch events with `state != Pending`, i.e. `InProgress | Done | Error` */
38
45
nNotPendingTorchEvents : number
46
+
47
+ /** Oops, something went wrong */
39
48
catastrophicError ?: Error
40
49
}
41
50
@@ -50,6 +59,11 @@ type Props = EventState & {
50
59
unwatch ?( ) : void
51
60
}
52
61
62
+ /**
63
+ * This component manages the `Event` state for the events UI. It uses
64
+ * the `Grid` component to render the UI.
65
+ *
66
+ */
53
67
class Events extends React . PureComponent < Props , State > {
54
68
public constructor ( props : Props ) {
55
69
super ( props )
You can’t perform that action at this time.
0 commit comments