status

package
v0.0.0-...-4e26a97 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func Shutdown

func Shutdown()

Types

type AgentRuntimeGcExtension

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

func (*AgentRuntimeGcExtension) GetDesc

func (ext *AgentRuntimeGcExtension) GetDesc() string

func (*AgentRuntimeGcExtension) GetId

func (ext *AgentRuntimeGcExtension) GetId() string

func (*AgentRuntimeGcExtension) GetProperties

func (ext *AgentRuntimeGcExtension) GetProperties() map[string]string

type AgentRuntimeInfoExtension

type AgentRuntimeInfoExtension struct {
}

func (*AgentRuntimeInfoExtension) GetDesc

func (ext *AgentRuntimeInfoExtension) GetDesc() string

func (*AgentRuntimeInfoExtension) GetId

func (ext *AgentRuntimeInfoExtension) GetId() string

func (*AgentRuntimeInfoExtension) GetProperties

func (ext *AgentRuntimeInfoExtension) GetProperties() map[string]string

type AgentRuntimeMemExtension

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

func (*AgentRuntimeMemExtension) GetDesc

func (ext *AgentRuntimeMemExtension) GetDesc() string

func (*AgentRuntimeMemExtension) GetId

func (ext *AgentRuntimeMemExtension) GetId() string

func (*AgentRuntimeMemExtension) GetProperties

func (ext *AgentRuntimeMemExtension) GetProperties() map[string]string

type CpuStatusExtension

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

func (*CpuStatusExtension) GetDesc

func (ext *CpuStatusExtension) GetDesc() string

func (*CpuStatusExtension) GetId

func (ext *CpuStatusExtension) GetId() string

func (*CpuStatusExtension) GetProperties

func (ext *CpuStatusExtension) GetProperties() map[string]string

type CustomInfo

type CustomInfo struct {
	Key   string `xml:"key,attr"`
	Value string `xml:"value,attr"`
}

type Extension

type Extension struct {
	Id      string            `xml:"id,attr"`
	Desc    string            `xml:"description"`
	Details []ExtensionDetail `xml:"extensionDetail"`
}

type ExtensionDetail

type ExtensionDetail struct {
	Id    string `xml:"id,attr"`
	Value string `xml:"value,attr"`
}

type MemStatusExtension

type MemStatusExtension struct {
}

func (*MemStatusExtension) GetDesc

func (ext *MemStatusExtension) GetDesc() string

func (*MemStatusExtension) GetId

func (ext *MemStatusExtension) GetId() string

func (*MemStatusExtension) GetProperties

func (ext *MemStatusExtension) GetProperties() map[string]string

type NetStatusExtension

type NetStatusExtension struct {
}

func (*NetStatusExtension) GetDesc

func (ext *NetStatusExtension) GetDesc() string

func (*NetStatusExtension) GetId

func (ext *NetStatusExtension) GetId() string

func (*NetStatusExtension) GetProperties

func (ext *NetStatusExtension) GetProperties() map[string]string

type Status

type Status struct {
	XMLName     xml.Name     `xml:"status"`
	Extensions  []Extension  `xml:"extension"`
	CustomInfos []CustomInfo `xml:"customInfo"`
}

type StatusExtension

type StatusExtension interface {
	GetId() string
	GetDesc() string
	GetProperties() map[string]string
}

type StatusUpdateTask

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

Jump to

Keyboard shortcuts

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