Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for configPath (0.4 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/cmd/pilot-agent/options/agent.go

    	}
    	o := &istioagent.AgentOptions{
    		XDSRootCerts:             xdsRootCA,
    		CARootCerts:              caRootCA,
    		XDSHeaders:               map[string]string{},
    		XdsUdsPath:               filepath.Join(cfg.ConfigPath, "XDS"),
    		IsIPv6:                   proxy.IsIPv6(),
    		ProxyType:                proxy.Type,
    		EnableDynamicProxyConfig: enableProxyConfigXdsEnv,
    		WASMOptions: wasm.Options{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/profile-dump/output/config_path.txt

    John Howard <******@****.***> 1704863403 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 212 bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/profile-dump/output/config_path.yaml

    John Howard <******@****.***> 1704863403 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 192 bytes
    - Viewed (0)
  10. cmd/bucket-versioning-handler.go

    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    
    	configData, err := xml.Marshal(v)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, configData)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top