@@ -222,25 +222,25 @@ const (
222222 // the runtime environment has been created but before the pivot_root has been executed.
223223 // CreateRuntime is called immediately after the deprecated Prestart hook.
224224 // CreateRuntime commands are called in the Runtime Namespace.
225- CreateRuntime = "createRuntime"
225+ CreateRuntime HookName = "createRuntime"
226226
227227 // CreateContainer commands MUST be called as part of the create operation after
228228 // the runtime environment has been created but before the pivot_root has been executed.
229229 // CreateContainer commands are called in the Container namespace.
230- CreateContainer = "createContainer"
230+ CreateContainer HookName = "createContainer"
231231
232232 // StartContainer commands MUST be called as part of the start operation and before
233233 // the container process is started.
234234 // StartContainer commands are called in the Container namespace.
235- StartContainer = "startContainer"
235+ StartContainer HookName = "startContainer"
236236
237237 // Poststart commands are executed after the container init process starts.
238238 // Poststart commands are called in the Runtime Namespace.
239- Poststart = "poststart"
239+ Poststart HookName = "poststart"
240240
241241 // Poststop commands are executed after the container init process exits.
242242 // Poststop commands are called in the Runtime Namespace.
243- Poststop = "poststop"
243+ Poststop HookName = "poststop"
244244)
245245
246246type Capabilities struct {
0 commit comments