Documentation ¶
Overview ¶
Package mock provides a fake Driver implementation that is only used for testing.
Index ¶
- func New() drivers.Driver
- type Mocker
- func (m *Mocker) Close() error
- func (m *Mocker) CreateCookie(context.Context, drivers.ContainerTask) (drivers.Cookie, error)
- func (m *Mocker) GetSlotKeyExtensions(extn map[string]string) string
- func (m *Mocker) SetPullImageRetryPolicy(policy common.BackOffConfig, checker drivers.RetryErrorChecker) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mocker ¶
type Mocker struct {
// contains filtered or unexported fields
}
func (*Mocker) CreateCookie ¶
func (*Mocker) GetSlotKeyExtensions ¶
func (*Mocker) SetPullImageRetryPolicy ¶
func (m *Mocker) SetPullImageRetryPolicy(policy common.BackOffConfig, checker drivers.RetryErrorChecker) error
Click to show internal directories.
Click to hide internal directories.