mock

package
v1.414.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCopyImage = errors.New("copy image err")
	ErrPushImage = errors.New("push image err")
	ErrLoadImage = errors.New("load image err")
)

Functions

This section is empty.

Types

type CraneMockUtils

type CraneMockUtils struct {
	ErrCopyImage, ErrPushImage, ErrLoadImage error
}

func (*CraneMockUtils) CopyImage

func (c *CraneMockUtils) CopyImage(_ context.Context, src, dest, platform string) error

func (*CraneMockUtils) LoadImage

func (c *CraneMockUtils) LoadImage(_ context.Context, src string) (v1.Image, error)

func (*CraneMockUtils) PushImage

func (c *CraneMockUtils) PushImage(_ context.Context, im v1.Image, dest, platform string) error

Jump to

Keyboard shortcuts

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