util

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateLonghornVersionSetting added in v1.2.4

func CreateOrUpdateLonghornVersionSetting(namespace string, lhClient *lhclientset.Clientset) error

func GetCurrentLonghornVersion added in v1.2.4

func GetCurrentLonghornVersion(namespace string, lhClient *lhclientset.Clientset) (string, error)

func ListIMPods

func ListIMPods(namespace string, kubeClient *clientset.Clientset) ([]v1.Pod, error)

func ListShareManagerPods

func ListShareManagerPods(namespace string, kubeClient *clientset.Clientset) ([]v1.Pod, error)

func MergeStringMaps

func MergeStringMaps(baseMap, overwriteMap map[string]string) map[string]string

Types

type ProgressMonitor added in v1.2.5

type ProgressMonitor struct {
	// contains filtered or unexported fields
}

func NewProgressMonitor added in v1.2.5

func NewProgressMonitor(description string, currentValue, targetValue int) *ProgressMonitor

func (*ProgressMonitor) GetCurrentProgress added in v1.2.5

func (pm *ProgressMonitor) GetCurrentProgress() (int, int, float64)

func (*ProgressMonitor) Inc added in v1.2.5

func (pm *ProgressMonitor) Inc() int

func (*ProgressMonitor) SetCurrentValue added in v1.2.5

func (pm *ProgressMonitor) SetCurrentValue(newValue int)

Jump to

Keyboard shortcuts

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