app

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package app provides a sample controller using the rolebinding primitive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleController

type ExampleController struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	Metrics  component.Recorder

	// NewRoleBindingResource is a factory function to create the rolebinding resource.
	// This allows us to inject the resource construction logic.
	NewRoleBindingResource func(*sharedapp.ExampleApp) (component.Resource, error)
}

ExampleController reconciles an ExampleApp object using the component framework.

func (*ExampleController) Reconcile

func (r *ExampleController) Reconcile(ctx context.Context, owner *sharedapp.ExampleApp) error

Reconcile performs the reconciliation for a single ExampleApp.

Jump to

Keyboard shortcuts

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