- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for getTokens (0.28 sec)
-
security/pkg/credentialfetcher/plugin/mock.go
} // StartMetadataServer starts a mock GCE metadata server. func StartMetadataServer() (*MetadataServer, error) { ms := &MetadataServer{} httpServer := httptest.NewServer(http.HandlerFunc(ms.getToken)) ms.server = httpServer url, err := url.Parse(httpServer.URL) if err != nil { return nil, fmt.Errorf("parse URL failed: %v", err) } if err := os.Setenv("GCE_METADATA_HOST", url.Host); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/CancellationTokenInternal.java
*/ package org.gradle.tooling.internal.consumer; import org.gradle.initialization.BuildCancellationToken; public interface CancellationTokenInternal { BuildCancellationToken getToken();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 808 bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultCancellationTokenSource.java
private CancellationTokenImpl(DefaultBuildCancellationToken token) { this.token = token; } @Override public BuildCancellationToken getToken() { return token; } @Override public boolean isCancellationRequested() { return token.isCancellationRequested(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonConnectDetails.java
/** * Data to identify and connect to a daemon. */ public interface DaemonConnectDetails { String getUid(); Long getPid(); Address getAddress(); byte[] getToken();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 893 bytes - Viewed (0) -
pkg/bootstrap/platform/aws.go
instanceID: getInstanceID(ipv6, headers), } } func requestHeaders(ipv6 bool) map[string]string { // try to get token first, if it fails, fallback to IMDSv1 token := getToken(ipv6) if token == "" { log.Debugf("token is empty, will fallback to IMDSv1") } headers := make(map[string]string, 1) if token != "" { headers["X-aws-ec2-metadata-token"] = token } return headers
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 09 03:52:10 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Command.java
this.identifier = identifier; this.token = token; } /** * Returns the authentication token for this command. */ public byte[] getToken() { return token; } /** * @return an id that is guaranteed to be unique in the same process */ public UUID getIdentifier() { return identifier; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java
public void test_new1() { final KuromojiItem kuromojiItem = new KuromojiItem(1, "t1", "s1", "r1", "p1"); assertEquals(1, kuromojiItem.getId()); assertEquals("t1", kuromojiItem.getToken()); assertEquals("s1", kuromojiItem.getSegmentation()); assertEquals("r1", kuromojiItem.getReading()); assertEquals("p1", kuromojiItem.getPos()); assertNull(kuromojiItem.getNewToken());
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java
if (connection == null) { continue; } dispatch(connection, new InvalidateVirtualFileSystemAfterChange(changedPaths, idGenerator.generateId(), connection.getDaemon().getToken())); } } } private static void dispatch(Connection<Message> connection, Command command) { Throwable failure = null; try { connection.dispatch(command);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/SingleUseDaemonClient.java
DaemonClientConnection daemonConnection = getConnector().startSingleUseDaemon(); Build build = new Build(getIdGenerator().generateId(), daemonConnection.getDaemon().getToken(), action, buildRequestContext.getClient(), buildRequestContext.getStartTime(), buildRequestContext.isInteractive(), parameters);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/ReportDaemonStatusClient.java
if (connection != null) { try { final ReportStatus statusCommand = new ReportStatus(idGenerator.generateId(), daemon.getToken()); final Status status = reportStatusDispatcher.dispatch(connection, statusCommand); if (status != null) { statuses.add(status);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5K bytes - Viewed (0)