Documentation ¶
Index ¶
- type ResourceInfo
- type StandardStorage
- func (r *StandardStorage) Create(ctx apirequest.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (r *StandardStorage) Delete(ctx apirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
- func (r *StandardStorage) DeleteCollection(ctx apirequest.Context, options *metav1.DeleteOptions, ...) (runtime.Object, error)
- func (r *StandardStorage) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *StandardStorage) GroupVersionKind(containingGV schema.GroupVersion) schema.GroupVersionKind
- func (r *StandardStorage) List(ctx apirequest.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
- func (r *StandardStorage) New() runtime.Object
- func (r *StandardStorage) NewList() runtime.Object
- func (r *StandardStorage) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
- func (r *StandardStorage) Watch(ctx apirequest.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceInfo ¶
type ResourceInfo struct {
// contains filtered or unexported fields
}
func NewResourceInfo ¶
func NewResourceInfo(gvk schema.GroupVersionKind, obj runtime.Object, list runtime.Object) ResourceInfo
type StandardStorage ¶
type StandardStorage struct {
// contains filtered or unexported fields
}
func NewStandardStorage ¶
func NewStandardStorage(cfg ResourceInfo) *StandardStorage
func (*StandardStorage) Create ¶
func (r *StandardStorage) Create(ctx apirequest.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, includeUninitialized bool) (runtime.Object, error)
func (*StandardStorage) Delete ¶
func (r *StandardStorage) Delete(ctx apirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
func (*StandardStorage) DeleteCollection ¶
func (r *StandardStorage) DeleteCollection(ctx apirequest.Context, options *metav1.DeleteOptions, listOptions *metainternalversion.ListOptions) (runtime.Object, error)
func (*StandardStorage) Get ¶
func (r *StandardStorage) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
func (*StandardStorage) GroupVersionKind ¶
func (r *StandardStorage) GroupVersionKind(containingGV schema.GroupVersion) schema.GroupVersionKind
func (*StandardStorage) List ¶
func (r *StandardStorage) List(ctx apirequest.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
func (*StandardStorage) New ¶
func (r *StandardStorage) New() runtime.Object
func (*StandardStorage) NewList ¶
func (r *StandardStorage) NewList() runtime.Object
func (*StandardStorage) Update ¶
func (r *StandardStorage) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (runtime.Object, bool, error)
func (*StandardStorage) Watch ¶
func (r *StandardStorage) Watch(ctx apirequest.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.