Help us shape the future of Go! Take the 2026 Go Developer Survey

etcd

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	*etcdgeneric.Etcd
}

REST implements a RESTStorage for templates against etcd

func NewREST

func NewREST(s storage.Interface) *REST

NewREST returns a RESTStorage object that will work against templates.

func (*REST) List

func (r *REST) List(ctx kapi.Context, label labels.Selector, field fields.Selector) (runtime.Object, error)

List obtains a list of templates with labels that match selector.

func (*REST) New

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

New returns a new object

func (*REST) NewList

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

NewList returns a new list object

func (*REST) Watch

func (r *REST) Watch(ctx kapi.Context, label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error)

Watch begins watching for new, changed, or deleted templates.

Source Files

  • etcd.go

Jump to

Keyboard shortcuts

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