File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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//
129// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1310// See the License for the specific language governing permissions and
1411// limitations under the License.
12+
1513package translator
1614
1715import (
1816 "fmt"
1917 "strconv"
2018
19+ "github.com/pkg/errors"
20+ k8stypes "k8s.io/apimachinery/pkg/types"
21+
2122 adctypes "github.com/apache/apisix-ingress-controller/api/adc"
2223 v2 "github.com/apache/apisix-ingress-controller/api/v2"
2324 "github.com/apache/apisix-ingress-controller/internal/controller/label"
2425 "github.com/apache/apisix-ingress-controller/internal/provider"
2526 "github.com/apache/apisix-ingress-controller/internal/types"
26- "github.com/pkg/errors"
27- k8stypes "k8s.io/apimachinery/pkg/types"
2827)
2928
3029var (
Original file line number Diff line number Diff line change 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//
8- // http://www.apache.org/licenses/LICENSE-2.0
5+ // http://www.apache.org/licenses/LICENSE-2.0
96//
107// Unless required by applicable law or agreed to in writing, software
118// distributed under the License is distributed on an "AS IS" BASIS,
129// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1310// See the License for the specific language governing permissions and
1411// limitations under the License.
12+
1513package types
1614
1715import (
You can’t perform that action at this time.
0 commit comments