types

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidType = errors.New("invalid image type")
)

Functions

This section is empty.

Types

type ImageType

type ImageType int

ImageType represents some image types supported by Hangar.

const (
	TypeUndefined ImageType = iota
	TypeDocker
	TypeDockerDaemon
	TypeDockerArhive
	TypeOci
	TypeDir
	TypeHangarArchive
)

func (ImageType) String

func (t ImageType) String() string

func (*ImageType) Transport

func (t *ImageType) Transport() string

Jump to

Keyboard shortcuts

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