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 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) GRPC ¶
func (r *StaticRoutes) GRPC() []kedge_map.RouteGetter
func (*StaticRoutes) HTTP ¶
func (r *StaticRoutes) HTTP() []kedge_map.RouteGetter
Click to show internal directories.
Click to hide internal directories.