clienthelpers

package
v0.1.56 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindCondition

func FindCondition(conditions []metav1.Condition, conditionType string) *metav1.Condition

func UpdateHostedControlPlaneStatusCondition

func UpdateHostedControlPlaneStatusCondition(ctx context.Context, newCondition metav1.Condition, namespace, name, fieldManager string, client hypershiftv1beta1client.HostedControlPlanesGetter) (bool, error)

Types

type HostedControlPlaneStatusReporter

type HostedControlPlaneStatusReporter struct {
	// contains filtered or unexported fields
}

func NewHostedControlPlaneStatusReporter

func NewHostedControlPlaneStatusReporter(name, namespace, rotator string, client hypershiftv1beta1client.HostedControlPlanesGetter) *HostedControlPlaneStatusReporter

func (*HostedControlPlaneStatusReporter) Report

func (h *HostedControlPlaneStatusReporter) Report(ctx context.Context, conditionName string, syncErr error) (updated bool, updateErr error)

Jump to

Keyboard shortcuts

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