Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoAuth tokenauth.Source = nil
Functions ¶
This section is empty.
Types ¶
type AuthFactory ¶
type AuthFactory struct {
// contains filtered or unexported fields
}
func NewAuthFactory ¶
func NewAuthFactory(listenAddress string, mux *http.ServeMux) *AuthFactory
func (*AuthFactory) Get ¶
func (f *AuthFactory) Get(configSource *pb.AuthSource) (tokenauth.Source, error)
type Pac ¶
type Pac struct { PAC []byte // contains filtered or unexported fields }
Pac is a handler that serves auto generated PAC file based on mapping routes.
func NewPacFromFlags ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy is a forward/reverse proxy that implements Mapper+Kedge forwarding.
type StaticRoutes ¶
type StaticRoutes struct {
// contains filtered or unexported fields
}
func NewStaticRoutes ¶
func NewStaticRoutes(factory *AuthFactory, mapperConfig *pb.MapperConfig, authConfig *pb.AuthConfig) (*StaticRoutes, error)
func (*StaticRoutes) Get ¶
func (r *StaticRoutes) Get() []kedge_map.RouteGetter
Click to show internal directories.
Click to hide internal directories.