Documentation ¶
Index ¶
- type AttachREST
- type ExecREST
- type LogREST
- type PortForwardREST
- func (r *PortForwardREST) Connect(ctx api.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
- func (r *PortForwardREST) ConnectMethods() []string
- func (r *PortForwardREST) New() runtime.Object
- func (r *PortForwardREST) NewConnectOptions() (runtime.Object, bool, string)
- type ProxyREST
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachREST ¶
type AttachREST struct { Store *etcdgeneric.Etcd KubeletConn client.ConnectionInfoGetter }
AttachREST implements the attach subresource for a Pod
func (*AttachREST) Connect ¶
func (r *AttachREST) Connect(ctx api.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
Connect returns a handler for the pod exec proxy
func (*AttachREST) ConnectMethods ¶
func (r *AttachREST) ConnectMethods() []string
ConnectMethods returns the methods supported by exec
func (*AttachREST) NewConnectOptions ¶
func (r *AttachREST) NewConnectOptions() (runtime.Object, bool, string)
NewConnectOptions returns the versioned object that represents exec parameters
type ExecREST ¶
type ExecREST struct { Store *etcdgeneric.Etcd KubeletConn client.ConnectionInfoGetter }
ExecREST implements the exec subresource for a Pod
func (*ExecREST) Connect ¶
func (r *ExecREST) Connect(ctx api.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
Connect returns a handler for the pod exec proxy
func (*ExecREST) ConnectMethods ¶
ConnectMethods returns the methods supported by exec
type LogREST ¶
type LogREST struct { Store *etcdgeneric.Etcd KubeletConn client.ConnectionInfoGetter }
LogREST implements the log endpoint for a Pod
type PortForwardREST ¶
type PortForwardREST struct { Store *etcdgeneric.Etcd KubeletConn client.ConnectionInfoGetter }
PortForwardREST implements the portforward subresource for a Pod
func (*PortForwardREST) Connect ¶
func (r *PortForwardREST) Connect(ctx api.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
Connect returns a handler for the pod portforward proxy
func (*PortForwardREST) ConnectMethods ¶
func (r *PortForwardREST) ConnectMethods() []string
ConnectMethods returns the methods supported by portforward
func (*PortForwardREST) New ¶
func (r *PortForwardREST) New() runtime.Object
New returns an empty pod object
func (*PortForwardREST) NewConnectOptions ¶
func (r *PortForwardREST) NewConnectOptions() (runtime.Object, bool, string)
NewConnectOptions returns nil since portforward doesn't take additional parameters
type ProxyREST ¶
type ProxyREST struct { Store *etcdgeneric.Etcd ProxyTransport http.RoundTripper }
ProxyREST implements the proxy subresource for a Pod
func (*ProxyREST) Connect ¶
func (r *ProxyREST) Connect(ctx api.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
Connect returns a handler for the pod proxy
func (*ProxyREST) ConnectMethods ¶
ConnectMethods returns the list of HTTP methods that can be proxied