Documentation ¶
Index ¶
- type REST
- func (r *REST) Create(ctx genericapirequest.Context, obj runtime.Object, includeUninitialized bool) (runtime.Object, error)
- func (r *REST) Delete(ctx genericapirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
- func (r *REST) DeleteCollection(ctx genericapirequest.Context, options *metav1.DeleteOptions, ...) (runtime.Object, error)
- func (r *REST) Freeze()
- func (r *REST) Kind() string
- func (r *REST) Update(ctx genericapirequest.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct { *genericregistry.Store // contains filtered or unexported fields }
REST implements a RESTStorage for ThirdPartyResourceData.
func NewREST ¶
func NewREST(optsGetter generic.RESTOptionsGetter, group, kind string) *REST
NewREST returns a registry which will store ThirdPartyResourceData in the given helper
func (*REST) Create ¶ added in v1.7.0
func (r *REST) Create(ctx genericapirequest.Context, obj runtime.Object, includeUninitialized bool) (runtime.Object, error)
Create is a wrapper to support Freeze.
func (*REST) Delete ¶ added in v1.7.0
func (r *REST) Delete(ctx genericapirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
Delete is a wrapper to support Freeze.
func (*REST) DeleteCollection ¶ added in v1.7.0
func (r *REST) DeleteCollection(ctx genericapirequest.Context, options *metav1.DeleteOptions, listOptions *metainternalversion.ListOptions) (runtime.Object, error)
DeleteCollection is a wrapper to support Freeze.
Click to show internal directories.
Click to hide internal directories.