mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Remove APIStatus from the client
Everything that used it also depended on pkg/api/errors. It was a needless abstraction since it was always an *errors.StatusError.
This commit is contained in:
@@ -120,12 +120,6 @@ type VersionInterface interface {
|
||||
ServerAPIVersions() (*unversioned.APIVersions, error)
|
||||
}
|
||||
|
||||
// APIStatus is exposed by errors that can be converted to an api.Status object
|
||||
// for finer grained details.
|
||||
type APIStatus interface {
|
||||
Status() unversioned.Status
|
||||
}
|
||||
|
||||
// Client is the implementation of a Kubernetes client.
|
||||
type Client struct {
|
||||
*RESTClient
|
||||
|
||||
Reference in New Issue
Block a user