vmAgentService

package
v0.0.0-...-5746ace Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: GPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusService

type StatusService struct {
	ToolService *ToolService `inject:""`
}

func NewStatusService

func NewStatusService() *StatusService

func (*StatusService) Check

func (s *StatusService) Check(req v1.VmServiceCheckReq) (ret v1.VmServiceCheckResp, err error)

func (*StatusService) CheckZd

func (s *StatusService) CheckZd() (status consts.HostServiceStatus, version string, err error)

func (*StatusService) CheckZtf

func (s *StatusService) CheckZtf() (status consts.HostServiceStatus, version string, err error)

type ToolService

type ToolService struct {
}

func NewToolService

func NewToolService() *ToolService

func (*ToolService) Setup

func (*ToolService) StartToolByName

func (s *ToolService) StartToolByName(name string) (ret v1.VmServiceInstallResp, err error)

type VmService

type VmService struct {
	VmMapVar  map[string]domain.Vm
	TimeStamp int64

	VmService   *VmService                      `inject:""`
	JobService  *agentService.JobService        `inject:""`
	TestService *agentTestingService.RunService `inject:""`
}

func NewVmService

func NewVmService() *VmService

func (*VmService) Check

func (s *VmService) Check()

func (*VmService) Register

func (s *VmService) Register(isBusy bool) (ok bool)

Jump to

Keyboard shortcuts

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