Struct hubcaps::hooks::Hooks [] [src]

pub struct Hooks<'a> { /* fields omitted */ }

Interface for mangaing repository hooks

Methods

impl<'a> Hooks<'a>
[src]

Create a new deployments instance

lists hook associated with a repoistory

creates a new repository hook Repository service hooks (like email or Campfire) can have at most one configured at a time. Creating hooks for a service that already has one configured will update the existing hook. see github docs for more information

edits an existing repository hook

deletes a repoistory hook by id