Skip to content

Commit 034441d

Browse files
committed
license header
1 parent 669b422 commit 034441d

File tree

6 files changed

+48
-20
lines changed

6 files changed

+48
-20
lines changed

internal/provider/adc/cache/cache.go

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
// Licensed to the Apache Software Foundation (ASF) under one or more
2-
// contributor license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright ownership.
4-
// The ASF licenses this file to You under the Apache License, Version 2.0
5-
// (the "License"); you may not use this file except in compliance with
6-
// the License. You may obtain a copy of the License at
1+
// Licensed under the Apache License, Version 2.0 (the "License");
2+
// you may not use this file except in compliance with the License.
3+
// You may obtain a copy of the License at
74
//
85
// http://www.apache.org/licenses/LICENSE-2.0
96
//

internal/provider/adc/cache/indexer.go

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

315
import (

internal/provider/adc/cache/memdb.go

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
// Licensed to the Apache Software Foundation (ASF) under one or more
2-
// contributor license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright ownership.
4-
// The ASF licenses this file to You under the Apache License, Version 2.0
5-
// (the "License"); you may not use this file except in compliance with
6-
// the License. You may obtain a copy of the License at
1+
// Licensed under the Apache License, Version 2.0 (the "License");
2+
// you may not use this file except in compliance with the License.
3+
// You may obtain a copy of the License at
74
//
85
// http://www.apache.org/licenses/LICENSE-2.0
96
//
@@ -18,10 +15,11 @@ package cache
1815
import (
1916
"errors"
2017

21-
"github.com/api7/gopkg/pkg/log"
2218
"github.com/hashicorp/go-memdb"
2319
"go.uber.org/zap"
2420

21+
"github.com/api7/gopkg/pkg/log"
22+
2523
types "github.com/api7/api7-ingress-controller/api/adc"
2624
)
2725

internal/provider/adc/cache/noop_db.go

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

315
import (

internal/provider/adc/cache/schema.go

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
// Licensed to the Apache Software Foundation (ASF) under one or more
2-
// contributor license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright ownership.
4-
// The ASF licenses this file to You under the Apache License, Version 2.0
5-
// (the "License"); you may not use this file except in compliance with
6-
// the License. You may obtain a copy of the License at
1+
// Licensed under the Apache License, Version 2.0 (the "License");
2+
// you may not use this file except in compliance with the License.
3+
// You may obtain a copy of the License at
74
//
85
// http://www.apache.org/licenses/LICENSE-2.0
96
//

internal/provider/adc/store.go

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

315
import (
@@ -6,7 +18,7 @@ import (
618
"github.com/api7/gopkg/pkg/log"
719

820
adctypes "github.com/api7/api7-ingress-controller/api/adc"
9-
label "github.com/api7/api7-ingress-controller/internal/controller/label"
21+
"github.com/api7/api7-ingress-controller/internal/controller/label"
1022
"github.com/api7/api7-ingress-controller/internal/provider/adc/cache"
1123
)
1224

0 commit comments

Comments
 (0)