kubernetes: github.com/CyrusBiotechnology/kubernetes/pkg/registry/node/etcd Index | Files

package etcd

import "github.com/CyrusBiotechnology/kubernetes/pkg/registry/node/etcd"

Index

Package Files

etcd.go

type NodeStorage Uses

type NodeStorage struct {
    Node   *REST
    Status *StatusREST
    Proxy  *noderest.ProxyREST
}

NodeStorage includes storage for nodes and all sub resources

func NewStorage Uses

func NewStorage(opts generic.RESTOptions, connection client.ConnectionInfoGetter, proxyTransport http.RoundTripper) NodeStorage

NewREST returns a RESTStorage object that will work against nodes.

type REST Uses

type REST struct {
    *registry.Store
    // contains filtered or unexported fields
}

func (*REST) GetConnectionInfo Uses

func (c *REST) GetConnectionInfo(ctx api.Context, nodeName string) (string, uint, http.RoundTripper, error)

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 node.

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 12 packages (graph). Updated 2017-04-15. Refresh now. Tools for package owners. This is a quick bug-fix fork (has fewer than three commits, and only during the week it was created).