Lines Matching refs:repository
95 …* @param string $repository the name of the repository in which this snapshot should be sto…
106 public function createSnapshot($repository, $name, $options = [], $waitForCompletion = false) argument
108 …return $this->request($repository.'/'.$name, Request::PUT, $options, ['wait_for_completion' => $wa…
114 * @param string $repository the name of the repository from which to retrieve the snapshot
124 public function getSnapshot($repository, $name) argument
127 $response = $this->request($repository.'/'.$name);
130 …hrow new NotFoundException("Snapshot '".$name."' does not exist in repository '".$repository."'.");
142 * @param string $repository the repository name
150 public function getAllSnapshots($repository) argument
152 return $this->request($repository.'/_all')->getData();
158 * @param string $repository the repository in which the snapshot resides
167 public function deleteSnapshot($repository, $name) argument
169 return $this->request($repository.'/'.$name, Request::DELETE);
175 * @param string $repository the name of the repository
186 public function restoreSnapshot($repository, $name, $options = [], $waitForCompletion = false) argument
189 ->setRepository($repository)