Documentation ¶
Overview ¶
The run package contains initialization dependencies for creating controllers and admission webhooks
Example ¶
package main import ( "github.com/kubernetes-sigs/kubebuilder/pkg/inject/run" ) func main() { // Create arguments for running Controllers var _ = run.CreateRunArguments() }
Output:
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunArguments ¶
type RunArguments struct { // ControllerParallelism is the number of concurrent ReconcileFn routines to run for each GenericController ControllerParallelism int // Stop will shutdown the GenericController when it is closed Stop <-chan struct{} }
RunArguments configures options for running controllers
func CreateRunArguments ¶
func CreateRunArguments() RunArguments
CreateRunArguments returns new run arguments for controllers and admission hooks
Click to show internal directories.
Click to hide internal directories.