hostfs

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImageHash

func NewImageHash(fqnImageID string) (v1.Hash, error)

NewImageHash returns image hash from string in format: registry.com/repo/image:v0.1.0@sha256:c845d5f019125f896cf552912ab2dc35a6996646975d65878626ac73b89c7b11

Types

type ContainerdHostFSConfig

type ContainerdHostFSConfig struct {
	Platform   v1.Platform
	ContentDir string
}

type Image

type Image interface {
	v1.Image
	RepoTags() []string
	RepoDigests() []string
	Index() *v1.IndexManifest
}

func NewContainerdImage

func NewContainerdImage(hash v1.Hash, cfg ContainerdHostFSConfig) (Image, error)

Jump to

Keyboard shortcuts

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