Documentation
¶
Overview ¶
package consoleprint contains the logic to update the console UI
Index ¶
- func PrintState()
- func UpdateK8sFiles(fileName string)
- func UpdateNodeAutodetectDisabled(node string, enabled bool)
- func UpdateNodeState(node string, status string)
- func UpdateResult(result string)
- func UpdateRuntime(ddcVersion, logFile, ddcYaml, collectionType string, enabled []string, ...)
- func UpdateTarballDir(tarballDir string)
- type CollectionStats
- type NodeCaptureStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintState ¶
func PrintState()
func UpdateK8sFiles ¶
func UpdateK8sFiles(fileName string)
func UpdateNodeAutodetectDisabled ¶ added in v1.0.0
Update updates the CollectionStats fields in a thread-safe manner.
func UpdateNodeState ¶
Update updates the CollectionStats fields in a thread-safe manner.
func UpdateResult ¶
func UpdateResult(result string)
func UpdateRuntime ¶
func UpdateRuntime(ddcVersion, logFile, ddcYaml, collectionType string, enabled []string, disabled []string, patSet bool, transfersComplete, totalTransfers int)
Update updates the CollectionStats fields in a thread-safe manner.
func UpdateTarballDir ¶
func UpdateTarballDir(tarballDir string)
Types ¶
type CollectionStats ¶
type CollectionStats struct { TransfersComplete int // contains filtered or unexported fields }
CollectionStats represents stats for a collection.
type NodeCaptureStats ¶
type NodeCaptureStats struct {
// contains filtered or unexported fields
}
NodeCaptureStats represents stats for a node capture.
Click to show internal directories.
Click to hide internal directories.