system

package
v0.11.0 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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