Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for configPath (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/bucket-encryption-handlers.go

    			return
    		}
    	}
    
    	configData, err := xml.Marshal(encConfig)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Store the bucket encryption configuration in the object layer
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketSSEConfig, configData)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle-handlers.go

    		currtime := time.Now()
    		bucketLifecycle.ExpiryUpdatedAt = &currtime
    	}
    
    	configData, err := xml.Marshal(bucketLifecycle)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if _, err = globalBucketMetadataSys.Update(ctx, bucket, bucketLifecycleConfig, configData); 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
    - 7K bytes
    - Viewed (0)
  7. cmd/bucket-notification-handlers.go

    			}
    		} else {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseXML(w, configData)
    }
    
    // PutBucketNotificationHandler - This HTTP handler stores given notification configuration as per
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. cmd/bucket-policy-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPolicyInvalidVersion), r.URL)
    		return
    	}
    
    	configData, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketPolicyConfig, 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
    - 6.1K bytes
    - Viewed (0)
  9. pkg/bootstrap/testdata/deferred_cluster_creation.proxycfg

    config_path:                      "/etc/istio/proxy"
    binary_path:                      "/usr/local/bin/envoy"
    service_cluster:                  "istio-proxy"
    drain_duration:                   {seconds: 5}
    discovery_address:                "mypilot:15011"
    statsd_udp_address:               "10.1.1.1:9125"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 864 bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_cache.go

    	if t.endpointBuilder != nil {
    		t.endpointBuilder.WriteHash(h)
    	}
    
    	return h.Sum64()
    }
    
    func (t *clusterCache) DependentConfigs() []model.ConfigHash {
    	drs := t.destinationRule.GetFrom()
    	configs := make([]model.ConfigHash, 0, len(drs)+1+len(t.envoyFilterKeys))
    	if t.destinationRule != nil {
    		for _, dr := range drs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top