image_map

package
v0.0.0-...-4381ce5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerTermini

type DockerTermini struct {
	Path string
	image.Image
}

type ImageMap

type ImageMap map[string][]DockerTermini

assumes that all image _names_ are unique. image name does not include registry name. so, `google/cadvisor`'s image name is `cadvisor`.

func (ImageMap) Exists

func (m ImageMap) Exists(key string) bool

func (ImageMap) Insert

func (m ImageMap) Insert(key string, images ...DockerTermini)

type ImageMapPair

type ImageMapPair map[string][]image.ImagePair

func NewImageMapPair

func NewImageMapPair(rootDir string) ImageMapPair

func (ImageMapPair) Children

func (m ImageMapPair) Children(key string) []image.ImagePair

func (ImageMapPair) Exists

func (m ImageMapPair) Exists(key string) bool

func (ImageMapPair) Insert

func (m ImageMapPair) Insert(key string, images ...image.ImagePair)

func (ImageMapPair) InsertOne

func (m ImageMapPair) InsertOne(pair image.ImagePair)

Jump to

Keyboard shortcuts

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