internal

package
v0.0.0-...-d6154db Latest Latest
Warning

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

Go to latest
Published: Apr 26, 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,
) ratelimiter.RateLimiter

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
declarative
v2
v2/mock
Code generated by MockGen.
Code generated by MockGen.
descriptor
pkg

Jump to

Keyboard shortcuts

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