internal

package
v0.0.0-...-67aceb4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 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, remoteNamespace string) cache.Options

func GetResourceLabel

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

func ManifestRateLimiter

func ManifestRateLimiter(
	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)

Directories

Path Synopsis
controller
declarative
v2
v2/mock
Code generated by MockGen.
Code generated by MockGen.
descriptor
img
pkg
util

Jump to

Keyboard shortcuts

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