Versions in this module Expand all Collapse all v0 v0.5.0 Dec 19, 2024 Changes in this version + type ResourceClientWithMetrics struct + func Wrap(resourceInterface dynamic.ResourceInterface, err error) (ResourceClientWithMetrics, error) + func (r ResourceClientWithMetrics) Create(apiOp *types.APIRequest, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error) + func (r ResourceClientWithMetrics) Delete(apiOp *types.APIRequest, name string, options metav1.DeleteOptions, ...) error + func (r ResourceClientWithMetrics) Get(apiOp *types.APIRequest, name string, options metav1.GetOptions, ...) (*unstructured.Unstructured, error) + func (r ResourceClientWithMetrics) List(apiOp *types.APIRequest, opts metav1.ListOptions) (*unstructured.UnstructuredList, error) + func (r ResourceClientWithMetrics) Patch(apiOp *types.APIRequest, name string, pt k8stypes.PatchType, data []byte, ...) (*unstructured.Unstructured, error) + func (r ResourceClientWithMetrics) Update(apiOp *types.APIRequest, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error) + func (r ResourceClientWithMetrics) Watch(apiOp *types.APIRequest, opts metav1.ListOptions) (watch.Interface, error) + type Store struct + Store types.Store + func NewMetricsStore(store types.Store) *Store + func (s *Store) ByID(apiOp *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error) + func (s *Store) Create(apiOp *types.APIRequest, schema *types.APISchema, data types.APIObject) (types.APIObject, error) + func (s *Store) Delete(apiOp *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error) + func (s *Store) List(apiOp *types.APIRequest, schema *types.APISchema) (types.APIObjectList, error) + func (s *Store) Update(apiOp *types.APIRequest, schema *types.APISchema, data types.APIObject, ...) (types.APIObject, error) + func (s *Store) Watch(apiOp *types.APIRequest, schema *types.APISchema, w types.WatchRequest) (chan types.APIEvent, error)