Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLeaseRenewingResolver ¶
func NewLeaseRenewingResolver[TNamespace LeaseRenewingNamespace[TReference], TReference, TLease any](tagStore tag.Store[TNamespace, TReference, TLease], objectUploader object.Uploader[TReference, TLease]) tag.Resolver[TNamespace]
NewLeaseRenewingResolver creates a decorator for tag.Resolver that attempts to reobtain leases for tags that reference objects for which the lease is expired or missing. Upon success, the tag is updated to use the new lease.
Types ¶
type LeaseRenewingNamespace ¶
type LeaseRenewingNamespace[TReference any] interface { WithLocalReference(localReference object.LocalReference) TReference }
Click to show internal directories.
Click to hide internal directories.