Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for configPath (0.32 sec)

  1. operator/cmd/mesh/profile-dump_test.go

    	testDataDir := filepath.Join(operatorRootDir, "cmd/mesh/testdata/profile-dump")
    	tests := []struct {
    		desc       string
    		configPath string
    	}{
    		{
    			desc: "all_off",
    		},
    		{
    			desc:       "config_path",
    			configPath: "components",
    		},
    		{
    			desc:       "list_path",
    			configPath: "values.gateways.istio-egressgateway.secretVolumes",
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 20 11:44:25 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. pkg/credentialprovider/plugin/config.go

    func readCredentialProviderConfigFile(configPath string) (*kubeletconfig.CredentialProviderConfig, error) {
    	if configPath == "" {
    		return nil, fmt.Errorf("credential provider config path is empty")
    	}
    
    	data, err := os.ReadFile(configPath)
    	if err != nil {
    		return nil, fmt.Errorf("unable to read external registry credential provider configuration from %q: %w", configPath, err)
    	}
    
    	config, err := decode(data)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. pkg/credentialprovider/config.go

    	if len(searchPaths) == 0 {
    		searchPaths = DefaultDockercfgPaths()
    	}
    
    	for _, configPath := range searchPaths {
    		absDockerConfigFileLocation, err := filepath.Abs(filepath.Join(configPath, configFileName))
    		if err != nil {
    			klog.Errorf("while trying to canonicalize %s: %v", configPath, err)
    			continue
    		}
    		klog.V(4).Infof("looking for .dockercfg at %s", absDockerConfigFileLocation)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. src/os/example_test.go

    	// Output:
    }
    
    func ExampleUserConfigDir() {
    	dir, dirErr := os.UserConfigDir()
    
    	var (
    		configPath string
    		origConfig []byte
    	)
    	if dirErr == nil {
    		configPath = filepath.Join(dir, "ExampleUserConfigDir", "example.conf")
    		var err error
    		origConfig, err = os.ReadFile(configPath)
    		if err != nil && !os.IsNotExist(err) {
    			// The user has a config file but we couldn't read it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. pkg/envoy/proxy.go

    		}
    		return err
    	case err := <-done:
    		return err
    	}
    }
    
    func (e *envoy) Cleanup() {
    	if e.ConfigCleanup {
    		if err := os.Remove(e.ConfigPath); err != nil {
    			log.Warnf("Failed to delete config file %s: %v", e.ConfigPath, err)
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. pkg/model/proxy_test.go

    					}),
    				},
    			},
    			// nolint: lll
    			`{"PROXY_CONFIG":{"configPath":"foo","drainDuration":"5s","controlPlaneAuthPolicy":"MUTUAL_TLS","envoyAccessLogService":{"address":"address","tlsSettings":{"subjectAltNames":["san"]}}}}`,
    			model.BootstrapNodeMetadata{
    				NodeMetadata: model.NodeMetadata{
    					ProxyConfig: (*model.NodeMetaProxyConfig)(&meshconfig.ProxyConfig{
    						ConfigPath:             "foo",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. operator/cmd/mesh/profile-dump.go

    	"istio.io/istio/operator/pkg/util/clog"
    )
    
    type profileDumpArgs struct {
    	// inFilenames is an array of paths to the input IstioOperator CR files.
    	inFilenames []string
    	// configPath sets the root node for the subtree to display the config for.
    	configPath string
    	// outputFormat controls the format of profile dumps
    	outputFormat string
    	// manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. pkg/envoy/proxy_test.go

    	cfg := ProxyConfig{
    		LogLevel:          "trace",
    		ComponentLogLevel: "misc:error",
    		NodeIPs:           []string{"10.75.2.9", "192.168.11.18"},
    		BinaryPath:        proxyConfig.BinaryPath,
    		ConfigPath:        proxyConfig.ConfigPath,
    		ConfigCleanup:     true,
    		AdminPort:         proxyConfig.ProxyAdminPort,
    		DrainDuration:     proxyConfig.DrainDuration,
    		Concurrency:       8,
    	}
    
    	test := &envoy{
    		ProxyConfig: cfg,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 11:45:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/testdata/istio-operator.yaml

        ingressService: istio-ingress
        connectTimeout: 1s
        defaultConfig:
          ### ADVANCED SETTINGS #############
          # Where should envoy's configuration be stored in the istio-proxy container
          configPath: "/etc/istio/proxy"
          binaryPath: "/usr/local/bin/envoy"
          # The pseudo service name used for Envoy.
          serviceCluster: istio-proxy
      values:
        global:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 689 bytes
    - Viewed (0)
  10. pkg/bootstrap/instance.go

    func (i *instance) CreateFile() (string, error) {
    	// Create the output file.
    	if err := os.MkdirAll(i.Metadata.ProxyConfig.ConfigPath, 0o700); err != nil {
    		return "", err
    	}
    
    	templateFile := GetEffectiveTemplatePath(i.Metadata.ProxyConfig)
    
    	outputFilePath := configFile(i.Metadata.ProxyConfig.ConfigPath, templateFile)
    	outputFile, err := os.Create(outputFilePath)
    	if err != nil {
    		return "", err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top