Documentation ¶
Index ¶
- Constants
- func GetCacheOptions(isKymaManaged bool, istioNamespace, kcpNamespace, remoteNamespace string) cache.Options
- func GetResourceLabel(resource client.Object, labelName string) (string, error)
- func ManifestRateLimiter(failureBaseDelay time.Duration, failureMaxDelay time.Duration, frequency int, ...) workqueue.TypedRateLimiter[ctrl.Request]
- type CacheOptions
- type DefaultCacheOptions
- type KcpCacheOptions
- type ManifestResources
Constants ¶
View Source
const ( DebugLogLevel = 2 TraceLogLevel = 3 )
Variables ¶
This section is empty.
Functions ¶
func GetCacheOptions ¶
func GetResourceLabel ¶
Types ¶
type CacheOptions ¶
type DefaultCacheOptions ¶
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)
Click to show internal directories.
Click to hide internal directories.