Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for Fontaine (0.19 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    		switch {
    		case !ok:
    			// Cgroup did not contain a container ID.
    			continue
    		case containerID == "":
    			// This is the first container ID found so far.
    			podUID = candidatePodUID
    			containerID = candidateContainerID
    		case containerID != candidateContainerID:
    			// More than one container ID found in the cgroups.
    			return "", "", fmt.Errorf("multiple container IDs found in cgroups (%s, %s)",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    		s = s[i+len(sep):]
    	}
    }
    
    // Contains reports whether subslice is within b.
    func Contains(b, subslice []byte) bool {
    	return Index(b, subslice) != -1
    }
    
    // ContainsAny reports whether any of the UTF-8-encoded code points in chars are within b.
    func ContainsAny(b []byte, chars string) bool {
    	return IndexAny(b, chars) >= 0
    }
    
    // ContainsRune reports whether the rune is contained in the UTF-8-encoded byte slice b.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. internal/s3select/message.go

    var bufLength = payloadLenForMsgLen(maxRecordMessageLength)
    
    // newRecordsMessage - creates new Records Message which can contain a single record, partial records,
    // or multiple records. Depending on the size of the result, a response can contain one or more of these messages.
    //
    // Header specification
    // Records messages contain three headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-record.png
    //
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  4. cni/pkg/cmd/root.go

    		"An annotation key that indicates this pod contains an istio sidecar. All pods without this annotation will be ignored."+
    			"The value of the annotation is ignored.")
    	registerStringParameter(constants.RepairInitContainerName, "istio-validation",
    		"The name of the istio init container (will crash-loop if CNI is not configured for the pod)")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    	}
    	server := restCfg.Host
    	if strings.Contains(server, "127.0.0.1") || strings.Contains(server, "localhost") {
    		return server, fmt.Errorf(
    			"server in Kubeconfig is %s. This is likely not reachable from inside the cluster, "+
    				"if you're using Kubernetes in Docker, pass --server with the container IP for the API Server",
    			server), nil
    	}
    	return server, nil, nil
    }
    
    const (
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  6. operator/cmd/mesh/test-util_test.go

    	return obj
    }
    
    // mustGetContainer returns the container tree with the given name in the deployment with the given name.
    func mustGetContainer(g *WithT, objs *ObjectSet, deploymentName, containerName string) map[string]any {
    	obj := mustGetDeployment(g, objs, deploymentName)
    	container := obj.Container(containerName)
    	g.Expect(container).Should(Not(BeNil()), fmt.Sprintf("Expected to get container %s in deployment %s", containerName, deploymentName))
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    		if scopingImpacted = meshData["discoverySelectors"] != nil; !scopingImpacted {
    			continue
    		}
    		// Check if mitigation is already in place
    		for _, container := range deployment.Spec.Template.Spec.Containers {
    			if container.Name == "discovery" {
    				for _, envVar := range container.Env {
    					if envVar.Name == "ENHANCED_RESOURCE_SCOPING" && envVar.Value == "true" {
    						scopingImpacted = false
    						break
    					}
    				}
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate_test.go

    	for _, tt := range tests {
    		for _, os := range objs {
    			containerName := tt.deploymentName
    			if tt.containerName != "" {
    				containerName = tt.containerName
    			}
    			container := mustGetContainer(g, os, tt.deploymentName, containerName)
    			g.Expect(container).Should(HavePathValueEqual(PathValue{"image", tt.want}))
    		}
    	}
    }
    
    func TestManifestGenerateGateways(t *testing.T) {
    	g := NewWithT(t)
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    		log.Errorf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr)
    		return k8sErr
    	}
    
    	// Check if istio-init container is present; in that case exclude pod
    	if pi.Containers.Contains(ISTIOINIT) {
    		log.Infof("excluded due to being already injected with istio-init container")
    		return nil
    	}
    
    	if val, ok := pi.ProxyEnvironments["DISABLE_ENVOY"]; ok {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/update.go

    		_, err = os.Stat(envfile)
    		if err == nil {
    			return true
    		}
    	}
    	if osIsNotExist(err) {
    		// if none of the files are present we may be running inside
    		// CRI-O, Containerd etc..
    		// Fallback to our container specific ENVs if they are set.
    		return env.IsSet("MINIO_ACCESS_KEY_FILE")
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top