- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for serversToValidate (0.24 sec)
-
pkg/registry/core/rest/storage_core.go
storageFactory serverstorage.StorageFactory } func (s componentStatusStorage) serversToValidate() map[string]componentstatus.Server { // this is fragile, which assumes that the default port is being used // TODO: switch to secure port until these components remove the ability to serve insecurely. serversToValidate := map[string]componentstatus.Server{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 19.1K bytes - Viewed (0) -
pkg/registry/core/rest/storage_core_test.go
"k8s.io/apiserver/pkg/server/storage" "k8s.io/apiserver/pkg/storage/storagebackend" ) func TestGetServersToValidate(t *testing.T) { servers := componentStatusStorage{fakeStorageFactory{}}.serversToValidate() if e, a := 3, len(servers); e != a { t.Errorf("expected %v, got %v", e, a) } for _, server := range []string{"scheduler", "controller-manager", "etcd-0"} { if _, ok := servers[server]; !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 13 08:10:29 UTC 2023 - 1.6K bytes - Viewed (0)