pub type UpdateDockerRegistryAccountResponse = DockerRegistryAccount;
Aliased Type§
struct UpdateDockerRegistryAccountResponse {
pub id: String,
pub domain: String,
pub username: String,
pub token: String,
}
Fields§
§id: String
The Mongo ID of the docker registry account.
This field is de/serialized from/to JSON as
{ "_id": { "$oid": "..." }, ...(rest of DockerRegistryAccount) }
domain: String
The domain of the provider.
For docker registry, this can include ‘http://…’, however this is not recommended and won’t work unless “insecure registries” are enabled on your hosts. See [https://docs.docker.com/reference/cli/dockerd/#insecure-registries].
username: String
The account username
token: String
The token in plain text on the db. If the database / host can be accessed this is insecure.