imagestreamtagwrapper

package
v0.0.0-...-553eb6d Latest Latest
Warning

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

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

Documentation

Overview

Package imagestreamtagwrapper implements a wrapper for a ctrlruntimeclient that assembles imagestreamtags client-side by fetching the corresponding imagestream and image(s).

It is a workaround to get a caching client for imagestreamtags even though they do not support the watch verb (xref https://github.com/openshift/api/issues/601).

Note that this still does not allow to get informers for imagestreamtags. Reacting to iamgestreamtags can be achieved by reacting to imagestreams and then enqueue all referenced tags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew

MustNew panics when there was an error during initialisation

func New

New returns a new imagestreamtagwrapper. Only use with a caching client as upstream, as it has to fetch multiple objects in order to construct an imagestreamtag, which is more expensive than just getting it directly when not using a cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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