Documentation ¶
Index ¶
- Variables
- func APIs(g *generate.Generator, templateBasePath string) (*templateset.TemplateSet, error)
- func Controller(g *generate.Generator, templateBasePath string) (*templateset.TemplateSet, error)
- func Release(g *generate.Generator, templateBasePath string, releaseVersion string, ...) (*templateset.TemplateSet, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = config.Config{ PrefixConfig: config.PrefixConfig{ SpecField: ".Spec", StatusField: ".Status", }, IncludeACKMetadata: true, SetManyOutputNotFoundErrReturn: "return nil, ackerr.NotFound", }
DefaultConfig is the default configuration for generating ACK code
Functions ¶
func APIs ¶
func APIs( g *generate.Generator, templateBasePath string, ) (*templateset.TemplateSet, error)
APIs returns a pointer to a TemplateSet containing all the templates for generating ACK service controller's apis/ contents
func Controller ¶
func Controller( g *generate.Generator, templateBasePath string, ) (*templateset.TemplateSet, error)
Controller returns a pointer to a TemplateSet containing all the templates for generating ACK service controller implementations
func Release ¶
func Release( g *generate.Generator, templateBasePath string, releaseVersion string, imageRepository string, serviceAccountName string, ) (*templateset.TemplateSet, error)
Release returns a pointer to a TemplateSet containing all the templates for generating an ACK service controller release (Helm artifacts, etc)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.