From 495112b01f9eada880f8611466723c5b88732c6e Mon Sep 17 00:00:00 2001 From: Yan0613 Date: Fri, 11 Oct 2024 10:13:39 +0800 Subject: [PATCH] add lisence --- .gitignore | 4 +++- pkg/xds/generator/admin_proxy_generator.go | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 08c1ddbd..49e78643 100644 --- a/.gitignore +++ b/.gitignore @@ -43,4 +43,6 @@ coverage.txt bin/ build/ -vendor/ \ No newline at end of file +vendor/ + +dockercompose.yaml \ No newline at end of file diff --git a/pkg/xds/generator/admin_proxy_generator.go b/pkg/xds/generator/admin_proxy_generator.go index 6759dce9..4b0b3a45 100644 --- a/pkg/xds/generator/admin_proxy_generator.go +++ b/pkg/xds/generator/admin_proxy_generator.go @@ -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. + */ + package generator import (