Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookConfig ¶ added in v0.2.0
WebhookConfig provides client interfaces for managing webhook registry on the QaaS server, using the RESTful interface.
func (*WebhookConfig) Delete ¶ added in v0.2.0
func (s *WebhookConfig) Delete(id string, removeDir bool) error
Delete removes a webhook with the given id.
The deletion maily removes webhook registry from QaaS server. If removeDir is true, the local webhook working directory is removed when the webhook is unregistered from the QaaS server.
func (*WebhookConfig) GetInfo ¶ added in v0.2.0
func (s *WebhookConfig) GetInfo(id string) (WebhookConfigInfo, error)
GetInfo retrieves information of a single Webhook configuration referred by the hash id.
func (*WebhookConfig) List ¶ added in v0.2.0
func (s *WebhookConfig) List() (chan WebhookConfigInfo, error)
List retrieves a list of webhooks of the current user. The information of webhooks is returned with a channel.
Click to show internal directories.
Click to hide internal directories.