MCPcopy Index your code
hub / github.com/docker/docker-py / push

Method push

docker/models/plugins.py:76–87  ·  view source on GitHub ↗

Push the plugin to a remote registry. Returns: A dict iterator streaming the status of the upload. Raises: :py:class:`docker.errors.APIError` If the server returns an error.

(self)

Source from the content-addressed store, hash-verified

74 self.reload()
75
76 def push(self):
77 """
78 Push the plugin to a remote registry.
79
80 Returns:
81 A dict iterator streaming the status of the upload.
82
83 Raises:
84 :py:class:`docker.errors.APIError`
85 If the server returns an error.
86 """
87 return self.client.api.push_plugin(self.name)
88
89 def remove(self, force=False):
90 """

Callers 5

test_push_imageMethod · 0.45
test_pushMethod · 0.45

Calls 1

push_pluginMethod · 0.80

Tested by 5

test_push_imageMethod · 0.36
test_pushMethod · 0.36