Documentation
¶
Index ¶
- type REST
- func (r *REST) Connect(ctx context.Context, prefixPath string, _ runtime.Object, ...) (http.Handler, error)
- func (r *REST) ConnectMethods() []string
- func (r *REST) Destroy()
- func (r *REST) NamespaceScoped() bool
- func (r *REST) New() runtime.Object
- func (r *REST) NewConnectOptions() (runtime.Object, bool, string)
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
}
REST implements RESTStorage for Resources API
func (*REST) Connect ¶
func (r *REST) Connect(ctx context.Context, prefixPath string, _ runtime.Object, responder genericrest.Responder) (http.Handler, error)
Connect returns an http.Handler that will handle the request/response for a given API invocation.
func (*REST) ConnectMethods ¶
ConnectMethods returns the list of HTTP methods handled by Connect
func (*REST) NamespaceScoped ¶
NamespaceScoped returns false because Resources is not namespaced
Click to show internal directories.
Click to hide internal directories.