allow pushing/pulling to insecure registries

This commit is contained in:
Patrick Devine
2023-07-20 23:29:41 -07:00
parent e7a393de54
commit 92e30a62ee
5 changed files with 86 additions and 39 deletions

View File

@@ -43,6 +43,7 @@ type DeleteRequest struct {
type PullRequest struct {
Name string `json:"name"`
Insecure bool `json:"insecure,omitempty"`
Username string `json:"username"`
Password string `json:"password"`
}
@@ -56,6 +57,7 @@ type ProgressResponse struct {
type PushRequest struct {
Name string `json:"name"`
Insecure bool `json:"insecure,omitempty"`
Username string `json:"username"`
Password string `json:"password"`
}