Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProxyOptions ¶
type ProxyOptions struct {
// contains filtered or unexported fields
}
ProxyOptions have the data required to perform the proxy operation
func NewProxyOptions ¶
func NewProxyOptions(cfg *rest.Config, identifier string) *ProxyOptions
NewProxyOptions creates the options for proxy
func (ProxyOptions) RunProxy ¶
func (o ProxyOptions) RunProxy() error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a http.Handler which proxies Kubernetes APIs to remote API server.
func NewServer ¶
func NewServer(filebase string, apiProxyPrefix string, staticPrefix string, cfg *rest.Config, keepalive time.Duration, appendLocationPath bool) (*Server, error)
NewServer creates and installs a new Server. 'filter', if non-nil, protects requests to the api only.
func (*Server) ListenUnix ¶
ListenUnix does net.Listen for a unix socket
Click to show internal directories.
Click to hide internal directories.