status

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenShiftConsoleNamespace = "openshift-console"
	ConsoleName               = "console"
)
View Source
const (
	KnativeLabelKey = "serving.knative.dev/configuration"
	ClientListLimit = 100
)

Variables

This section is empty.

Functions

func CreateStateStatus

func CreateStateStatus(stateStatus *cappv1alpha1.StateStatus, cappStateFromSpec string)

CreateStateStatus changes the state status by identifying changes in the manifest

func SyncStatus

func SyncStatus(ctx context.Context, capp cappv1alpha1.Capp, log logr.Logger, r client.Client, onOpenshift bool, resourceManagers map[string]rmanagers.ResourceManager) error

SyncStatus is the main function that synchronizes the status of the Capp CRD with the Knative service and revisions associated with it. It gets the Capp CRD, builds the ApplicationLinks and RevisionInfo statuses, and updates the status of the Capp CRD if it has changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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