add styles for verifying

pull/7752/head
Medya Gh 2020-04-17 12:06:46 -07:00
parent 76ca5e0f20
commit ffebe51e00
3 changed files with 4 additions and 2 deletions

View File

@ -94,7 +94,6 @@ func (e *ErrNetworkNotReady) Error() string {
return fmt.Sprintf(errTextFormat, e.Type, e.Reason, e.Message)
}
// NodePressure verfies that node is not under disk, memory, pid or network pressure.
func NodePressure(cs *kubernetes.Clientset) error {
glog.Info("verifying NodePressure condition ...")
@ -141,4 +140,3 @@ func NodePressure(cs *kubernetes.Clientset) error {
}
return nil
}

View File

@ -70,6 +70,7 @@ var styles = map[StyleEnum]style{
ThumbsUp: {Prefix: "👍 "},
ThumbsDown: {Prefix: "👎 "},
Option: {Prefix: " ▪ ", LowPrefix: lowIndent}, // Indented bullet
OptionVerify: {Prefix: " 🔎 ", LowPrefix: lowIndent}, // Indented verifying icon
Command: {Prefix: " ▪ ", LowPrefix: lowIndent}, // Indented bullet
LogEntry: {Prefix: " "}, // Indent
Deleted: {Prefix: "💀 "},
@ -108,6 +109,7 @@ var styles = map[StyleEnum]style{
Enabling: {Prefix: "🔌 "},
Shutdown: {Prefix: "🛑 "},
Pulling: {Prefix: "🚜 "},
HealthCheck: {Prefix: "🕵️ "}, // mac needed extra space for right tabbing
Verifying: {Prefix: "🤔 "},
VerifyingNoLine: {Prefix: "🤔 ", OmitNewline: true},
Kubectl: {Prefix: "💗 "},

View File

@ -43,6 +43,7 @@ const (
ThumbsUp
ThumbsDown
Option
OptionVerify
Command
LogEntry
Deleted
@ -73,6 +74,7 @@ const (
Enabling
Shutdown
Pulling
HealthCheck
Verifying
VerifyingNoLine
Kubectl