File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -134,17 +134,18 @@ func (cfg *Config) Validate() error {
134
134
135
135
// Machine is the main object for manipulating Firecracker microVMs
136
136
type Machine struct {
137
+ // Metadata is the associated metadata that will be sent to the firecracker
138
+ // process
139
+ Metadata interface {}
140
+ // Handlers holds the set of handlers that are run for validation and start
141
+ Handlers Handlers
142
+
137
143
cfg Config
138
144
client Firecracker
139
145
cmd * exec.Cmd
140
146
logger * log.Entry
141
147
machineConfig models.MachineConfiguration // The actual machine config as reported by Firecracker
142
-
143
- // Metadata is the associated metadata that will be sent to the firecracker
144
- // process
145
- Metadata interface {}
146
- errCh chan error
147
- Handlers Handlers
148
+ errCh chan error
148
149
}
149
150
150
151
// Logger returns a logrus logger appropriate for logging hypervisor messages
You can’t perform that action at this time.
0 commit comments