add styles for verifying
parent
76ca5e0f20
commit
ffebe51e00
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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: "💗 "},
|
||||
|
|
|
@ -43,6 +43,7 @@ const (
|
|||
ThumbsUp
|
||||
ThumbsDown
|
||||
Option
|
||||
OptionVerify
|
||||
Command
|
||||
LogEntry
|
||||
Deleted
|
||||
|
@ -73,6 +74,7 @@ const (
|
|||
Enabling
|
||||
Shutdown
|
||||
Pulling
|
||||
HealthCheck
|
||||
Verifying
|
||||
VerifyingNoLine
|
||||
Kubectl
|
||||
|
|
Loading…
Reference in New Issue