Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for cacheSizes (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/aes-gcm-first.yaml

              keys:
                - name: key1
                  secret: YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
          - kms:
              apiVersion: v2
              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
              timeout: 10s
          - aescbc:
              keys:
                - name: key1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 30 23:18:14 UTC 2023
    - 884 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/kms-first.yaml

    apiVersion: apiserver.config.k8s.io/v1
    resources:
      - resources:
          - secrets
        providers:
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
              timeout: 7s
          - kms:
              apiVersion: v2
              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
          - secretbox:
              keys:
                - name: key1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 30 23:18:14 UTC 2023
    - 883 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/aes-cbc-first.yaml

                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
              timeout: 5s
          - kms:
              apiVersion: v2
              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
          - identity: {}
          - secretbox:
              keys:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 30 23:18:14 UTC 2023
    - 883 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go

    	lastToStorage                                   time.Time
    	keyIDHashTotalMetricLabels                      *lru.Cache
    	keyIDHashStatusLastTimestampSecondsMetricLabels *lru.Cache
    	cacheSize                                       = 100
    
    	// This metric is only used for KMS v1 API.
    	dekCacheFillPercent = metrics.NewGauge(
    		&metrics.GaugeOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 09 22:31:32 UTC 2023
    - 12K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *KMSConfiguration) DeepCopyInto(out *KMSConfiguration) {
    	*out = *in
    	if in.CacheSize != nil {
    		in, out := &in.CacheSize, &out.CacheSize
    		*out = new(int32)
    		**out = **in
    	}
    	if in.Timeout != nil {
    		in, out := &in.Timeout, &out.Timeout
    		*out = new(metav1.Duration)
    		**out = **in
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go

    	// +optional
    	APIVersion string
    	// name is the name of the KMS plugin to be used.
    	Name string
    	// cachesize is the maximum number of secrets which are cached in memory. The default value is 1000.
    	// Set to a negative value to disable caching. This field is only allowed for KMS v1 providers.
    	// +optional
    	CacheSize *int32
    	// endpoint is the gRPC server listening address, for example "unix:///var/run/kms-provider.sock".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache_test.go

    	}
    	return key, nil
    }
    
    func TestMetrics(t *testing.T) {
    	fakeClock := testingclock.NewFakeClock(time.Now())
    	cache := newSimpleCache(fakeClock, 5*time.Second, "panda")
    	var record sync.Map
    	var cacheSize atomic.Uint64
    	cache.recordCacheSize = func(providerName string, size int) {
    		if providerName != "panda" {
    			t.Errorf(`expected "panda" as provider name, got %q`, providerName)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 31 20:26:58 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.conversion.go

    func autoConvert_v1_KMSConfiguration_To_apiserver_KMSConfiguration(in *KMSConfiguration, out *apiserver.KMSConfiguration, s conversion.Scope) error {
    	out.APIVersion = in.APIVersion
    	out.Name = in.Name
    	out.CacheSize = (*int32)(unsafe.Pointer(in.CacheSize))
    	out.Endpoint = in.Endpoint
    	out.Timeout = (*metav1.Duration)(unsafe.Pointer(in.Timeout))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. plugin/pkg/admission/eventratelimit/admission_test.go

    					Burst:     tc.namespaceBurst,
    					QPS:       qps,
    					CacheSize: tc.namespaceCacheSize,
    				}
    				config.Limits = append(config.Limits, namespaceLimit)
    			}
    			if tc.userBurst > 0 {
    				userLimit := eventratelimitapi.Limit{
    					Type:      eventratelimitapi.UserLimitType,
    					Burst:     tc.userBurst,
    					QPS:       qps,
    					CacheSize: tc.userCacheSize,
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      uint64 start = Env::Default()->NowSeconds();
      do {
        Env::Default()->SleepForMicroseconds(100000);
      } while (cache.CacheSize() == 24 && Env::Default()->NowSeconds() - start < 3);
      // There should be one block left in the cache, and it should be the first
      // block of "b".
      EXPECT_EQ(cache.CacheSize(), 8);
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out));
      EXPECT_EQ(calls, 3);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
Back to top