system

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommandAndStreamOutput

func RunCommandAndStreamOutput(name string, args ...string) error

Types

type ContainerEngine

type ContainerEngine interface {
	LoadLocalContainerImage(filename string) error
	BuildImage(dockerfile string) error
}

type DockerEngine

type DockerEngine struct {
}

func NewDockerEngine

func NewDockerEngine() *DockerEngine

func (*DockerEngine) GetImageNames

func (d *DockerEngine) GetImageNames(fileIo util.FileIO, imagefile string) ([]string, error)

func (*DockerEngine) LoadLocalContainerImage

func (d *DockerEngine) LoadLocalContainerImage(imagefile string) error

func (*DockerEngine) RunCommand

func (d *DockerEngine) RunCommand(dockerCmd []string) error

type ManifestEntry

type ManifestEntry struct {
	MediaType   string            `json:"mediaType"`
	Digest      string            `json:"digest"`
	Size        int64             `json:"size"`
	Annotations map[string]string `json:"annotations,omitempty"` // Use omitempty just in case, though usually present
}

ManifestEntry represents a single manifest entry within the index.

type OCIImageIndex

type OCIImageIndex struct {
	SchemaVersion int             `json:"schemaVersion"`
	MediaType     string          `json:"mediaType"`
	Manifests     []ManifestEntry `json:"manifests"`
}

OCIImageIndex represents the top-level structure of an OCI Image Index (manifest list).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL