From d2332fa2703733c3ee87898ba65d513026e90f67 Mon Sep 17 00:00:00 2001 From: kranurag7 Date: Mon, 22 Jan 2024 16:37:45 +0530 Subject: [PATCH] add boilerplate to new go files Signed-off-by: kranurag7 --- pkg/clusterstack/config.go | 16 ++++++++++++++++ pkg/clusterstack/metadata.go | 16 ++++++++++++++++ pkg/clusterstack/version.go | 16 ++++++++++++++++ pkg/cmd/create.go | 16 ++++++++++++++++ pkg/cmd/root.go | 16 ++++++++++++++++ pkg/git/commit.go | 16 ++++++++++++++++ pkg/github/client/credentials.go | 16 ++++++++++++++++ pkg/github/client/release_download.go | 16 ++++++++++++++++ pkg/github/release.go | 16 ++++++++++++++++ pkg/hash/hash.go | 16 ++++++++++++++++ pkg/template/package.go | 16 ++++++++++++++++ pkg/template/template.go | 16 ++++++++++++++++ 12 files changed, 192 insertions(+) diff --git a/pkg/clusterstack/config.go b/pkg/clusterstack/config.go index 80ae3773..46b4e3e9 100644 --- a/pkg/clusterstack/config.go +++ b/pkg/clusterstack/config.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + // Package clusterstack has necessary function to work on cluster stack. package clusterstack diff --git a/pkg/clusterstack/metadata.go b/pkg/clusterstack/metadata.go index a585208a..1fa0ed30 100644 --- a/pkg/clusterstack/metadata.go +++ b/pkg/clusterstack/metadata.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + package clusterstack import ( diff --git a/pkg/clusterstack/version.go b/pkg/clusterstack/version.go index 4a3db7de..b0aeee0b 100644 --- a/pkg/clusterstack/version.go +++ b/pkg/clusterstack/version.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + package clusterstack import ( diff --git a/pkg/cmd/create.go b/pkg/cmd/create.go index c926241f..0fcf5f83 100644 --- a/pkg/cmd/create.go +++ b/pkg/cmd/create.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + package cmd import ( diff --git a/pkg/cmd/root.go b/pkg/cmd/root.go index 055ef103..1fd041bf 100644 --- a/pkg/cmd/root.go +++ b/pkg/cmd/root.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + // Package cmd implements important functions for command. package cmd diff --git a/pkg/git/commit.go b/pkg/git/commit.go index 6dcfed4f..9f628fd1 100644 --- a/pkg/git/commit.go +++ b/pkg/git/commit.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + // Package git contains important functions regarding git. package git diff --git a/pkg/github/client/credentials.go b/pkg/github/client/credentials.go index 39cfef45..4e8f0125 100644 --- a/pkg/github/client/credentials.go +++ b/pkg/github/client/credentials.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + // Package client implements important functions for github client. package client diff --git a/pkg/github/client/release_download.go b/pkg/github/client/release_download.go index 6bcc9ae2..d4924c68 100644 --- a/pkg/github/client/release_download.go +++ b/pkg/github/client/release_download.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + package client import ( diff --git a/pkg/github/release.go b/pkg/github/release.go index bbbdb80d..ce66b154 100644 --- a/pkg/github/release.go +++ b/pkg/github/release.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + // Package github implements important functions for github client. package github diff --git a/pkg/hash/hash.go b/pkg/hash/hash.go index 15a704b1..95c0f280 100644 --- a/pkg/hash/hash.go +++ b/pkg/hash/hash.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + // Package hash contains important functions of hash. package hash diff --git a/pkg/template/package.go b/pkg/template/package.go index 0dc8fc60..a0248cef 100644 --- a/pkg/template/package.go +++ b/pkg/template/package.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + package template import ( diff --git a/pkg/template/template.go b/pkg/template/template.go index 04818aa4..0a6f53f0 100644 --- a/pkg/template/template.go +++ b/pkg/template/template.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 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. +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. +*/ + // Package template implements important functions for templating. package template