コード例 #1
0
 def test_repository_manifest(self):
     url = mock_v2_registry()
     client = DockerRegistryClient(url)
     repository = client.repositories()[TEST_NAME]
     manifest, digest = repository.manifest(TEST_TAG)
     repository.delete_manifest(digest)
コード例 #2
0
 def test_get_manifest_and_digest(self):
     url = mock_v2_registry()
     manifest, digest = BaseClientV2(url).get_manifest_and_digest(TEST_NAME,
                                                                  TEST_TAG)
コード例 #3
0
 def test_initv2(self):
     url = mock_v2_registry()
     Repository(BaseClientV2(url), TEST_NAME)
コード例 #4
0
 def test_check_status(self):
     url = mock_v2_registry()
     BaseClientV2(url).check_status()
コード例 #5
0
 def test_get_manifest_and_digest(self):
     url = mock_v2_registry()
     manifest, digest = BaseClientV2(url).get_manifest_and_digest(
         TEST_NAME, TEST_TAG)
コード例 #6
0
 def test_check_status(self):
     url = mock_v2_registry()
     BaseClientV2(url).check_status()
コード例 #7
0
 def test_initv2(self):
     url = mock_v2_registry()
     Repository(BaseClientV2(url), TEST_NAME)
コード例 #8
0
 def test_repository_manifest(self):
     url = mock_v2_registry()
     client = DockerRegistryClient(url)
     repository = client.repositories()[TEST_NAME]
     manifest, digest = repository.manifest(TEST_TAG)
     repository.delete_manifest(digest)