Skip to content

Commit 6d67930

Browse files
committed
Update Copyright
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
1 parent 3f47272 commit 6d67930

File tree

29 files changed

+131
-35
lines changed

29 files changed

+131
-35
lines changed

cmd/cozystack-api/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2016 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -19,9 +19,9 @@ package main
1919
import (
2020
"os"
2121

22+
"github.com/aenix.io/cozystack/pkg/cmd/server"
2223
genericapiserver "k8s.io/apiserver/pkg/server"
2324
"k8s.io/component-base/cli"
24-
"github.com/aenix.io/cozystack/pkg/cmd/server"
2525
)
2626

2727
func main() {

hack/boilerplate.go.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
Copyright 2024 The Cozystack Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+

hack/update-codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Copyright 2017 The Kubernetes Authors.
3+
# Copyright 2024 The Cozystack Authors.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cozystackAPI:
2-
image: ghcr.io/aenix-io/cozystack/cozystack-api:latest@sha256:0abe89cc679c076d0f2d9e8fd8e0a439d6fc7013b04e665fa1faa8ca97ccfeda
2+
image: ghcr.io/aenix-io/cozystack/cozystack-api:latest@sha256:3a438a1c0888c03ef6501bb446d13057da35bb3ac7e6d901d8e0853a0cad69cb

pkg/apis/apps/fuzzer/fuzzer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2017 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -17,8 +17,8 @@ limitations under the License.
1717
package fuzzer
1818

1919
import (
20-
fuzz "github.com/google/gofuzz"
2120
"github.com/aenix.io/cozystack/pkg/apis/apps"
21+
fuzz "github.com/google/gofuzz"
2222

2323
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
2424
)

pkg/apis/apps/install/install.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2017 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -17,9 +17,9 @@ limitations under the License.
1717
package install
1818

1919
import (
20+
appsv1alpha1 "github.com/aenix.io/cozystack/pkg/apis/apps/v1alpha1"
2021
"k8s.io/apimachinery/pkg/runtime"
2122
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
22-
appsv1alpha1 "github.com/aenix.io/cozystack/pkg/apis/apps/v1alpha1"
2323
)
2424

2525
// Install registers the API group and adds types to a scheme

pkg/apis/apps/install/roundtrip_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2017 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@ package install
1919
import (
2020
"testing"
2121

22-
"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
2322
appsfuzzer "github.com/aenix.io/cozystack/pkg/apis/apps/fuzzer"
23+
"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
2424
)
2525

2626
func TestRoundTripTypes(t *testing.T) {

pkg/apis/apps/register.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2024 The Cozystack Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
package apps
218

319
// GroupName is the group name used in this package

pkg/apis/apps/v1alpha1/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2018 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

pkg/apis/apps/v1alpha1/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2018 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

pkg/apis/apps/v1alpha1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2018 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

pkg/apis/apps/v1alpha1/zz_generated.conversion.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/apps/v1alpha1/zz_generated.defaults.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/apps/validation/validation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2016 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -17,8 +17,8 @@ limitations under the License.
1717
package validation
1818

1919
import (
20-
"k8s.io/apimachinery/pkg/util/validation/field"
2120
"github.com/aenix.io/cozystack/pkg/apis/apps"
21+
"k8s.io/apimachinery/pkg/util/validation/field"
2222
)
2323

2424
// ValidateApplication validates a Application.

pkg/apiserver/apiserver.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2024 The Cozystack Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
package apiserver
218

319
import (

pkg/apiserver/scheme_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2017 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@ package apiserver
1919
import (
2020
"testing"
2121

22-
"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
2322
appsfuzzer "github.com/aenix.io/cozystack/pkg/apis/apps/fuzzer"
23+
"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
2424
)
2525

2626
func TestRoundTripTypes(t *testing.T) {

pkg/cmd/server/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2016 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

pkg/cmd/server/start_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2024 The Kubernetes Authors.
2+
Copyright 2024 The Cozystack Authors.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -30,31 +30,31 @@ func TestAppsEmulationVersionToKubeEmulationVersion(t *testing.T) {
3030

3131
testCases := []struct {
3232
desc string
33-
appsEmulationVer *version.Version
33+
appsEmulationVer *version.Version
3434
expectedKubeEmulationVer *version.Version
3535
}{
3636
{
3737
desc: "same version as than kube binary",
38-
appsEmulationVer: version.MajorMinor(1, 2),
38+
appsEmulationVer: version.MajorMinor(1, 2),
3939
expectedKubeEmulationVer: defaultKubeEffectiveVersion.BinaryVersion(),
4040
},
4141
{
4242
desc: "1 version lower than kube binary",
43-
appsEmulationVer: version.MajorMinor(1, 1),
43+
appsEmulationVer: version.MajorMinor(1, 1),
4444
expectedKubeEmulationVer: defaultKubeEffectiveVersion.BinaryVersion().OffsetMinor(-1),
4545
},
4646
{
4747
desc: "2 versions lower than kube binary",
48-
appsEmulationVer: version.MajorMinor(1, 0),
48+
appsEmulationVer: version.MajorMinor(1, 0),
4949
expectedKubeEmulationVer: defaultKubeEffectiveVersion.BinaryVersion().OffsetMinor(-2),
5050
},
5151
{
5252
desc: "capped at kube binary",
53-
appsEmulationVer: version.MajorMinor(1, 3),
53+
appsEmulationVer: version.MajorMinor(1, 3),
5454
expectedKubeEmulationVer: defaultKubeEffectiveVersion.BinaryVersion(),
5555
},
5656
{
57-
desc: "no mapping",
57+
desc: "no mapping",
5858
appsEmulationVer: version.MajorMinor(2, 10),
5959
},
6060
}

pkg/config/config.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2024 The Cozystack Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
package config
218

319
import (

pkg/generated/applyconfiguration/apps/v1alpha1/application.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/applyconfiguration/apps/v1alpha1/applicationspec.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/applyconfiguration/internal/internal.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/applyconfiguration/utils.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/listers/apps/v1alpha1/application.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/listers/apps/v1alpha1/expansion_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/openapi/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/registry/apps/application/rest.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2024 The Cozystack Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
package application
218

319
import (

pkg/registry/registry.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2024 The Cozystack Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
package registry
218

319
import (

0 commit comments

Comments
 (0)