agents

package
v0.0.0-...-a87a751 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentData

type AgentData interface {
	GetAgentType() generated.AgentType
	GetDebPackageName() string
	GetServiceName() string
	IsAgentHealthy() (bool, []string)
	Update(updateRepoScriptPath string, version string) error
	GetLastUpdateError() error
	Restart() error
}

type O11yagent

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

func NewO11yagent

func NewO11yagent() *O11yagent

func (*O11yagent) GetAgentType

func (o *O11yagent) GetAgentType() generated.AgentType

func (*O11yagent) GetDebPackageName

func (o *O11yagent) GetDebPackageName() string

func (*O11yagent) GetHealthCheckUrl

func (o *O11yagent) GetHealthCheckUrl() string

func (*O11yagent) GetLastUpdateError

func (o *O11yagent) GetLastUpdateError() error

func (*O11yagent) GetServiceName

func (o *O11yagent) GetServiceName() string

func (*O11yagent) GetSystemdServiceName

func (o *O11yagent) GetSystemdServiceName() string

func (*O11yagent) IsAgentHealthy

func (o *O11yagent) IsAgentHealthy() (isHealthy bool, messages []string)

func (*O11yagent) Restart

func (o *O11yagent) Restart() error

func (*O11yagent) Update

func (o *O11yagent) Update(updateRepoScriptPath string, version string) error

Jump to

Keyboard shortcuts

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