Documentation ¶
Index ¶
- func CreateOrUpdateLonghornVersionSetting(namespace string, lhClient *lhclientset.Clientset) error
- func GetCurrentLonghornVersion(namespace string, lhClient *lhclientset.Clientset) (string, error)
- func ListIMPods(namespace string, kubeClient *clientset.Clientset) ([]v1.Pod, error)
- func ListShareManagerPods(namespace string, kubeClient *clientset.Clientset) ([]v1.Pod, error)
- func MergeStringMaps(baseMap, overwriteMap map[string]string) map[string]string
- type ProgressMonitor
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 ListShareManagerPods ¶
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)
Click to show internal directories.
Click to hide internal directories.