- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 93 for createnew (0.16 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
assertEquals( createSet(new Object[] {a.artifact, b.artifact, c.artifact, d.artifact}), res.getArtifacts(), "Check artifact list"); ArtifactFilter filter = new ExclusionSetFilter(new String[] {"b"}); res = collect(a, filter); assertEquals(createSet(new Object[] {a.artifact, c.artifact}), res.getArtifacts(), "Check artifact list");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 42.5K bytes - Viewed (0) -
internal/kms/kes.go
} return keyInfos, continueAt, nil } // CreateKey tries to create a new key at the KMS with the // given key ID. // // If the a key with the same keyID already exists then // CreateKey returns kes.ErrKeyExists. func (c *kesConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error { if err := c.client.CreateKey(ctx, req.Name); err != nil { if errors.Is(err, kes.ErrKeyExists) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/kms/kms.go
DefaultKeyID: k.DefaultKey, Endpoints: endpoints, }, nil } // CreateKey creates the master key req.Name. It returns // ErrKeyExists if the key already exists. func (k *KMS) CreateKey(ctx context.Context, req *CreateKeyRequest) error { start := time.Now() err := k.conn.CreateKey(ctx, req) k.updateMetrics(err, time.Since(start)) return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/kms/stub.go
matches = append(matches, madmin.KMSKeyInfo{Name: keyName, CreatedAt: StubCreatedAt, CreatedBy: StubCreatedBy}) } } return matches, "", nil } // CreateKey creates a new key with the given name. func (s *StubKMS) CreateKey(_ context.Context, req *CreateKeyRequest) error { if s.containsKeyName(req.Name) { return ErrKeyExists } s.KeyNames = append(s.KeyNames, req.Name) return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/admin-handlers-users.go
// created for the request sender. targetUser := createReq.TargetUser if targetUser == "" { targetUser = cred.AccessKey } description := createReq.Description if description == "" { description = createReq.Comment } opts := newServiceAccountOpts{ accessKey: createReq.AccessKey, secretKey: createReq.SecretKey, name: createReq.Name, description: description,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
src/archive/zip/writer.go
return err } _, err := w.Write(h.Extra) return err } // CreateRaw adds a file to the zip archive using the provided [FileHeader] and // returns a [Writer] to which the file contents should be written. The file's // contents must be written to the io.Writer before the next call to [Writer.Create], // [Writer.CreateHeader], [Writer.CreateRaw], or [Writer.Close]. //
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
internal/kms/conn.go
APIs(context.Context) ([]madmin.KMSAPI, error) // Stat returns the current KMS status. Status(context.Context) (map[string]madmin.ItemState, error) // CreateKey creates a new key at the KMS with the given key ID. CreateKey(context.Context, *CreateKeyRequest) error ListKeys(context.Context, *ListRequest) ([]madmin.KMSKeyInfo, string, error) // GenerateKey generates a new data encryption key using the
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 5K bytes - Viewed (0) -
lib/time/mkzip.go
if err != nil { log.Fatal(err) } if strings.HasSuffix(path, ".zip") { log.Fatalf("unexpected file during walk: %s", path) } name := filepath.ToSlash(path) w, err := zw.CreateRaw(&zip.FileHeader{ Name: name, Method: zip.Store, CompressedSize64: uint64(len(data)), UncompressedSize64: uint64(len(data)), CRC32: crc32.ChecksumIEEE(data), })
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/kms/secret-key.go
return []madmin.KMSKeyInfo{{Name: s.keyID}}, "", nil } return []madmin.KMSKeyInfo{}, "", nil } // CreateKey returns ErrKeyExists unless req.Name is equal to the secretKey name. // The builtin KMS does not support creating multiple keys. func (s secretKey) CreateKey(_ context.Context, req *CreateKeyRequest) error { if req.Name != s.keyID { return ErrNotSupported } return ErrKeyExists }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
/* Open the file or fail if it does not exist * aka OPEN_EXISTING */ static final int FILE_OPEN = 0x1; /* Create the file or fail if it does not exist * aka CREATE_NEW */ static final int FILE_CREATE = 0x2; /* Open the file or create it if it does not exist * aka OPEN_ALWAYS */ static final int FILE_OPEN_IF = 0x3;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.6K bytes - Viewed (0)