WatchingClient
class WatchingClient
Traits
Properties
protected | $curl | from CICommon | |
protected | $api_url | from CICommon |
Methods
mixed
list(string $repo_full_name)
List watchers.
mixed
listRepositoryBeingWatched(string $username = null)
List repositories being watched.
mixed
getRepositorySubscription(string $repo_full_name)
Get a Repository Subscription.
mixed
setRepositorySubscription(string $repo_full_name, bool $subscribed, bool $ignored)
Set a Repository Subscription.
void
deleteRepositorySubscription(string $repo_full_name)
Delete a Repository Subscription.
Details
in CICommon at line 18
__construct(Curl $curl, string $api_url)
CICommon constructor.
at line 20
mixed
list(string $repo_full_name)
List watchers.
at line 32
mixed
listRepositoryBeingWatched(string $username = null)
List repositories being watched.
at line 50
mixed
getRepositorySubscription(string $repo_full_name)
Get a Repository Subscription.
检查是否 watching repo
at line 62
mixed
setRepositorySubscription(string $repo_full_name, bool $subscribed, bool $ignored)
Set a Repository Subscription.
at line 79
void
deleteRepositorySubscription(string $repo_full_name)
Delete a Repository Subscription.
204