Documentation ¶
Index ¶
- func NewREST(client hivev1client.HiveV1Interface) registry.Storage
- type REST
- func (s *REST) Create(ctx context.Context, obj runtime.Object, _ rest.ValidateObjectFunc, ...) (runtime.Object, error)
- func (s *REST) Delete(ctx context.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
- func (s *REST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (s *REST) List(ctx context.Context, options *metainternal.ListOptions) (runtime.Object, error)
- func (s *REST) NamespaceScoped() bool
- func (s *REST) New() runtime.Object
- func (s *REST) NewList() runtime.Object
- func (s *REST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
- func (s *REST) Watch(ctx context.Context, options *metainternal.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewREST ¶
func NewREST(client hivev1client.HiveV1Interface) registry.Storage
Types ¶
type REST ¶
type REST struct { rest.TableConvertor // contains filtered or unexported fields }
func (*REST) List ¶
func (s *REST) List(ctx context.Context, options *metainternal.ListOptions) (runtime.Object, error)
func (*REST) NamespaceScoped ¶
func (*REST) Update ¶
func (s *REST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, _ rest.ValidateObjectFunc, _ rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
func (*REST) Watch ¶
func (s *REST) Watch(ctx context.Context, options *metainternal.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.