run

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL