images

package
v0.0.0-...-e4c3a4d Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiArchTarBundle

type MultiArchTarBundle struct {
	Tars []Tar
}

type Tar

type Tar struct {

	// PublishedTag is the tag which the image has been published under, which might
	// be different to the raw image name which was part of the release. This should
	// be set after an image has been re-tagged and pushed.
	PublishedTag string
	// contains filtered or unexported fields
}

Tar is used for accessing and interacting with a .tar file containing a docker image stored on disk.

func NewTar

func NewTar(path, osStr, arch string) (*Tar, error)

func (*Tar) Architecture

func (i *Tar) Architecture() string

func (*Tar) Filepath

func (i *Tar) Filepath() string

func (*Tar) ImageTag

func (i *Tar) ImageTag() string

func (*Tar) OS

func (i *Tar) OS() string

func (*Tar) RawImageName

func (i *Tar) RawImageName() string

Jump to

Keyboard shortcuts

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