hostfs

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImageHash added in v0.24.1

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
}

func NewContainerdImage added in v0.24.1

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