powerpath

package
v1.10.1 Latest Latest
Warning

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

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

Documentation

Overview

Package powerpath is a generated GoMock package.

Package powerpath is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPowerpath added in v1.7.0

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

MockPowerpath is a mock of Powerpath interface

func NewMockPowerpath added in v1.7.0

func NewMockPowerpath(ctrl *gomock.Controller) *MockPowerpath

NewMockPowerpath creates a new mock instance

func (*MockPowerpath) EXPECT added in v1.7.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPowerpath) FlushDevice added in v1.7.0

func (m *MockPowerpath) FlushDevice(ctx context.Context) error

FlushDevice mocks base method

func (*MockPowerpath) GetPowerPathDevices added in v1.7.0

func (m *MockPowerpath) GetPowerPathDevices(ctx context.Context, devices []string) (string, error)

func (*MockPowerpath) IsDaemonRunning added in v1.7.0

func (m *MockPowerpath) IsDaemonRunning(ctx context.Context) bool

IsDaemonRunning mocks base method

type MockPowerpathMockRecorder added in v1.7.0

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

MockPowerpathMockRecorder is the mock recorder for MockPowerpath

func (*MockPowerpathMockRecorder) FlushDevice added in v1.7.0

func (mr *MockPowerpathMockRecorder) FlushDevice(ctx interface{}) *gomock.Call

FlushDevice indicates an expected call of FlushDevice

func (*MockPowerpathMockRecorder) IsDaemonRunning added in v1.7.0

func (mr *MockPowerpathMockRecorder) IsDaemonRunning(ctx interface{}) *gomock.Call

IsDaemonRunning indicates an expected call of IsDaemonRunning

type Powerpath

type Powerpath interface {
	FlushDevice(ctx context.Context) error
	IsDaemonRunning(ctx context.Context) bool
	GetPowerPathDevices(ctx context.Context, devices []string) (string, error)
}

Powerpath defines methods for powerpath related operations

Jump to

Keyboard shortcuts

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