Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for cacheSizes (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/testdata/encryption-configs/single-kms-provider.yaml

    kind: EncryptionConfiguration
    apiVersion: apiserver.config.k8s.io/v1
    resources:
      - resources:
          - secrets
        providers:
          - kms:
              name: kms-provider-1
              cachesize: 1000
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 03 17:03:32 UTC 2019
    - 242 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go

    	if c.APIVersion != "v1" && c.CacheSize != nil {
    		allErrs = append(allErrs, field.Invalid(fieldPath, *c.CacheSize, "cachesize is not supported in v2"))
    	}
    	if c.APIVersion == "v1" && *c.CacheSize == 0 {
    		allErrs = append(allErrs, field.Invalid(fieldPath, *c.CacheSize, fmt.Sprintf(nonZeroErrFmt, "cachesize")))
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/identity-first.yaml

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

              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
              timeout: 15s
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
          - secretbox:
              keys:
                - name: key1
                  secret: YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=
          - 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)
  5. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/secret-box-first.yaml

                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
          - kms:
              apiVersion: v2
              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
              timeout: 1s
          - identity: {}
          - aesgcm:
              keys:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 30 23:18:14 UTC 2023
    - 883 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/invalid-configs/invalid-typo.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
              pandas: are the best  # true, but still a typo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 941 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope_test.go

    func TestEnvelopeCaching(t *testing.T) {
    	testCases := []struct {
    		desc                     string
    		cacheSize                int
    		simulateKMSPluginFailure bool
    		expectedError            string
    	}{
    		{
    			desc:                     "positive cache size should withstand plugin failure",
    			cacheSize:                1000,
    			simulateKMSPluginFailure: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultInMemoryCacheDecoratorFactory.java

        private final static Logger LOG = LoggerFactory.getLogger(DefaultInMemoryCacheDecoratorFactory.class);
        private final boolean longLivingProcess;
        private final HeapProportionalCacheSizer cacheSizer = new HeapProportionalCacheSizer();
        private final CrossBuildInMemoryCache<String, CacheDetails> caches;
    
        public DefaultInMemoryCacheDecoratorFactory(boolean longLivingProcess, CrossBuildInMemoryCacheFactory cacheFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:36 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/legacy.yaml

                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
          - aescbc:
              keys:
                - name: key1
                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - secretbox:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 14 21:59:25 UTC 2019
    - 729 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go

    	// name is the name of the KMS plugin to be used.
    	Name string `json:"name"`
    	// 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 `json:"cachesize,omitempty"`
    	// 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.8K bytes
    - Viewed (0)
Back to top