MCPcopy
hub / github.com/docker/docker-py / erase

Method erase

docker/credentials/store.py:57–63  ·  view source on GitHub ↗

Erase credentials for `server`. Raises a `StoreError` if an error occurs.

(self, server)

Source from the content-addressed store, hash-verified

55 return self._execute('store', data_input)
56
57 def erase(self, server):
58 """ Erase credentials for `server`. Raises a `StoreError` if an error
59 occurs.
60 """
61 if not isinstance(server, bytes):
62 server = server.encode('utf-8')
63 self._execute('erase', server)
64
65 def list(self):
66 """ List stored credentials. Requires v0.4.0+ of the helper.

Callers

nothing calls this directly

Calls 1

_executeMethod · 0.95

Tested by

no test coverage detected