docs

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDocs

func AddDocs(cmd *cobra.Command)

func GetDocs

func GetDocs() *cobra.Command

func RunCleanDocs

func RunCleanDocs(cmd *cobra.Command, args []string)

func RunDocs

func RunDocs(cmd *cobra.Command, args []string)

Types

type Category

type Category struct {
	Name      string
	Include   string
	Resources []Resource
}

type CodeGenerator

type CodeGenerator struct{}

CodeGenerator generates code for Kubernetes resources and controllers

func (CodeGenerator) Execute

func (g CodeGenerator) Execute(dir string) error

Execute parses packages and executes the code generators against the resource and controller packages

type ConfigArgs

type ConfigArgs struct {
	Groups     []string
	Categories []Category
}

type Resource

type Resource struct {
	Kind, Version, Group string
}

Jump to

Keyboard shortcuts

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