package
99.0.0+incompatible
Repository: https://github.com/poy/knative-pkg.git
Documentation: pkg.go.dev
# Functions
AsStructuredWatcher is public for testing only.
ConformsToType will return true or false depending on whether a concrete resource properly implements the provided Implementable duck type.
No description provided by the author
No description provided by the author
FromUnstructured takes unstructured object from (say from client-go/dynamic) and converts it into our duck types.
NewProxyWatcher creates new proxyWatcher by wrapping a channel.
VerifyType verifies that a particular concrete resource properly implements the provided Implementable duck type.
# Constants
No description provided by the author
# Structs
CachedInformerFactory implements InformerFactory by delegating to another InformerFactory, but memoizing the results.
EnqueueInformerFactory implements InformerFactory by delegating to another InformerFactory, but attaching a ResourceEventHandler to the informer.
TypedInformerFactory implements InformerFactory such that the elements tracked by the informer/lister have the type of the canonical "obj".
# Interfaces
Implementable is implemented by the Fooable duck type that consumers are expected to embed as a `.status.fooable` field.
InformerFactory is used to create Informer/Lister pairs for a schema.GroupVersionResource.
Marshallable is implementated by the Unstructured K8s types.
Populatable is implemented by a skeleton resource wrapping an Implementable duck type.
# Type aliases
No description provided by the author