nfsmountservice

package
v0.0.0-...-f4fdb20 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNFSMountService

type MockNFSMountService struct {
	GetNFSMountDetailsFunc func(reqBody models.NFSMountRequest) *[]models.NFSMountResponse
	GetNFSMountLocFunc     func(req models.NFSMountLocRequest) *models.NFSMountLocResponse
}

func (*MockNFSMountService) GetNFSMountDetails

func (mnm *MockNFSMountService) GetNFSMountDetails(reqBody models.NFSMountRequest) *[]models.NFSMountResponse

func (*MockNFSMountService) GetNFSMountLoc

type NFSService

type NFSService interface {
	GetNFSMountDetails(models.NFSMountRequest) *[]models.NFSMountResponse
	GetNFSMountLoc(req models.NFSMountLocRequest) *models.NFSMountLocResponse
}

type NfsServiceImp

type NfsServiceImp struct {
	SystemResourceInfo systemresource.SystemResourceInfo
	// contains filtered or unexported fields
}

func NewNFSMountService

func NewNFSMountService(log logger.Logger, port string, client httputils.HTTPClient, sysResInfo systemresource.SystemResourceInfo) *NfsServiceImp

func (*NfsServiceImp) GetNFSMountDetails

func (nm *NfsServiceImp) GetNFSMountDetails(reqBody models.NFSMountRequest) *[]models.NFSMountResponse

func (*NfsServiceImp) GetNFSMountLoc

type TempResponse

type TempResponse struct {
	MountLocRes models.NFSMountLocResponse
	MountResp   models.NFSMountResponse
}

Jump to

Keyboard shortcuts

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