util

package
v0.0.0-...-f264b1e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOrCreateHubClient

func GetOrCreateHubClient(renew bool, clientScheme *runtime.Scheme) (client.Client, error)

GetOrCreateOCPClient get an existing hub client or create new one if it doesn't exist.

func GetOrCreateOCPClient

func GetOrCreateOCPClient() (ocpClientSet.Interface, error)

GetOrCreateOCPClient get an existing ocp client or create new one if it doesn't exist.

func ReportStatus

func ReportStatus(ctx context.Context, client client.Client, i *oav1beta1.ObservabilityAddon, t string, reportStatus bool)

func SetHubClient

func SetHubClient(c client.Client)

func StartLease

func StartLease()

Types

This section is empty.

Jump to

Keyboard shortcuts

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