Documentation
¶
Index ¶
- Constants
- type Host
- func (h *Host) AddNetInterface(key string, netInterface *netinterface.NetInterface)
- func (h *Host) ClearPmaasEntityId()
- func (h *Host) CloseStubIfPresent()
- func (h *Host) Data() tracking.DataSample
- func (h *Host) GetStub(container spi.IPMAASContainer) entities.Host
- func (h *Host) HostData() data.HostData
- func (h *Host) Id() string
- func (h *Host) IpAddress() string
- func (h *Host) Name() string
- func (h *Host) NetInterfaces() iter.Seq2[string, *netinterface.NetInterface]
- func (h *Host) PingCount() int
- func (h *Host) PingEnabled() bool
- func (h *Host) PingTimeoutSeconds() int
- func (h *Host) PingUseIcmp() bool
- func (h *Host) PmaasEntityId() string
- func (h *Host) SetPmaasEntityId(pmassEntityId string)
- func (h *Host) SnmpEnabled() bool
- func (h *Host) TrackingConfig() tracking.Config
- func (h *Host) Update(newData *common.HostData, events *[]any)
Constants ¶
View Source
const ( ReachabilityUnknown = iota ReachabilityReachable ReachabilityUnreachable )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
func (*Host) AddNetInterface ¶
func (h *Host) AddNetInterface(key string, netInterface *netinterface.NetInterface)
func (*Host) ClearPmaasEntityId ¶
func (h *Host) ClearPmaasEntityId()
func (*Host) CloseStubIfPresent ¶ added in v0.0.3
func (h *Host) CloseStubIfPresent()
func (*Host) Data ¶
func (h *Host) Data() tracking.DataSample
func (*Host) GetStub ¶ added in v0.0.3
func (h *Host) GetStub(container spi.IPMAASContainer) entities.Host
func (*Host) NetInterfaces ¶
func (h *Host) NetInterfaces() iter.Seq2[string, *netinterface.NetInterface]
func (*Host) PingEnabled ¶ added in v0.0.3
func (*Host) PingTimeoutSeconds ¶ added in v0.0.3
func (*Host) PingUseIcmp ¶ added in v0.0.3
func (*Host) PmaasEntityId ¶
func (*Host) SetPmaasEntityId ¶
func (*Host) SnmpEnabled ¶ added in v0.0.3
func (*Host) TrackingConfig ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.