mocks

package
v0.0.0-...-95f6ed8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommandRunner

type MockCommandRunner struct {
	RunWithoutRetryFunc func(c *util.Command) (string, error)
	Commands            []string
}

MockCommandRunner is the mock command.

func (*MockCommandRunner) RunWithoutRetry

func (m *MockCommandRunner) RunWithoutRetry(c *util.Command) (string, error)

RunWithoutRetry is the mock command's `RunWithoutRetry` func.

Jump to

Keyboard shortcuts

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