add rm command for models (#151)

This commit is contained in:
Patrick Devine
2023-07-20 16:09:23 -07:00
committed by GitHub
parent 8454f298ac
commit e7a393de54
5 changed files with 166 additions and 25 deletions

View File

@@ -37,6 +37,10 @@ type CreateProgress struct {
Status string `json:"status"`
}
type DeleteRequest struct {
Name string `json:"name"`
}
type PullRequest struct {
Name string `json:"name"`
Username string `json:"username"`
@@ -44,10 +48,10 @@ type PullRequest struct {
}
type ProgressResponse struct {
Status string `json:"status"`
Digest string `json:"digest,omitempty"`
Total int `json:"total,omitempty"`
Completed int `json:"completed,omitempty"`
Status string `json:"status"`
Digest string `json:"digest,omitempty"`
Total int `json:"total,omitempty"`
Completed int `json:"completed,omitempty"`
}
type PushRequest struct {