fold hive-c0re module tree into the daemon binary + drop dead pub items surfaced by bin-only (#2513)
This commit is contained in:
parent
d04c86e9ac
commit
673aea4e50
15 changed files with 95 additions and 250 deletions
|
|
@ -94,16 +94,6 @@ pub async fn kill_container(name: &str) -> Result<()> {
|
|||
.await?)
|
||||
}
|
||||
|
||||
pub async fn update_container(name: &str) -> Result<(String, String)> {
|
||||
check(
|
||||
call(&PrivRequest::UpdateContainer {
|
||||
name: name.to_owned(),
|
||||
stream: false,
|
||||
})
|
||||
.await?,
|
||||
)
|
||||
}
|
||||
|
||||
/// Streaming variant: forward stdout/stderr lines to `on_line` as they
|
||||
/// arrive. Returns `Ok(())` on success; the callback is responsible for
|
||||
/// appending lines to `build_logs` or otherwise capturing the output.
|
||||
|
|
@ -121,16 +111,6 @@ pub async fn update_container_streaming(
|
|||
.await?)
|
||||
}
|
||||
|
||||
pub async fn create_container(name: &str) -> Result<(String, String)> {
|
||||
check(
|
||||
call(&PrivRequest::CreateContainer {
|
||||
name: name.to_owned(),
|
||||
stream: false,
|
||||
})
|
||||
.await?,
|
||||
)
|
||||
}
|
||||
|
||||
/// Streaming variant: forward stdout/stderr lines to `on_line` as they
|
||||
/// arrive. Returns `Ok(())` on success.
|
||||
pub async fn create_container_streaming(
|
||||
|
|
|
|||
Loading…
Reference in a new issue