generator

package
v3.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: Apache-2.0 Imports: 7 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 generates routes from a given set of parameters

func (RouteGenerator) Generate

func (RouteGenerator) Generate(genericParams map[string]interface{}) (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