status

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusControllerReconciler

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

func NewStatusControllerReconciler

func NewStatusControllerReconciler(client client.Client, opts ...StatusControllerReconcilerOption) (*StatusControllerReconciler, error)

Grabbing namespace/name needs to be an option

func (*StatusControllerReconciler) Reconcile

Utilize info gathered from SetupWithManager to perform logic against

func (*StatusControllerReconciler) SetupWithManager

func (r *StatusControllerReconciler) SetupWithManager(mgr ctrl.Manager) error

Watch reference addon actions to trigger addon instance

type StatusControllerReconcilerConfig

type StatusControllerReconcilerConfig struct {
	Log logr.Logger

	AddonInstanceNamespace  string
	AddonInstanceName       string
	ReferenceAddonNamespace string
	ReferenceAddonName      string
	HeartBeatInterval       time.Duration
}

func (*StatusControllerReconcilerConfig) Default

func (c *StatusControllerReconcilerConfig) Default()

func (*StatusControllerReconcilerConfig) Option

Status controller option

type StatusControllerReconcilerOption

type StatusControllerReconcilerOption interface {
	ConfigureStatusControllerReconciler(*StatusControllerReconcilerConfig)
}

type WithAddonInstanceName

type WithAddonInstanceName string

func (WithAddonInstanceName) ConfigureStatusControllerReconciler

func (w WithAddonInstanceName) ConfigureStatusControllerReconciler(c *StatusControllerReconcilerConfig)

type WithAddonInstanceNamespace

type WithAddonInstanceNamespace string

func (WithAddonInstanceNamespace) ConfigureStatusControllerReconciler

func (w WithAddonInstanceNamespace) ConfigureStatusControllerReconciler(c *StatusControllerReconcilerConfig)

type WithHeartbeatInterval

type WithHeartbeatInterval time.Duration

func (WithHeartbeatInterval) ConfigureStatusControllerReconciler

func (w WithHeartbeatInterval) ConfigureStatusControllerReconciler(c *StatusControllerReconcilerConfig)

type WithLog

type WithLog struct{ Log logr.Logger }

func (WithLog) ConfigureStatusControllerReconciler

func (w WithLog) ConfigureStatusControllerReconciler(c *StatusControllerReconcilerConfig)

type WithReferenceAddonName

type WithReferenceAddonName string

func (WithReferenceAddonName) ConfigureStatusControllerReconciler

func (w WithReferenceAddonName) ConfigureStatusControllerReconciler(c *StatusControllerReconcilerConfig)

type WithReferenceAddonNamespace

type WithReferenceAddonNamespace string

func (WithReferenceAddonNamespace) ConfigureStatusControllerReconciler

func (w WithReferenceAddonNamespace) ConfigureStatusControllerReconciler(c *StatusControllerReconcilerConfig)

Jump to

Keyboard shortcuts

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