Versions in this module Expand all Collapse all v1 v1.13.0 Dec 1, 2025 Changes in this version type SourceConfig + VlanPrefix string v1.12.0 Nov 28, 2025 v1.11.7 Nov 27, 2025 v1.11.6 Apr 6, 2025 Changes in this version type SourceConfig + AssignDomainName string v1.11.5 Apr 5, 2025 v1.11.4 Mar 25, 2025 v1.11.3 Mar 25, 2025 v1.11.2 Mar 25, 2025 v1.11.1 Mar 5, 2025 v1.11.0 Feb 28, 2025 v1.10.4 Feb 26, 2025 v1.10.3 Feb 26, 2025 Changes in this version + type Config struct + Logger *LoggerConfig + Netbox *NetboxConfig + Sources []SourceConfig + func ParseConfig(configFilename string) (*Config, error) + type HTTPScheme string + const HTTP + const HTTPS + type LoggerConfig struct + Dest string + Level int + func (l *LoggerConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + func (l LoggerConfig) String() string + type NetboxConfig struct + APIToken string + CAFile string + HTTPScheme HTTPScheme + Hostname string + Port int + RemoveOrphans bool + RemoveOrphansAfterDays int + SourcePriority []string + Tag string + TagColor string + Timeout int + ValidateCert bool + func (n NetboxConfig) String() string + type SourceConfig struct + APIToken string + CAFile string + ClusterSiteRelations map[string]string + ClusterTenantRelations map[string]string + CollectArpData bool + CustomFieldMappings map[string]string + DatacenterClusterGroupRelations map[string]string + HTTPScheme HTTPScheme + HostRoleRelations map[string]string + HostSiteRelations map[string]string + HostTenantRelations map[string]string + Hostname string + IgnoreAssetTags bool + IgnoreSerialNumbers bool + IgnoreVMTemplates bool + IgnoredSubnets []string + InterfaceFilter string + Name string + Password string + PermittedSubnets []string + Port int + Tag string + TagColor string + Type constants.SourceType + Username string + VMRoleRelations map[string]string + VMTenantRelations map[string]string + ValidateCert bool + VlanGroupRelations map[string]string + VlanGroupSiteRelations map[string]string + VlanSiteRelations map[string]string + VlanTenantRelations map[string]string + WlanTenantRelations map[string]string + func (sc *SourceConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + func (sc SourceConfig) String() string