Revision d75aa385a9fee027b9d35f96e63e5f78c12c8f50 authored by Martynas Pumputis on 22 November 2021, 19:12:17 UTC, committed by Martynas Pumputis on 23 November 2021, 15:36:25 UTC
Signed-off-by: Martynas Pumputis <m@lambda.lt>
1 parent ef1068f
Raw File
provider_aws_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_aws

package main

import (
	// These dependencies should be included only when this file is included in the build.
	allocatorAWS "github.com/cilium/cilium/pkg/ipam/allocator/aws" // AWS allocator.
	ipamOption "github.com/cilium/cilium/pkg/ipam/option"
	_ "github.com/cilium/cilium/pkg/policy/groups/aws" // Register AWS policy group provider.
)

func init() {
	allocatorProviders[ipamOption.IPAMENI] = &allocatorAWS.AllocatorAWS{}
}
back to top