proxy

package
v2.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyRest

type ProxyRest struct {
	*getter.ProxyServiceInfoGetter
}

ProxyREST implements the proxy subresource for a Service

func NewProxyRest

func NewProxyRest(serviceInfoGetter *getter.ProxyServiceInfoGetter) *ProxyRest

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 pod proxy

func (*ProxyRest) ConnectMethods

func (r *ProxyRest) ConnectMethods() []string

ConnectMethods returns the list of HTTP methods that can be proxied

func (*ProxyRest) New

func (r *ProxyRest) New() runtime.Object

implement storage interface

func (*ProxyRest) NewConnectOptions

func (r *ProxyRest) NewConnectOptions() (runtime.Object, bool, string)

NewConnectOptions returns versioned resource that represents proxy parameters

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL