diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 62b6efa..b1de4ab 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,14 +4,14 @@ updates: - package-ecosystem: "gomod" directory: "/" schedule: - interval: "daily" + interval: "weekly" open-pull-requests-limit: 10 reviewers: - - "onmetal/onmetal-api-maintainers" + - "ironcore-dev/core" - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "daily" + interval: "weekly" open-pull-requests-limit: 10 reviewers: - - "onmetal/onmetal-api-maintainers" + - "ironcore-dev/core" diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index add28bf..14c10cd 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,4 +1,4 @@ -name-template: 'v$RESOLVED_VERSION 🌈' +name-template: 'v$RESOLVED_VERSION' tag-template: 'v$RESOLVED_VERSION' categories: - title: '🚀 Features' @@ -48,4 +48,4 @@ autolabeler: - '/JIRA-[0-9]{1,4}/' template: | ## Changes - $CHANGES \ No newline at end of file + $CHANGES diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index f8a94c8..59544d3 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,8 +13,8 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version-file: 'go.mod' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.51.1 + version: v1.55.2 diff --git a/.github/workflows/size-label.yml b/.github/workflows/size-label.yml index d845e38..069c1ad 100644 --- a/.github/workflows/size-label.yml +++ b/.github/workflows/size-label.yml @@ -1,11 +1,17 @@ name: Size Label on: - pull_request_target: - types: [ assigned, opened, synchronize, reopened ] + pull_request: + types: + - opened + - edited + - synchronize jobs: size-label: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest steps: - name: size-label diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb8fe09..7d54127 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,5 +18,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version-file: 'go.mod' - run: make test check-license diff --git a/.golangci.yaml b/.golangci.yaml index a733fa6..d8c320c 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -10,6 +10,7 @@ linters: - goimports - importas - unused + - ginkgolinter severity: default-severity: error diff --git a/CODEOWNERS b/CODEOWNERS index 56cc8d1..6eede22 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,2 +1,2 @@ -# onmetal-api maintainers -* @onmetal/onmetal-api-maintainers \ No newline at end of file +# ironcore-dev core maintainers +* @ironcore-dev/core diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index f6059eb..25ac1d9 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1 +1 @@ -Please refer to the [Gardener on Metal code of conduct](https://onmetal.github.io/documentation/contribute/overview/#code-of-conduct). \ No newline at end of file +Please refer to the [IronCore code of conduct](https://ironcore-dev.github.io/documentation/contribute/overview/#code-of-conduct). diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6528937..7216d1a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1 +1 @@ -Please refer to the [Gardener on Metal contributor guide](https://onmetal.github.io/documentation/contribute/overview/). +Please refer to the [IronCore contributor guide](https://ironcore-dev.github.io/documentation/contribute/overview/). diff --git a/Makefile b/Makefile index bc553ae..b1ca90c 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ help: ## Display this help. .PHONY: add-license add-license: addlicense ## Add license headers to all go files. - find . -name '*.go' -exec $(ADDLICENSE) -c 'OnMetal authors' {} + + find . -name '*.go' -exec $(ADDLICENSE) -c 'IronCore authors' {} + .PHONY: fmt fmt: goimports ## Run goimports against code. @@ -37,12 +37,12 @@ vet: ## Run go vet against code. go vet ./... .PHONY: lint -lint: ## Lints the code-base using golangci-lint. - golangci-lint run ./... +lint: golangci-lint ## Run golangci-lint on the code. + $(GOLANGCILINT) run ./... .PHONY: check-license check-license: addlicense ## Check that every file has a license header present. - find . -name '*.go' -exec $(ADDLICENSE) -check -c 'OnMetal authors' {} + + find . -name '*.go' -exec $(ADDLICENSE) -check -c 'IronCore authors' {} + .PHONY: generate generate: mockgen ## Generate code (mocks etc.). @@ -69,11 +69,13 @@ $(LOCALBIN): ADDLICENSE ?= $(LOCALBIN)/addlicense GOIMPORTS ?= $(LOCALBIN)/goimports MOCKGEN ?= $(LOCALBIN)/mockgen +GOLANGCILINT ?= $(LOCALBIN)/golangci-lint ## Tool Versions ADDLICENSE_VERSION ?= v1.1.1 -GOIMPORTS_VERSION ?= v0.13.0 +GOIMPORTS_VERSION ?= v0.14.0 MOCKGEN_VERSION ?= v0.3.0 +GOLANGCILINT_VERSION ?= v1.55.2 .PHONY: addlicense addlicense: $(ADDLICENSE) ## Download addlicense locally if necessary. @@ -89,3 +91,8 @@ $(GOIMPORTS): $(LOCALBIN) mockgen: $(MOCKGEN) ## Download mockgen locally if necessary. $(MOCKGEN): $(LOCALBIN) test -s $(LOCALBIN)/mockgen || GOBIN=$(LOCALBIN) go install go.uber.org/mock/mockgen@$(MOCKGEN_VERSION) + +.PHONY: goimports +golangci-lint: $(GOLANGCILINT) ## Download golangci-lint locally if necessary. +$(GOLANGCILINT): $(LOCALBIN) + test -s $(LOCALBIN)/golangci-lint || GOBIN=$(LOCALBIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCILINT_VERSION) diff --git a/README.md b/README.md index c4ef5d1..e0161e7 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,23 @@ # controller-utils -[![Go Report Card](https://goreportcard.com/badge/github.com/onmetal/controller-utils)](https://goreportcard.com/report/github.com/onmetal/controller-utils) -[![Go Reference](https://pkg.go.dev/badge/github.com/onmetal/controller-utils.svg)](https://pkg.go.dev/github.com/onmetal/controller-utils) -[![Test](https://github.com/onmetal/controller-utils/actions/workflows/test.yml/badge.svg)](https://github.com/onmetal/controller-utils/actions/workflows/test.yml) +[![Go Report Card](https://goreportcard.com/badge/github.com/ironcore-dev/controller-utils)](https://goreportcard.com/report/github.com/ironcore-dev/controller-utils) +[![Go Reference](https://pkg.go.dev/badge/github.com/ironcore-dev/controller-utils.svg)](https://pkg.go.dev/github.com/ironcore-dev/controller-utils) +[![Test](https://github.com/ironcore-dev/controller-utils/actions/workflows/test.yml/badge.svg)](https://github.com/ironcore-dev/controller-utils/actions/workflows/test.yml) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) [![GitHub License](https://img.shields.io/static/v1?label=License&message=Apache-2.0&color=blue&style=flat-square)](LICENSE) ## Overview -controller-utils contains common functionality used across multiple controllers in the onmetal organization. +controller-utils contains common functionality used across multiple controllers in the ironcore-dev organization. ## Installation, Usage and Development To use the library in your project, just run ```shell -go get github.com/onmetal/controller-utils +go get github.com/ironcore-dev/controller-utils ``` ## License [Apache-2.0](LICENSE) - diff --git a/buildutils/alias.go b/buildutils/alias.go index d0c305c..d078b2a 100644 --- a/buildutils/alias.go +++ b/buildutils/alias.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/buildutils/buildutils.go b/buildutils/buildutils.go index 5601abc..74c9393 100644 --- a/buildutils/buildutils.go +++ b/buildutils/buildutils.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/buildutils/buildutils_suite_test.go b/buildutils/buildutils_suite_test.go index b2129b2..b6a20ba 100644 --- a/buildutils/buildutils_suite_test.go +++ b/buildutils/buildutils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/buildutils/buildutils_test.go b/buildutils/buildutils_test.go index 87fad6a..55382b9 100644 --- a/buildutils/buildutils_test.go +++ b/buildutils/buildutils_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ package buildutils_test import ( - . "github.com/onmetal/controller-utils/buildutils" + . "github.com/ironcore-dev/controller-utils/buildutils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/clientutils/clientutils.go b/clientutils/clientutils.go index 32fd028..ee50d0c 100644 --- a/clientutils/clientutils.go +++ b/clientutils/clientutils.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ import ( "fmt" "reflect" - "github.com/onmetal/controller-utils/metautils" - "github.com/onmetal/controller-utils/unstructuredutils" + "github.com/ironcore-dev/controller-utils/metautils" + "github.com/ironcore-dev/controller-utils/unstructuredutils" "k8s.io/apimachinery/pkg/api/equality" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta" diff --git a/clientutils/clientutils_suite_test.go b/clientutils/clientutils_suite_test.go index cf003cf..47a4a09 100644 --- a/clientutils/clientutils_suite_test.go +++ b/clientutils/clientutils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/clientutils/clientutils_test.go b/clientutils/clientutils_test.go index 42c0f2c..fdbd817 100644 --- a/clientutils/clientutils_test.go +++ b/clientutils/clientutils_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ import ( "reflect" "strings" - . "github.com/onmetal/controller-utils/clientutils" - mockclient "github.com/onmetal/controller-utils/mock/controller-runtime/client" - mockclientutils "github.com/onmetal/controller-utils/mock/controller-utils/clientutils" - "github.com/onmetal/controller-utils/testdata" + . "github.com/ironcore-dev/controller-utils/clientutils" + mockclient "github.com/ironcore-dev/controller-utils/mock/controller-runtime/client" + mockclientutils "github.com/ironcore-dev/controller-utils/mock/controller-utils/clientutils" + "github.com/ironcore-dev/controller-utils/testdata" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/stretchr/testify/mock" @@ -132,13 +132,13 @@ var _ = Describe("Clientutils", func() { Describe("IgnoreAlreadyExists", func() { It("should ignore already exists errors", func() { alreadyExistsErr := IgnoreAlreadyExists(apierrors.NewAlreadyExists(cmGR, "")) - Expect(IgnoreAlreadyExists(alreadyExistsErr)).To(BeNil()) + Expect(IgnoreAlreadyExists(alreadyExistsErr)).To(Succeed()) }) It("should not ignore other errors or nil", func() { err := fmt.Errorf("some error") Expect(IgnoreAlreadyExists(err)).To(BeIdenticalTo(err)) - Expect(IgnoreAlreadyExists(nil)).To(BeNil()) + Expect(IgnoreAlreadyExists(nil)).To(Succeed()) }) }) diff --git a/clientutils/fieldindexer.go b/clientutils/fieldindexer.go index e4a5ac1..d9a18de 100644 --- a/clientutils/fieldindexer.go +++ b/clientutils/fieldindexer.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/clientutils/fieldindexer_test.go b/clientutils/fieldindexer_test.go index 450cf61..87a748c 100644 --- a/clientutils/fieldindexer_test.go +++ b/clientutils/fieldindexer_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ package clientutils import ( "context" - mockclient "github.com/onmetal/controller-utils/mock/controller-runtime/client" + mockclient "github.com/ironcore-dev/controller-utils/mock/controller-runtime/client" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "go.uber.org/mock/gomock" diff --git a/clientutils/objectkey.go b/clientutils/objectkey.go index b2e062b..0f0fc97 100644 --- a/clientutils/objectkey.go +++ b/clientutils/objectkey.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/clientutils/objectkey_test.go b/clientutils/objectkey_test.go index 99385ea..9b7f727 100644 --- a/clientutils/objectkey_test.go +++ b/clientutils/objectkey_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ package clientutils_test import ( - . "github.com/onmetal/controller-utils/clientutils" + . "github.com/ironcore-dev/controller-utils/clientutils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/clientutils/objectref.go b/clientutils/objectref.go index f442182..f058e25 100644 --- a/clientutils/objectref.go +++ b/clientutils/objectref.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/clientutils/objectref_test.go b/clientutils/objectref_test.go index 12a72e2..0354e5b 100644 --- a/clientutils/objectref_test.go +++ b/clientutils/objectref_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmdutils/switches/switches.go b/cmdutils/switches/switches.go index e0f5a5a..2075aca 100644 --- a/cmdutils/switches/switches.go +++ b/cmdutils/switches/switches.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmdutils/switches/switches_suite_test.go b/cmdutils/switches/switches_suite_test.go index 525fa80..47ae18b 100644 --- a/cmdutils/switches/switches_suite_test.go +++ b/cmdutils/switches/switches_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmdutils/switches/switches_test.go b/cmdutils/switches/switches_test.go index bde70f0..6d0c940 100644 --- a/cmdutils/switches/switches_test.go +++ b/cmdutils/switches/switches_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/conditionutils/alias.go b/conditionutils/alias.go index 4e9991b..4194cde 100644 --- a/conditionutils/alias.go +++ b/conditionutils/alias.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/conditionutils/alias_test.go b/conditionutils/alias_test.go index 7062234..5f2c53b 100644 --- a/conditionutils/alias_test.go +++ b/conditionutils/alias_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - . "github.com/onmetal/controller-utils/conditionutils" + . "github.com/ironcore-dev/controller-utils/conditionutils" ) var _ = Describe("Alias", func() { diff --git a/conditionutils/conditionutils.go b/conditionutils/conditionutils.go index f4bee6a..a9142f6 100644 --- a/conditionutils/conditionutils.go +++ b/conditionutils/conditionutils.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/conditionutils/conditionutils_suite_test.go b/conditionutils/conditionutils_suite_test.go index 11f98e1..64bd555 100644 --- a/conditionutils/conditionutils_suite_test.go +++ b/conditionutils/conditionutils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/conditionutils/conditionutils_test.go b/conditionutils/conditionutils_test.go index 9c6ace5..a1cfda4 100644 --- a/conditionutils/conditionutils_test.go +++ b/conditionutils/conditionutils_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ package conditionutils_test import ( "time" - . "github.com/onmetal/controller-utils/conditionutils" + . "github.com/ironcore-dev/controller-utils/conditionutils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" diff --git a/configutils/configutils.go b/configutils/configutils.go index 55e5cec..3ba9406 100644 --- a/configutils/configutils.go +++ b/configutils/configutils.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/configutils/configutils_suite_test.go b/configutils/configutils_suite_test.go index 617d664..9d3f2a2 100644 --- a/configutils/configutils_suite_test.go +++ b/configutils/configutils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/configutils/configutils_test.go b/configutils/configutils_test.go index 56c475a..dccc14a 100644 --- a/configutils/configutils_test.go +++ b/configutils/configutils_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/envtestutils/envtestutils.go b/envtestutils/envtestutils.go index 3be126b..81f3dc4 100644 --- a/envtestutils/envtestutils.go +++ b/envtestutils/envtestutils.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/envtestutils/envtestutils_suite_test.go b/envtestutils/envtestutils_suite_test.go index fd65683..b8b8e03 100644 --- a/envtestutils/envtestutils_suite_test.go +++ b/envtestutils/envtestutils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/envtestutils/envtestutils_test.go b/envtestutils/envtestutils_test.go index 3763603..4b00277 100644 --- a/envtestutils/envtestutils_test.go +++ b/envtestutils/envtestutils_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/go.mod b/go.mod index a496ef8..fe0315b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module github.com/onmetal/controller-utils +module github.com/ironcore-dev/controller-utils -go 1.20 +go 1.21 require ( github.com/onsi/ginkgo/v2 v2.13.1 diff --git a/go.sum b/go.sum index 14e818c..181df36 100644 --- a/go.sum +++ b/go.sum @@ -16,6 +16,7 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxERmMY4rD+g= github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= +github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk= @@ -31,6 +32,7 @@ github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ4 github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-logr/zapr v1.2.4 h1:QHVo+6stLbfJmYGkQ7uGHUCu5hnAFAj6mDe6Ea0SeOo= +github.com/go-logr/zapr v1.2.4/go.mod h1:FyHWQIzQORZ0QVE1BtVHv3cKtNLuXsbNLtpuhNapBOA= github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= @@ -42,6 +44,7 @@ github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4 github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= +github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -78,6 +81,7 @@ github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -113,7 +117,9 @@ github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= +github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= +github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -151,10 +157,13 @@ go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v8 go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 h1:+FNtrFTmVw0YZGpBGX56XDee331t6JAXeK2bcyhLOOc= go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o= go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= +go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= go.uber.org/mock v0.3.0 h1:3mUxI1No2/60yUYax92Pt8eNOEecx2D3lcXZh2NEZJo= go.uber.org/mock v0.3.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c= +go.uber.org/zap v1.25.0/go.mod h1:JIAUzQIH94IC4fOJQm7gMmBJP5k7wQfdcnYdPoEXJYk= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= @@ -163,6 +172,7 @@ golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2F golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -208,6 +218,7 @@ gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuB google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 h1:Z0hjGZePRE0ZBWotvtrwxFNrNE9CUAGtplaDK5NNI/g= +google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98/go.mod h1:S7mY02OqCJTD0E1OiQy1F72PWFB4bZJ87cAtLPYgDR0= google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 h1:FmF5cCW94Ij59cfpoLiwTgodWmm60eEV0CjlsVg2fuw= google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 h1:bVf09lpb+OJbByTj913DRJioFFAjf/ZGxEz7MajTp2U= diff --git a/hack/boilerplate.go.txt b/hack/boilerplate.go.txt index 98e1ae3..b67d85e 100644 --- a/hack/boilerplate.go.txt +++ b/hack/boilerplate.go.txt @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/kustomizeutils/kustomizeutils.go b/kustomizeutils/kustomizeutils.go index 02245ec..329cf00 100644 --- a/kustomizeutils/kustomizeutils.go +++ b/kustomizeutils/kustomizeutils.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/kustomizeutils/kustomizeutils_suite_test.go b/kustomizeutils/kustomizeutils_suite_test.go index de5ee38..a418263 100644 --- a/kustomizeutils/kustomizeutils_suite_test.go +++ b/kustomizeutils/kustomizeutils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/kustomizeutils/kustomizeutils_test.go b/kustomizeutils/kustomizeutils_test.go index 248d7c3..cffdbab 100644 --- a/kustomizeutils/kustomizeutils_test.go +++ b/kustomizeutils/kustomizeutils_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ package kustomizeutils import ( - "github.com/onmetal/controller-utils/testdata" + "github.com/ironcore-dev/controller-utils/testdata" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" corev1 "k8s.io/api/core/v1" @@ -85,7 +85,7 @@ var _ = Describe("Kustomizeutils", func() { res, err := resource.NewFactory(&hasher.Hasher{}).FromBytes([]byte(testdata.ConfigMapYAML)) Expect(err).NotTo(HaveOccurred()) resMap := resmap.New() - Expect(resMap.Append(res)) + Expect(resMap.Append(res)).To(Succeed()) list := &corev1.ConfigMapList{} Expect(DecodeResMapIntoList(scheme.Codecs.UniversalDeserializer(), resMap, list)).To(Succeed()) @@ -106,7 +106,7 @@ var _ = Describe("Kustomizeutils", func() { res, err := resource.NewFactory(&hasher.Hasher{}).FromBytes([]byte(testdata.ConfigMapYAML)) Expect(err).NotTo(HaveOccurred()) resMap := resmap.New() - Expect(resMap.Append(res)) + Expect(resMap.Append(res)).To(Succeed()) unstructureds, err := DecodeResMapUnstructureds(resMap) Expect(err).NotTo(HaveOccurred()) diff --git a/metautils/metautils.go b/metautils/metautils.go index aca32d2..38731f8 100644 --- a/metautils/metautils.go +++ b/metautils/metautils.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metautils/metautils_suite_test.go b/metautils/metautils_suite_test.go index 50a4882..8dc937b 100644 --- a/metautils/metautils_suite_test.go +++ b/metautils/metautils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metautils/metautils_test.go b/metautils/metautils_test.go index bcd7164..3e25e36 100644 --- a/metautils/metautils_test.go +++ b/metautils/metautils_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,8 +18,8 @@ import ( "reflect" "strings" - . "github.com/onmetal/controller-utils/metautils" - mockmetautils "github.com/onmetal/controller-utils/mock/controller-utils/metautils" + . "github.com/ironcore-dev/controller-utils/metautils" + mockmetautils "github.com/ironcore-dev/controller-utils/mock/controller-utils/metautils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "go.uber.org/mock/gomock" diff --git a/mock/controller-runtime/client/doc.go b/mock/controller-runtime/client/doc.go index bb5636e..55f9a86 100644 --- a/mock/controller-runtime/client/doc.go +++ b/mock/controller-runtime/client/doc.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ // Package client contains mocks for controller-runtime's client package. // //go:generate $MOCKGEN -copyright_file ../../../hack/boilerplate.go.txt -package client -destination mocks.go sigs.k8s.io/controller-runtime/pkg/client Client,FieldIndexer -//go:generate $MOCKGEN -copyright_file ../../../hack/boilerplate.go.txt -package client -destination funcs.go github.com/onmetal/controller-utils/mock/controller-runtime/client IndexerFunc +//go:generate $MOCKGEN -copyright_file ../../../hack/boilerplate.go.txt -package client -destination funcs.go github.com/ironcore-dev/controller-utils/mock/controller-runtime/client IndexerFunc package client import "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/mock/controller-runtime/client/funcs.go b/mock/controller-runtime/client/funcs.go index 752a651..2be1534 100644 --- a/mock/controller-runtime/client/funcs.go +++ b/mock/controller-runtime/client/funcs.go @@ -1,4 +1,4 @@ -// // Copyright 2021 OnMetal authors +// // Copyright 2021 IronCore authors // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // you may not use this file except in compliance with the License. @@ -14,11 +14,11 @@ // // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/onmetal/controller-utils/mock/controller-runtime/client (interfaces: IndexerFunc) +// Source: github.com/ironcore-dev/controller-utils/mock/controller-runtime/client (interfaces: IndexerFunc) // // Generated by this command: // -// mockgen -copyright_file ../../../hack/boilerplate.go.txt -package client -destination funcs.go github.com/onmetal/controller-utils/mock/controller-runtime/client IndexerFunc +// mockgen -copyright_file ../../../hack/boilerplate.go.txt -package client -destination funcs.go github.com/ironcore-dev/controller-utils/mock/controller-runtime/client IndexerFunc // // Package client is a generated GoMock package. package client diff --git a/mock/controller-runtime/client/mocks.go b/mock/controller-runtime/client/mocks.go index 3a66070..d384842 100644 --- a/mock/controller-runtime/client/mocks.go +++ b/mock/controller-runtime/client/mocks.go @@ -1,4 +1,4 @@ -// // Copyright 2021 OnMetal authors +// // Copyright 2021 IronCore authors // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // you may not use this file except in compliance with the License. diff --git a/mock/controller-utils/clientutils/doc.go b/mock/controller-utils/clientutils/doc.go index 6cc545d..62630f0 100644 --- a/mock/controller-utils/clientutils/doc.go +++ b/mock/controller-utils/clientutils/doc.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -14,5 +14,5 @@ // Package clientutils contains mocks for the actual clientutils package. // -//go:generate $MOCKGEN -copyright_file ../../../hack/boilerplate.go.txt -package clientutils -destination=mocks.go github.com/onmetal/controller-utils/clientutils PatchProvider +//go:generate $MOCKGEN -copyright_file ../../../hack/boilerplate.go.txt -package clientutils -destination=mocks.go github.com/ironcore-dev/controller-utils/clientutils PatchProvider package clientutils diff --git a/mock/controller-utils/clientutils/mocks.go b/mock/controller-utils/clientutils/mocks.go index a330b18..ff41c3a 100644 --- a/mock/controller-utils/clientutils/mocks.go +++ b/mock/controller-utils/clientutils/mocks.go @@ -1,4 +1,4 @@ -// // Copyright 2021 OnMetal authors +// // Copyright 2021 IronCore authors // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // you may not use this file except in compliance with the License. @@ -14,11 +14,11 @@ // // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/onmetal/controller-utils/clientutils (interfaces: PatchProvider) +// Source: github.com/ironcore-dev/controller-utils/clientutils (interfaces: PatchProvider) // // Generated by this command: // -// mockgen -copyright_file ../../../hack/boilerplate.go.txt -package clientutils -destination=mocks.go github.com/onmetal/controller-utils/clientutils PatchProvider +// mockgen -copyright_file ../../../hack/boilerplate.go.txt -package clientutils -destination=mocks.go github.com/ironcore-dev/controller-utils/clientutils PatchProvider // // Package clientutils is a generated GoMock package. package clientutils diff --git a/mock/controller-utils/metautils/doc.go b/mock/controller-utils/metautils/doc.go index 4ac2289..e2388a7 100644 --- a/mock/controller-utils/metautils/doc.go +++ b/mock/controller-utils/metautils/doc.go @@ -1,4 +1,4 @@ -//go:generate $MOCKGEN -copyright_file ../../../hack/boilerplate.go.txt -package metautils -destination=funcs.go github.com/onmetal/controller-utils/mock/controller-utils/metautils EachListItemFunc +//go:generate $MOCKGEN -copyright_file ../../../hack/boilerplate.go.txt -package metautils -destination=funcs.go github.com/ironcore-dev/controller-utils/mock/controller-utils/metautils EachListItemFunc package metautils import "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/mock/controller-utils/metautils/funcs.go b/mock/controller-utils/metautils/funcs.go index 2e1b328..e8ea333 100644 --- a/mock/controller-utils/metautils/funcs.go +++ b/mock/controller-utils/metautils/funcs.go @@ -1,4 +1,4 @@ -// // Copyright 2021 OnMetal authors +// // Copyright 2021 IronCore authors // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // you may not use this file except in compliance with the License. @@ -14,11 +14,11 @@ // // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/onmetal/controller-utils/mock/controller-utils/metautils (interfaces: EachListItemFunc) +// Source: github.com/ironcore-dev/controller-utils/mock/controller-utils/metautils (interfaces: EachListItemFunc) // // Generated by this command: // -// mockgen -copyright_file ../../../hack/boilerplate.go.txt -package metautils -destination=funcs.go github.com/onmetal/controller-utils/mock/controller-utils/metautils EachListItemFunc +// mockgen -copyright_file ../../../hack/boilerplate.go.txt -package metautils -destination=funcs.go github.com/ironcore-dev/controller-utils/mock/controller-utils/metautils EachListItemFunc // // Package metautils is a generated GoMock package. package metautils diff --git a/modutils/alias.go b/modutils/alias.go index 2fc14b8..401005e 100644 --- a/modutils/alias.go +++ b/modutils/alias.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/modutils/modutils.go b/modutils/modutils.go index efa7e91..fd43dda 100644 --- a/modutils/modutils.go +++ b/modutils/modutils.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import ( "path/filepath" "time" - "github.com/onmetal/controller-utils/buildutils" + "github.com/ironcore-dev/controller-utils/buildutils" ) // Executor is an executor for go.mod-related operations. diff --git a/modutils/modutils_suite_test.go b/modutils/modutils_suite_test.go index e939617..bd615b5 100644 --- a/modutils/modutils_suite_test.go +++ b/modutils/modutils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/modutils/modutils_test.go b/modutils/modutils_test.go index 39be6ae..ea4288d 100644 --- a/modutils/modutils_test.go +++ b/modutils/modutils_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ import ( "path/filepath" "time" - . "github.com/onmetal/controller-utils/modutils" + . "github.com/ironcore-dev/controller-utils/modutils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/onsi/gomega/gbytes" diff --git a/testdata/testdata.go b/testdata/testdata.go index e4f5ff9..a4ad4cc 100644 --- a/testdata/testdata.go +++ b/testdata/testdata.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/testdata/testmod2/main.go b/testdata/testmod2/main.go index ba5d896..a514df2 100644 --- a/testdata/testmod2/main.go +++ b/testdata/testmod2/main.go @@ -1,4 +1,4 @@ -// Copyright 2023 OnMetal authors +// Copyright 2023 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/testdata/testmod2/submain/main.go b/testdata/testmod2/submain/main.go index 1f8756e..81075fd 100644 --- a/testdata/testmod2/submain/main.go +++ b/testdata/testmod2/submain/main.go @@ -1,4 +1,4 @@ -// Copyright 2023 OnMetal authors +// Copyright 2023 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/testutils/matchers/matchers.go b/testutils/matchers/matchers.go index 532f1a6..bcae2f8 100644 --- a/testutils/matchers/matchers.go +++ b/testutils/matchers/matchers.go @@ -1,4 +1,4 @@ -// Copyright 2023 OnMetal authors +// Copyright 2023 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/testutils/matchers/matchers_suite_test.go b/testutils/matchers/matchers_suite_test.go index 3427fe8..e50705a 100644 --- a/testutils/matchers/matchers_suite_test.go +++ b/testutils/matchers/matchers_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 OnMetal authors +// Copyright 2023 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/testutils/matchers/matchers_test.go b/testutils/matchers/matchers_test.go index e489095..e52f276 100644 --- a/testutils/matchers/matchers_test.go +++ b/testutils/matchers/matchers_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 OnMetal authors +// Copyright 2023 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ package matchers_test import ( "fmt" - . "github.com/onmetal/controller-utils/testutils/matchers" + . "github.com/ironcore-dev/controller-utils/testutils/matchers" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" apierrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/testutils/testutils.go b/testutils/testutils.go index d0b6ad7..0647746 100644 --- a/testutils/testutils.go +++ b/testutils/testutils.go @@ -1,4 +1,4 @@ -// Copyright 2022 OnMetal authors +// Copyright 2022 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ package testutils import ( - "github.com/onmetal/controller-utils/testutils/matchers" + "github.com/ironcore-dev/controller-utils/testutils/matchers" "k8s.io/apimachinery/pkg/api/equality" "k8s.io/utils/semantic" ) diff --git a/unstructuredutils/unstructuredutils.go b/unstructuredutils/unstructuredutils.go index 8205732..de6cfef 100644 --- a/unstructuredutils/unstructuredutils.go +++ b/unstructuredutils/unstructuredutils.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/unstructuredutils/unstructuredutils_suite_test.go b/unstructuredutils/unstructuredutils_suite_test.go index 568630a..9ff6bd3 100644 --- a/unstructuredutils/unstructuredutils_suite_test.go +++ b/unstructuredutils/unstructuredutils_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/unstructuredutils/unstructuredutils_test.go b/unstructuredutils/unstructuredutils_test.go index 6848549..e93afea 100644 --- a/unstructuredutils/unstructuredutils_test.go +++ b/unstructuredutils/unstructuredutils_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 OnMetal authors +// Copyright 2021 IronCore authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,8 +20,8 @@ import ( "path/filepath" "strings" - "github.com/onmetal/controller-utils/testdata" - . "github.com/onmetal/controller-utils/unstructuredutils" + "github.com/ironcore-dev/controller-utils/testdata" + . "github.com/ironcore-dev/controller-utils/unstructuredutils" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct"