You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
d2g no longer includes `--privileged` in all generated `podman run` commands. This was previously introduced as a breaking change in release 61.0.0 (PR #6891) but has broken some tasks. The original reason for adding it (#6890) seems to no longer apply, as the original bug report is no longer reproducible. This therefore reverts the d2g treatment of the --privileged flag to how it was before release 61.0.0.
Before invoking API methods, create a client object corresponding to the service you wish to communicate with.
62
-
See the [client subdirectories](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go#pkg-subdirectories) for the list of available packages, each beginning with `tc`.
62
+
See the [client subdirectories](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go#pkg-subdirectories) for the list of available packages, each beginning with `tc`.
63
63
64
64
The most common case is to use `NewFromEnv`, reading environment variables for credentials:
Complete Godoc documentation of the available methods and types is [here](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go); see the "Directories" section to find the interfaces defined for specific services.
108
+
Complete Godoc documentation of the available methods and types is [here](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go); see the "Directories" section to find the interfaces defined for specific services.
109
109
110
110
### Specifying exponential backoff settings for HTTP request retries
API methods which take credentials and have method GET can be invoked with a signed URL.
144
144
To generate such a URL, use the method with suffix `_SignedURL`, and pass as its final argument the duration for which the URL should be valid.
145
-
For example, to generate a URL for [Queue.GetArtifact](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue#Queue.GetArtifact_SignedURL):
145
+
For example, to generate a URL for [Queue.GetArtifact](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue#Queue.GetArtifact_SignedURL):
Taskcluster uses RFC3339 timestamps, specifically with millisecond precision and a `Z` timestamp.
232
-
To support serializing and deserializing this format exactly, use the [`tcclient.Time`](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go#Time) type instead of with the built-in `time.Time` type.
232
+
To support serializing and deserializing this format exactly, use the [`tcclient.Time`](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go#Time) type instead of with the built-in `time.Time` type.
233
233
234
234
All timestamp arithmetic should be performed with the built-in `time` package.
See the [Go documentation](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue) for more detail.
310
+
See the [Go documentation](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue) for more detail.
311
311
312
312
## Compatibility
313
313
@@ -322,9 +322,9 @@ Any incompatibilities are noted in the [Changelog](https://github.com/taskcluste
322
322
323
323
To get you started quickly, some example programs are included that use both the HTTP APIs and the AMQP APIs:
324
324
325
-
* This [HTTP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth#example-package--Scopes) demonstrates the use of the [tcauth](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth) package to query the expiry and expanded scopes of a given clientId.
326
-
* This [HTTP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth#example-package--UpdateClient) demonstrates the use of the [tcauth](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth) package to update an existing clientId with a new description and expiry.
327
-
* The [AMQP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueueevents#example-package--TaskclusterSniffer) demonstrates the use of the [tcqueueevents](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueueevents) package to listen in on Taskcluster tasks being defined and executed.
325
+
* This [HTTP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth#example-package--Scopes) demonstrates the use of the [tcauth](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth) package to query the expiry and expanded scopes of a given clientId.
326
+
* This [HTTP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth#example-package--UpdateClient) demonstrates the use of the [tcauth](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth) package to update an existing clientId with a new description and expiry.
327
+
* The [AMQP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueueevents#example-package--TaskclusterSniffer) demonstrates the use of the [tcqueueevents](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueueevents) package to listen in on Taskcluster tasks being defined and executed.
0 commit comments