about summary refs log blame commit diff
path: root/image.go
blob: e627544462e59f88a37cc75df37995a18da73679 (plain) (tree)



























                                                       
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"`
}