This commit is contained in:
Malte Poll 2024-01-22 15:52:23 +01:00 committed by miampf
parent d80383d993
commit 972f832a6e
No known key found for this signature in database
GPG key ID: 376EAC0E5307A669
10 changed files with 31 additions and 31 deletions

View file

@ -11,12 +11,12 @@ import (
"context" "context"
"errors" "errors"
"io" "io"
"log/slog"
"net" "net"
"strings" "strings"
"sync" "sync"
"testing" "testing"
"time" "time"
"log/slog"
"github.com/edgelesssys/constellation/v2/bootstrapper/initproto" "github.com/edgelesssys/constellation/v2/bootstrapper/initproto"
"github.com/edgelesssys/constellation/v2/internal/atls" "github.com/edgelesssys/constellation/v2/internal/atls"

View file

@ -9,12 +9,12 @@ package joinclient
import ( import (
"context" "context"
"errors" "errors"
"log/slog"
"net" "net"
"strconv" "strconv"
"sync" "sync"
"testing" "testing"
"time" "time"
"log/slog"
"github.com/edgelesssys/constellation/v2/internal/cloud/metadata" "github.com/edgelesssys/constellation/v2/internal/cloud/metadata"
"github.com/edgelesssys/constellation/v2/internal/constants" "github.com/edgelesssys/constellation/v2/internal/constants"

View file

@ -9,10 +9,10 @@ package kubernetes
import ( import (
"context" "context"
"errors" "errors"
"log/slog"
"net" "net"
"strconv" "strconv"
"testing" "testing"
"log/slog"
"github.com/edgelesssys/constellation/v2/bootstrapper/internal/kubernetes/k8sapi" "github.com/edgelesssys/constellation/v2/bootstrapper/internal/kubernetes/k8sapi"
"github.com/edgelesssys/constellation/v2/bootstrapper/internal/kubernetes/kubewaiter" "github.com/edgelesssys/constellation/v2/bootstrapper/internal/kubernetes/kubewaiter"

View file

@ -10,10 +10,10 @@ package integration
import ( import (
"fmt" "fmt"
"math"
"testing"
"log/slog" "log/slog"
"math"
"os" "os"
"testing"
"github.com/edgelesssys/constellation/v2/disk-mapper/internal/diskencryption" "github.com/edgelesssys/constellation/v2/disk-mapper/internal/diskencryption"
"github.com/martinjungblut/go-cryptsetup" "github.com/martinjungblut/go-cryptsetup"

View file

@ -12,13 +12,13 @@ import (
"encoding/json" "encoding/json"
"flag" "flag"
"fmt" "fmt"
"log/slog"
"os" "os"
"os/exec" "os/exec"
"path/filepath" "path/filepath"
"strings" "strings"
"syscall" "syscall"
"testing" "testing"
"log/slog"
"github.com/bazelbuild/rules_go/go/runfiles" "github.com/bazelbuild/rules_go/go/runfiles"
"github.com/edgelesssys/constellation/v2/disk-mapper/internal/diskencryption" "github.com/edgelesssys/constellation/v2/disk-mapper/internal/diskencryption"

View file

@ -5,6 +5,7 @@ go_library(
srcs = [ srcs = [
"cmdline.go", "cmdline.go",
"grpclogger.go", "grpclogger.go",
"levelhandler.go",
"log.go", "log.go",
], ],
importpath = "github.com/edgelesssys/constellation/v2/internal/logger", importpath = "github.com/edgelesssys/constellation/v2/internal/logger",

View file

@ -4,12 +4,11 @@ Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only SPDX-License-Identifier: AGPL-3.0-only
*/ */
package logger package logger
import ( import (
"log/slog"
"context" "context"
"log/slog"
) )
// LevelHandler copied from the official LevelHandler example in the slog package documentation. // LevelHandler copied from the official LevelHandler example in the slog package documentation.

View file

@ -8,8 +8,8 @@ package amdkds
import ( import (
"fmt" "fmt"
"testing"
"log/slog" "log/slog"
"testing"
"github.com/edgelesssys/constellation/v2/internal/logger" "github.com/edgelesssys/constellation/v2/internal/logger"
"github.com/edgelesssys/constellation/v2/joinservice/internal/certcache/amdkds/testdata" "github.com/edgelesssys/constellation/v2/joinservice/internal/certcache/amdkds/testdata"