packages

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericPackageController

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

Generic reconciler for both Package and ClusterPackage objects.

func NewClusterPackageController

func NewClusterPackageController(
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme,
	imagePuller imagePuller,
	metricsRecorder metricsRecorder,
	packageHashModifier *int32,
) *GenericPackageController

func NewPackageController

func NewPackageController(
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme,
	imagePuller imagePuller,
	metricsRecorder metricsRecorder,
	packageHashModifier *int32,
) *GenericPackageController

func (*GenericPackageController) Reconcile

func (c *GenericPackageController) Reconcile(
	ctx context.Context, req ctrl.Request,
) (res ctrl.Result, err error)

func (*GenericPackageController) SetEnvironment

func (c *GenericPackageController) SetEnvironment(env *manifests.PackageEnvironment)

func (*GenericPackageController) SetupWithManager

func (c *GenericPackageController) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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