-
Notifications
You must be signed in to change notification settings - Fork 2.8k
/
option.go
35 lines (27 loc) · 943 Bytes
/
option.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 Authors of Cilium
package option
const (
// IPAMKubernetes is the value to select the Kubernetes PodCIDR based
// hostscope IPAM mode
IPAMKubernetes = "kubernetes"
// IPAMCRD is the value to select the CRD-backed IPAM plugin for
// option.IPAM
IPAMCRD = "crd"
// IPAMENI is the value to select the AWS ENI IPAM plugin for option.IPAM
IPAMENI = "eni"
// IPAMAzure is the value to select the Azure IPAM plugin for
// option.IPAM
IPAMAzure = "azure"
// IPAMClusterPool is the value to select the cluster pool mode for
// option.IPAM
IPAMClusterPool = "cluster-pool"
// IPAMAlibabaCloud is the value to select the AlibabaCloud ENI IPAM plugin for option.IPAM
IPAMAlibabaCloud = "alibabacloud"
)
const (
IPAMMarkForRelease = "marked-for-release"
IPAMReadyForRelease = "ready-for-release"
IPAMDoNotRelease = "do-not-release"
IPAMReleased = "released"
)