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) Get(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *REST) New() runtime.Object
- func (r *REST) NewList() runtime.Object
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 NewREST ¶
func NewREST(optsGetter generic.RESTOptionsGetter) *REST
func (*REST) Delete ¶
func (r *REST) Delete(ctx genericapirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
func (*REST) Get ¶
func (r *REST) Get(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
TODO (rantuttl): Switch to GetterWithOptions interface support. This will allow us to add query parms to the resource. The 'Get' signature has a different type for options. Will also need to implement 'NewGetOptions' method to support the installer. It will return the type (e.g., AccountOptions) to support the query parms.
Click to show internal directories.
Click to hide internal directories.