-
Notifications
You must be signed in to change notification settings - Fork 2
/
cli-layout.yaml
133 lines (133 loc) · 3.95 KB
/
cli-layout.yaml
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
krakenctl:
help: Desired action to perform
global_optional_flags:
verbose:
short: "-v"
type: bool
default: false
help: Provides more details
debug:
short: "-d"
type: bool
default: false
help: Provides details of what krakenctl is doing
ip:
short: "-i"
type: str
default: "127.0.0.1:3141"
metavar: IP_ADDRESS
help: IP address of Kraken instance
actions:
node:
help: Get node details and manipulate node config
actions:
list:
help: List all the nodes
func: node_list
optional_flags:
type:
short: "-t"
type: string
choices:
- mixed
- dsc
- cfg
default: mixed
metavar: STATE_TYPE
help: The type of node state you want. cfg, dsc, or mixed. Mixed will show a combination of cfg and dsc with dsc values taking priority
json:
type: bool
short: "-j"
default: false
help: return the json instead of formatting as a list
filter:
type: string
metavar: FILTER
short: "-f"
help: pass column names to include in the table. id and nodename are always included. ex krakenctl node list --filter extensions,services
nargs: "?"
const: "id,nodename"
info:
help: Get info about a single node
func: node_info
arguments:
node_id:
type: string
metavar: NODE_ID
help: ID of the desired node
optional_flags:
type:
short: "-t"
type: string
choices:
- mixed
- dsc
- cfg
default: mixed
metavar: STATE_TYPE
help: The type of node state you want. cfg, dsc, or mixed. Mixed will show a combination of cfg and dsc with dsc values taking priority
json:
type: bool
short: "-j"
default: false
help: return the json instead of formatting as a list
filter:
type: string
metavar: FILTER
short: "-f"
help: pass column names to include in the table. id and nodename are always included. ex krakenctl node list --filter extensions,services
nargs: "?"
const: "id,nodename"
create:
help: Create nodes with a kraken cfg state file
func: node_create
arguments:
node_config:
type: path
metavar: CONFIG
help: Path to config
update:
help: Update nodes with a kraken cfg state file
func: node_update
arguments:
node_config:
metavar: CONFIG
help: Path to config
type: path
optional_flags:
type:
short: "-t"
type: string
choices:
- dsc
- cfg
default: cfg
metavar: STATE_TYPE
help: The type of node state you want to update.
freeze:
help: Freeze mutations on a single node
func: node_freeze
arguments:
node_id:
type: str
sme:
help: Control the kraken SME
actions:
freeze:
help: Stop all mutations
func: sme_freeze
thaw:
help: Resume all mutations
func: sme_thaw
status:
help: Get the status of the SME
func: sme_status
runtime:
help: Change kraken runtime settings
actions:
log_level:
help: Change kraken log_level
func: log_level
arguments:
log_level:
type: int