Skip to content

Commit

Permalink
[operator] Introduce gardensystem/virtual Golang component (gardene…
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranzke authored Aug 2, 2023
1 parent cd46fb3 commit 8614e31
Show file tree
Hide file tree
Showing 12 changed files with 1,388 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package gardensystem
package runtime

import (
"context"
Expand All @@ -31,7 +31,7 @@ import (
// ManagedResourceName is the name of the ManagedResource containing the resource specifications.
const ManagedResourceName = "garden-system"

// New creates a new instance of DeployWaiter for garden system resources.
// New creates a new instance of DeployWaiter for runtime garden system resources.
func New(client client.Client, namespace string) component.DeployWaiter {
return &gardenSystem{
client: client,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package gardensystem_test
package runtime_test

import (
"testing"
Expand All @@ -21,7 +21,7 @@ import (
. "github.com/onsi/gomega"
)

func TestGardenSystem(t *testing.T) {
func TestRuntime(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Component GardenSystem Suite")
RunSpecs(t, "Component GardenSystem Runtime Suite")
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package gardensystem_test
package runtime_test

import (
"context"
Expand All @@ -30,7 +30,7 @@ import (
gardencorev1beta1 "github.com/gardener/gardener/pkg/apis/core/v1beta1"
resourcesv1alpha1 "github.com/gardener/gardener/pkg/apis/resources/v1alpha1"
"github.com/gardener/gardener/pkg/component"
. "github.com/gardener/gardener/pkg/component/gardensystem"
. "github.com/gardener/gardener/pkg/component/gardensystem/runtime"
operatorclient "github.com/gardener/gardener/pkg/operator/client"
"github.com/gardener/gardener/pkg/resourcemanager/controller/garbagecollector/references"
"github.com/gardener/gardener/pkg/utils/retry"
Expand All @@ -39,7 +39,7 @@ import (
. "github.com/gardener/gardener/pkg/utils/test/matchers"
)

var _ = Describe("GardenSystem", func() {
var _ = Describe("Runtime", func() {
var (
ctx = context.TODO()

Expand Down
Loading

0 comments on commit 8614e31

Please sign in to comment.