Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

    	KeyPath []interface{}
    
    	// Root object to traverse from
    	RootObject    interface{}
    	RootOldObject interface{}
    }
    
    func (c TestCase) Run() error {
    	// Create the correlated object
    	correlatedObject := common.NewCorrelatedObject(c.RootObject, c.RootOldObject, c.Schema)
    
    	// Traverse the correlated object
    	var err error
    	for _, key := range c.KeyPath {
    		if correlatedObject == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K 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. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    }
    
    func TestPathsForCertAndKey(t *testing.T) {
    	crtPath, keyPath := PathsForCertAndKey("/foo", "bar")
    	expectedPath := filepath.FromSlash("/foo/bar.crt")
    	if crtPath != expectedPath {
    		t.Errorf("unexpected certificate path: %s", crtPath)
    	}
    	expectedPath = filepath.FromSlash("/foo/bar.key")
    	if keyPath != expectedPath {
    		t.Errorf("unexpected key path: %s", keyPath)
    	}
    }
    
    func TestPathForCert(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. 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)
  5. security/pkg/nodeagent/cache/secretcache.go

    // Otherwise, return false.
    func (sc *SecretManagerClient) keyCertificateExist(certPath, keyPath string) bool {
    	b, err := os.ReadFile(certPath)
    	if err != nil || len(b) == 0 {
    		return false
    	}
    	b, err = os.ReadFile(keyPath)
    	if err != nil || len(b) == 0 {
    		return false
    	}
    
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser.go

    }
    
    // TableExpression represents the FROM clause
    type TableExpression struct {
    	Table *JSONPath `parser:"@@"`
    	As    string    `parser:"( \"AS\"? @Ident )?"`
    }
    
    // JSONPathElement represents a keypath component
    type JSONPathElement struct {
    	Key            *ObjectKey `parser:"  @@"`               // ['name'] and .name forms
    	Index          *int       `parser:"| \"[\" @Int \"]\""` // [3] form
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    }
    
    // CSROrKeyExist returns true if one of the CSR or key exists
    func CSROrKeyExist(csrDir, name string) bool {
    	csrPath := pathForCSR(csrDir, name)
    	keyPath := pathForKey(csrDir, name)
    
    	_, csrErr := os.Stat(csrPath)
    	_, keyErr := os.Stat(keyPath)
    
    	return !(os.IsNotExist(csrErr) && os.IsNotExist(keyErr))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. 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)
Back to top