Add verbs to APIResource for discovery

This commit is contained in:
Dr. Stefan Schimanski
2016-11-16 19:26:56 +01:00
committed by Dr. Stefan Schimanski
parent 7d1a7eae50
commit 0301487de0
4 changed files with 162 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ type Attributes interface {
// GetUser returns the user.Info object to authorize
GetUser() user.Info
// GetVerb returns the kube verb associated with API requests (this includes get, list, watch, create, update, patch, delete, and proxy),
// GetVerb returns the kube verb associated with API requests (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy),
// or the lowercased HTTP verb associated with non-API requests (this includes get, put, post, patch, and delete)
GetVerb() string