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.12.1" // ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project ControllerToolsVersion = "v0.9.0" // KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project // @Deprecated. This information ought to come from kustomize plugin // Note that by updating the following value nothing will change for the go/3 plugin // it is no longer used and it was not removed only because it would be a breaking // change for the API. (api-diff check) // // NOTE: If you want to update the kustomize version used by this plugin // then you need to update it in pkg/plugins/common/kustomize/v1/plugin.go // Todo: we should remove it for the next go/v4 plugin KustomizeVersion = "v3.8.7" )
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.