status_utils

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Overview

This is a Go package that contains functions for synchronizing the status of a custom resource definition (CRD) called Capp with the status of the Knative service and revisions associated with it. The SyncStatus function is the main function that orchestrates the synchronization process.

Index

Constants

View Source
const (
	KnativeLabelKey = "serving.knative.dev/configuration"
)

Variables

This section is empty.

Functions

func SyncStatus

func SyncStatus(ctx context.Context, capp rcsv1alpha1.Capp, log logr.Logger, r client.Client, onOpenshift bool) error

This 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