Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Read (0.17 sec)

  1. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

    // user in the cluster, because they can be mounted by pods using the
    // `clusterTrustBundle` projection.  All service accounts have read access to
    // ClusterTrustBundles by default.  Users who only have namespace-level access
    // to a cluster can read ClusterTrustBundles by impersonating a serviceaccount
    // that they have access to.
    //
    // It can be optionally associated with a particular assigner, in which case it
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. cni/pkg/log/uds.go

    }
    
    func (l *UDSLogger) handleLog(w http.ResponseWriter, req *http.Request) {
    	if req.Body == nil {
    		return
    	}
    	defer req.Body.Close()
    	data, err := io.ReadAll(req.Body)
    	if err != nil {
    		log.Errorf("Failed to read log report from cni plugin: %v", err)
    		return
    	}
    	l.processLog(data)
    }
    
    func (l *UDSLogger) processLog(body []byte) {
    	cniLogs := make([]string, 0)
    	err := json.Unmarshal(body, &cniLogs)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // +optional
      optional CarpSpec spec = 2;
    
      // Most recently observed status of the carp.
      // This data may not be up to date.
      // Populated by the system.
      // Read-only.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional CarpStatus status = 3;
    }
    
    message CarpCondition {
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/comparator_test.go

    func TestComparatorMismatchedConfigs(t *testing.T) {
    	cfg, err := os.ReadFile("testdata/configdump.json")
    	if err != nil {
    		t.Fatalf("Failed to read test data: %v", err)
    	}
    	diffCfg, err := os.ReadFile("testdata/configdump_diff.json")
    	if err != nil {
    		t.Fatalf("Failed to read test data: %v", err)
    	}
    
    	var outputBuffer bytes.Buffer
    	comparator, err := NewComparator(&outputBuffer, map[string][]byte{"default": cfg}, diffCfg)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. common/scripts/tracing.sh

      # Get trace ID from TRACEPARENT, if present
      local tid
      tid="$(<<<"${TRACEPARENT:-}" cut -d- -f2)"
      tid="${tid:-"$(tr -dc 'a-f0-9' < /dev/urandom | head -c 32)"}"
      # Always generate a new span ID
      local sid
      sid="$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)"
    
      # Execute the command they wanted with the propagation through TRACEPARENT
      if [[ $was_execution_trace == 1 ]]; then
        { set -x; } 2>/dev/null
      fi
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. bin/update_crds.sh

    SHA=$(grep "istio.io/api" go.mod | grep "^replace" | awk -F "-" '{print $NF}')
    if [ -n "${SHA}" ]; then
      REPO=$(grep "istio.io/api" go.mod | grep "^replace" | awk '{print $4}')
    else
      SHA=$(grep "istio.io/api" go.mod | head -n1 | awk '{ print $2 }')
      if [[ ${SHA} == *"-"* && ! ${SHA} =~ -rc.[0-9]$ && ! ${SHA} =~ -beta.[0-9]$ && ! ${SHA} =~ -alpha.[0-9]$ ]]; then
        # not an official release or release candidate, so get the commit sha
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. istioctl/pkg/cli/option.go

    func (r *RootFlags) configureDefaultNamespace() {
    	configAccess := clientcmd.NewDefaultPathOptions()
    
    	kubeconfig := *r.kubeconfig
    	if kubeconfig != "" {
    		// use specified kubeconfig file for the location of the
    		// config to read
    		configAccess.GlobalFile = kubeconfig
    	}
    
    	// gets existing kubeconfig or returns new empty config
    	config, err := configAccess.GetStartingConfig()
    	if err != nil {
    		r.defaultNamespace = v1.NamespaceDefault
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 18:01:27 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. cni/pkg/util/pluginutil.go

    				log.Infof("file modified: %v", event.Name)
    				fileModified <- struct{}{}
    			}
    		case err, ok := <-watcher.Errors:
    			if !ok {
    				return
    			}
    			errChan <- err
    		}
    	}
    }
    
    // Read CNI config from file and return the unmarshalled JSON as a map
    func ReadCNIConfigMap(path string) (map[string]any, error) {
    	cniConfig, err := os.ReadFile(path)
    	if err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/cni-watcher.go

    		log.Error("empty request body")
    		http.Error(w, "empty request body", http.StatusBadRequest)
    		return
    	}
    	defer req.Body.Close()
    	data, err := io.ReadAll(req.Body)
    	if err != nil {
    		log.Errorf("Failed to read event report from cni plugin: %v", err)
    		http.Error(w, err.Error(), http.StatusInternalServerError)
    		return
    	}
    	msg, err := processAddEvent(data)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. README.md

    In this README:
    
    - [Introduction](#introduction)
    - [Repositories](#repositories)
    - [Issue management](#issue-management)
    
    In addition, here are some other documents you may wish to read:
    
    - [Istio Community](https://github.com/istio/community#istio-community) - describes how to get involved and contribute to the Istio project
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 15:28:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top