Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFlags ¶
func ValidateConfigPath ¶
ValidateConfigPath just makes sure, that the path provided is a file, that can be read
Types ¶
type Config ¶
type Config struct { NetboxUrl string `yaml:"netbox_url"` NetboxToken string `yaml:"netbox_token"` RootPath string `yaml:"root_path"` NameOverwrites []ConfigNameOverwrite `yaml:"name_overwrites"` SessionPath ConfigSessionPath `yaml:"session_path"` EnablePeriodicSync bool `yaml:"periodic_sync_enable"` PeriodicSyncInterval *int `yaml:"periodic_sync_interval"` DefaultCredential *string `yaml:"default_credential"` // contains filtered or unexported fields }
type ConfigNameOverwrite ¶
type ConfigSessionPath ¶
type ConfigSessionPath struct { Template string `yaml:"template"` Overwrites []ConfigTemplateOverwrite `yaml:"overwrites"` }
type ConfigTemplateOverwrite ¶
Click to show internal directories.
Click to hide internal directories.