Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LicenseUsageNode ¶
type LicenseUsageNode struct { ID string `json:"id"` LastSeen string `json:"last_seen"` CheckinType string `json:"checkin_type"` Metadata LicenseUsageNodeMetadata `json:"metadata"` }
type LicenseUsageResp ¶
type LicenseUsageResp struct { Command string `json:"command"` Status string `json:"status"` ErrorCode int `json:"error_code"` Result LicenseUsageResult `json:"result"` }
func LicenseUsage ¶
func LicenseUsage() (*LicenseUsageResp, error)
LicenseUsage runs the 'license usage' command
type LicenseUsageResult ¶
type LicenseUsageResult struct { ScannedNodeCount int `json:"scanned_node_count"` ManagedNodeCount int `json:"managed_node_count"` ManagedNodes []LicenseUsageNode `json:"managed_nodes"` ScannedNodes []LicenseUsageScanNode `json:"scanned_nodes"` }
type LicenseUsageScanNode ¶
type NodeInventoryNode ¶
type NodeInventoryResp ¶
type NodeInventoryResp struct { Command string `json:"command"` Status string `json:"status"` ErrorDescription string `json:"error_description"` Nodes []NodeInventoryNode `json:"nodes"` NodeCount int `json:"node_count"` }
func NodeInventory ¶
func NodeInventory() (*NodeInventoryResp, error)
NodeInventory runs the 'chef-automate node-inventory' command
Click to show internal directories.
Click to hide internal directories.