pub struct HooksBuilder { /* private fields */ }
Expand description
Builder for Hooks
.
Implementations§
Source§impl HooksBuilder
impl HooksBuilder
Sourcepub fn prestart<VALUE: Into<Vec<Hook>>>(&mut self, value: VALUE) -> &mut Self
pub fn prestart<VALUE: Into<Vec<Hook>>>(&mut self, value: VALUE) -> &mut Self
Prestart is Deprecated. Prestart is a list of hooks to be run before the container process is executed. It is called in the Runtime Namespace
Sourcepub fn create_runtime<VALUE: Into<Vec<Hook>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn create_runtime<VALUE: Into<Vec<Hook>>>( &mut self, value: VALUE, ) -> &mut Self
CreateRuntime is a list of hooks to be run after the container has been created but before pivot_root or any equivalent operation has been called It is called in the Runtime Namespace
Sourcepub fn create_container<VALUE: Into<Vec<Hook>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn create_container<VALUE: Into<Vec<Hook>>>( &mut self, value: VALUE, ) -> &mut Self
CreateContainer is a list of hooks to be run after the container has been created but before pivot_root or any equivalent operation has been called It is called in the Container Namespace
Sourcepub fn start_container<VALUE: Into<Vec<Hook>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn start_container<VALUE: Into<Vec<Hook>>>( &mut self, value: VALUE, ) -> &mut Self
StartContainer is a list of hooks to be run after the start operation is called but before the container process is started It is called in the Container Namespace
Sourcepub fn poststart<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn poststart<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
Poststart is a list of hooks to be run after the container process is started. It is called in the Runtime Namespace
Trait Implementations§
Source§impl Clone for HooksBuilder
impl Clone for HooksBuilder
Source§fn clone(&self) -> HooksBuilder
fn clone(&self) -> HooksBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more