generator

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package generator implements the Generator interface for routes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteGenerator

type RouteGenerator struct{}

RouteGenerator implements the kubectl.Generator interface for routes

func (RouteGenerator) Generate

func (RouteGenerator) Generate(params map[string]string) (runtime.Object, error)

Generate accepts a set of parameters and maps them into a new route

func (RouteGenerator) ParamNames

func (RouteGenerator) ParamNames() []kubectl.GeneratorParam

ParamNames returns the parameters required for generating a route

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL