Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BOMDisplay ¶
type BOMDisplay struct { Remote []BOMEntryDisplay `json:"remote" yaml:"remote"` Local []BOMEntryDisplay `json:"local" yaml:"local"` RemoteErr string `json:"remote_error,omitempty" yaml:"remoteError,omitempty"` LocalErr string `json:"local_error,omitempty" yaml:"localError,omitempty"` }
type BOMEntryDisplay ¶
type BOMEntryDisplay struct { Name string `toml:"name" json:"name" yaml:"name"` Version string `toml:"version,omitempty" json:"version,omitempty" yaml:"version,omitempty"` Metadata map[string]interface{} `toml:"metadata" json:"metadata" yaml:"metadata"` Buildpack dist.ModuleRef `json:"buildpacks" yaml:"buildpacks" toml:"buildpacks"` Extension dist.ModuleRef `json:"extensions" yaml:"extensions" toml:"extensions"` }
func NewBOMDisplay ¶
func NewBOMDisplay(info *client.ImageInfo) []BOMEntryDisplay
type BaseDisplay ¶
type GeneralInfo ¶
type InfoDisplay ¶
type InfoDisplay struct { StackID string `json:"stack" yaml:"stack" toml:"stack"` Base BaseDisplay `json:"base_image" yaml:"base_image" toml:"base_image"` RunImageMirrors []RunImageMirrorDisplay `json:"run_images" yaml:"run_images" toml:"run_images"` Buildpacks []dist.ModuleInfo `json:"buildpacks" yaml:"buildpacks" toml:"buildpacks"` Extensions []dist.ModuleInfo `json:"extensions" yaml:"extensions" toml:"extensions"` Processes []ProcessDisplay `json:"processes" yaml:"processes" toml:"processes"` }
func NewInfoDisplay ¶
func NewInfoDisplay(info *client.ImageInfo, generalInfo GeneralInfo) *InfoDisplay
type InspectOutput ¶
type InspectOutput struct { ImageName string `json:"image_name" yaml:"image_name" toml:"image_name"` Remote *InfoDisplay `json:"remote_info" yaml:"remote_info" toml:"remote_info"` Local *InfoDisplay `json:"local_info" yaml:"local_info" toml:"local_info"` }
type ProcessDisplay ¶
type ProcessDisplay struct { Type string `json:"type" yaml:"type" toml:"type"` Shell string `json:"shell" yaml:"shell" toml:"shell"` Command string `json:"command" yaml:"command" toml:"command"` Default bool `json:"default" yaml:"default" toml:"default"` Args []string `json:"args" yaml:"args" toml:"args"` WorkDir string `json:"working-dir" yaml:"working-dir" toml:"working-dir"` }
type RunImageMirrorDisplay ¶
type StackDisplay ¶
Click to show internal directories.
Click to hide internal directories.