Versions in this module Expand all Collapse all v0 v0.4.2 Apr 1, 2015 v0.4.1 Mar 18, 2015 v0.4.0 Mar 12, 2015 Changes in this version + var Generators map[string]Generator = map[string]Generator + func GetClientVersion(w io.Writer) + func GetVersion(w io.Writer, kubeClient client.Interface) + func MakeLabels(labels map[string]string) string + func MakeParams(cmd *cobra.Command, params []GeneratorParam) map[string]string + func ParseLabels(labelString string) map[string]string + func ValidateParams(paramSpec []GeneratorParam, params map[string]string) error + func WatchLoop(w watch.Interface, fn func(watch.Event) error) + type BasicReplicationController struct + func (BasicReplicationController) Generate(params map[string]string) (runtime.Object, error) + func (BasicReplicationController) ParamNames() []GeneratorParam + type Describer interface + Describe func(namespace, name string) (output string, err error) + func DescriberFor(kind string, c *client.Client) (Describer, bool) + type Generator interface + Generate func(params map[string]string) (runtime.Object, error) + ParamNames func() []GeneratorParam + type GeneratorParam struct + Name string + Required bool + type HumanReadablePrinter struct + func NewHumanReadablePrinter(noHeaders bool) *HumanReadablePrinter + func (h *HumanReadablePrinter) Handler(columns []string, printFunc interface{}) error + func (h *HumanReadablePrinter) PrintObj(obj runtime.Object, output io.Writer) error + type JSONPrinter struct + func (p *JSONPrinter) PrintObj(obj runtime.Object, w io.Writer) error + type LimitRangeDescriber struct + func (d *LimitRangeDescriber) Describe(namespace, name string) (string, error) + type MinionDescriber struct + func (d *MinionDescriber) Describe(namespace, name string) (string, error) + type NamespaceInfo struct + Namespace string + type OutputVersionMapper struct + OutputVersion string + func (m OutputVersionMapper) RESTMapping(kind string, versions ...string) (*meta.RESTMapping, error) + type PodDescriber struct + func (d *PodDescriber) Describe(namespace, name string) (string, error) + type PodReaper struct + func (reaper *PodReaper) Stop(namespace, name string) (string, error) + type PreconditionError struct + ActualValue string + ExpectedValue string + Precondition string + func (pe *PreconditionError) Error() string + type ProxyServer struct + func NewProxyServer(filebase string, apiProxyPrefix string, staticPrefix string, ...) (*ProxyServer, error) + func (s *ProxyServer) Serve(port int) error + type RESTClient interface + Delete func() *client.Request + Get func() *client.Request + Post func() *client.Request + Put func() *client.Request + type Reaper interface + Stop func(namespace, name string) (string, error) + func ReaperFor(kind string, c client.Interface) (Reaper, error) + type ReplicationControllerDescriber struct + func (d *ReplicationControllerDescriber) Describe(namespace, name string) (string, error) + type ReplicationControllerReaper struct + func (reaper *ReplicationControllerReaper) Stop(namespace, name string) (string, error) + type ReplicationControllerResizer struct + func (resize *ReplicationControllerResizer) Resize(namespace, name string, preconditions *ResizePrecondition, newSize uint) (string, error) + type ResizePrecondition struct + ResourceVersion string + Size int + func (precondition *ResizePrecondition) Validate(controller *api.ReplicationController) error + type Resizer interface + Resize func(namespace, name string, preconditions *ResizePrecondition, newSize uint) (string, error) + func ResizerFor(kind string, c client.Interface) (Resizer, error) + type ResourcePrinter interface + PrintObj func(runtime.Object, io.Writer) error + func GetPrinter(format, formatArgument string) (ResourcePrinter, bool, error) + func NewVersionedPrinter(printer ResourcePrinter, convertor runtime.ObjectConvertor, version string) ResourcePrinter + type ResourcePrinterFunc func(runtime.Object, io.Writer) error + func (fn ResourcePrinterFunc) PrintObj(obj runtime.Object, w io.Writer) error + type ResourceQuotaDescriber struct + func (d *ResourceQuotaDescriber) Describe(namespace, name string) (string, error) + type RollingUpdater struct + func NewRollingUpdater(namespace string, c client.Interface) *RollingUpdater + func (r *RollingUpdater) Update(out io.Writer, oldRc, newRc *api.ReplicationController, ...) error + type ServiceDescriber struct + func (d *ServiceDescriber) Describe(namespace, name string) (string, error) + type ServiceGenerator struct + func (ServiceGenerator) Generate(params map[string]string) (runtime.Object, error) + func (ServiceGenerator) ParamNames() []GeneratorParam + type ServiceReaper struct + func (reaper *ServiceReaper) Stop(namespace, name string) (string, error) + type ShortcutExpander struct + func (e ShortcutExpander) VersionAndKindForResource(resource string) (defaultVersion, kind string, err error) + type SortableEvents []api.Event + func (list SortableEvents) Len() int + func (list SortableEvents) Less(i, j int) bool + func (list SortableEvents) Swap(i, j int) + type SortableResourceNames []api.ResourceName + func (list SortableResourceNames) Len() int + func (list SortableResourceNames) Less(i, j int) bool + func (list SortableResourceNames) Swap(i, j int) + type TemplatePrinter struct + func NewTemplatePrinter(tmpl []byte) (*TemplatePrinter, error) + func (p *TemplatePrinter) PrintObj(obj runtime.Object, w io.Writer) error + type VersionedPrinter struct + func (p *VersionedPrinter) PrintObj(obj runtime.Object, w io.Writer) error + type YAMLPrinter struct + func (p *YAMLPrinter) PrintObj(obj runtime.Object, w io.Writer) error