allow pushing/pulling to insecure registries (#157)

This commit is contained in:
Patrick Devine
2023-07-21 15:42:19 -07:00
committed by GitHub
parent f5f0da06d9
commit 9f6e97865c
5 changed files with 86 additions and 39 deletions

View File

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