Versions in this module Expand all Collapse all v0 v0.5.4 Nov 25, 2014 v0.5.3 Nov 24, 2014 v0.5.2 Nov 19, 2014 v0.5.1 Nov 18, 2014 Changes in this version + func ExpandResourceShortcut(resource string) string + func GetClientVersion(w io.Writer) + func GetKubeClient(config *client.Config, matchVersion bool) (*client.Client, error) + func GetVersion(w io.Writer, kubeClient client.Interface) + func LoadClientAuthInfoOrPrompt(path string, r io.Reader) (*clientauth.Info, error) + func SaveNamespaceInfo(path string, ns *NamespaceInfo) error + func WatchLoop(w watch.Interface, printer ResourcePrinter, out io.Writer) + type Describer interface + Describe func(namespace, name string) (output string, err error) + func DescriberFor(kind string, c *client.Client) (Describer, bool) + type HumanReadablePrinter struct + func NewHumanReadablePrinter(noHeaders bool) *HumanReadablePrinter + func (*HumanReadablePrinter) IsVersioned() bool + func (h *HumanReadablePrinter) Handler(columns []string, printFunc interface{}) error + func (h *HumanReadablePrinter) PrintObj(obj runtime.Object, output io.Writer) error + type JSONPrinter struct + func (*JSONPrinter) IsVersioned() bool + func (j *JSONPrinter) PrintObj(obj runtime.Object, w io.Writer) error + type MinionDescriber struct + func (d *MinionDescriber) Describe(namespace, name string) (string, error) + type NamespaceInfo struct + Namespace string + func LoadNamespaceInfo(path string) (*NamespaceInfo, error) + type PodDescriber struct + func (d *PodDescriber) Describe(namespace, name string) (string, error) + type ProxyServer struct + Port int + func NewProxyServer(filebase string, cfg *client.Config, port int) (*ProxyServer, error) + func (s *ProxyServer) Serve() error + type RESTClient interface + Delete func() *client.Request + Get func() *client.Request + Post func() *client.Request + Put func() *client.Request + type RESTHelper struct + Codec runtime.Codec + RESTClient RESTClient + Resource string + Versioner runtime.ResourceVersioner + func NewRESTHelper(client RESTClient, mapping *meta.RESTMapping) *RESTHelper + func (m *RESTHelper) Create(namespace string, modify bool, data []byte) error + func (m *RESTHelper) Delete(namespace, name string) error + func (m *RESTHelper) Get(namespace, name string, selector labels.Selector) (runtime.Object, error) + func (m *RESTHelper) Update(namespace, name string, overwrite bool, data []byte) error + func (m *RESTHelper) Watch(namespace, resourceVersion string, ...) (watch.Interface, error) + type ReplicationControllerDescriber struct + func (d *ReplicationControllerDescriber) Describe(namespace, name string) (string, error) + type ResourcePrinter interface + IsVersioned func() bool + PrintObj func(runtime.Object, io.Writer) error + func GetPrinter(version, format, templateFile string, defaultPrinter ResourcePrinter) (ResourcePrinter, error) + type ServiceDescriber struct + func (d *ServiceDescriber) Describe(namespace, name string) (string, error) + type TemplatePrinter struct + func NewTemplatePrinter(version string, tmpl []byte) (*TemplatePrinter, error) + func (*TemplatePrinter) IsVersioned() bool + func (t *TemplatePrinter) PrintObj(obj runtime.Object, w io.Writer) error + type YAMLPrinter struct + func (*YAMLPrinter) IsVersioned() bool + func (y *YAMLPrinter) PrintObj(obj runtime.Object, w io.Writer) error