mock

package
v0.3.750 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock provides a fake Driver implementation that is only used for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() drivers.Driver

Types

type Mocker

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

func (*Mocker) Close

func (m *Mocker) Close() error

func (*Mocker) CreateCookie

func (*Mocker) GetSlotKeyExtensions added in v0.3.720

func (m *Mocker) GetSlotKeyExtensions(extn map[string]string) string

func (*Mocker) SetPullImageRetryPolicy added in v0.3.673

func (m *Mocker) SetPullImageRetryPolicy(policy common.BackOffConfig, checker drivers.RetryErrorChecker) error

Jump to

Keyboard shortcuts

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