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:
Kris
2015-11-30 14:43:52 -08:00
parent 9d1f07da4e
commit ca7c765f0a
7 changed files with 17 additions and 18 deletions

View File

@@ -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