Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for configPath (0.34 sec)

  1. pkg/istio-agent/agent_test.go

    		},
    	}
    
    	// Set-up envoy defaults
    	resp.ProxyConfig.ProxyBootstrapTemplatePath = filepath.Join(env.IstioSrc, "./tools/packaging/common/envoy_bootstrap.json")
    	resp.ProxyConfig.ConfigPath = d
    	resp.ProxyConfig.BinaryPath = filepath.Join(env.LocalOut, "envoy")
    	if path, exists := pkgenv.Register("ENVOY_PATH", "", "Specifies the path to an Envoy binary.").Lookup(); exists {
    		resp.ProxyConfig.BinaryPath = path
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/typed_xds_cache_test.go

    	"istio.io/istio/tests/util/leak"
    )
    
    type entry struct {
    	key              string
    	dependentTypes   []kind.Kind
    	dependentConfigs []ConfigHash
    }
    
    func (e entry) Key() uint64 {
    	h := hash.New()
    	h.WriteString(e.key)
    	return h.Sum64()
    }
    
    func (e entry) DependentConfigs() []ConfigHash {
    	return e.dependentConfigs
    }
    
    func TestAddTwoEntries(t *testing.T) {
    	test.SetForTest(t, &features.XDSCacheMaxSize, 2)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 29 20:35:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    					writeErrorResponse(ctx, w, exportError(ctx, err, cfgFile, bucket), r.URL)
    					return
    				}
    				configData, err := xml.Marshal(config)
    				if err != nil {
    					writeErrorResponse(ctx, w, exportError(ctx, err, cfgFile, bucket), r.URL)
    					return
    				}
    				rawDataFn(bytes.NewReader(configData), cfgPath, len(configData))
    			case bucketLifecycleConfig:
    				config, _, err := globalBucketMetadataSys.GetLifecycleConfig(bucket)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. pkg/credentialprovider/plugin/config_test.go

    )
    
    func Test_readCredentialProviderConfigFile(t *testing.T) {
    	testcases := []struct {
    		name       string
    		configData string
    		config     *kubeletconfig.CredentialProviderConfig
    		expectErr  bool
    	}{
    		{
    			name: "config with 1 plugin and 1 image matcher",
    			configData: `---
    kind: CredentialProviderConfig
    apiVersion: kubelet.config.k8s.io/v1alpha1
    providers:
      - name: test
        matchImages:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. cmd/bucket-metadata.go

    		case bucketPolicyConfig:
    			b.PolicyConfigJSON = configData
    		case bucketNotificationConfig:
    			b.NotificationConfigXML = configData
    		case bucketLifecycleConfig:
    			b.LifecycleConfigXML = configData
    		case bucketSSEConfig:
    			b.EncryptionConfigXML = configData
    		case bucketTaggingConfig:
    			b.TaggingConfigXML = configData
    		case objectLockConfig:
    			b.ObjectLockConfigXML = configData
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/typed_xds_cache.go

    		enableAssertions: features.EnableUnsafeAssertions,
    		configIndex:      map[ConfigHash]sets.Set[K]{},
    		evictQueue:       make([]evictKeyConfigs[K], 0, 1000),
    	}
    	cache.store = newLru(cache.onEvict)
    	return cache
    }
    
    type evictKeyConfigs[K comparable] struct {
    	key              K
    	dependentConfigs []ConfigHash
    }
    
    type lruCache[K comparable] struct {
    	enableAssertions bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. cmd/bucket-metadata-sys.go

    	case bucketPolicyConfig:
    		meta.PolicyConfigJSON = configData
    		meta.PolicyConfigUpdatedAt = updatedAt
    	case bucketNotificationConfig:
    		meta.NotificationConfigXML = configData
    	case bucketLifecycleConfig:
    		meta.LifecycleConfigXML = configData
    		meta.LifecycleConfigUpdatedAt = updatedAt
    	case bucketSSEConfig:
    		meta.EncryptionConfigXML = configData
    		meta.EncryptionConfigUpdatedAt = updatedAt
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. cmd/bucket-replication-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	configData, err := xml.Marshal(replicationConfig)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	if _, err = globalBucketMetadataSys.Update(ctx, bucket, bucketReplicationConfig, 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
    - 23.2K bytes
    - Viewed (0)
  9. pilot/pkg/model/config.go

    var _ = udpa.TypedStruct{}
    
    type ConfigHash uint64
    
    // ConfigKey describe a specific config item.
    // In most cases, the name is the config's name. However, for ServiceEntry it is service's FQDN.
    type ConfigKey struct {
    	Kind      kind.Kind
    	Name      string
    	Namespace string
    }
    
    func (key ConfigKey) HashCode() ConfigHash {
    	h := hash.New()
    	h.Write([]byte{byte(key.Kind)})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/componentconfigs/configset.go

    			return nil, nil
    		}
    		return nil, err
    	}
    
    	configData, ok := configMap.Data[cmKey]
    	if !ok {
    		return nil, errors.Errorf("unexpected error when reading %s ConfigMap: %s key value pair missing", cmName, cmKey)
    	}
    
    	gvkmap, err := kubeadmutil.SplitYAMLDocuments([]byte(configData))
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top