image

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(r types.VersionedRouter, service Service, conf *config.Config, logger flog.Logger)

Types

type Service

type Service interface {
	List(ctx context.Context) ([]types.ImageSummary, error)
	Pull(ctx context.Context, name, tag, platform string, authCfg *dockertypes.AuthConfig, outStream io.Writer) error
	Push(ctx context.Context, name, tag string, authCfg *dockertypes.AuthConfig, outStream io.Writer) (*types.PushResult, error)
	Remove(ctx context.Context, name string, force bool) (deleted, untagged []string, err error)
	Tag(ctx context.Context, srcImg string, repo, tag string) error
	Inspect(ctx context.Context, name string) (*dockercompat.Image, error)
	Load(ctx context.Context, inStream io.Reader, outStream io.Writer, quiet bool) error
}

Jump to

Keyboard shortcuts

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