Documentation
¶
Index ¶
Constants ¶
View Source
const StdinPath = "-"
Variables ¶
This section is empty.
Functions ¶
func DetermineUseCogBaseImage ¶ added in v0.9.20
func NewBaseImageRootCommand ¶ added in v0.9.7
func NewRootCommand ¶
Types ¶
type LayerStatusEntry ¶ added in v0.19.3
type LayerStatusEntry struct {
Digest string `json:"digest"`
Size int64 `json:"size"`
Status string `json:"status"`
}
LayerStatusEntry is one layer's status in the output.
type WeightStatusEntry ¶ added in v0.19.3
type WeightStatusEntry struct {
Name string `json:"name"`
Target string `json:"target"`
Status string `json:"status"`
Size int64 `json:"size,omitempty"`
SizeCompressed int64 `json:"sizeCompressed,omitempty"`
LayerCount int `json:"layerCount,omitempty"`
FileCount int `json:"fileCount,omitempty"`
Digest string `json:"digest,omitempty"`
Source *WeightStatusSource `json:"source,omitempty"`
Layers []LayerStatusEntry `json:"layers,omitempty"`
}
WeightStatusEntry is one weight's JSON representation.
type WeightStatusSource ¶ added in v0.19.3
type WeightStatusSource struct {
URI string `json:"uri,omitempty"`
Fingerprint string `json:"fingerprint,omitempty"`
}
WeightStatusSource records the source metadata from the lockfile entry.
type WeightsStatusOutput ¶ added in v0.19.3
type WeightsStatusOutput struct {
Weights []WeightStatusEntry `json:"weights"`
}
WeightsStatusOutput is the top-level structured output for cog weights status --json.
Click to show internal directories.
Click to hide internal directories.