statusutils

package
v1.15.32 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStatusClientForNamespace

func GetStatusClientForNamespace(namespace string) resources.StatusClient

func GetStatusClientFromEnvOrDefault

func GetStatusClientFromEnvOrDefault(defaultNamespace string) resources.StatusClient

func GetStatusReporterNamespaceOrDefault

func GetStatusReporterNamespaceOrDefault(defaultNamespace string) string

Types

type HybridStatusClient

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

The HybridStatusClient is used while some resources support namespaced statuses and others (RateLimitConfig) do not

func (*HybridStatusClient) GetStatus

func (h *HybridStatusClient) GetStatus(resource resources.InputResource) *core.Status

func (*HybridStatusClient) SetStatus

func (h *HybridStatusClient) SetStatus(resource resources.InputResource, status *core.Status)

Jump to

Keyboard shortcuts

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