status

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

The status package provides implementations for discovering and updating the CommonStatus on an Addon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAggregator

func NewAggregator(client client.Client) *aggregator

NewAggregator provides an implementation of declarative.Reconciled that aggregates the status of deployed objects to configure the 'Healthy' field on an addon that derives from CommonStatus

func NewBasic

func NewBasic(client client.Client) declarative.Status

NewBasic provides an implementation of declarative.Status that performs no preflight checks.

func NewBasicVersionChecks

func NewBasicVersionChecks(client client.Client, version string) (declarative.Status, error)

NewBasicVersionCheck provides an implementation of declarative.Status that performs version checks for the version of the operator that the manifest requires.

func NewKstatusAgregator

func NewKstatusAgregator(c client.Client, reconciler *declarative.Reconciler) *kstatusAggregator

func NewKstatusCheck

func NewKstatusCheck(client client.Client, d *declarative.Reconciler) declarative.Status

func NewVersionCheck

func NewVersionCheck(client client.Client, operatorVersionString string) (*versionCheck, error)

NewVersionCheck provides an implementation of declarative.Reconciled that checks the version of the operator if it is up to the version required by the manifest

Types

This section is empty.

Jump to

Keyboard shortcuts

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