Documentation ¶
Index ¶
- func PrintDeviceRolesList(netboxHost, token string, httpScheme string, jsonOpt bool, rawOpt bool, ...) error
- func PrintDevicesList(netboxHost, token string, httpScheme string, jsonOpt bool, rawOpt bool, ...) error
- func PrintModulesList(netboxHost, token string, httpScheme string, jsonOpt bool, rawOpt bool, ...) error
- func PrintPlatformsList(netboxHost, token string, httpScheme string, jsonOpt bool, rawOpt bool, ...) error
- func PrintSitesList(netboxHost, token string, httpScheme string, jsonOpt bool, rawOpt bool, ...) error
- type DeviceData
- type ModuleData
- type PlatformData
- type SiteData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintDeviceRolesList ¶
func PrintDevicesList ¶
func PrintDevicesList(netboxHost, token string, httpScheme string, jsonOpt bool, rawOpt bool, deviceName string, rackName string) error
PrintDevicesList prints the list of devices in the desired format
func PrintModulesList ¶
func PrintModulesList(netboxHost, token string, httpScheme string, jsonOpt bool, rawOpt bool, moduleName string) error
PrintModulesList prints the list of modules in the desired format
Types ¶
type DeviceData ¶
type DeviceData struct { Name string Type string Tenant string Serial string Location string Site string Rack string Status string }
DeviceData holds the details of a device to be displayed
type ModuleData ¶
ModuleData holds the details of a module to be displayed
type PlatformData ¶
PlatformData holds the details of a platform to be displayed
Click to show internal directories.
Click to hide internal directories.