-
Notifications
You must be signed in to change notification settings - Fork 22
/
com.github.inercia.k3x.gschema.xml
143 lines (133 loc) · 5.33 KB
/
com.github.inercia.k3x.gschema.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="k3x">
<enum id="com.github.inercia.k3x.registry-mode">
<value nick="none" value="0"/>
<value nick="regular" value="1"/>
<value nick="cache" value="2"/>
</enum>
<schema id="com.github.inercia.k3x" path="/com/github/inercia/k3x/">
<!-- ******************************************************************************** -->
<!-- * Preferences -->
<!-- ******************************************************************************** -->
<!-- ******************************** -->
<!-- * Preferences: General -->
<!-- ******************************** -->
<key type="s" name="docker-endpoint">
<default>'unix:///var/run/docker.sock'</default>
<summary>Docker endpoint</summary>
<description>Docker endpoint, like unix:///var/run/docker.sock or tcp:192.168.1.10:1111</description>
</key>
<key type="s" name="kubeconfig">
<default>'$HOME/.kube/config'</default>
<summary>Kubeconfig</summary>
<description>Path to the kubeconfig file</description>
</key>
<key type="b" name="start-on-login">
<default>false</default>
<summary>Start on login</summary>
<description>Start the application on login</description>
</key>
<key type="b" name="debug-logs">
<default>false</default>
<summary>Debug logs</summary>
<description>Record logs with debug level</description>
</key>
<!-- ******************************** -->
<!-- * Preferences: Hooks -->
<!-- ******************************** -->
<key type="s" name="cluster-create-hook">
<default>''</default>
<summary>Startup hook</summary>
<description>Path to a cluster creation hook script</description>
</key>
<key type="s" name="cluster-destroy-hook">
<default>''</default>
<summary>Startup hook</summary>
<description>Path to a cluster destruction hook script</description>
</key>
<!-- ******************************** -->
<!-- * Preferences: registry -->
<!-- ******************************** -->
<!-- TODO: we could use `enum="com.github.inercia.k3x.registry-mode"` instead of `type="s"` -->
<key type="s" name="registry-mode">
<default>''</default>
<summary>Registry mode</summary>
<description>Local Docker registry mode.</description>
</key>
<key type="s" name="registry-address">
<default>'registry.localhost:5000'</default>
<summary>Registry address</summary>
<description>Registry address and port</description>
</key>
<key type="s" name="registry-volume">
<default>'k3d-registry'</default>
<summary>Registry volume</summary>
<description>Registry volume for storing images</description>
</key>
<!-- ******************************** -->
<!-- * Preferences: k3s -->
<!-- ******************************** -->
<key type="s" name="k3d-image">
<default>''</default>
<summary>k3d image</summary>
<description>Alternative k3d image</description>
</key>
<key type="s" name="k3s-args">
<default>''</default>
<summary>k3s args</summary>
<description>k3s server arguments</description>
</key>
<!-- ******************************************************************************** -->
<!-- * Shortcuts -->
<!-- ******************************************************************************** -->
<key type="s" name="key-new-cluster">
<default>'<Control><Super>K'</default>
<summary>New cluster</summary>
<description>Key bindings for creating new cluster</description>
</key>
<key type="s" name="key-new-cluster-defaults">
<default>'<Control><Super><Alt>K'</default>
<summary>New cluster with defaults</summary>
<description>Key bindings for creating new cluster with defaults</description>
</key>
<key type="s" name="key-new-cluster-cycle">
<default>'<Control><Super><Shift>K'</default>
<summary>New cluster with defaults (destroying random old)</summary>
<description>Key bindings for creating new cluster with defaults, destroying a random existing cluster</description>
</key>
<key type="s" name="key-curr-cluster-dashboard">
<default>'<Control><Super><Shift>D'</default>
<summary>Open dashboard for current cluster</summary>
<description>Open dashboard for current cluster</description>
</key>
<key type="s" name="key-curr-cluster-destroy">
<default>'<Control><Super><Shift>Q'</default>
<summary>Destroy current cluster</summary>
<description>Destroy current cluster</description>
</key>
<!-- ******************************************************************************** -->
<!-- * Last: new cluster -->
<!-- ******************************************************************************** -->
<!-- ******************************** -->
<!-- * Last: new cluster: general -->
<!-- ******************************** -->
<key type="i" name="last-num-workers">
<default>0</default>
</key>
<key type="b" name="last-enable-registry">
<default>false</default>
</key>
<key type="s" name="last-api-address">
<default>':0'</default>
</key>
<key type="b" name="last-install-dashboard">
<default>false</default>
</key>
<!-- ******************************** -->
<!-- * Last: new cluster: registry -->
<!-- ******************************** -->
<key type="b" name="last-registry-enabled">
<default>true</default>
</key>
</schema>
</schemalist>