Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 566 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 566 Bytes

go-artifacthub

Auto generated using https://github.com/deepmap/oapi-codegen from https://artifacthub.io/docs/api/

Usage

client, err := artifacthub.NewClientWithResponses("https://artifacthub.io/api/v1", artifacthub.WithRequestEditorFn(func(ctx context.Context, req *http.Request) error {
  req.Header.Set("X-API-KEY-ID", "KEY_ID")
  req.Header.Set("X-API-KEY-SECRET", "KEY_SECRET")
  return nil
}))
if err != nil {
  return nil, err
}

resp, err := client.GetHelmPackageDetailsWithResponse(ctx, "repo", "package")
if err != nil {
  return nil, err
}