mock

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0, BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginSPIImpl

type PluginSPIImpl struct {
	Devices []metalv1.Device
	// contains filtered or unexported fields
}

PluginSPIImpl is the plugin SPI implementation to mock the provider

func (*PluginSPIImpl) NewSession

func (p *PluginSPIImpl) NewSession(secret *corev1.Secret) (spi.MetalDeviceService, error)

NewSession creates a mock session for provider

Jump to

Keyboard shortcuts

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