Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for Scheme (0.18 sec)

  1. cmd/generic-handlers.go

    		if err != nil {
    			return nil
    		}
    		return &xnet.URL{
    			Host: net.JoinHostPort(xhost.Name, globalMinioConsolePort),
    			Scheme: func() string {
    				scheme := "http"
    				if r.TLS != nil {
    					scheme = "https"
    				}
    				return scheme
    			}(),
    		}
    	}
    	return nil
    }
    
    // guessIsHealthCheckReq - returns true if incoming request looks
    // like healthCheck request
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. cmd/notification.go

    	length := len(sys.allPeerClients)
    	if length == 0 {
    		// For single node erasure setup.
    		return nil
    	}
    	results := make([]madmin.NetperfNodeResult, length)
    
    	scheme := "http"
    	if globalIsTLS {
    		scheme = "https"
    	}
    
    	var wg sync.WaitGroup
    	for index := range sys.peerClients {
    		if sys.peerClients[index] == nil {
    			continue
    		}
    		wg.Add(1)
    		go func(index int) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. cmd/perf-tests.go

    	cli, err := globalSiteReplicationSys.getAdminClient(ctx, deploymentID)
    	if err != nil {
    		result.Error = err.Error()
    		return
    	}
    	rp := cli.GetEndpointURL()
    	reqURL := &url.URL{
    		Scheme: rp.Scheme,
    		Host:   rp.Host,
    		Path:   reqPath,
    	}
    	result.Endpoint = rp.String()
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, reqURL.String(), reader)
    	if err != nil {
    		result.Error = err.Error()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. internal/config/policy/plugin/config.go

    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    	return args, nil
    }
    
    // New - initializes Authorization Management Plugin.
    func New(args Args) *AuthZPlugin {
    	if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" {
    		return nil
    	}
    	return &AuthZPlugin{
    		args:   args,
    		client: &http.Client{Transport: args.Transport},
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    		return err
    	}
    
    	cred := r.Source.Creds
    
    	c, err := miniogo.New(u.Host, &miniogo.Options{
    		Creds:        credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:       u.Scheme == "https",
    		Transport:    getRemoteInstanceTransport(),
    		BucketLookup: lookupStyle(r.Source.Path),
    	})
    	if err != nil {
    		return err
    	}
    
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. istioctl/pkg/util/handlers/handlers_test.go

    			wantNamespace: "test",
    		},
    	}
    	factory := cmdtesting.NewTestFactory().WithNamespace("test")
    	ns := scheme.Codecs.WithoutConversion()
    	codec := scheme.Codecs.LegacyCodec(scheme.Scheme.PrioritizedVersionsAllGroups()...)
    	factory.Client = &fake.RESTClient{
    		GroupVersion:         schema.GroupVersion{Group: "", Version: "v1"},
    		NegotiatedSerializer: ns,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. cmd/net.go

    		return "", "", err
    	}
    
    	addr = u.Host
    	scheme = u.Scheme
    
    	// Use the given parameter again if url.Parse()
    	// didn't return any useful result.
    	if addr == "" {
    		addr = hostAddr
    		scheme = "http"
    	}
    
    	// At this point, addr can be one of the following form:
    	//	":9000"
    	//	"localhost:9000"
    	//	"localhost" <- in this case, we check for scheme
    
    	host, port, err := net.SplitHostPort(addr)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    			err = portForwarder.Start()
    			if err != nil {
    				return fmt.Errorf("could not start port forwarder for ControlZ %s: %v", podName, err)
    			}
    
    			ctrlzClient := &ControlzClient{
    				baseURL: &url.URL{
    					Scheme: "http",
    					Host:   portForwarder.Address(),
    					Path:   "scopej",
    				},
    				httpClient: &http.Client{},
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest_shared_test.go

    	testRestConfig.QPS = 50
    	testRestConfig.Burst = 100
    	if err != nil {
    		return err
    	}
    
    	s := scheme.Scheme
    	s.AddKnownTypes(v1alpha1.SchemeGroupVersion, &v1alpha1.IstioOperator{})
    
    	testClient, err = client.New(testRestConfig, client.Options{Scheme: s})
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    var interceptorFunc = interceptor.Funcs{Patch: func(
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. internal/config/storageclass/storage-class.go

    // Parses given storageClassEnv and returns a storageClass structure.
    // Supported Storage Class format is "Scheme:Number of parity drives".
    // Currently only supported scheme is "EC".
    func parseStorageClass(storageClassEnv string) (sc StorageClass, err error) {
    	s := strings.Split(storageClassEnv, ":")
    
    	// only two elements allowed in the string - "scheme" and "number of parity drives"
    	if len(s) > 2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top