Remove dead code from pkg/kubelet/...
This commit is contained in:
@@ -288,13 +288,11 @@ func (f *fakeAuth) Authorize(a authorizer.Attributes) (authorized authorizer.Dec
|
||||
}
|
||||
|
||||
type serverTestFramework struct {
|
||||
serverUnderTest *Server
|
||||
fakeKubelet *fakeKubelet
|
||||
fakeAuth *fakeAuth
|
||||
testHTTPServer *httptest.Server
|
||||
fakeRuntime *fakeRuntime
|
||||
testStreamingHTTPServer *httptest.Server
|
||||
criHandler *utiltesting.FakeHandler
|
||||
serverUnderTest *Server
|
||||
fakeKubelet *fakeKubelet
|
||||
fakeAuth *fakeAuth
|
||||
testHTTPServer *httptest.Server
|
||||
criHandler *utiltesting.FakeHandler
|
||||
}
|
||||
|
||||
func newServerTest() *serverTestFramework {
|
||||
@@ -676,11 +674,6 @@ func assertHealthFails(t *testing.T, httpURL string, expectedErrorCode int) {
|
||||
}
|
||||
}
|
||||
|
||||
type authTestCase struct {
|
||||
Method string
|
||||
Path string
|
||||
}
|
||||
|
||||
// Ensure all registered handlers & services have an associated testcase.
|
||||
func TestAuthzCoverage(t *testing.T) {
|
||||
fw := newServerTest()
|
||||
|
Reference in New Issue
Block a user