- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewConsoleLogger (0.16 sec)
-
istioctl/pkg/install/k8sversion/version_test.go
t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) { k8sClient := kube.NewFakeClient() k8sClient.Kube().Discovery().(*fakediscovery.FakeDiscovery).FakedServerVersion = c.version logger := clog.NewConsoleLogger(&outBuf, &errBuf, nil) IsK8VersionSupported(k8sClient, logger) errMsgTrim := strings.TrimSpace(c.logMsg) outBufTrim := strings.TrimSpace(outBuf.String())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/server-main.go
// Initialize globalConsoleSys system bootstrapTrace("newConsoleLogger", func() { output, err := initializeLogRotate(ctx) if err == nil { logger.Output = output globalConsoleSys = NewConsoleLogger(GlobalContext, output) globalLoggerOutput = output } else { logger.Output = os.Stderr globalConsoleSys = NewConsoleLogger(GlobalContext, os.Stderr) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 35.2K bytes - Viewed (1) -
cmd/test-utils_test.go
// logger.AddTarget(console.New()) // Set system resources to maximum. setMaxResources(serverCtxt{}) // Initialize globalConsoleSys system globalConsoleSys = NewConsoleLogger(context.Background(), io.Discard) globalInternodeTransport = NewInternodeHTTPTransport(0)() initHelp() resetTestGlobals() globalIsCICD = true os.Exit(m.Run()) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)