etcd

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const EtcdPrefix = "/oauth/accesstokens"

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 access tokens against etcd

func NewREST

func NewREST(s storage.Interface, backends ...storage.Interface) *REST

NewREST returns a RESTStorage object that will work against access tokens

func (*REST) Create

func (r *REST) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)

func (*REST) Delete

func (r *REST) Delete(ctx kapi.Context, name string, options *kapi.DeleteOptions) (runtime.Object, error)

func (*REST) Get

func (r *REST) Get(ctx kapi.Context, name string) (runtime.Object, error)

func (*REST) List

func (r *REST) List(ctx kapi.Context, options *kapi.ListOptions) (runtime.Object, error)

func (*REST) New

func (r *REST) New() runtime.Object

func (*REST) NewList

func (r *REST) NewList() runtime.Object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL