Affected by GO-2023-1583
and 3 other vulnerabilities
GO-2023-1583 : User data in TPM attestation vulnerable to MITM in github.com/edgelesssys/constellation
GO-2023-1622 : Constellation allows Emergency shell access during initramfs boot phase in github.com/edgelesssys/constellation
GO-2024-2727 : Constellation has pods exposed to peers in VPC in github.com/edgelesssys/constellation
GO-2025-4076 : Constellation has insecure LUKS2 persistent storage partitions which may be opened and used in github.com/edgelesssys/constellation
Discover Packages
github.com/edgelesssys/constellation/v2
bootstrapper
internal
clean
package
Version:
v2.4.0
Opens a new window with list of versions in this module.
Published: Jan 10, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Cleaner can be used to stop a list of services gracefully.
To register an arbitrary amount of stoppers either use New or With.
Start needs to be called to ready the Cleaner, then Clean will activate it.
Done can be used to wait for Cleaner to run all registered stoppers.
func New(stoppers ...stopper) *Cleaner
New creates a new cleaner.
Clean initiates the cleanup but does not wait for it to complete.
Done waits for the cleanup to complete.
Start blocks until it receives a stop message, stops all services gracefully and returns.
With adds a new stopper to the cleaner.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.