leaserenewing

package
v0.0.0-...-20d847b Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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