proxy

package
v2.1.1-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: Apache-2.0 Imports: 12 Imported by: 55

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteService

type RemoteService struct {
	// contains filtered or unexported fields
}

func New

func New(localConfig *rest.Config, cluster *v3.Cluster, clusterLister v3.ClusterLister, factory dialer.Factory) (*RemoteService, error)

func NewLocal

func NewLocal(localConfig *rest.Config, cluster *v3.Cluster) (*RemoteService, error)

func NewRemote

func NewRemote(cluster *v3.Cluster, clusterLister v3.ClusterLister, factory dialer.Factory) (*RemoteService, error)

func (*RemoteService) Close

func (r *RemoteService) Close()

func (*RemoteService) Cluster

func (r *RemoteService) Cluster() *v3.Cluster

func (*RemoteService) Handler

func (r *RemoteService) Handler() http.Handler

func (*RemoteService) ServeHTTP

func (r *RemoteService) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type SimpleProxy

type SimpleProxy struct {
	// contains filtered or unexported fields
}

func NewSimpleProxy

func NewSimpleProxy(host string, caData []byte) (*SimpleProxy, error)

func (*SimpleProxy) ServeHTTP

func (s *SimpleProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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