Implement new Destroy() interface from rest.Storage from Kube v1.25
This commit is contained in:
parent
fe083f73fc
commit
03694d78a8
@ -1,4 +1,4 @@
|
||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
||||
// Copyright 2020-2022 the Pinniped contributors. All Rights Reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package credentialrequest provides REST functionality for the CredentialRequest resource.
|
||||
@ -59,6 +59,8 @@ func (*REST) New() runtime.Object {
|
||||
return &loginapi.TokenCredentialRequest{}
|
||||
}
|
||||
|
||||
func (*REST) Destroy() {}
|
||||
|
||||
func (*REST) NewList() runtime.Object {
|
||||
return &loginapi.TokenCredentialRequestList{}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2021 the Pinniped contributors. All Rights Reserved.
|
||||
// Copyright 2021-2022 the Pinniped contributors. All Rights Reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package whoamirequest
|
||||
@ -45,6 +45,8 @@ func (*REST) New() runtime.Object {
|
||||
return &identityapi.WhoAmIRequest{}
|
||||
}
|
||||
|
||||
func (*REST) Destroy() {}
|
||||
|
||||
func (*REST) NewList() runtime.Object {
|
||||
return &identityapi.WhoAmIRequestList{}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user