kubernetes: github.com/erimatnor/kubernetes/pkg/registry/minion/etcd Index | Files

package etcd

import "github.com/erimatnor/kubernetes/pkg/registry/minion/etcd"


Package Files


type REST Uses

type REST struct {
    // contains filtered or unexported fields

func NewStorage Uses

func NewStorage(h tools.EtcdHelper, connection client.ConnectionInfoGetter) (*REST, *StatusREST)

NewStorage returns a RESTStorage object that will work against nodes.

func (*REST) ResourceLocation Uses

func (r *REST) ResourceLocation(ctx api.Context, id string) (*url.URL, http.RoundTripper, error)

ResourceLocation returns a URL to which one can send traffic for the specified minion.

type StatusREST Uses

type StatusREST struct {
    // contains filtered or unexported fields

StatusREST implements the REST endpoint for changing the status of a pod.

func (*StatusREST) New Uses

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

func (*StatusREST) Update Uses

func (r *StatusREST) Update(ctx api.Context, obj runtime.Object) (runtime.Object, bool, error)

Update alters the status subset of an object.

Package etcd imports 9 packages (graph). Updated 2017-05-11. Refresh now. Tools for package owners.