Documentation ¶
Index ¶
- func StartGRPCServer()
- type MonitoringService
- func (c MonitoringService) GetMCISMonInfo(ctx context.Context, request *pb.VMMCISMonQryRequest) (*pb.MCISMonInfoResponse, error)
- func (c MonitoringService) GetMonConfig(ctx context.Context, empty *pb.Empty) (*pb.MonitoringConfigResponse, error)
- func (c MonitoringService) GetVMMonCpuFreqInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.CpuFreqInfoResponse, error)
- func (c MonitoringService) GetVMMonCpuInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.CpuInfoResponse, error)
- func (c MonitoringService) GetVMMonDiskInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.DiskInfoResponse, error)
- func (c MonitoringService) GetVMMonMemoryInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.MemoryInfoResponse, error)
- func (c MonitoringService) GetVMMonNetworkInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.NetworkInfoResponse, error)
- func (c MonitoringService) GetVMOnDemandMonCpuFreqInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.CpuFreqOnDemandInfoResponse, error)
- func (c MonitoringService) GetVMOnDemandMonCpuInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.CpuOnDemandInfoResponse, error)
- func (c MonitoringService) GetVMOnDemandMonDiskInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.DiskOnDemandInfoResponse, error)
- func (c MonitoringService) GetVMOnDemandMonMemoryInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.MemoryOnDemandInfoResponse, error)
- func (c MonitoringService) GetVMOnDemandMonNetworkInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.NetworkOnDemandInfoResponse, error)
- func (c MonitoringService) InstallAgent(ctx context.Context, request *pb.InstallAgentRequest) (*pb.MessageResponse, error)
- func (c MonitoringService) ResetMonConfig(ctx context.Context, empty *pb.Empty) (*pb.MonitoringConfigResponse, error)
- func (c MonitoringService) SetMonConfig(ctx context.Context, request *pb.MonitoringConfigRequest) (*pb.MonitoringConfigResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGRPCServer ¶
func StartGRPCServer()
Types ¶
type MonitoringService ¶
type MonitoringService struct{}
func (MonitoringService) GetMCISMonInfo ¶
func (c MonitoringService) GetMCISMonInfo(ctx context.Context, request *pb.VMMCISMonQryRequest) (*pb.MCISMonInfoResponse, error)
func (MonitoringService) GetMonConfig ¶
func (c MonitoringService) GetMonConfig(ctx context.Context, empty *pb.Empty) (*pb.MonitoringConfigResponse, error)
func (MonitoringService) GetVMMonCpuFreqInfo ¶
func (c MonitoringService) GetVMMonCpuFreqInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.CpuFreqInfoResponse, error)
func (MonitoringService) GetVMMonCpuInfo ¶
func (c MonitoringService) GetVMMonCpuInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.CpuInfoResponse, error)
func (MonitoringService) GetVMMonDiskInfo ¶
func (c MonitoringService) GetVMMonDiskInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.DiskInfoResponse, error)
func (MonitoringService) GetVMMonMemoryInfo ¶
func (c MonitoringService) GetVMMonMemoryInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.MemoryInfoResponse, error)
func (MonitoringService) GetVMMonNetworkInfo ¶
func (c MonitoringService) GetVMMonNetworkInfo(ctx context.Context, request *pb.VMMonQryRequest) (*pb.NetworkInfoResponse, error)
func (MonitoringService) GetVMOnDemandMonCpuFreqInfo ¶
func (c MonitoringService) GetVMOnDemandMonCpuFreqInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.CpuFreqOnDemandInfoResponse, error)
func (MonitoringService) GetVMOnDemandMonCpuInfo ¶
func (c MonitoringService) GetVMOnDemandMonCpuInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.CpuOnDemandInfoResponse, error)
func (MonitoringService) GetVMOnDemandMonDiskInfo ¶
func (c MonitoringService) GetVMOnDemandMonDiskInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.DiskOnDemandInfoResponse, error)
func (MonitoringService) GetVMOnDemandMonMemoryInfo ¶
func (c MonitoringService) GetVMOnDemandMonMemoryInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.MemoryOnDemandInfoResponse, error)
func (MonitoringService) GetVMOnDemandMonNetworkInfo ¶
func (c MonitoringService) GetVMOnDemandMonNetworkInfo(ctx context.Context, request *pb.VMOnDemandMonQryRequest) (*pb.NetworkOnDemandInfoResponse, error)
func (MonitoringService) InstallAgent ¶ added in v0.4.2
func (c MonitoringService) InstallAgent(ctx context.Context, request *pb.InstallAgentRequest) (*pb.MessageResponse, error)
func (MonitoringService) ResetMonConfig ¶
func (c MonitoringService) ResetMonConfig(ctx context.Context, empty *pb.Empty) (*pb.MonitoringConfigResponse, error)
func (MonitoringService) SetMonConfig ¶
func (c MonitoringService) SetMonConfig(ctx context.Context, request *pb.MonitoringConfigRequest) (*pb.MonitoringConfigResponse, error)
Click to show internal directories.
Click to hide internal directories.