- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewControllerDescriptors (0.29 sec)
-
cmd/kube-controller-manager/app/controllermanager_test.go
} } } func TestNewControllerDescriptorsShouldNotPanic(t *testing.T) { NewControllerDescriptors() } func TestNewControllerDescriptorsAlwaysReturnsDescriptorsForAllControllers(t *testing.T) { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, "AllAlpha", false)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.2K bytes - Viewed (0) -
cmd/kube-controller-manager/app/controllermanager.go
func KnownControllers() []string { return sets.StringKeySet(NewControllerDescriptors()).List() } // ControllerAliases returns a mapping of aliases to canonical controller names func ControllerAliases() map[string]string { aliases := map[string]string{} for name, c := range NewControllerDescriptors() { for _, alias := range c.GetAliases() { aliases[alias] = name } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 13:03:53 UTC 2024 - 37.5K bytes - Viewed (0) -
cmd/kube-controller-manager/names/controller_names.go
// This is done to achieve backwards compatibility // // USE CASES // The following places should use the controller name constants, when: // 1. defining a new app.ControllerDescriptor so it can be used in app.NewControllerDescriptors or app.KnownControllers: // 2. used anywhere inside the controller itself: // 2.1. [TODO] logging should use a canonical controller name when referencing a controller (Eg. Starting X, Shutting down X)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 19:25:10 UTC 2024 - 5.7K bytes - Viewed (0)