Documentation
¶
Index ¶
- type REST
- func (r *REST) ConvertToTable(_ context.Context, obj runtime.Object, _ runtime.Object) (*metav1.Table, error)
- func (r *REST) Create(ctx context.Context, obj runtime.Object, _ rest.ValidateObjectFunc, ...) (runtime.Object, error)
- func (r *REST) Delete(ctx context.Context, name string, _ rest.ValidateObjectFunc, ...) (runtime.Object, bool, error)
- func (*REST) Destroy()
- func (r *REST) Get(ctx context.Context, name string, opts *metav1.GetOptions) (runtime.Object, error)
- func (*REST) GetSingularName() string
- func (r *REST) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
- func (*REST) Kind() string
- func (r *REST) List(ctx context.Context, opts *metainternal.ListOptions) (runtime.Object, error)
- func (*REST) NamespaceScoped() bool
- func (*REST) New() runtime.Object
- func (*REST) NewList() runtime.Object
- func (r *REST) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (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, opts *metainternal.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 {
// contains filtered or unexported fields
}
func (*REST) ConvertToTable ¶
func (*REST) GetSingularName ¶
func (*REST) GroupVersionKind ¶
func (r *REST) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
func (*REST) List ¶
func (r *REST) List(ctx context.Context, opts *metainternal.ListOptions) (runtime.Object, error)
func (*REST) NamespaceScoped ¶
func (*REST) Update ¶
func (r *REST) Update( ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, _ rest.ValidateObjectFunc, _ rest.ValidateObjectUpdateFunc, forceCreate bool, opts *metav1.UpdateOptions, ) (runtime.Object, bool, error)
func (*REST) Watch ¶
func (r *REST) Watch(ctx context.Context, opts *metainternal.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.