Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for parser (0.17 sec)

  1. istioctl/pkg/tag/generate_test.go

    			}
    
    			vwhObject, _, err := deserializer.Decode([]byte(webhookYAML), nil, &admitv1.ValidatingWebhookConfiguration{})
    			if err != nil {
    				t.Fatalf("could not parse webhook from generated YAML: %s", vwhObject)
    			}
    			wh := vwhObject.(*admitv1.ValidatingWebhookConfiguration)
    
    			if tc.userManaged {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_redirect.go

    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_META_DNS_CAPTURE"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dnsRedirect, valErr = strconv.ParseBool(v)
    		if valErr != nil {
    			log.Warnf("cannot parse DNS capture environment variable %v", valErr)
    		}
    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_DUAL_STACK"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dualStack, valErr = strconv.ParseBool(v)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    	}
    	schema, exists := collections.Pilot.FindByGroupVersionAliasesKind(gvk)
    	if exists {
    		obj, err := convertObjectFromUnstructured(schema, un, "")
    		if err != nil {
    			return nil, fmt.Errorf("cannot parse proto message: %v", err)
    		}
    		if err = checkFields(un); err != nil {
    			return nil, err
    		}
    
    		// If object to validate has no namespace, set it (the validity of a CR
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. Makefile.core.mk

      ifneq ($(GOOS_LOCAL),"linux")
        BUILD_DEPS += build-linux
      endif
    endif
    
    export ARTIFACTS ?= $(TARGET_OUT)
    export JUNIT_OUT ?= $(ARTIFACTS)/junit.xml
    export REPO_ROOT := $(shell git rev-parse --show-toplevel)
    
    # Make directories needed by the build system
    $(shell mkdir -p $(TARGET_OUT_LINUX))
    $(shell mkdir -p $(TARGET_OUT_LINUX)/logs)
    $(shell mkdir -p $(dir $(JUNIT_OUT)))
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  5. istioctl/pkg/multixds/gather.go

    	})
    	if err != nil {
    		return nil, err
    	}
    	for _, whc := range webhooks.Items {
    		for _, wh := range whc.Webhooks {
    			if wh.ClientConfig.URL != nil {
    				u, err := url.Parse(*wh.ClientConfig.URL)
    				if err != nil {
    					return nil, fmt.Errorf("parsing webhook URL: %w", err)
    				}
    				if isMCPAddr(u) {
    					return parseMCPAddr(u)
    				}
    				port := u.Port()
    				if port == "" {
    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)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    				} `json:"proxy"`
    			} `json:"global"`
    		} `json:"sidecarInjectorWebhook"`
    	}
    	if err := yaml.Unmarshal([]byte(valuesConfig), &values); err != nil {
    		return "", fmt.Errorf("failed to parse values config: %v [%v]", err, valuesConfig)
    	}
    	return values.SidecarInjectorWebhook.Global.Proxy.LogLevel, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    		return nil, fmt.Errorf("missing configuration map key %q", configMapKey)
    	}
    	cfg, err := mesh.ApplyMeshConfigDefaults(configYaml)
    	if err != nil {
    		err = multierror.Append(err, fmt.Errorf("istioctl version %s cannot parse mesh config.  Install istioctl from the latest Istio release",
    			version.Info.Version))
    	}
    	return cfg, err
    }
    
    // grabs the raw values from the ConfigMap. These are encoded as JSON.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      // If set to false, pod information will not be passed on mount.
      // Default is false.
      //
      // The CSI driver specifies podInfoOnMount as part of driver deployment.
      // If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls.
      // The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_test.go

    	args := buildCmdArgs(stdinData, testPodName, testNSName)
    
    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		t.Fatalf("config parse failed with error: %v", err)
    	}
    
    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. licenses/sigs.k8s.io/yaml/LICENSE

    The following files were ported to Go from C files of libyaml, and thus
    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Copyright (c) 2006-2011 Kirill Simonov
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 19:53:28 GMT 2023
    - 15.8K bytes
    - Viewed (0)
Back to top