package etcd

import "k8s.io/kubernetes/pkg/registry/minion/etcd"

Index

Types

type REST

type REST struct {
	*etcdgeneric.Etcd
	// contains filtered or unexported fields
}

func NewStorage

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

NewStorage returns a RESTStorage object that will work against nodes.

func (*REST) ResourceLocation

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.

Source Files

etcd.go

Version
v0.14.0
Published
Mar 30, 2015
Platform
linux/amd64
Imports
12 packages
Last checked
6 seconds ago

Tools for package owners.