package node
import "k8s.io/kubernetes/pkg/registry/core/node/rest"
Index ¶
- type ProxyREST
- func (r *ProxyREST) Connect(ctx context.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
- func (r *ProxyREST) ConnectMethods() []string
- func (r *ProxyREST) Destroy()
- func (r *ProxyREST) New() runtime.Object
- func (r *ProxyREST) NewConnectOptions() (runtime.Object, bool, string)
Types ¶
type ProxyREST ¶
type ProxyREST struct { Store *genericregistry.Store Connection client.ConnectionInfoGetter ProxyTransport http.RoundTripper }
ProxyREST implements the proxy subresource for a Node
func (*ProxyREST) Connect ¶
func (r *ProxyREST) Connect(ctx context.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
Connect returns a handler for the node proxy
func (*ProxyREST) ConnectMethods ¶
ConnectMethods returns the list of HTTP methods that can be proxied
func (*ProxyREST) Destroy ¶
func (r *ProxyREST) Destroy()
Destroy cleans up resources on shutdown.
func (*ProxyREST) New ¶
New returns an empty nodeProxyOptions object.
func (*ProxyREST) NewConnectOptions ¶
NewConnectOptions returns versioned resource that represents proxy parameters
Source Files ¶
proxy.go
- Version
- v1.33.1 (latest)
- Published
- May 15, 2025
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 15 hours ago –
Tools for package owners.