[−][src]Struct rebuilderd_common::api::Client
Methods
impl Client[src]
pub fn new(endpoint: String) -> Client[src]
pub fn with_auth_cookie(&mut self) -> Result<&mut Self>[src]
pub fn auth_cookie<I: Into<String>>(&mut self, cookie: I) -> &mut Self[src]
pub fn worker_key<I: Into<String>>(&mut self, key: I)[src]
pub fn signup_secret<I: Into<String>>(&mut self, secret: I)[src]
pub fn get(&self, path: &'static str) -> RequestBuilder[src]
pub fn post(&self, path: &'static str) -> RequestBuilder[src]
pub fn list_workers(&self) -> Result<Vec<Worker>>[src]
pub fn sync_suite(&self, import: &SuiteImport) -> Result<()>[src]
pub fn list_pkgs(&self, list: &ListPkgs) -> Result<Vec<PkgRelease>>[src]
pub fn list_queue(&self, list: &ListQueue) -> Result<QueueList>[src]
pub fn push_queue(&self, push: &PushQueue) -> Result<()>[src]
pub fn pop_queue(&self, query: &WorkQuery) -> Result<JobAssignment>[src]
pub fn drop_queue(&self, query: &DropQueueItem) -> Result<()>[src]
pub fn ping_build(&self, ticket: &QueueItem) -> Result<()>[src]
pub fn report_build(&self, ticket: &BuildReport) -> Result<()>[src]
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,