Documentation ¶
Index ¶
- func GetExpirationValue(object *unstructured.Unstructured, expirationValueField string) (time.Time, error)
- func GetTTLValue(object *unstructured.Unstructured, ttlValueField string) (time.Duration, error)
- func IsExpired(ttl time.Duration, createdAt time.Time) bool
- func NewMetacontroller(mgr controllerruntime.Manager, logger logr.Logger) *metacontroller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExpirationValue ¶
func GetExpirationValue(object *unstructured.Unstructured, expirationValueField string) (time.Time, error)
func GetTTLValue ¶
func GetTTLValue(object *unstructured.Unstructured, ttlValueField string) (time.Duration, error)
func NewMetacontroller ¶
func NewMetacontroller(mgr controllerruntime.Manager, logger logr.Logger) *metacontroller
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.