From 12e668dc1210e9deb4df48a7f1ad6317da1bb79d Mon Sep 17 00:00:00 2001 From: robin Date: Wed, 17 Jul 2024 17:16:16 +0800 Subject: [PATCH] chore: Update license headers --- cdn-s3/i18n/en_US.yaml | 17 +++++++++++++++++ cdn-s3/i18n/translation.go | 19 +++++++++++++++++++ cdn-s3/i18n/zh_CN.yaml | 17 +++++++++++++++++ cdn-s3/s3.go | 19 +++++++++++++++++++ cdn-s3/s3_client.go | 19 +++++++++++++++++++ 5 files changed, 91 insertions(+) diff --git a/cdn-s3/i18n/en_US.yaml b/cdn-s3/i18n/en_US.yaml index 17d5c0bf..f330b5a7 100644 --- a/cdn-s3/i18n/en_US.yaml +++ b/cdn-s3/i18n/en_US.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + plugin: s3_cdn: backend: diff --git a/cdn-s3/i18n/translation.go b/cdn-s3/i18n/translation.go index 8b717998..7451529f 100644 --- a/cdn-s3/i18n/translation.go +++ b/cdn-s3/i18n/translation.go @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 i18n const ( diff --git a/cdn-s3/i18n/zh_CN.yaml b/cdn-s3/i18n/zh_CN.yaml index 737e08b4..47fbc2ad 100644 --- a/cdn-s3/i18n/zh_CN.yaml +++ b/cdn-s3/i18n/zh_CN.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + plugin: s3_cdn: backend: diff --git a/cdn-s3/s3.go b/cdn-s3/s3.go index d9d32d5f..29ab3613 100644 --- a/cdn-s3/s3.go +++ b/cdn-s3/s3.go @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 s3 import ( diff --git a/cdn-s3/s3_client.go b/cdn-s3/s3_client.go index aa290958..a3041143 100644 --- a/cdn-s3/s3_client.go +++ b/cdn-s3/s3_client.go @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 s3 import (