-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add --provisioner-address arg to both runtimes (#433)
* refactor: fix up dependencies * feat: add --provisioner-address to both runtimes
- Loading branch information
Showing
9 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ members = [ | |
"common", | ||
"deployer", | ||
"gateway", | ||
"next", | ||
"proto", | ||
"provisioner", | ||
"service" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
use clap::Parser; | ||
use tonic::transport::Endpoint; | ||
|
||
#[derive(Parser, Debug)] | ||
pub struct Args { | ||
/// Uri to the `.so` file to load | ||
#[arg(long, short)] | ||
pub file_path: String, | ||
|
||
/// Address to reach provisioner at | ||
#[clap(long, default_value = "localhost:5000")] | ||
pub provisioner_address: Endpoint, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
use clap::Parser; | ||
use tonic::transport::Endpoint; | ||
|
||
#[derive(Parser, Debug)] | ||
pub struct Args { | ||
/// Address to reach provisioner at | ||
#[clap(long, default_value = "localhost:5000")] | ||
pub provisioner_address: Endpoint, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
pub mod args; | ||
|
||
use std::fs::File; | ||
use std::io::{Read, Write}; | ||
use std::os::unix::prelude::RawFd; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters