This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree 1 file changed +14
-9
lines changed
1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,24 @@ package coder
3
3
import (
4
4
"context"
5
5
"net/http"
6
+ "time"
6
7
)
7
8
8
9
// Image describes a Coder Image.
9
10
type Image struct {
10
- ID string `json:"id"`
11
- OrganizationID string `json:"organization_id"`
12
- Repository string `json:"repository"`
13
- Description string `json:"description"`
14
- URL string `json:"url"` // User-supplied URL for image.
15
- DefaultCPUCores float32 `json:"default_cpu_cores"`
16
- DefaultMemoryGB float32 `json:"default_memory_gb"`
17
- DefaultDiskGB int `json:"default_disk_gb"`
18
- Deprecated bool `json:"deprecated"`
11
+ ID string `json:"id"`
12
+ OrganizationID string `json:"organization_id"`
13
+ Repository string `json:"repository"`
14
+ Description string `json:"description"`
15
+ URL string `json:"url"` // User-supplied URL for image.
16
+ Registry * Registry `json:"registry"`
17
+ DefaultTag * ImageTag `json:"default_tag"`
18
+ DefaultCPUCores float32 `json:"default_cpu_cores"`
19
+ DefaultMemoryGB float32 `json:"default_memory_gb"`
20
+ DefaultDiskGB int `json:"default_disk_gb"`
21
+ Deprecated bool `json:"deprecated"`
22
+ CreatedAt time.Time `json:"created_at"`
23
+ UpdatedAt time.Time `json:"updated_at"`
19
24
}
20
25
21
26
// NewRegistryRequest describes a docker registry used in importing an image.
You can’t perform that action at this time.
0 commit comments