status

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

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