mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-24 15:55:17 -04:00
internal: move components into their own package
This commit is contained in:
parent
433e9cdd8b
commit
3637909a46
18 changed files with 156 additions and 135 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/edgelesssys/constellation/v2/internal/versions"
|
||||
"github.com/edgelesssys/constellation/v2/internal/versions/components"
|
||||
"github.com/edgelesssys/constellation/v2/upgrade-agent/upgradeproto"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
@ -100,6 +100,6 @@ type stubOsInstaller struct {
|
|||
InstallErr error
|
||||
}
|
||||
|
||||
func (s stubOsInstaller) Install(ctx context.Context, kubernetesComponent versions.ComponentVersion) error {
|
||||
func (s stubOsInstaller) Install(ctx context.Context, kubernetesComponent components.Component) error {
|
||||
return s.InstallErr
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue