Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ControllerFileName = func(u *model.Universe) string { return filepath.Join("controllers", strings.ToLower(u.Resource.Kind)+"_controller.go") } TypeFileName = func(u *model.Universe) string { return filepath.Join("api", u.Resource.Version, strings.ToLower(u.Resource.Kind)+"_types.go") } MainFileName = func(u *model.Universe) string { return "main.go" } GVInfoFileName = func(u *model.Universe) string { return filepath.Join("api", u.Resource.Version, "groupversion_info.go") } MakefileFileName = func(u *model.Universe) string { return "Makefile" } )
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Attach ¶
func (p *Plugin) Attach(ty types.TemplateType, t *tmpl)
type SetFileName ¶
Click to show internal directories.
Click to hide internal directories.