Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + const DefaultSSHTimeout + const DefaultSnmpTimeout + func GetConfigs(path, manufacturer string, platform string, version string) (*structs.ModeConfig, *structs.HubConfig, error) + func GetConfigsFromEtcd(etcdEndpoints []string, platform string, version string) (*structs.ModeConfig, *structs.HubConfig, error) + type CollectItemBuilder struct + func NewCollectItemBuilder(remoteInfo *structs.L2DeviceRemoteInfo) *CollectItemBuilder + func (b *CollectItemBuilder) Build() (structs.CollectItem, error) + func (b *CollectItemBuilder) WithConfigs(path string, version string) *CollectItemBuilder + func (b *CollectItemBuilder) WithExpectedType(expectedType structs.ExpectedType) *CollectItemBuilder + func (b *CollectItemBuilder) WithLoginTimeout(timeout int) *CollectItemBuilder + func (b *CollectItemBuilder) WithMethod(method structs.CollectMethod) *CollectItemBuilder + func (b *CollectItemBuilder) WithName(name string) *CollectItemBuilder + func (b *CollectItemBuilder) WithNoOutputTimeout(timeout int) *CollectItemBuilder + func (b *CollectItemBuilder) WithOptions() *CollectItemBuilder + func (b *CollectItemBuilder) WithSnmpVersion(version string) *CollectItemBuilder + func (b *CollectItemBuilder) WithTarget(target string) *CollectItemBuilder