package
0.0.0-20231012143342-a98e7bc7e75b
Repository: https://github.com/grafeas/client-go.git
Documentation: pkg.go.dev

# README

Go API client for grafeas

An API to insert and retrieve annotations on cloud artifacts.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: v1alpha1
  • Package version: v1alpha1
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./grafeas"

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
GrafeasApiCreateNotePost /v1alpha1/{parent}/notesCreates a new `Note`.
GrafeasApiCreateOccurrencePost /v1alpha1/{parent}/occurrencesCreates a new `Occurrence`. Use this method to create `Occurrences` for a resource.
GrafeasApiCreateOperationPost /v1alpha1/{parent}/operationsCreates a new `Operation`.
GrafeasApiGetOccurrenceNoteGet /v1alpha1/{name}/notesGets the `Note` attached to the given `Occurrence`.
GrafeasApiListNoteOccurrencesGet /v1alpha1/{name}/occurrencesLists `Occurrences` referencing the specified `Note`. Use this method to get all occurrences referencing your `Note` across all your customer projects.
GrafeasApiListNotesGet /v1alpha1/{parent}/notesLists all `Notes` for a given project.
GrafeasApiListOccurrencesGet /v1alpha1/{parent}/occurrencesLists active `Occurrences` for a given project matching the filters.
GrafeasApiUpdateNotePatch /v1alpha1/{name}Updates an existing `Note`.
GrafeasProjectsApiCreateProjectPost /v1alpha1/projectsCreates a new `Project`.
GrafeasProjectsApiDeleteProjectDelete /v1alpha1/{name}Deletes the given `Project` from the system.
GrafeasProjectsApiGetProjectGet /v1alpha1/{name}Returns the requested `Project`.
GrafeasProjectsApiListProjectsGet /v1alpha1/projectsLists `Projects`

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author