Documentation ¶
Overview ¶
Package scaffolds contains libraries for scaffolding code to use with controller-runtime
Index ¶
- Constants
- func NewAPIScaffolder(config config.Config, boilerplate string, res resource.Resource, force bool, ...) cmdutil.Scaffolder
- func NewEditScaffolder(config config.Config, multigroup bool) cmdutil.Scaffolder
- func NewInitScaffolder(config config.Config, license, owner string) cmdutil.Scaffolder
- func NewWebhookScaffolder(config config.Config, boilerplate string, resource resource.Resource) cmdutil.Scaffolder
Constants ¶
View Source
const ( // ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project ControllerRuntimeVersion = "v0.6.4" // ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project ControllerToolsVersion = "v0.3.0" // KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project KustomizeVersion = "v3.5.4" )
View Source
const KbDeclarativePattern = "v0.0.0-20200522144838-848d48e5b073"
KbDeclarativePattern is the sigs.k8s.io/kubebuilder-declarative-pattern version (used only to gen api with --pattern=addon)
Variables ¶
This section is empty.
Functions ¶
func NewAPIScaffolder ¶
func NewAPIScaffolder( config config.Config, boilerplate string, res resource.Resource, force bool, plugins []model.Plugin, ) cmdutil.Scaffolder
NewAPIScaffolder returns a new Scaffolder for API/controller creation operations
func NewEditScaffolder ¶
func NewEditScaffolder(config config.Config, multigroup bool) cmdutil.Scaffolder
NewEditScaffolder returns a new Scaffolder for configuration edit operations
func NewInitScaffolder ¶
func NewInitScaffolder(config config.Config, license, owner string) cmdutil.Scaffolder
NewInitScaffolder returns a new Scaffolder for project initialization operations
func NewWebhookScaffolder ¶
func NewWebhookScaffolder( config config.Config, boilerplate string, resource resource.Resource, ) cmdutil.Scaffolder
NewWebhookScaffolder returns a new Scaffolder for v2 webhook creation operations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.