- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 60 for defaultOptions (4.05 sec)
-
pilot/pkg/controllers/untaint/nodeuntainter_test.go
type nodeTainterTestServer struct { client kubelib.Client pc clienttest.TestClient[*corev1.Pod] nc clienttest.TestClient[*corev1.Node] t *testing.T } func setupLogging() { opts := istiolog.DefaultOptions() opts.SetDefaultOutputLevel(istiolog.OverrideScopeName, istiolog.DebugLevel) istiolog.Configure(opts) for _, scope := range istiolog.Scopes() { scope.SetOutputLevel(istiolog.DebugLevel) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/log/logr_test.go
import ( "errors" "testing" "github.com/go-logr/logr" ) func runLogrTestWithScope(t *testing.T, s *Scope, f func(l logr.Logger)) []string { lines, err := captureStdout(func() { Configure(DefaultOptions()) l := NewLogrAdapter(s) f(l) _ = Sync() }) if err != nil { t.Fatalf("Got error '%v', expected success", err) } if lines[len(lines)-1] == "" { return lines[:len(lines)-1] }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.1K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
// when `XdsViaAgents` is true. This is only used in `proxy-status` command. // 0 means that there is no limit. XdsViaAgentsLimit int } var DefaultOptions = Options{ MessageWriter: os.Stdout, XdsViaAgents: false, XdsViaAgentsLimit: 0, } // RequestAndProcessXds merges XDS responses from 1 central or 1..N K8s cluster-based XDS servers
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 08 08:38:19 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/test/echo/cmd/server/main.go
uds string version string cluster string crt string key string istioVersion string disableALPN bool loggingOptions = log.DefaultOptions() rootCmd = &cobra.Command{ Use: "server", Short: "Echo server application.", SilenceUsage: true, Long: `Echo application for testing Istio E2E`,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 6.4K bytes - Viewed (0) -
pkg/log/config.go
// of a simple Cobra-based program using this log package: // // func main() { // // get the default logging options // options := log.DefaultOptions() // // rootCmd := &cobra.Command{ // Run: func(cmd *cobra.Command, args []string) { // // // configure the logging system // if err := log.Configure(options); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/cmd/root.go
istiolog "istio.io/istio/pkg/log" "istio.io/istio/pkg/version" iptables "istio.io/istio/tools/istio-iptables/pkg/constants" ) var ( logOptions = istiolog.DefaultOptions() log = scopes.CNIAgent ctrlzOptions = func() *ctrlz.Options { o := ctrlz.DefaultOptions() o.EnablePprof = true return o }() ) var rootCmd = &cobra.Command{ Use: "install-cni",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 13K bytes - Viewed (0) -
pkg/test/echo/cmd/client/main.go
hboneAddress string hboneHeaders []string hboneClientCert string hboneClientKey string hboneCaFile string hboneInsecureSkipVerify bool loggingOptions = log.DefaultOptions() rootCmd = &cobra.Command{ Use: "client", Short: "Istio test Echo client.", SilenceUsage: true,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 8.9K bytes - Viewed (0) -
pkg/wasm/cache_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 33.9K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/cmd.go
iptableslog "istio.io/istio/tools/istio-iptables/pkg/log" ) const ( localHostIPv4 = "127.0.0.1" localHostIPv6 = "::1" ) var ( loggingOptions = log.DefaultOptions() proxyArgs options.ProxyArgs ) func NewRootCommand(sds istioagent.SDSServiceFactory) *cobra.Command { rootCmd := &cobra.Command{ Use: "pilot-agent", Short: "Istio Pilot agent.",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 11.9K bytes - Viewed (0) -
operator/pkg/helmreconciler/reconciler.go
SkipPrune bool } var defaultOptions = &Options{ Log: clog.NewDefaultLogger(), ProgressLog: progress.NewLog(), } // NewHelmReconciler creates a HelmReconciler and returns a ptr to it func NewHelmReconciler(client client.Client, kubeClient kube.Client, iop *istioV1Alpha1.IstioOperator, opts *Options) (*HelmReconciler, error) { if opts == nil { opts = defaultOptions } if opts.ProgressLog == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 22 08:32:23 UTC 2024 - 22K bytes - Viewed (0)