Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,892 for arns (0.12 sec)

  1. pilot/pkg/networking/core/tls_test.go

    			args{
    				match:     &v1alpha3.TLSMatchAttributes{},
    				namespace: "bar",
    			},
    			true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := matchTLS(tt.args.match, tt.args.proxyLabels, tt.args.gateways, tt.args.port, tt.args.namespace); got != tt.want {
    				t.Errorf("matchTLS() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestMatchTCP(t *testing.T) {
    	type args struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. internal/config/policy/opa/config.go

    	}
    	args = Args{
    		URL:         u,
    		AuthToken:   authToken,
    		Transport:   transport,
    		CloseRespFn: closeRespFn,
    	}
    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    	return args, nil
    }
    
    // New - initializes opa policy engine connector.
    func New(args Args) *Opa {
    	// No opa args.
    	if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" {
    		return nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/continue_test.go

    }
    
    func Test_decodeContinue(t *testing.T) {
    	type args struct {
    		continueValue string
    		keyPrefix     string
    	}
    	tests := []struct {
    		name        string
    		args        args
    		wantFromKey string
    		wantRv      int64
    		wantErr     error
    	}{
    		{
    			name:        "valid",
    			args:        args{continueValue: encodeContinueOrDie("meta.k8s.io/v1", 1, "key"), keyPrefix: "/test/"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 17:30:02 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. tests/integration/pilot/istioctl_test.go

    			}
    
    			var output string
    			var args []string
    			g := NewWithT(t)
    
    			args = []string{
    				"--namespace=dummy",
    				"pc", "bootstrap", fmt.Sprintf("%s.%s", podID, apps.Namespace.Name()),
    			}
    			output, _ = istioCtl.InvokeOrFail(t, args)
    			jsonOutput := jsonUnmarshallOrFail(t, strings.Join(args, " "), output)
    			g.Expect(jsonOutput).To(HaveKey("bootstrap"))
    
    			args = []string{
    				"--namespace=dummy",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInvocationSpec.groovy

                this.mavenOpts.addAll(args)
                this
            }
    
            InvocationBuilder args(String... args) {
                this.args.addAll(Arrays.asList(args))
                this
            }
    
            InvocationBuilder args(Iterable<String> args) {
                this.args.addAll(args)
                this
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    		allErrs = append(allErrs, err)
    	}
    	if args.MinCandidateNodesPercentage == 0 && args.MinCandidateNodesAbsolute == 0 {
    		allErrs = append(allErrs,
    			field.Invalid(percentagePath, args.MinCandidateNodesPercentage, "cannot be zero at the same time as minCandidateNodesAbsolute"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. src/net/rpc/jsonrpc/all_test.go

    	defer client.Close()
    
    	// Synchronous calls
    	args := &Args{7, 8}
    	reply := new(Reply)
    	err := client.Call("Arith.Add", args, reply)
    	if err != nil {
    		t.Errorf("Add: expected no error but got string %q", err.Error())
    	}
    	if reply.C != args.A+args.B {
    		t.Errorf("Add: got %d expected %d", reply.C, args.A+args.B)
    	}
    
    	args = &Args{7, 8}
    	reply = new(Reply)
    	err = client.Call("Arith.Mul", args, reply)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:09:53 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  8. security/tools/jwt/samples/gen-jwt.py

            # expire in one hour.
            "exp": now + args.expire,
            "iat": now,
        }
        if args.iss:
            payload["iss"] = args.iss
        if args.sub:
            payload["sub"] = args.sub
        else:
            payload["sub"] = args.iss
    
        if args.aud:
            if "," in args.aud:
                payload["aud"] = args.aud.split(",")
            else:
                payload["aud"] = args.aud
    
        if args.claims:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig_test.go

    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.args, " "), fErr)
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top