Documentation ¶
Index ¶
- type CacheRequestMetric
- type ObjectCache
- func (oc *ObjectCache) Close(ctx context.Context) error
- func (oc *ObjectCache) Get(ctx context.Context, object utilobject.VersionedKey) (*unstructured.Unstructured, error)
- func (oc *ObjectCache) Init() error
- func (oc *ObjectCache) Options() manager.Options
- func (oc *ObjectCache) Start(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheRequestMetric ¶
func (*CacheRequestMetric) MetricName ¶
func (*CacheRequestMetric) MetricName() string
type ObjectCache ¶
type ObjectCache struct { Logger logrus.FieldLogger Clock clock.Clock Clients k8s.Clients Metrics metrics.Client DiffCache diffcache.Cache CacheRequestMetric *metrics.Metric[*CacheRequestMetric] // contains filtered or unexported fields }
func (*ObjectCache) Get ¶
func (oc *ObjectCache) Get(ctx context.Context, object utilobject.VersionedKey) (*unstructured.Unstructured, error)
func (*ObjectCache) Init ¶
func (oc *ObjectCache) Init() error
func (*ObjectCache) Options ¶
func (oc *ObjectCache) Options() manager.Options
Click to show internal directories.
Click to hide internal directories.