Trait sherpa::client::Client [] [src]

pub trait Client {
    fn new<H>(host: H, config: Option<Config>) -> Self
    where
        H: Into<String>
;
fn authenticate(
        &self,
        github_handle: &str,
        github_token: &str
    ) -> Result<AuthenticateResponse>;
fn deploy(
        &self,
        trekker: &str,
        stage: &str,
        branch: &str
    ) -> Result<CreateDeployResponse>;
fn list_stages(&self, trekker: &str) -> Result<Vec<StageResponse>>; }

Required Methods

Implementors