Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v1.532.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 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