- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 281 for Decref (0.36 sec)
-
src/internal/poll/fd_unix.go
func (fd *FD) Fchmod(mode uint32) error { if err := fd.incref(); err != nil { return err } defer fd.decref() return ignoringEINTR(func() error { return syscall.Fchmod(fd.Sysfd, mode) }) } // Fstat wraps syscall.Fstat func (fd *FD) Fstat(s *syscall.Stat_t) error { if err := fd.incref(); err != nil { return err } defer fd.decref() return ignoringEINTR(func() error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 04:09:44 UTC 2024 - 17.9K bytes - Viewed (0) -
src/os/file_plan9.go
// At this point we should cancel any pending I/O. // How do we do that on Plan 9? err := file.decref() // no need for a finalizer anymore runtime.SetFinalizer(file, nil) return err } // destroy actually closes the descriptor. This is called when // there are no remaining references, by the decref, readUnlock, // and writeUnlock methods. func (file *file) destroy() error { var err error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:35:30 UTC 2024 - 16K bytes - Viewed (0) -
src/internal/poll/fd_windows.go
// Fchdir wraps syscall.Fchdir. func (fd *FD) Fchdir() error { if err := fd.incref(); err != nil { return err } defer fd.decref() return syscall.Fchdir(fd.Sysfd) } // GetFileType wraps syscall.GetFileType. func (fd *FD) GetFileType() (uint32, error) { if err := fd.incref(); err != nil { return 0, err } defer fd.decref() return syscall.GetFileType(fd.Sysfd) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 16:50:42 UTC 2024 - 34.1K bytes - Viewed (0) -
tests/integration/security/file_mounted_certs/main_test.go
if kerrors.IsAlreadyExists(err) { if _, err := kubeAccessor.Kube().CoreV1().Secrets(namespace.Name()).Update(context.TODO(), secret, metav1.UpdateOptions{}); err != nil { return fmt.Errorf("failed updating secret %s: %v", secret.Name, err) } } else { return fmt.Errorf("failed creating secret %s: %v", secret.Name, err) } } return nil } func ReadCustomCertFromFile(certsPath string, f string) ([]byte, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 13.4K bytes - Viewed (0) -
helm/minio/README.md
This label will be displayed in the output of a successful install. ### Existing secret Instead of having this chart create the secret for you, you can supply a preexisting secret, much like an existing PersistentVolumeClaim. First, create the secret: ```bash kubectl create secret generic my-minio-secret --from-literal=rootUser=foobarbaz --from-literal=rootPassword=foobarbazqux ```
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jan 24 07:27:57 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/controller/serviceaccount/tokens_controller.go
saUID types.UID } func makeSecretQueueKey(secret *v1.Secret) secretQueueKey { return secretQueueKey{ namespace: secret.Namespace, name: secret.Name, uid: secret.UID, saName: secret.Annotations[v1.ServiceAccountNameKey], saUID: types.UID(secret.Annotations[v1.ServiceAccountUIDKey]), } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 20.5K bytes - Viewed (0) -
pilot/pkg/xds/sds.go
// and push skipping. This is because an secret potentially has a dependency on the same secret with or without // the -cacert suffix. By including this dependency we ensure we do not miss any updates. // This is important for cases where we have a compound secret. In this case, the `foo` secret may update,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 23:04:36 UTC 2024 - 15.8K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
TLSSecretCert = "tls.crt" // The ID/name for the k8sKey in kubernetes tls secret. TLSSecretKey = "tls.key" // The ID/name for the certificate OCSP staple in kubernetes tls secret TLSSecretOcspStaple = "tls.ocsp-staple" // The ID/name for the CA certificate in kubernetes tls secret TLSSecretCaCert = "ca.crt" // The ID/name for the CRL in kubernetes tls secret. TLSSecretCrl = "ca.crl" ) type CredentialsController struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
pilot/pkg/xds/ecds_test.go
wasmPluginWrongSec = makeWasmPlugin("default-plugin-wrong-sec", "default", "wrong-secret") wasmPluginWrongSecType = makeWasmPlugin("default-plugin-wrong-sec-type", "default", "wrong-type-pull-secret") rootWasmPluginWithSec = makeWasmPlugin("root-plugin", "istio-system", "root-pull-secret") ) func TestECDSGenerate(t *testing.T) { cases := []struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 12K bytes - Viewed (0) -
pkg/kube/multicluster/secretcontroller_test.go
// only set one of these per step. The others should be nil. add *v1.Secret update *v1.Secret delete *v1.Secret want []result }{ { name: "Create secret s0 and add kubeconfig for cluster c0, which will add remote cluster c0", add: secret0, want: []result{{"config", 1}, {"c0", 2}}, }, { name: "Update secret s0 and update the kubeconfig of cluster c0, which will update remote cluster c0",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 17.6K bytes - Viewed (0)