Skip to content

Commit

Permalink
Merge pull request #599 from frezes/docs/license
Browse files Browse the repository at this point in the history
update license
  • Loading branch information
benjaminhuo authored Sep 11, 2024
2 parents 0a3ec0c + a6f65a5 commit 2d035e4
Show file tree
Hide file tree
Showing 43 changed files with 244 additions and 873 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build-controller-manager.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#
# Copyright 2021 The KubeSphere authors.
# Copyright 2024 the Whizard Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Licensed under Apache License, Version 2.0 with a few additional conditions.
#
# http://www.apache.org/licenses/LICENSE-2.0
# You may obtain a copy of the License at
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
#

name: WorkFlow for Building controller-manager image
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/build-monitoring-agent-proxy.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#
# Copyright 2021 The KubeSphere authors.
# Copyright 2024 the Whizard Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Licensed under Apache License, Version 2.0 with a few additional conditions.
#
# http://www.apache.org/licenses/LICENSE-2.0
# You may obtain a copy of the License at
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
#

name: WorkFlow for Building monitoring-agent-proxy image
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/build-monitoring-block-manager.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#
# Copyright 2021 The KubeSphere authors.
# Copyright 2024 the Whizard Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Licensed under Apache License, Version 2.0 with a few additional conditions.
#
# http://www.apache.org/licenses/LICENSE-2.0
# You may obtain a copy of the License at
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
#

name: WorkFlow for Building monitoring-block-manager image
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/build-monitoring-gateway.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#
# Copyright 2021 The KubeSphere authors.
# Copyright 2024 the Whizard Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Licensed under Apache License, Version 2.0 with a few additional conditions.
#
# http://www.apache.org/licenses/LICENSE-2.0
# You may obtain a copy of the License at
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
#

name: WorkFlow for Building monitoring-gateway image
Expand Down
11 changes: 9 additions & 2 deletions cmd/monitoring-gateway/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
// Copyright (c) The Thanos Authors.
// Licensed under the Apache License 2.0.
/*
Copyright 2024 the Whizard Authors.
Licensed under Apache License, Version 2.0 with a few additional conditions.
You may obtain a copy of the License at
https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
*/

package main

Expand Down
27 changes: 4 additions & 23 deletions hack/boilerplate.go.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
/*
Copyright 2021 The WhizardTelemetry Authors.

This program is free software: you can redistribute it and/or modify
it under the terms of the Server Side Public License, version 1,
as published by MongoDB, Inc.
Copyright 2024 the Whizard Authors.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Server Side Public License for more details.
Licensed under Apache License, Version 2.0 with a few additional conditions.

You should have received a copy of the Server Side Public License
along with this program. If not, see
<http://www.mongodb.com/licensing/server-side-public-license>.
You may obtain a copy of the License at

As a special exception, the copyright holders give permission to link the
code of portions of this program with the OpenSSL library under certain
conditions as described in each individual source file and distribute
linked combinations including the program with the OpenSSL library. You
must comply with the Server Side Public License in all respects for
all of the code used other than as permitted herein. If you modify file(s)
with this exception, you may extend this exception to your version of the
file(s), but you are not obligated to do so. If you do not wish to do so,
delete this exception statement from your version. If you delete this
exception statement from all source files in the program, then also delete
it in the license file.
https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
*/
20 changes: 8 additions & 12 deletions hack/lib/logging.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
#!/usr/bin/env bash

# Copyright 2014 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Copyright 2024 the Whizard Authors.
#
# Licensed under Apache License, Version 2.0 with a few additional conditions.
#
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
#

# Controls verbosity of the script output and logging.
KUBE_VERBOSE="${KUBE_VERBOSE:-5}"
Expand Down
20 changes: 8 additions & 12 deletions hack/lib/util.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
#!/usr/bin/env bash

# Copyright 2014 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Copyright 2024 the Whizard Authors.
#
# Licensed under Apache License, Version 2.0 with a few additional conditions.
#
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
#

function kube::util::sourced_variable {
# Call this function to tell shellcheck that a variable is supposed to
Expand Down
20 changes: 8 additions & 12 deletions hack/update-gofmt.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
#!/usr/bin/env bash

# Copyright 2021 The KubeSphere Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Copyright 2024 the Whizard Authors.
#
# Licensed under Apache License, Version 2.0 with a few additional conditions.
#
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
#

# GoFmt apparently is changing @ head...

Expand Down
20 changes: 8 additions & 12 deletions hack/update-goimports.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
#!/usr/bin/env bash

# Copyright 2020 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Copyright 2024 the Whizard Authors.
#
# Licensed under Apache License, Version 2.0 with a few additional conditions.
#
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
#

set -o errexit
set -o nounset
Expand Down
33 changes: 7 additions & 26 deletions pkg/api/monitoring/v1alpha1/components_types.go
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
/*
Copyright 2021 The WhizardTelemetry Authors.
This program is free software: you can redistribute it and/or modify
it under the terms of the Server Side Public License, version 1,
as published by MongoDB, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Server Side Public License for more details.
You should have received a copy of the Server Side Public License
along with this program. If not, see
<http://www.mongodb.com/licensing/server-side-public-license>.
As a special exception, the copyright holders give permission to link the
code of portions of this program with the OpenSSL library under certain
conditions as described in each individual source file and distribute
linked combinations including the program with the OpenSSL library. You
must comply with the Server Side Public License in all respects for
all of the code used other than as permitted herein. If you modify file(s)
with this exception, you may extend this exception to your version of the
file(s), but you are not obligated to do so. If you do not wish to do so,
delete this exception statement from your version. If you delete this
exception statement from all source files in the program, then also delete
it in the license file.
Copyright 2024 the Whizard Authors.
Licensed under Apache License, Version 2.0 with a few additional conditions.
You may obtain a copy of the License at
https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
*/

package v1alpha1
Expand Down
27 changes: 4 additions & 23 deletions pkg/api/monitoring/v1alpha1/doc.go
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
/*
Copyright 2021 The WhizardTelemetry Authors.
Copyright 2024 the Whizard Authors.
This program is free software: you can redistribute it and/or modify
it under the terms of the Server Side Public License, version 1,
as published by MongoDB, Inc.
Licensed under Apache License, Version 2.0 with a few additional conditions.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Server Side Public License for more details.
You may obtain a copy of the License at
You should have received a copy of the Server Side Public License
along with this program. If not, see
<http://www.mongodb.com/licensing/server-side-public-license>.
As a special exception, the copyright holders give permission to link the
code of portions of this program with the OpenSSL library under certain
conditions as described in each individual source file and distribute
linked combinations including the program with the OpenSSL library. You
must comply with the Server Side Public License in all respects for
all of the code used other than as permitted herein. If you modify file(s)
with this exception, you may extend this exception to your version of the
file(s), but you are not obligated to do so. If you do not wish to do so,
delete this exception statement from your version. If you delete this
exception statement from all source files in the program, then also delete
it in the license file.
https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
*/

// +k8s:deepcopy-gen=package
Expand Down
33 changes: 7 additions & 26 deletions pkg/api/monitoring/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
/*
Copyright 2021 The WhizardTelemetry Authors.
This program is free software: you can redistribute it and/or modify
it under the terms of the Server Side Public License, version 1,
as published by MongoDB, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Server Side Public License for more details.
You should have received a copy of the Server Side Public License
along with this program. If not, see
<http://www.mongodb.com/licensing/server-side-public-license>.
As a special exception, the copyright holders give permission to link the
code of portions of this program with the OpenSSL library under certain
conditions as described in each individual source file and distribute
linked combinations including the program with the OpenSSL library. You
must comply with the Server Side Public License in all respects for
all of the code used other than as permitted herein. If you modify file(s)
with this exception, you may extend this exception to your version of the
file(s), but you are not obligated to do so. If you do not wish to do so,
delete this exception statement from your version. If you delete this
exception statement from all source files in the program, then also delete
it in the license file.
Copyright 2024 the Whizard Authors.
Licensed under Apache License, Version 2.0 with a few additional conditions.
You may obtain a copy of the License at
https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
*/

// Package v1alpha1 contains API Schema definitions for the monitoring v1alpha1 API group
Expand Down
33 changes: 7 additions & 26 deletions pkg/api/monitoring/v1alpha1/service_types.go
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
/*
Copyright 2021 The WhizardTelemetry Authors.
This program is free software: you can redistribute it and/or modify
it under the terms of the Server Side Public License, version 1,
as published by MongoDB, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Server Side Public License for more details.
You should have received a copy of the Server Side Public License
along with this program. If not, see
<http://www.mongodb.com/licensing/server-side-public-license>.
As a special exception, the copyright holders give permission to link the
code of portions of this program with the OpenSSL library under certain
conditions as described in each individual source file and distribute
linked combinations including the program with the OpenSSL library. You
must comply with the Server Side Public License in all respects for
all of the code used other than as permitted herein. If you modify file(s)
with this exception, you may extend this exception to your version of the
file(s), but you are not obligated to do so. If you do not wish to do so,
delete this exception statement from your version. If you delete this
exception statement from all source files in the program, then also delete
it in the license file.
Copyright 2024 the Whizard Authors.
Licensed under Apache License, Version 2.0 with a few additional conditions.
You may obtain a copy of the License at
https://github.com/WhizardTelemetry/whizard/blob/main/LICENSE
*/

package v1alpha1
Expand Down
Loading

0 comments on commit 2d035e4

Please sign in to comment.