docs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: Apache-2.0 Imports: 13 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, Warning, Note string
}

Jump to

Keyboard shortcuts

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