Documentation ¶
Index ¶
- type RemoteService
- func New(localConfig *rest.Config, cluster *v3.Cluster, clusterLister v3.ClusterLister, ...) (*RemoteService, error)
- func NewLocal(localConfig *rest.Config, cluster *v3.Cluster) (*RemoteService, error)
- func NewRemote(cluster *v3.Cluster, clusterLister v3.ClusterLister, factory dialer.Factory) (*RemoteService, error)
- type SimpleProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteService ¶
func New ¶
func New(localConfig *rest.Config, cluster *v3.Cluster, clusterLister v3.ClusterLister, factory dialer.Factory) (*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, overrideHostHeader bool) (*SimpleProxy, error)
func (*SimpleProxy) ServeHTTP ¶
func (s *SimpleProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.