tvl-depot/image.go

29 lines
610 B
Go
Raw Normal View History

2017-03-16 11:43:17 +01:00
package main
import "time"
type RootFs struct {
DiffIds []string `json:"diff_ids"`
Type string `json:"type"`
}
type History struct {
Created time.Time `json:"created"`
CreatedBy string `json:"created_by"`
}
type ImageConfig struct {
Cmd []string
Env []string
}
type Config struct {
Created time.Time `json:"created"`
Author string `json:"author"`
Architecture string `json:"architecture"`
Os string `json:"os"`
Config *ImageConfig `json:"config"`
RootFs RootFs `json:"rootfs"`
History []History `json:"history"`
}