- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for KeyPath (0.21 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)