Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Wagenet (0.23 sec)

  1. cni/pkg/nodeagent/informers.go

    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	eventTypeTag = monitoring.CreateLabel("type")
    	EventTotals  = monitoring.NewSum(
    		"nodeagent_reconcile_events_total",
    		"The total number of node agent reconcile events.",
    	)
    )
    
    type K8sHandlers interface {
    	GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error)
    	GetAmbientPods() []*corev1.Pod
    	Start()
    }
    
    type InformerHandlers struct {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    			if err = PushCNIEvent(cniClient, args, prevResult.IPs, 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 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. internal/logger/target/http/http.go

    	}
    	req.Header.Set(xhttp.MinIOVersion, xhttp.GlobalMinIOVersion)
    	req.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID)
    
    	// Set user-agent to indicate MinIO release
    	// version to the configured log endpoint
    	req.Header.Set("User-Agent", h.config.UserAgent)
    
    	if h.config.AuthToken != "" {
    		req.Header.Set("Authorization", h.config.AuthToken)
    	}
    
    	resp, err := h.client.Do(req)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. cmd/server-main.go

    		})
    		logger.FatalIf(err, "Unable to initialize MinIO client")
    	})
    
    	go bootstrapTrace("startResourceMetricsCollection", func() {
    		startResourceMetricsCollection()
    	})
    
    	// Add User-Agent to differentiate the requests.
    	globalMinioClient.SetAppInfo("minio-perf-test", ReleaseTag)
    
    	if serverDebugLog {
    		fmt.Println("== DEBUG Mode enabled ==")
    		fmt.Println("Currently set environment settings:")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  7. istioctl/pkg/multixds/gather.go

    				if err != nil {
    					fmt.Fprintf(os.Stderr, "Skip the agent in Pod %s due to the error: %s\n", namespacedName, err.Error())
    					continue
    				}
    				responses = append(responses, resp)
    			}
    			token = list.ListMeta.GetContinue()
    			if token == "" {
    				break
    			}
    		}
    	} else {
    		// If there is a specific pod name in ResourceName, use the agent in the pod.
    		if len(dr.ResourceNames) != 1 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top