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, label labels.Selector, field fields.Selector) (runtime.Object, error)
- func (r *REST) New() runtime.Object
- func (r *REST) NewList() runtime.Object
Constants ¶
View Source
const EtcdPrefix = "/registry/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(h tools.EtcdHelper) *REST
NewREST returns a RESTStorage object that will work against authorize tokens
Click to show internal directories.
Click to hide internal directories.