File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1414
1515package v1
1616
17+ import "time"
18+
1719// ImageConfig defines the execution parameters which should be used as a base when running a container using an image.
1820type ImageConfig struct {
1921 // User defines the username or UID which the process in the container should run as.
@@ -52,8 +54,8 @@ type RootFS struct {
5254
5355// History describes the history of a layer.
5456type History struct {
55- // Created is the creation time.
56- Created string `json:"created,omitempty"`
57+ // Created is the combined date and time at which the layer was created, formatted as defined by RFC 3339, section 5.6 .
58+ Created time. Time `json:"created,omitempty"`
5759
5860 // CreatedBy is the command which created the layer.
5961 CreatedBy string `json:"created_by,omitempty"`
@@ -72,7 +74,7 @@ type History struct {
7274// This provides the `application/vnd.oci.image.config.v1+json` mediatype when marshalled to JSON.
7375type Image struct {
7476 // Created is the combined date and time at which the image was created, formatted as defined by RFC 3339, section 5.6.
75- Created string `json:"created,omitempty"`
77+ Created time. Time `json:"created,omitempty"`
7678
7779 // Author defines the name and/or email address of the person or entity which created and is responsible for maintaining the image.
7880 Author string `json:"author,omitempty"`
You can’t perform that action at this time.
0 commit comments