Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 781 for Opts (0.05 sec)

  1. tests/integration/security/jwt_test.go

    						opts.HTTP.Path = "/expired-token"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenExpired).Build()
    						opts.Check = check.Status(http.StatusUnauthorized)
    					},
    				},
    				{
    					name: "no-token",
    					customizeCall: func(_ framework.TestContext, _ echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/no-token"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm.go

    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			} else if s.AdditionalProperties != nil {
    				opts.AppendKey(k)
    				prune(v, s.AdditionalProperties.Structural, opts)
    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			}
    		}
    	case []interface{}:
    		for i, v := range x {
    			opts.AppendIndex(i)
    			skipPrune(v, s.Items, opts)
    			opts.ParentPath = opts.ParentPath[:origPathLen]
    		}
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/common/call.go

    		Http2:                   opts.HTTP.HTTP2,
    		Http3:                   opts.HTTP.HTTP3,
    		Method:                  opts.HTTP.Method,
    		ServerFirst:             opts.Port.ServerFirst,
    		Cert:                    opts.TLS.Cert,
    		Key:                     opts.TLS.Key,
    		CaCert:                  opts.TLS.CaCert,
    		CertFile:                opts.TLS.CertFile,
    		KeyFile:                 opts.TLS.KeyFile,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    							opts.HTTP.Path = "/"
    							opts.HTTP.Headers = headers.New().
    								WithHost(fmt.Sprintf("example.%s.com", to.ServiceName())).
    								WithAuthz(jwt.TokenIssuer3).
    								Build()
    							opts.Check = check.Status(http.StatusUnauthorized)
    						},
    					},
    					{
    						name: "deny with sub-2 token",
    						customizeCall: func(opts *echo.CallOptions, to echo.Target) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. internal/event/target/nats_contrib_test.go

    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14223
    	opts.Username = "testminio"
    	opts.Password = "miniotest"
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:  "test",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/trace/jsontrace.go

    				log.Printf("failed to find goroutine %d", goid)
    				return
    			}
    			opts.mode = traceviewer.ModeGoroutineOriented
    			if g.StartTime != 0 {
    				opts.startTime = g.StartTime.Sub(parsed.startTime())
    			} else {
    				opts.startTime = 0
    			}
    			if g.EndTime != 0 {
    				opts.endTime = g.EndTime.Sub(parsed.startTime())
    			} else { // The goroutine didn't end.
    				opts.endTime = parsed.endTime().Sub(parsed.startTime())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
    	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.CustomResourceDefinition, error)
    	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.CustomResourceDefinitionList, error)
    	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. pkg/config/schema/kubeclient/common.go

    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    					return c.Dynamic().Resource(g).Namespace(opts.Namespace).List(context.Background(), options)
    				},
    				WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. tests/integration/security/remote_jwks/remote_jwks_test.go

    				customizeCall func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions)
    			}{
    				{
    					name:       "remote-jwks-without-service-entry",
    					policyFile: "./testdata/requestauthn-no-se.yaml.tmpl",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-token-forward-remote-jwks"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. cmd/speedtest.go

    			default:
    			}
    
    			sopts := speedTestOpts{
    				objectSize:      opts.objectSize,
    				concurrency:     concurrency,
    				duration:        opts.duration,
    				storageClass:    opts.storageClass,
    				bucketName:      opts.bucketName,
    				enableSha256:    opts.enableSha256,
    				enableMultipart: opts.enableMultipart,
    				creds:           opts.creds,
    			}
    
    			results := globalNotificationSys.SpeedTest(ctx, sopts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top