Documentation ¶
Index ¶
- Constants
- type REST
- func (r *REST) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)
- func (r *REST) Delete(ctx kapi.Context, name string, options *kapi.DeleteOptions) (runtime.Object, error)
- func (r *REST) Get(ctx kapi.Context, name string) (runtime.Object, error)
- func (r *REST) List(ctx kapi.Context, options *kapi.ListOptions) (runtime.Object, error)
- func (r *REST) New() runtime.Object
- func (r *REST) NewList() runtime.Object
Constants ¶
View Source
const EtcdPrefix = "/oauth/authorizetokens"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
rest implements a RESTStorage for authorize tokens against etcd
func NewREST ¶
func NewREST(s storage.Interface, clientGetter oauthclient.Getter, backends ...storage.Interface) *REST
NewREST returns a RESTStorage object that will work against authorize tokens
Click to show internal directories.
Click to hide internal directories.