Documentation ¶
Index ¶
- func NewREST(client restclient.Interface) utilregistry.NoWatchStorage
- type REST
- func (s *REST) Create(ctx apirequest.Context, obj runtime.Object, _ rest.ValidateObjectFunc, _ bool) (runtime.Object, error)
- func (s *REST) Delete(ctx apirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
- func (s *REST) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (s *REST) List(ctx apirequest.Context, options *metainternal.ListOptions) (runtime.Object, error)
- func (s *REST) New() runtime.Object
- func (s *REST) NewList() runtime.Object
- func (s *REST) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewREST ¶
func NewREST(client restclient.Interface) utilregistry.NoWatchStorage
Types ¶
type REST ¶
type REST struct { rest.TableConvertor // contains filtered or unexported fields }
func (*REST) Delete ¶
func (s *REST) Delete(ctx apirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
func (*REST) Get ¶ added in v0.4.2
func (s *REST) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
func (*REST) List ¶ added in v0.4.2
func (s *REST) List(ctx apirequest.Context, options *metainternal.ListOptions) (runtime.Object, error)
func (*REST) Update ¶
func (s *REST) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo, _ rest.ValidateObjectFunc, _ rest.ValidateObjectUpdateFunc) (runtime.Object, bool, error)
Click to show internal directories.
Click to hide internal directories.