- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for defaultOptions (0.33 sec)
-
pkg/log/config_test.go
} } func TestOddballs(t *testing.T) { resetGlobals() o := DefaultOptions() _ = Configure(o) o = DefaultOptions() o.outputLevels = "default,," err := Configure(o) if err == nil { t.Error("Got success, expected failure") } o = DefaultOptions() o.outputLevels = "foobar" err = Configure(o) if err == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:36 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy
given: reportsMemoryUsage = false def client1 = reserveNewClient(defaultOptions) def client2 = reserveNewClient(defaultOptions) and: clientsManager.release(client1) clientsManager.release(client2) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 7.6K bytes - Viewed (0) -
pkg/ctrlz/options.go
Port uint16 // The IP address to listen on for ctrlz. Address string // If true, pprof will be enabled EnablePprof bool } // DefaultOptions returns a new set of options, initialized to the defaults func DefaultOptions() *Options { return &Options{ Port: 9876, Address: "localhost", } } // AttachCobraFlags attaches a set of Cobra flags to the given Cobra command. //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 11 21:42:29 UTC 2024 - 1.7K bytes - Viewed (0) -
tests/integration/ambient/wasm_test.go
cltInstance := GetClientInstances()[0] defaultOptions := []retry.Option{retry.Delay(100 * time.Millisecond), retry.Timeout(200 * time.Second)} httpOpts := echo.CallOptions{ To: GetTarget(), Port: echo.Port{ Name: "http", }, HTTP: echo.HTTP{ Path: "/path", Method: "GET", }, Count: 1, Retry: echo.Retry{ Options: append(defaultOptions, options...), }, Check: checker, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 21:02:05 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/log/default_test.go
// limitations under the License. package log import ( "encoding/json" "regexp" "strconv" "testing" "time" ) func testOptions() *Options { return DefaultOptions() } func TestDefault(t *testing.T) { cases := []struct { f func() pat string json bool caller bool wantExit bool stackLevel Level }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 7.4K bytes - Viewed (0) -
pkg/test/framework/logging.go
// limitations under the License. package framework import ( "flag" "istio.io/istio/pkg/log" ) var logOptionsFromCommandline = log.DefaultOptions() func init() { logOptionsFromCommandline.AttachFlags( func(p *[]string, name string, value []string, usage string) { // TODO(ozben): Implement string array method for capturing the complete set of log settings.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 1.2K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/cmd.go
"istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/ctrlz" "istio.io/istio/pkg/log" "istio.io/istio/pkg/version" ) var ( serverArgs *bootstrap.PilotArgs loggingOptions = log.DefaultOptions() ) // NewRootCommand returns the root cobra command of pilot-discovery. func NewRootCommand() *cobra.Command { rootCmd := &cobra.Command{ Use: "pilot-discovery", Short: "Istio Pilot.",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/log/scope_test.go
import ( "errors" "regexp" "strconv" "testing" "go.uber.org/zap/zapcore" "k8s.io/klog/v2" ) func runTest(t *testing.T, f func()) []string { lines, err := captureStdout(func() { Configure(DefaultOptions()) f() _ = Sync() }) if err != nil { t.Fatalf("Got error '%v', expected success", err) } if lines[len(lines)-1] == "" { return lines[:len(lines)-1] } return lines }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 17:36:09 UTC 2024 - 11K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
}, TypeUrl: v3.DebugType, } xdsResponses, respErr := multixds.AllRequestAndProcessXds(&xdsRequest, centralOpts, istioNamespace, namespace, serviceAccount, kubeClient, multixds.DefaultOptions) if respErr != nil { return xdsResponses, respErr } _, _ = fmt.Fprint(writer, "error: according to below command list, please check all supported internal debug commands\n") return xdsResponses, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 04:16:55 UTC 2024 - 6.9K bytes - Viewed (0)