mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-14 09:45:34 -04:00
dev-docs: Go package docs (#958)
* Remove unused package * Add Go package docs to most packages Signed-off-by: Daniel Weiße <dw@edgeless.systems> Signed-off-by: Fabian Kammel <fk@edgeless.systems> Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
parent
b7740723ac
commit
690b50b29d
118 changed files with 735 additions and 750 deletions
|
@ -4,6 +4,13 @@ Copyright (c) Edgeless Systems GmbH
|
|||
SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
/*
|
||||
Package fetcher implements a client for the versions API.
|
||||
|
||||
The fetcher is used to get information from the versions API without having to
|
||||
authenticate with AWS, where the API is currently hosted. This package should be
|
||||
used in user-facing application code most of the time, like the CLI.
|
||||
*/
|
||||
package fetcher
|
||||
|
||||
import (
|
||||
|
@ -15,11 +22,7 @@ import (
|
|||
"github.com/edgelesssys/constellation/v2/internal/versionsapi"
|
||||
)
|
||||
|
||||
// Fetcher fetches versions API resources.
|
||||
//
|
||||
// The fetcher is used to get information from the versions API without having to
|
||||
// authenticate with AWS. It is the interface that should be used in user-facing
|
||||
// application code most of the time.
|
||||
// Fetcher fetches versions API resources without authentication.
|
||||
type Fetcher struct {
|
||||
httpc httpc
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue