Documentation ¶
Overview ¶
Package scaffolds contains libraries for scaffolding code to use with controller-runtime
Index ¶
- Constants
- func NewAPIScaffolder(config config.Config, res resource.Resource, force bool) plugins.Scaffolder
- func NewEditScaffolder(config config.Config, multigroup bool) plugins.Scaffolder
- func NewInitScaffolder(config config.Config, license, owner string) plugins.Scaffolder
- func NewWebhookScaffolder(config config.Config, resource resource.Resource, force bool) plugins.Scaffolder
Constants ¶
View Source
const ( // ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project ControllerRuntimeVersion = "v0.17.3" // ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project ControllerToolsVersion = "v0.14.0" // EnvtestK8SVersion is the k8s version used to do the scaffold EnvtestK8SVersion = "1.29.0" )
Variables ¶
This section is empty.
Functions ¶
func NewAPIScaffolder ¶
NewAPIScaffolder returns a new Scaffolder for API/controller creation operations
func NewEditScaffolder ¶
func NewEditScaffolder(config config.Config, multigroup bool) plugins.Scaffolder
NewEditScaffolder returns a new Scaffolder for configuration edit operations
func NewInitScaffolder ¶
func NewInitScaffolder(config config.Config, license, owner string) plugins.Scaffolder
NewInitScaffolder returns a new Scaffolder for project initialization operations
func NewWebhookScaffolder ¶
func NewWebhookScaffolder(config config.Config, resource resource.Resource, force bool) plugins.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.