Documentation
¶
Index ¶
- func GetInformerFiltered[T runtime.Object](c ClientGetter, opts ktypes.InformerOptions, gvr schema.GroupVersionResource) informerfactory.StartableInformer
- func GetInformerFilteredFromGVR(c ClientGetter, opts ktypes.InformerOptions, g schema.GroupVersionResource) informerfactory.StartableInformer
- func GetWriteClient[T runtime.Object](c ClientGetter, namespace string) ktypes.WriteAPI[T]
- type ClientGetter
- type TypeRegistration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInformerFiltered ¶
func GetInformerFiltered[T runtime.Object]( c ClientGetter, opts ktypes.InformerOptions, gvr schema.GroupVersionResource, ) informerfactory.StartableInformer
func GetInformerFilteredFromGVR ¶
func GetInformerFilteredFromGVR(c ClientGetter, opts ktypes.InformerOptions, g schema.GroupVersionResource) informerfactory.StartableInformer
func GetWriteClient ¶
Types ¶
type ClientGetter ¶
type ClientGetter interface {
// Ext returns the API extensions client.
Ext() kubeext.Interface
// Kube returns the core kube client
Kube() kubernetes.Interface
// Dynamic client.
Dynamic() dynamic.Interface
// Metadata returns the Metadata kube client.
Metadata() metadata.Interface
// Informers returns an informer factory.
Informers() informerfactory.InformerFactory
}
type TypeRegistration ¶
type TypeRegistration[T runtime.Object] interface { kubetypes.RegisterType[T] // ListWatchFunc provides the necessary methods for list and // watch for the informer ListWatch(c ClientGetter, opts ktypes.InformerOptions) cache.ListerWatcher }
Click to show internal directories.
Click to hide internal directories.