docker

package
v1.33.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReferenceStore

type ReferenceStore struct {
	Repositories map[string]repository
}

ReferenceStore stores references to images in repositories.json used by the docker daemon to name images taken from "github.com/docker/docker/reference/store.go"

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

Storage keeps track of reference stores

func NewStorage

func NewStorage(runner command.Runner) *Storage

NewStorage returns a new storage type

func (*Storage) Save

func (s *Storage) Save() error

Save saves the current reference store in memory

func (*Storage) Update

func (s *Storage) Update() error

Update merges all reference stores and updates repositories.json

Jump to

Keyboard shortcuts

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