Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Magenta (0.16 sec)

  1. istioctl/pkg/multixds/gather.go

    						" which can be set by `--xds-via-agents-limit` flag.\n", options.XdsViaAgentsLimit)
    					break GetProxyLoop
    				}
    				namespacedName := pod.Name + "." + pod.Namespace
    				if visited[namespacedName] {
    					// If we already have information about the pod, skip it.
    					continue
    				}
    				resp, err := queryToOnePod(&pod)
    				if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/api-response.go

    func writeErrorResponse(ctx context.Context, w http.ResponseWriter, err APIError, reqURL *url.URL) {
    	if err.HTTPStatusCode == http.StatusServiceUnavailable {
    		// Set retry-after header to indicate user-agents to retry request after 120secs.
    		// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
    		w.Header().Set(xhttp.RetryAfter, "120")
    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  3. cmd/post-policy_test.go

    	contentTypeHdr := req.Header.Get("Content-Type")
    	contentTypeHdr = strings.Replace(contentTypeHdr, "multipart/form-data", "multipart/form-datA", 1)
    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. cni/pkg/cmd/root.go

    		if cfg.InstallConfig.AmbientEnabled {
    			// Start ambient controller
    
    			// node agent will spawn a goroutine and watch the K8S API for events,
    			// as well as listen for messages from the CNI binary.
    			log.Info("Starting ambient node agent with inpod redirect mode")
    			ambientAgent, err := nodeagent.NewServer(ctx, watchServerReady, cfg.InstallConfig.CNIEventAddress,
    				nodeagent.AmbientArgs{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. cmd/update.go

    	return err != nil
    }
    
    // IsPCFTile returns if server is running in PCF
    func IsPCFTile() bool {
    	return env.Get("MINIO_PCF_TILE_VERSION", "") != ""
    }
    
    // DO NOT CHANGE USER AGENT STYLE.
    // The style should be
    //
    //	MinIO (<OS>; <ARCH>[; <MODE>][; dcos][; kubernetes][; docker][; source]) MinIO/<VERSION> MinIO/<RELEASE-TAG> MinIO/<COMMIT-ID> [MinIO/universe-<PACKAGE-NAME>] [MinIO/helm-<HELM-VERSION>]
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/kube/controller"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/config/validation/agent"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    	netutil "istio.io/istio/pkg/util/net"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/util/shellescape"
    )
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns.go

    	// descendants of a kubepods directory, however, as of Kubernetes 1.21, cgroups
    	// namespaces are in use and therefore we can no longer discern if that is the
    	// case from within SPIRE agent container (since the container itself is
    	// namespaced). As such, the regex has been relaxed to simply find the pod UID
    	// followed by the container ID with allowances for arbitrary punctuation, and
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    			cniClient := newCNIClient(conf.CNIEventAddress, constants.CNIAddEventPath)
    			if err = PushCNIEvent(cniClient, args, prevResIps, podName, podNamespace); err != nil {
    				log.Errorf("istio-cni cmdAdd failed to signal node Istio CNI agent: %s", err)
    				return err
    			}
    			return nil
    		}
    		log.Debugf("istio-cni ambient cmdAdd podName: %s - not ambient enabled, ignoring", podName)
    	}
    	// End ambient plugin logic
    
    	pi := &PodInfo{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. cmd/update_test.go

    	t.Setenv("MESOS_CONTAINER_NAME", "mesos-1111")
    	durl = getDownloadURL(minioVersion1)
    	if durl != mesosDeploymentDoc {
    		t.Errorf("Expected %s, got %s", mesosDeploymentDoc, durl)
    	}
    }
    
    // Tests user agent string.
    func TestUserAgent(t *testing.T) {
    	testCases := []struct {
    		envName     string
    		envValue    string
    		mode        string
    		expectedStr string
    	}{
    		{
    			envName:     "",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    	loginPathPrefix = SlashSeparator + "login"
    )
    
    func guessIsBrowserReq(r *http.Request) bool {
    	aType := getRequestAuthType(r)
    	return strings.Contains(r.Header.Get("User-Agent"), "Mozilla") &&
    		globalBrowserEnabled && aType == authTypeAnonymous
    }
    
    func setBrowserRedirectMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top