- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SyncFromCluster (0.13 sec)
-
pkg/controller/nodeipam/ipam/sync/sync_test.go
node *v1.Node fake fakeAPIs }{ { desc: "delete", mode: SyncFromCluster, node: nodeWithCIDRRange, }, { desc: "delete without CIDR range", mode: SyncFromCluster, node: nodeWithoutCIDRRange, }, { desc: "delete with invalid CIDR range", mode: SyncFromCluster, node: &v1.Node{ ObjectMeta: metav1.ObjectMeta{Name: "node1"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 23:39:52 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/sync/sync.go
SyncFromCloud NodeSyncMode = "SyncFromCloud" // SyncFromCluster is the mode that synchronizes the IP allocation determined // by the k8s controller to the cloud provider. SyncFromCluster NodeSyncMode = "SyncFromCluster" ) // IsValidMode returns true if the given mode is valid. func IsValidMode(m NodeSyncMode) bool { switch m { case SyncFromCloud: case SyncFromCluster: default: return false } return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 07:50:01 UTC 2023 - 12.6K bytes - Viewed (0)