foo

package
v0.0.0-...-0f541f5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// name of the foo controller finalizer
	FooControllerFinalizerName = "foo.tooklit.firefly.io/finalizer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FooController

type FooController struct {
	// contains filtered or unexported fields
}

func NewFooController

func NewFooController(
	restMapper meta.RESTMapper,
	dynamicClient dynamic.Interface,
	client clientset.Interface,
	karmadaClient karmadaversioned.Interface,
	karmadaFireflyClient fireflyclient.Interface,
	fooInformer toolkitinformers.FooInformer,
	clusterInformer clusterinformers.ClusterInformer,
	workInformer workinformers.WorkInformer) (*FooController, error)

NewFooController returns a new *Controller.

func (*FooController) Run

func (ctrl *FooController) Run(ctx context.Context, workers int)

Run will not return until stopCh is closed. workers determines how many foo will be handled in parallel.

Jump to

Keyboard shortcuts

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