status

package
v0.0.0-...-ac820ab Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConditions

func InitConditions(kyma *v1beta2.Kyma, syncEnabled bool, watcherEnabled bool)

InitConditions initializes the required conditions in the Kyma CR.

func SubResourceOpts

func SubResourceOpts(opts ...client.PatchOption) *client.SubResourcePatchOptions

Types

type HelperClient

type HelperClient interface {
	Status() client.StatusWriter
	UpdateMetrics(ctx context.Context, kyma *v1beta2.Kyma)
	IsKymaManaged() bool
}

type KymaHelper

type KymaHelper struct {
	client.StatusWriter
	// contains filtered or unexported fields
}

func Helper

func Helper(handler HelperClient) *KymaHelper

func (*KymaHelper) UpdateStatusForExistingModules

func (k *KymaHelper) UpdateStatusForExistingModules(ctx context.Context,
	kyma *v1beta2.Kyma, newState shared.State, message string,
) error

Jump to

Keyboard shortcuts

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