Documentation ¶
Index ¶
- type REST
- func (r *REST) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (r *REST) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, ...) (runtime.Object, bool, error)
- func (r *REST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *REST) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
- func (r *REST) Patch(ctx context.Context, pi application.PatchInfo) (runtime.Object, error)
- func (r *REST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
- func (r *REST) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct { *genericregistry.Store *application.Agent }
REST implements a RESTStorage for all resource against imitator.
func (*REST) List ¶
func (r *REST) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
func (*REST) Update ¶
func (r *REST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
func (*REST) Watch ¶
func (r *REST) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.