Revision e6f34c3c98fe2e247fde581746e552d8cb18c33c authored by André Martins on 16 June 2021, 00:26:40 UTC, committed by André Martins on 16 June 2021, 00:40:51 UTC
Signed-off-by: André Martins <andre@cilium.io>
1 parent 435c9aa
provider_operator_register.go
// Copyright 2017-2020 Authors of Cilium
//
// 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.
//+build ipam_provider_operator
package main
import (
// These dependencies should be included only when this file is included in the build.
"github.com/cilium/cilium/pkg/ipam/allocator/clusterpool"
ipamOption "github.com/cilium/cilium/pkg/ipam/option"
)
func init() {
allocatorProviders[ipamOption.IPAMClusterPool] = &clusterpool.AllocatorOperator{}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...