- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewUnauthorized (4.84 sec)
-
cmd/kubeadm/app/phases/bootstraptoken/clusterinfo/clusterinfo_test.go
true, apierrors.NewAlreadyExists(schema.GroupResource{Resource: "configmaps"}, "test"), true, }, { "unexpected error should be returned", true, apierrors.NewUnauthorized("go away!"), true, }, { "if the file does not exist, return error", false, nil, true, }, } servers := []struct { Server string }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/proxy/proxy_test.go
switch tc.simError { case ServiceAccountError: client.PrependReactor("create", "serviceaccounts", func(action core.Action) (bool, runtime.Object, error) { return true, nil, apierrors.NewUnauthorized("") }) case InvalidControlPlaneEndpoint: initConfiguration.LocalAPIEndpoint.AdvertiseAddress = "1.2.3" case IPv6SetBindAddress: initConfiguration.LocalAPIEndpoint.AdvertiseAddress = "1:2::3:4"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 8.7K bytes - Viewed (0)