Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for KeyPath (0.21 sec)

  1. pkg/kubelet/certificate/kubelet_test.go

    	}
    
    	certPath := filepath.Join(certDir, "kubelet.cert")
    	keyPath := filepath.Join(certDir, "kubelet.key")
    	if err := removeThenCreate(certPath, cert, os.FileMode(0644)); err != nil {
    		return "", "", err
    	}
    
    	if err := removeThenCreate(keyPath, key, os.FileMode(0600)); err != nil {
    		return "", "", err
    	}
    
    	return certPath, keyPath, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. cmd/iam-etcd-store.go

    	}
    	return err
    }
    
    func (ies *IAMEtcdStore) watch(ctx context.Context, keyPath string) <-chan iamWatchEvent {
    	ch := make(chan iamWatchEvent)
    
    	// go routine to read events from the etcd watch channel and send them
    	// down `ch`
    	go func() {
    		for {
    		outerLoop:
    			watchCh := ies.client.Watch(ctx,
    				keyPath, etcd.WithPrefix(), etcd.WithKeysOnly())
    
    			for {
    				select {
    				case <-ctx.Done():
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/cache/secretcache_test.go

    	testCases := map[string]struct {
    		certPath     string
    		keyPath      string
    		expectResult bool
    	}{
    		"cert not exist": {
    			certPath:     "./invalid-path/invalid-file",
    			keyPath:      "./testdata/cert-chain.pem",
    			expectResult: false,
    		},
    		"key not exist": {
    			certPath:     "./testdata/cert-chain.pem",
    			keyPath:      "./invalid-path/invalid-file",
    			expectResult: false,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. cmd/iam.go

    	usersPrefix := strings.HasPrefix(event.keyPath, iamConfigUsersPrefix)
    	groupsPrefix := strings.HasPrefix(event.keyPath, iamConfigGroupsPrefix)
    	stsPrefix := strings.HasPrefix(event.keyPath, iamConfigSTSPrefix)
    	svcPrefix := strings.HasPrefix(event.keyPath, iamConfigServiceAccountsPrefix)
    	policyPrefix := strings.HasPrefix(event.keyPath, iamConfigPoliciesPrefix)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_test.go

    		})
    	})
    }
    
    func TestClientAuth(t *testing.T) {
    	var certPath, keyPath, ecdsaCertPath, ecdsaKeyPath, ed25519CertPath, ed25519KeyPath string
    
    	if *update {
    		certPath = tempFile(clientCertificatePEM)
    		defer os.Remove(certPath)
    		keyPath = tempFile(clientKeyPEM)
    		defer os.Remove(keyPath)
    		ecdsaCertPath = tempFile(clientECDSACertificatePEM)
    		defer os.Remove(ecdsaCertPath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. pom.xml

    					<defaultUsername>${packaging.fess.user}</defaultUsername>
    					<defaultGroupname>${packaging.fess.group}</defaultGroupname>
    					<!--
    					<keyname>${gpg.key}</keyname>
    					<keypath>${gpg.keyring}</keypath>
    					<keyPassphrase>
    						<passphrase>${gpg.passphrase}</passphrase>
    					</keyPassphrase>
    					-->
    					<mappings>
    						<!-- app -->
    						<mapping>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:49:02 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_client_test.go

    	pem.Encode(&pemOut, &pem.Block{Type: "PRIVATE KEY", Bytes: derBytes})
    
    	keyPath := tempFile(pemOut.String())
    	defer os.Remove(keyPath)
    
    	var command []string
    	command = append(command, serverCommand...)
    	command = append(command, test.args...)
    	command = append(command, "-cert", certPath, "-certform", "DER", "-key", keyPath)
    	// serverPort contains the port that OpenSSL will listen on. OpenSSL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    	}
    	*d = doc
    	return nil
    }
    
    // key options
    type options struct {
    	ttl int64 // expiry in seconds
    }
    
    type iamWatchEvent struct {
    	isCreated bool // !isCreated implies a delete event.
    	keyPath   string
    }
    
    // iamCache contains in-memory cache of IAM data.
    type iamCache struct {
    	updatedAt time.Time
    
    	// map of policy names to policy definitions
    	iamPolicyDocsMap map[string]PolicyDoc
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top