kubernetes/pkg/registry/core/pod/rest/subresources.go

type ProxyREST

var _

var proxyMethods

// New returns an empty podProxyOptions object.
func (r *ProxyREST) New() runtime.Object {}

// Destroy cleans up resources on shutdown.
func (r *ProxyREST) Destroy() {}

// ConnectMethods returns the list of HTTP methods that can be proxied
func (r *ProxyREST) ConnectMethods() []string {}

// NewConnectOptions returns versioned resource that represents proxy parameters
func (r *ProxyREST) NewConnectOptions() (runtime.Object, bool, string) {}

// Connect returns a handler for the pod proxy
func (r *ProxyREST) Connect(ctx context.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error) {}

var upgradeableMethods

type AttachREST

var _

// New creates a new podAttachOptions object.
func (r *AttachREST) New() runtime.Object {}

// Destroy cleans up resources on shutdown.
func (r *AttachREST) Destroy() {}

// Connect returns a handler for the pod exec proxy
func (r *AttachREST) Connect(ctx context.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error) {}

// NewConnectOptions returns the versioned object that represents exec parameters
func (r *AttachREST) NewConnectOptions() (runtime.Object, bool, string) {}

// ConnectMethods returns the methods supported by exec
func (r *AttachREST) ConnectMethods() []string {}

type ExecREST

var _

// New creates a new podExecOptions object.
func (r *ExecREST) New() runtime.Object {}

// Destroy cleans up resources on shutdown.
func (r *ExecREST) Destroy() {}

// Connect returns a handler for the pod exec proxy
func (r *ExecREST) Connect(ctx context.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error) {}

// NewConnectOptions returns the versioned object that represents exec parameters
func (r *ExecREST) NewConnectOptions() (runtime.Object, bool, string) {}

// ConnectMethods returns the methods supported by exec
func (r *ExecREST) ConnectMethods() []string {}

type PortForwardREST

var _

// New returns an empty podPortForwardOptions object
func (r *PortForwardREST) New() runtime.Object {}

// Destroy cleans up resources on shutdown.
func (r *PortForwardREST) Destroy() {}

// NewConnectOptions returns the versioned object that represents the
// portforward parameters
func (r *PortForwardREST) NewConnectOptions() (runtime.Object, bool, string) {}

// ConnectMethods returns the methods supported by portforward
func (r *PortForwardREST) ConnectMethods() []string {}

// Connect returns a handler for the pod portforward proxy
func (r *PortForwardREST) Connect(ctx context.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error) {}

func newThrottledUpgradeAwareProxyHandler(location *url.URL, transport http.RoundTripper, wrapTransport, upgradeRequired bool, responder rest.Responder) http.Handler {}