mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-04 23:35:11 -04:00
Rename coordinator to bootstrapper and rename roles
This commit is contained in:
parent
3280ed200c
commit
916e5d6b55
191 changed files with 1763 additions and 2030 deletions
22
bootstrapper/internal/logging/logger.go
Normal file
22
bootstrapper/internal/logging/logger.go
Normal file
|
@ -0,0 +1,22 @@
|
|||
package logging
|
||||
|
||||
import "io"
|
||||
|
||||
// CloudLogger is used to log information to a **non-confidential** destination
|
||||
// at cloud provider for early-boot debugging. Make sure to **NOT** include any
|
||||
// sensitive information!
|
||||
type CloudLogger interface {
|
||||
// Disclose is used to log information into a **non-confidential** destination at
|
||||
// cloud provider for early-boot debugging. Make sure to **NOT** Disclose any
|
||||
// sensitive information!
|
||||
Disclose(msg string)
|
||||
io.Closer
|
||||
}
|
||||
|
||||
type NopLogger struct{}
|
||||
|
||||
func (l *NopLogger) Disclose(msg string) {}
|
||||
|
||||
func (l *NopLogger) Close() error {
|
||||
return nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue