consoleprint

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

package consoleprint contains the logic to update the console UI

Index

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

func UpdateNodeAutodetectDisabled(node string, enabled bool)

Update updates the CollectionStats fields in a thread-safe manner.

func UpdateNodeState

func UpdateNodeState(node string, status string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL