internal

package
v0.0.0-...-79a9fc1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugLogLevel = 2
	TraceLogLevel = 3
)

Variables

This section is empty.

Functions

func GetCacheOptions

func GetCacheOptions(isKymaManaged bool, istioNamespace, kcpNamespace string) cache.Options

func GetResourceLabel

func GetResourceLabel(resource client.Object, labelName string) (string, error)

func RateLimiter

func RateLimiter(
	failureBaseDelay time.Duration, failureMaxDelay time.Duration,
	frequency int, burst int,
) workqueue.TypedRateLimiter[ctrl.Request]

Types

type CacheOptions

type CacheOptions interface {
	GetCacheOptions() cache.Options
}

type DefaultCacheOptions

type DefaultCacheOptions struct {
	CacheOptions cache.Options
}

func (*DefaultCacheOptions) GetCacheOptions

func (c *DefaultCacheOptions) GetCacheOptions() cache.Options

type KcpCacheOptions

type KcpCacheOptions struct {
	CacheOptions cache.Options
	// contains filtered or unexported fields
}

func (*KcpCacheOptions) GetCacheOptions

func (c *KcpCacheOptions) GetCacheOptions() cache.Options

type ManifestResources

type ManifestResources struct {
	Items []*unstructured.Unstructured
}

ManifestResources holds a collection of objects, so that we can filter / sequence them.

func ParseManifestToObjects

func ParseManifestToObjects(path string) (ManifestResources, error)

Jump to

Keyboard shortcuts

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