Documentation ¶
Index ¶
- func ExampleHandlerProvider(s *runtime.Scheme, _ genericregistry.RESTOptionsGetter) (regsitryrest.Storage, error)
- type ExampleHandler
- func (e ExampleHandler) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (e ExampleHandler) Destroy()
- func (e ExampleHandler) Get(ctx context.Context, name string, options *v1.GetOptions) (runtime.Object, error)
- func (e ExampleHandler) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)
- func (e ExampleHandler) New() runtime.Object
- func (e ExampleHandler) NewList() runtime.Object
- func (e ExampleHandler) Update(ctx context.Context, name string, objInfo regsitryrest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExampleHandlerProvider ¶
func ExampleHandlerProvider(s *runtime.Scheme, _ genericregistry.RESTOptionsGetter) (regsitryrest.Storage, error)
Types ¶
type ExampleHandler ¶
type ExampleHandler struct {
builder.DefaultStrategy
}
func (ExampleHandler) Create ¶
func (e ExampleHandler) Create(ctx context.Context, obj runtime.Object, createValidation regsitryrest.ValidateObjectFunc, options *v1.CreateOptions) (runtime.Object, error)
func (ExampleHandler) Destroy ¶
func (e ExampleHandler) Destroy()
func (ExampleHandler) Get ¶
func (e ExampleHandler) Get(ctx context.Context, name string, options *v1.GetOptions) (runtime.Object, error)
func (ExampleHandler) List ¶
func (e ExampleHandler) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)
func (ExampleHandler) New ¶
func (e ExampleHandler) New() runtime.Object
func (ExampleHandler) NewList ¶
func (e ExampleHandler) NewList() runtime.Object
func (ExampleHandler) Update ¶
func (e ExampleHandler) Update( ctx context.Context, name string, objInfo regsitryrest.UpdatedObjectInfo, createValidation regsitryrest.ValidateObjectFunc, updateValidation regsitryrest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *v1.UpdateOptions) (runtime.Object, bool, error)
Click to show internal directories.
Click to hide internal directories.