- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UserFacingComponentName (0.6 sec)
-
operator/pkg/util/progress/progress_test.go
t.Fatalf("expected '%v', \ngot '%v'", newExpected, buf.String()) } expected = newExpected } p := NewLog() cnp := name.PilotComponentName cnpo := name.UserFacingComponentName(cnp) cnb := name.IstioBaseComponentName cnbo := name.UserFacingComponentName(cnb) foo := p.NewComponent(string(cnp)) foo.ReportProgress() expect(`- Processing resources for ` + cnpo + `.`) bar := p.NewComponent(string(cnb))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 2.1K bytes - Viewed (0) -
operator/pkg/name/name.go
func TitleCase(n ComponentName) ComponentName { s := string(n) return ComponentName(strings.ToUpper(s[0:1]) + s[1:]) } // UserFacingComponentName returns the name of the given component that should be displayed to the user in high // level CLIs (like progress log). func UserFacingComponentName(name ComponentName) string { ret, ok := userFacingComponentNames[name] if !ok { return "Unknown" } return ret
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 7.9K bytes - Viewed (0) -
operator/pkg/util/progress/progress.go
func (p *Log) createStatus(maxWidth int) string { comps := make([]string, 0, len(p.components)) wait := make([]string, 0, len(p.components)) for c, l := range p.components { comps = append(comps, name.UserFacingComponentName(name.ComponentName(c))) wait = append(wait, l.waitingResources()...) } sort.Strings(comps) sort.Strings(wait) msg := fmt.Sprintf(`Processing resources for %s.`, strings.Join(comps, ", ")) if len(wait) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 6.2K bytes - Viewed (0) -
operator/cmd/mesh/install.go
} if enabled { enabledComponents = append(enabledComponents, name.UserFacingComponentName(c)) } } for _, c := range iop.Spec.Components.IngressGateways { if c.Enabled.GetValue() { enabledComponents = append(enabledComponents, name.UserFacingComponentName(name.IngressComponentName)) break } } for _, c := range iop.Spec.Components.EgressGateways {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:35 UTC 2024 - 15.4K bytes - Viewed (0)