Registry / cloud / go-artifactregistry

go-artifactregistry

JSON →
library1.25.0gogounverified

A Go client library for managing artifacts and repositories in Google Cloud Artifact Registry.

go get cloud.google.com/go/artifactregistry
INSTALL
IMPORT
SIG · GO-ARTIFACTREGISTR
G
go-artifactregistry
cloudgov1.25.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

artifactregistry
cloud.google.com/go/artifactregistry/apiv1

Create a new Artifact Registry client

package main import ( "context" "fmt" artifactregistry "cloud.google.com/go/artifactregistry/apiv1" ) func main() { ctx := context.Background() client, err := artifactregistry.NewClient(ctx) if err != nil { panic(err) } defer client.Close() fmt.Println(client) }
Debug
Known issues
gotchaThe import path uses 'apiv1' subpackage; bare module path is not importable.
fix
Use 'cloud.google.com/go/artifactregistry/apiv1' as import path.
affects: *
Upgrade
Version history
1.25.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
go-artifactregistry — go get go-artifactregistry · libregistry