Struct sherpa::client::HttpClient
[−]
[src]
pub struct HttpClient { pub config: Option<Config>, // some fields omitted }
Fields
config: Option<Config>
Trait Implementations
impl Debug for HttpClient
[src]
impl Client for HttpClient
[src]
fn new<H>(host: H, config: Option<Config>) -> HttpClient where
H: Into<String>,
[src]
H: Into<String>,
fn authenticate(
&self,
github_handle: &str,
github_token: &str
) -> Result<AuthenticateResponse>
[src]
&self,
github_handle: &str,
github_token: &str
) -> Result<AuthenticateResponse>
fn deploy(
&self,
trekker: &str,
stage: &str,
branch: &str
) -> Result<CreateDeployResponse>
[src]
&self,
trekker: &str,
stage: &str,
branch: &str
) -> Result<CreateDeployResponse>