debugd: add go package docs

This commit is contained in:
Malte Poll 2023-01-24 16:08:04 +01:00 committed by Malte Poll
parent ee869eaf9c
commit fc8a43f4f1
11 changed files with 39 additions and 0 deletions

View File

@ -4,6 +4,7 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package cmd contains the cdbg CLI.
package cmd
import (

View File

@ -0,0 +1,8 @@
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package debugd contains internal packages for the debugd.
package debugd

View File

@ -0,0 +1,11 @@
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
/*
Package deploy implements deployment of binaries and services to a Constellation instance.
It is used by the debugd.
*/
package deploy

View File

@ -4,6 +4,8 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package info implements the info map that is
// used to distribute keyvalue pair between debugd instances.
package info
import (

View File

@ -4,6 +4,8 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package logcollector uses podman to deploy logstash and filebeat containers
// in order to collect logs centrally for debugging purposes.
package logcollector
import (

View File

@ -4,6 +4,7 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package cloudprovider implements a metadata service for cloud providers.
package cloudprovider
import (

View File

@ -4,6 +4,7 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package fallback implements a fake metadata backend.
package fallback
import (

View File

@ -0,0 +1,9 @@
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package metadata schedules the discovery of other debugd instances
// to exchange settings and binaries.
package metadata

View File

@ -4,6 +4,7 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package server implements the gRPC endpoint of Constellation's debugd.
package server
import (

View File

@ -4,6 +4,8 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package filetransfer implements the exchange of files between cdgb <-> debugd
// and between debugd <-> debugd pairs.
package filetransfer
import (

View File

@ -4,6 +4,7 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package streamer implements streaming of files over gRPC.
package streamer
import (