예제 #1
0
 def get_repo_bindings(self, pulp, repo_id):
     return Binding.from_response(pulp.send(self.request("GET", path=path_join(Binding.path, repo_id))))
예제 #2
0
 def get_single_binding(self, pulp, repo_id, distributor_id):
     return Binding.from_response(
         pulp.send(self.request("GET", path=path_join(Binding.path, repo_id, distributor_id)))
     )
예제 #3
0
 def list_bindings(self, pulp):
     return Binding.from_response(pulp.send(self.request("GET", path=Binding.path)))