Documentation
¶
Index ¶
- func Convert(to, from interface{}) error
- type Object
- type ObjectKey
- type Revision
- type Store
- func (s *Store) Close() error
- func (s *Store) Create(ctx context.Context, gvk schema.GroupVersionKind, object client.Object) (runtime.Object, error)
- func (s *Store) Delete(ctx context.Context, gvk schema.GroupVersionKind, namespace, name string, ...) error
- func (s *Store) Get(gvk schema.GroupVersionKind, namespace, name string) client.Object
- func (s *Store) List(gvk schema.GroupVersionKind, namespace string, selector labels.Selector) runtime.Object
- func (s *Store) Start(ctx context.Context, interval time.Duration) error
- func (s *Store) Update(ctx context.Context, gvk schema.GroupVersionKind, obj client.Object, ...) (runtime.Object, error)
- func (s *Store) Watch(gvk schema.GroupVersionKind, emptyObj client.Object, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Object ¶
type Object struct { ObjectKey Version string ResourceVersion string UID types.UID Content []byte Object *unstructured.Unstructured Path string }
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Delete ¶
func (s *Store) Delete(ctx context.Context, gvk schema.GroupVersionKind, namespace, name string, preconditions *metav1.Preconditions) error
Click to show internal directories.
Click to hide internal directories.