helper

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GarbageCollectionEnabled

func GarbageCollectionEnabled(cache *v1alpha1.RegistryCache) bool

GarbageCollectionEnabled returns whether the garbage collection is enabled for the given cache.

func GetResourceByName added in v0.3.0

func GetResourceByName(resources []core.NamedResourceReference, name string) *core.NamedResourceReference

GetResourceByName returns the first NamedResourceReference with the given name in the given slice, or nil if not found. TODO(dimitar-kostadinov): Drop this func instead of the same helper func in gardener/gardener that was introduced with https://github.com/gardener/gardener/pull/8801.

Types

This section is empty.

Jump to

Keyboard shortcuts

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