hardwareresourcecount

package
v0.0.0-...-d983439 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HardwareResourceCountService

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

func NewHardwareResourceCountService

func NewHardwareResourceCountService(log logger.Logger) *HardwareResourceCountService

func (*HardwareResourceCountService) GetHardwareResourceCount

func (hrc *HardwareResourceCountService) GetHardwareResourceCount(req models.Hardware) []models.HardwareResourceResponse

type IHardwareResourceCountService

type IHardwareResourceCountService interface {
	GetHardwareResourceCount(models.Hardware) []models.HardwareResourceResponse
}

type MockHardwareResourceCountService

type MockHardwareResourceCountService struct {
	GetHardwareResourceCountFunc func(models.Hardware) []models.HardwareResourceResponse
}

func (*MockHardwareResourceCountService) GetHardwareResourceCount

func (mhrc *MockHardwareResourceCountService) GetHardwareResourceCount(req models.Hardware) []models.HardwareResourceResponse

Jump to

Keyboard shortcuts

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